python-dap causes "UserWarning: Module dap..." printed in other python programs

Bug #1175139 reported by Pauli Virtanen
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pydap (Debian)
Fix Released
Unknown
pydap (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :
Changed in pydap (Debian):
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pydap (Ubuntu):
status: New → Confirmed
Changed in pydap (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.