Origins of error message

Jelmer Vernooij jelmer at canonical.com
Fri Jun 10 10:12:17 UTC 2011


On 06/10/2011 12:07 PM, Russel Winder wrote:
> I am using Debian Testing which has Bazaar 2.3.1.  Sometime fairly
> recently (sorry I am not entirely sure of exactly when this started but
> I think it is about a week or so) I have been getting the message:
>
>
>          /usr/lib/python2.6/dist-packages/lazr/restfulclient/__init__.py:19: UserWarning: Module paste was already imported from None, but /usr/lib/python2.6/dist-packages is being added to sys.path
>            import pkg_resources
>
> for every bzr operation.  Is this as it should be?
>
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


Cheers,

Jelmer



More information about the bazaar mailing list