[Bug 810019] Re: UserWarning printed on import pkg_resources'
** Tags added: rls-mgr-o-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
Apologies Laney, I thought yours was not based on a merge. I should have looked closer. Sorry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 810019] Re: UserWarning printed on import pkg_resources'
On Tue, Sep 27, 2011 at 11:37:09AM -, Dave Walker wrote: Apologies Laney, I thought yours was not based on a merge. I should have looked closer. Sorry. No worries, was just wondering if I messed something up :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
Merge form sid currently in unapproved queue. ** Changed in: paste (Ubuntu Oneiric) Status: Confirmed = Fix Committed ** Changed in: paste (Ubuntu Oneiric) Assignee: (unassigned) = Dave Walker (davewalker) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
This bug was fixed in the package paste - 1.7.5.1-4ubuntu1 --- paste (1.7.5.1-4ubuntu1) oneiric; urgency=low * Merge from debian unstable (LP: #810019). Remaining changes: - debian/control: Demote libjs-mochikit back to suggests because dh_python2 doesn't have the same symlink problem as python-support. paste (1.7.5.1-4) unstable; urgency=low * Add also missing __init__.py file paste (1.7.5.1-3) unstable; urgency=low * Remove .pth file (introduced in last upload by accident) * Add build-indep and build-arch targets in debian/rules * Let dh_sphinxdoc handle documentation files, python-sphinx build dependency bumped to 1.0.7+dfsg-1 -- Dave Walker (Daviey) davewal...@ubuntu.com Mon, 26 Sep 2011 18:45:19 + ** Changed in: paste (Ubuntu Oneiric) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
What was wrong with my diff? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
** Branch linked: lp:ubuntu/paste -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
as Iian pointed out, my last upload broke the find call and that's why you're getting this warning. Ian: removing .pth file is the right fix, if it doesn't work for you, something else is wrong on your system. Are you sure you didn't remove paste directory as well? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
heh, __init__.py file is missing as well -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
debdiff for re-merge. Piotr, do you want to take this fix in Debian too? Move -mochikit to suggests since the reason for moving it up to recommends doesn't apply any more. ** Patch added: paste-debian→ubuntu.debdiff https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+attachment/2443295/+files/paste-debian%E2%86%92ubuntu.debdiff ** Also affects: paste (Ubuntu) Importance: Undecided Status: New ** Changed in: distribute (Ubuntu Oneiric) Status: Confirmed = Opinion ** Changed in: distribute (Ubuntu Oneiric) Status: Opinion = Invalid ** Changed in: paste (Ubuntu Oneiric) Status: New = Confirmed ** Changed in: paste (Ubuntu Oneiric) Importance: Undecided = Medium ** Changed in: paste (Ubuntu Oneiric) Milestone: None = ubuntu-11.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 810019] Re: UserWarning printed on import pkg_resources'
A fixed paste (and the other two paste packages too) was already uploaded to Debian. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
the issue also occurs with python-argparse installed: $ mkdir -p external/argparse $ touch external/__init__.py $ echo import argparse external/argparse/__init__.py $ python -c import external.argparse; import pkg_resources -c:1: UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
Piotr, do you have an opinion on this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
The find line which attempts to remove *.pth doesn't do so. You need to add parentheses around it like so find $(PKGDIR) \( -name '*.pth' -or -name 'namespace_packages.txt' \) -delete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
Removing the .pth breaks paste (thanks Daviey): (sid-amd64)root@raleigh:/srv/home/laney# python -c 'import paste' (sid-amd64)root@raleigh:/srv/home/laney# rm /usr/lib/python2.6/dist-packages/Paste-1.7.5.1-nspkg.pth (sid-amd64)root@raleigh:/srv/home/laney# python -c 'import paste' Traceback (most recent call last): File string, line 1, in module ImportError: No module named paste -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
** Branch linked: lp:~menesis/ubuntu/oneiric/paste/oneiric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
This happens with paste because it is not installed correctly. namespace_packages.txt and Paste-*.pth are removed after install, and this confuses dh_python2 and python import machinery. Leaving those files in place eliminates the cause for the warning. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
paste is converted to dh_python2 in Debian. Updating that might help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
** Changed in: distribute (Ubuntu) Milestone: None = ubuntu-11.10-beta-2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
** Also affects: distribute (Ubuntu Oneiric) Importance: Medium Status: Confirmed ** Tags added: server-o-rs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
The debian bug seems to think that this is related to 'distribute', and has info on it occuring also with 'import MySQLdb' ** Bug watch added: Debian Bug tracker #473584 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473584 ** Also affects: distribute (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473584 Importance: Unknown Status: Unknown ** Package changed: paste (Ubuntu) = distribute (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
** Changed in: distribute (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
This only happens after `apt-get install python-paste` so that's where the problem must be. Having trouble moving it to that project though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/paste/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
** Package changed: distribute (Ubuntu) = paste (Ubuntu) ** Changed in: paste (Ubuntu) Importance: Undecided = Medium ** Changed in: paste (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/paste/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 810019] Re: UserWarning printed on import pkg_resources'
since the last update of 'distribute' was some 8 weeks ago, this is not filed correctly, but i'm not sure what the correct source is. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs