Package: zope2.13 Version: 2.13.22-1 Severity: grave Justification: renders package unusable
Dear Maintainer, With zope2.13 I've tried to create a (user) instance and start it, but a `SystemError: dynamic module not initialized properly` is raised while zopectl tries to import zope.security._proxy . The bug could be demonstrated in essence this way: $ /usr/lib/zope2.13/bin/python >>> import zope.security._proxy Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/lib/zope2.13/lib/python/zope.security-3.7.4.egg/zope/security/__init__.py", line 19, in <module> from zope.security.management import checkPermission File "/usr/lib/zope2.13/lib/python/zope.security-3.7.4.egg/zope/security/management.py", line 23, in <module> from zope.security.checker import CheckerPublic File "/usr/lib/zope2.13/lib/python/zope.security-3.7.4.egg/zope/security/checker.py", line 46, in <module> from zope.security._proxy import _Proxy as Proxy, getChecker SystemError: dynamic module not initialized properly Full log demonstrating the problem is attached. Thanks, Kirill ---- 8< ---- $ whoami kirr # non-root $ pwd /home/kirr $ rm -rf zope # make sure there are no user instances $ dzhandle -z2.13 make-instance -m all ktest -u user:passwd $ dzhandle -z2.13 list-instances ktest 2.13 addon-mode=all addon-technique=tree-linked userfile=inituser purged $ ls zope/instance/zope2.13/ ktest $ dzhandle -z2.13 zopectl ktest start Traceback (most recent call last): File "/usr/lib/zope2.13/bin/python", line 78, in <module> execfile(__file__) File "/usr/lib/zope2.13/bin/zopectl", line 6, in <module> Zope2.Startup.zopectl.run() File "/usr/lib/zope2.13/lib/python/Zope2-2.13.22.egg/Zope2/Startup/zopectl.py", line 484, in run exitstatus = main() File "/usr/lib/zope2.13/lib/python/Zope2-2.13.22.egg/Zope2/Startup/zopectl.py", line 440, in main options.realize(args) File "/usr/lib/zope2.13/lib/python/Zope2-2.13.22.egg/Zope2/Startup/zopectl.py", line 158, in realize ZDOptions.realize(self, *args, **kw) File "/usr/lib/zope2.13/lib/python/zdaemon-2.0.7.egg/zdaemon/zdoptions.py", line 290, in realize self.load_schema() File "/usr/lib/zope2.13/lib/python/zdaemon-2.0.7.egg/zdaemon/zdoptions.py", line 338, in load_schema self.schema = ZConfig.loadSchema(self.schemafile) File "/usr/lib/zope2.13/lib/python/ZConfig-2.9.1.egg/ZConfig/loader.py", line 33, in loadSchema return SchemaLoader().loadURL(url) File "/usr/lib/zope2.13/lib/python/ZConfig-2.9.1.egg/ZConfig/loader.py", line 67, in loadURL return self.loadResource(r) File "/usr/lib/zope2.13/lib/python/ZConfig-2.9.1.egg/ZConfig/loader.py", line 195, in loadResource schema = ZConfig.schema.parseResource(resource, self) File "/usr/lib/zope2.13/lib/python/ZConfig-2.9.1.egg/ZConfig/schema.py", line 27, in parseResource xml.sax.parse(resource.file, parser) File "/usr/lib/python2.7/xml/sax/__init__.py", line 33, in parse parser.parse(source) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 210, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 304, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "/usr/lib/zope2.13/lib/python/ZConfig-2.9.1.egg/ZConfig/schema.py", line 103, in startElement getattr(self, "start_" + name)(attrs) File "/usr/lib/zope2.13/lib/python/ZConfig-2.9.1.egg/ZConfig/schema.py", line 306, in start_import src = self._loader.schemaComponentSource(pkg, file) File "/usr/lib/zope2.13/lib/python/ZConfig-2.9.1.egg/ZConfig/loader.py", line 212, in schemaComponentSource __import__(package) File "/usr/lib/zope2.13/lib/python/Zope2-2.13.22.egg/ZServer/__init__.py", line 41, in <module> from HTTPServer import zhttp_server, zhttp_handler File "/usr/lib/zope2.13/lib/python/Zope2-2.13.22.egg/ZServer/HTTPServer.py", line 44, in <module> from HTTPResponse import make_response File "/usr/lib/zope2.13/lib/python/Zope2-2.13.22.egg/ZServer/HTTPResponse.py", line 29, in <module> from ZPublisher.HTTPResponse import HTTPResponse # XXX WTF? File "/usr/lib/zope2.13/lib/python/Zope2-2.13.22.egg/ZPublisher/__init__.py", line 20, in <module> from zExceptions import NotFound, BadRequest, InternalError, Forbidden File "/usr/lib/zope2.13/lib/python/zExceptions-2.13.0.egg/zExceptions/__init__.py", line 24, in <module> from zope.publisher.interfaces import INotFound File "/usr/lib/zope2.13/lib/python/zope.publisher-3.12.6.egg/zope/publisher/interfaces/__init__.py", line 26, in <module> from zope.security.interfaces import IParticipation File "/usr/lib/zope2.13/lib/python/zope.security-3.7.4.egg/zope/security/__init__.py", line 19, in <module> from zope.security.management import checkPermission File "/usr/lib/zope2.13/lib/python/zope.security-3.7.4.egg/zope/security/management.py", line 23, in <module> from zope.security.checker import CheckerPublic File "/usr/lib/zope2.13/lib/python/zope.security-3.7.4.egg/zope/security/checker.py", line 46, in <module> from zope.security._proxy import _Proxy as Proxy, getChecker SystemError: dynamic module not initialized properly ---- 8< ---- -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages zope2.13 depends on: ii debconf [debconf-2.0] 1.5.55 ii libc6 2.19-13 ii lsb-base 4.1+Debian13+nmu1 ii python-docutils 0.12+dfsg-1 ii python-mechanize 1:0.2.5-3 ii python-pkg-resources 5.5.1-1 ii python-tz 2012c+dfsg-0.1 ii python2.7 2.7.8-11 pn python:any <none> ii zope-common 0.5.54 zope2.13 recommends no packages. Versions of packages zope2.13 suggests: ii python [python-profiler] 2.7.8-2 pn python-unit <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org