Public bug reported: Installing python-dap 2.2.6.7-1 causes many Python programs to print messages like
UserWarning: Module dap was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path from pkg_resources import load_entry_point This occurs also when >>> import pkg_resources __main__:1: UserWarning: Module dap was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path These messages are very annoying and pollute program output unnecessarily. The fix is outlined here: http://stackoverflow.com/questions/13915269 /why-do-i-get-userwarning-module-dap-was-already-imported-from-none Namely, the dap packaging is apparently incorrectly packaged, and missing the top-level module as a namespace package in: /usr/lib/python2.7/dist-packages/dap-2.2.6.7.egg- info/namespace_packages.txt ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: python-dap 2.2.6.7-1 [modified: usr/share/pyshared/dap-2.2.6.7.egg-info/namespace_packages.txt] ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8 Uname: Linux 3.8.0-19-generic x86_64 ApportVersion: 2.9.2-0ubuntu8 Architecture: amd64 Date: Wed May 1 15:09:55 2013 InstallationDate: Installed on 2010-11-02 (910 days ago) InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) MarkForUpload: True PackageArchitecture: all SourcePackage: pydap UpgradeStatus: Upgraded to raring on 2013-04-13 (17 days ago) ** Affects: pydap (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug raring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1175139 Title: python-dap causes "UserWarning: Module dap..." printed in other python programs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pydap/+bug/1175139/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs