Origins of error message
vila
v.ladeuil+lp at free.fr
Fri Jun 10 11:58:04 UTC 2011
>>>>> Russel Winder <russel at russel.org.uk> writes:
> Jelmer,
> On Fri, 2011-06-10 at 12:12 +0200, Jelmer Vernooij wrote:
> [ . . . ]
>> This seems unrelated to bzr; perhaps it's a bug in python-pkg-resources?
>>
>> Python 2.7.2rc1 (default, May 31 2011, 11:34:02)
>> [GCC 4.6.1] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import lazr.restfulclient
>> /usr/lib/python2.7/dist-packages/lazr/restfulclient/__init__.py:19:
>> UserWarning: Module paste was already imported from None, but
>> /usr/lib/python2.7/dist-packages is being added to sys.path
>> import pkg_resources
>>
>> >>> import pkg_resources
>> __main__:1: UserWarning: Module paste was already imported from None,
>> but /usr/lib/python2.7/dist-packages is being added to sys.path
> Thanks for taking a look. Given it's not a Bazaar thing, I'll hunt
> around a bit more. It all looks rather weird :-(
> I have Python 2.7 installed but Bazaar is still using Bazaar 2.6 is this
> a Debian thing?
I encountered it a few times (on Ubuntu, so not strictly Debian
specific) and I suspect some weird interaction or misuse of
pkg_resources by lazr.restfulclient. It's especially annoying when
running python -Werror ...
Vincent
More information about the bazaar
mailing list