Mac client fails to build #721

Closed
opened 2009-05-31 17:17:18 +00:00 by bewst · 3 comments
bewst commented 2009-05-31 17:17:18 +00:00
Owner
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](wiki/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):
```#!python 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](wiki/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): ```
tahoe-lafs added the
unknown
major
defect
1.4.1
labels 2009-05-31 17:17:18 +00:00
tahoe-lafs added this to the undecided milestone 2009-05-31 17:17:18 +00:00

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.

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.
zooko added
packaging
and removed
unknown
labels 2009-05-31 18:02:19 +00:00
zooko modified the milestone from undecided to 1.5.0 2009-05-31 18:02:19 +00:00

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. ;-)

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. ;-)
zooko modified the milestone from 1.5.0 to eventually 2009-06-30 17:54:02 +00:00

Duplicate of #668.

Duplicate of #668.
zooko added the
duplicate
label 2009-07-11 23:17:27 +00:00
zooko closed this issue 2009-07-11 23:17:27 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#721
No description provided.