[Bug 688335] Re: superfluous __init__.py generates import errors
This can also cause pam-motd to stop updating /var/run/motd. The /etc /update-motd.d/50-landscape-sysinfo script calls /usr/bin/landscape- sysinfo which has an ImportError that is caught silently and returns a non-zero exit code. https://bugs.launchpad.net/ubuntu/+source/pam/+bug/661654 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/688335 Title: superfluous __init__.py generates import errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zope.interface/+bug/688335/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 688335] Re: superfluous __init__.py generates import errors
This __init__.py is included because it causes other breakage if removed. Please see a previous discussion on removing this: https://bugs.launchpad.net/van.pydeb/+bug/619294 That bug contains a test case which fails when the __init__.py is removed. Background reading on the breakage: http://mail.python.org/pipermail/distutils-sig/2009-May/011730.html Consistency in what is broken is probably more important than fixing one thing only to break another;) So I'd rather we didn't try fix this until the test case in the van.pydeb bug passes without the __init__.py. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/688335 Title: superfluous __init__.py generates import errors -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 688335] Re: superfluous __init__.py generates import errors
In discussion on distutils-sig it was decided that having the zope/__init__.py available is the right thing to do and will be standard in dh_python2 in future. So this is not a bug. Also the OP discovered that the bug really biting him was https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/576434 ** Changed in: zope.interface (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/688335 Title: superfluous __init__.py generates import errors -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 688335] Re: superfluous __init__.py generates import errors
** Patch added: don't copy __init__.py https://bugs.launchpad.net/bugs/688335/+attachment/1761450/+files/init.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/688335 Title: superfluous __init__.py generates import errors -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs