Opened at 2009-05-31T17:17:18Z
Closed at 2009-07-11T23:17:27Z
#721 closed defect (duplicate)
Mac client fails to build
Reported by: | bewst | Owned by: | zooko |
---|---|---|---|
Priority: | major | Milestone: | eventually |
Component: | packaging | Version: | 1.4.1 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
creating build/bdist.macosx-10.5-i386/python2.5-standalone/app/lib-dynload creating build/bdist.macosx-10.5-i386/python2.5-standalone/app/Frameworks Traceback (most recent call last): File "/opt/local/lib/python2.5/site-packages/py2app/build_app.py", line 588, in _run self.run_normal() File "/opt/local/lib/python2.5/site-packages/py2app/build_app.py", line 640, in run_normal mf = self.get_modulefinder() File "/opt/local/lib/python2.5/site-packages/py2app/build_app.py", line 548, in get_modulefinder debug=debug, File "/opt/local/lib/python2.5/site-packages/modulegraph/find_modules.py", line 255, in find_modules find_needed_modules(mf, scripts, includes, packages) File "/opt/local/lib/python2.5/site-packages/modulegraph/find_modules.py", line 176, in find_needed_modules mf.run_script(path) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 369, in run_script self.scan_code(co, m) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 638, in scan_code self.scan_code(c, m) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 610, in scan_code self._safe_import_hook(name, m, fromlist) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 540, in _safe_import_hook mods = self.import_hook(name, caller) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 380, in import_hook q, tail = self.find_head_package(parent, name) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 419, in find_head_package q = self.import_module(head, qname, parent) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 493, in import_module parent and parent.packagepath, parent) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 680, in find_module fp, buf, stuff = find_module(name, path) File "/opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py", line 114, in find_module if isinstance(importer, pkg_resources.ImpWrapper): AttributeError: 'module' object has no attribute 'ImpWrapper' > /opt/local/lib/python2.5/site-packages/modulegraph/modulegraph.py(114)find_module() -> if isinstance(importer, pkg_resources.ImpWrapper):
Change History (4)
comment:1 Changed at 2009-05-31T18:02:19Z by zooko
- Component changed from unknown to packaging
- Milestone changed from undecided to 1.5.0
- Owner changed from nobody to zooko
- Status changed from new to assigned
comment:2 Changed at 2009-05-31T18:02:51Z by zooko
P.S. Thank you, bewst, for all the good bug reports. If this keeps up the v1.5 release in June will be much improved. ;-)
comment:3 Changed at 2009-06-30T17:54:02Z by zooko
- Milestone changed from 1.5.0 to eventually
comment:4 Changed at 2009-07-11T23:17:27Z by zooko
- Resolution set to duplicate
- Status changed from assigned to closed
Duplicate of #668.
Note: See
TracTickets for help on using
tickets.
I'll accept this ticket. I'm pretty sure I know why it is doing this -- I pulled a patch from setuptools trunk into zetuptoolz that replaces the implementation of pkgutil. Next chance I get (tomorrow?) I'll undo that patch, build a new zetuptoolz, and see if that fixes it.