doesn't work with python2.6, missing gettimeout attribute

Bug #336935 reported by Elliot Murphy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
paste (Ubuntu)
Fix Released
Undecided
Elliot Murphy

Bug Description

  File "/var/lib/python-support/python2.6/paste/httpserver.py", line 1285, in serve
    server.serve_forever()
  File "/var/lib/python-support/python2.6/paste/httpserver.py", line 1069, in serve_forever
    self.handle_request()
  File "/usr/lib/python2.6/SocketServer.py", line 257, in handle_request
    timeout = self.socket.gettimeout()
AttributeError: TSafeConnection instance has no attribute 'gettimeout'

There is a patch in the upstream bug tracker already.
http://trac.pythonpaste.org/pythonpaste/ticket/314

I'm working on preparing a debdiff now.

Related branches

Elliot Murphy (statik)
Changed in paste:
assignee: nobody → statik
Revision history for this message
Piotr Ożarowski (piotr) wrote :

FTR: I will fix that in Debian once doko will upload python2.6 to Debian and let us do the transition

Revision history for this message
Elliot Murphy (statik) wrote :
Revision history for this message
Piotr Ożarowski (piotr) wrote :

FTR (again ;) there's 1.7.2-2 in Debian unstable (i.e. new upstream that fixes some bugs, but not this one) - it's probably too late for a sync, though

Revision history for this message
Scott Kitterman (kitterman) wrote :

Reviewing for sponsorship. In the future please remember to change the maintainer to an appropriate Ubuntu team. See https://wiki.ubuntu.com/DebianMaintainerField for details. I'd made the change in this case.

Changed in paste:
assignee: statik → kitterman
status: New → In Progress
Revision history for this message
Scott Kitterman (kitterman) wrote :

It needs to build for 2.5 too, not just 2.6.

Changed in paste:
assignee: kitterman → statik
status: In Progress → New
Revision history for this message
Elliot Murphy (statik) wrote :

Thanks scott! I understand what to do next time with the maintainer field. However, I'm not quite sure what should have been done differently to address the 'needs to build for 2.5 too' comment. I appreciate your work on this and the suggestions so that I can provide a higher quality patch next time.

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 336935] Re: doesn't work with python2.6, missing gettimeout attribute

I'm not sure exactly as I'd have expected it to work as is and I ran out of
time to investigate. The next thing I was going to try is to change the
XS-Python-Version to all.

Revision history for this message
Scott Kitterman (kitterman) wrote :

I think this is better that what we have now, so I'm going to go ahead and sponsor it (and ack for motu-release too).

Changed in paste (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package paste - 1.7.1-1ubuntu1

---------------
paste (1.7.1-1ubuntu1) jaunty; urgency=low

  * Patch TSafeConnection to make things work with python2.6. (LP: #336935)
    http://trac.pythonpaste.org/pythonpaste/ticket/314

 -- Elliot Murphy (personal) <email address hidden> Mon, 02 Mar 2009 16:44:11 -0500

Changed in paste (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.