[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-25 Thread Francis J. Lacoste
*** This bug is a duplicate of bug 336067 *** https://bugs.launchpad.net/bugs/336067 ** This bug has been marked a duplicate of bug 336067 python-httplib2 needs a patch for Python2.6 support -- launchpadlib scripts break when run under python 2.6 https://bugs.launchpad.net/bugs/358004

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Björn Tillenius
I'm confirming this bug, since launchpadlib isn't working under python 2.6 when installing using 'python2.6 setup.py install'. ** Changed in: launchpadlib Status: Incomplete = Triaged -- launchpadlib scripts break when run under python 2.6 https://bugs.launchpad.net/bugs/358004 You

Re: [Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Björn Tillenius
On Fri, Apr 24, 2009 at 11:25:50AM -, James Westby wrote: Hi, Could you include the output of apt-cache policy python-httplib2 ixia:~ apt-cache policy python-httplib2 python-httplib2: Installed: 0.4.0-0ubuntu2 Candidate: 0.4.0-0ubuntu2 Version table: *** 0.4.0-0ubuntu2 0

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Leonard Richardson
I haven't been able to test this, but a possible workaround is to pass in timeout=20.0 when creating the Launchpad object. Try this and see if it works. -- launchpadlib scripts break when run under python 2.6 https://bugs.launchpad.net/bugs/358004 You received this bug notification because you

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread James Westby
Hi, Could you include the output of apt-cache policy python-httplib2 and python -c 'import httplib2; print httplib2.__path__' please. Thanks, James -- launchpadlib scripts break when run under python 2.6 https://bugs.launchpad.net/bugs/358004 You received this bug notification because

Re: [Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread James Westby
On Fri, 2009-04-24 at 12:16 +, Björn Tillenius wrote: python -c 'import httplib2; print httplib2.__path__' ixia:~ python -c 'import httplib2; print httplib2.__path__' /usr/local/lib/python2.6/dist-packages/httplib2-0.4.0-py2.6.egg/httplib2/__init__.py:29: DeprecationWarning: the md5

Re: [Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Björn Tillenius
On Fri, Apr 24, 2009 at 12:19:20PM -, Leonard Richardson wrote: I haven't been able to test this, but a possible workaround is to pass in timeout=20.0 when creating the Launchpad object. Try this and see if it works. No, that workaround doesn't seem to work. -- launchpadlib scripts break

Re: [Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Björn Tillenius
On Fri, Apr 24, 2009 at 12:49:07PM -, James Westby wrote: On Fri, 2009-04-24 at 12:16 +, Björn Tillenius wrote: python -c 'import httplib2; print httplib2.__path__' ixia:~ python -c 'import httplib2; print httplib2.__path__'

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Paul Hummer
I don't think the real issue is in launchpadlib, but in the upstream httplib2. What I did to fix the bug is to install the packaged version of httplib2, and that's it. It worked fine after that, and I'm running Tarmac on Jaunty now. -- launchpadlib scripts break when run under python 2.6

Re: [Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Björn Tillenius
On Fri, Apr 24, 2009 at 02:37:44PM -, Paul Hummer wrote: I don't think the real issue is in launchpadlib, but in the upstream httplib2. What I did to fix the bug is to install the packaged version of httplib2, and that's it. It worked fine after that, and I'm running Tarmac on Jaunty

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Gary Poster
See https://bugs.edge.launchpad.net/ubuntu/+source/python- httplib2/+bug/336067 and the related httplib2 bug linked there. -- launchpadlib scripts break when run under python 2.6 https://bugs.launchpad.net/bugs/358004 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-24 Thread Leonard Richardson
I was really confused by this issue so I asked Gary to do some research and he came up with the following. 1. The problem is a real problem in stock httplib2 0.4.0. 2. The httplib2 that comes with Jaunty is patched to avoid or fix the bug. 3. The Launchpad PPA includes an httplib2 that has the

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-20 Thread Leonard Richardson
** Changed in: launchpadlib Status: New = Incomplete -- launchpadlib scripts break when run under python 2.6 https://bugs.launchpad.net/bugs/358004 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-20 Thread Paul Hummer
This bug does not affect the python-launchpadlib in Ubuntu, but in the Launchpad specific PPA that provides legacy support for python 2.4. I reverted back to the official python-launchpadlib and everything works. ** Changed in: tarmac Status: New = Invalid ** Changed in:

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-08 Thread James Westby
File /usr/lib/python2.6/httplib.py, line 699, in send self.connect() File build/bdist.linux-i686/egg/httplib2/__init__.py, line 736, in connect File string, line 1, in settimeout TypeError: a float is required I don't see this issue, and the appearance of an egg there is a

[Bug 358004] Re: launchpadlib scripts break when run under python 2.6

2009-04-08 Thread James Westby
I just remembered bug 336067, could you check if the egg is too old to contain that fix? Thanks, James -- launchpadlib scripts break when run under python 2.6 https://bugs.launchpad.net/bugs/358004 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed