<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">thanks for your efforts<div><br></div><div>m</div><div><br class="webkit-block-placeholder"></div><div><br><div><div>On Jan 13, 2008, at 9:28 AM, Ronald Oussoren wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 12 Jan, 2008, at 19:35, Edward Hartley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> <div>Hi Ronald,</div><div>further to my previous on py2app modulegraph </div><div><br></div><div>With these changes py2app is not to working at all.</div></div></blockquote><div><br class="webkit-block-placeholder"></div><div>Arghh.... I guess my merge of the version of py2app and friends from Leopard wasn't complete. I'm currently working on some cleanups in the pyobjc repository and a port of pyobjc to 64-bit PPC and will look into this issue when that's finished. With some luck that will be later today.</div><div><br class="webkit-block-placeholder"></div><div>BTW. Thank's for mentioning that the PyAvenger sample is broken as well, that will make it a lot easier to debug the problem.</div><div><br class="webkit-block-placeholder"></div><div>Ronald</div><div><br class="webkit-block-placeholder"></div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="webkit-block-placeholder"></div><div>Constructive suggestions would be welcomed detail follows.</div><div><br class="webkit-block-placeholder"></div>So having changed py2app setup.py <div>from</div><div><br class="webkit-block-placeholder"></div><div><div> install_requires=[</div><div> "altgraph>=0.6.7",</div><div> "modulegraph>=0.7.2",</div><div> "macholib>=1.1",</div><div> "bdist_mpkg>=0.4",</div><div> ],</div><div><br></div></div><div>to </div><div><div> install_requires=[</div><div> "altgraph>=0.6.7",</div><div> "modulegraph>=0.7.2.dev-r21",</div><div> "macholib>=1.1",</div><div> "bdist_mpkg>=0.4",</div><div> ],</div><div><br class="webkit-block-placeholder"></div></div><div><br></div><div>and updating setuptools and checking modulegraph >=0.7.2 i.e. 0.7.2.dev-r21</div><div>as shown here:</div><div><br class="webkit-block-placeholder"></div><div><div>sudo easy_install --upgrade setuptools</div><div>Password:</div><div>Processing setuptools</div><div>Running setup.py -q bdist_egg --dist-dir /Users/edh/AnonCVS/setuptools/setuptools/egg-dist-tmp-1stpfV</div><div>setuptools 0.7a1dev-r59683 is already the active version in easy-install.pth</div><div>Installing easy_install script to /Library/Frameworks/Python.framework/Versions/2.5/bin</div><div>Installing easy_install-2.5 script to /Library/Frameworks/Python.framework/Versions/2.5/bin</div><div><br class="webkit-block-placeholder"></div><div>Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.7a1dev_r59683-py2.5.egg</div><div>Processing dependencies for setuptools==0.7a1dev-r59683</div><div>Finished processing dependencies for setuptools==0.7a1dev-r59683</div><div>mirrorman:~/AnonCVS/setuptools edh$ sudo easy_install --upgrade modulegraph</div><div>Searching for modulegraph</div><div>Reading <a href="http://pypi.python.org/simple/modulegraph/">http://pypi.python.org/simple/modulegraph/</a></div><div>Reading <a href="http://undefined.org/python/#modulegraph">http://undefined.org/python/#modulegraph</a></div><div>Best match: modulegraph 0.7.2.dev-r21</div><div>Processing modulegraph-0.7.2.dev_r21-py2.5.egg</div><div>modulegraph 0.7.2.dev-r21 is already the active version in easy-install.pth</div></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br><div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>Now Running </div><div><br class="webkit-block-placeholder"></div><div> ~/PyObjC/OpenGLDemo edh$ python setup.py py2app</div><div><br class="webkit-block-placeholder"></div><div>Shows these errors from modulegraph so is 0.7.2.dev-r21 not the correct version or is there another problem?</div><div><br class="webkit-block-placeholder"></div><div>running py2app</div><div>Traceback (most recent call last):</div><div> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 579, in _run</div><div> self.run_normal()</div><div> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 631, in run_normal</div><div> mf = self.get_modulefinder()</div><div> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 539, in get_modulefinder</div><div> debug=debug,</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/find_modules.py", line 255, in find_modules</div><div> find_needed_modules(mf, scripts, includes, packages)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/find_modules.py", line 176, in find_needed_modules</div><div> mf.run_script(path)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 369, in run_script</div><div> self.scan_code(co, m)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 638, in scan_code</div><div> self.scan_code(c, m)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 610, in scan_code</div><div> self._safe_import_hook(name, m, fromlist)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 540, in _safe_import_hook</div><div> mods = self.import_hook(name, caller)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 380, in import_hook</div><div> q, tail = self.find_head_package(parent, name)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 419, in find_head_package</div><div> q = self.import_module(head, qname, parent)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 493, in import_module</div><div> parent and parent.packagepath, parent)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 680, in find_module</div><div> fp, buf, stuff = find_module(name, path)</div><div> File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 114, in find_module</div><div> if isinstance(importer, pkg_resources.ImpWrapper):</div><div>AttributeError: 'module' object has no attribute 'ImpWrapper'</div><div><br></div><div>It also is broken when building Apple's Xcode example PyAverager which previously worked.</div><div>Both from their web site files and my recreation of it.</div><div>Removing py2app 0.4.2 and reverting to 0.3.6 fixes that IIRC rev 66 still worked with Xcode</div><div><br class="webkit-block-placeholder"></div><div>Best Regards</div><div>Ed</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>On 12 Jan 2008, at 06:54, Ronald Oussoren wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><div><div>On 10 Jan, 2008, at 12:44, Edward Hartley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> <br><div><div>On 10 Jan 2008, at 11:00, <a href="mailto:pythonmac-sig-request@python.org">pythonmac-sig-request@python.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">When replying, please edit your Subject line so it is more specific</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">than "Re: Contents of Pythonmac-SIG digest..."</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Today's Topics:</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-converted-space"> </span>1. Re: py2app 0.4.2 recipe errors (Ronald Oussoren)</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-converted-space"> </span>2. Re: creating PyObjC wrapper for ObjC framework? (Ronald Oussoren)</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; color: rgb(0, 0, 0); min-height: 14px; "><b></b><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Ronald Oussoren <<a href="mailto:ronaldoussoren@mac.com">ronaldoussoren@mac.com</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">10 January 2008 06:49:32 GMT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">michael ferraro <<a href="mailto:michael@possibleworlds.com">michael@possibleworlds.com</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Cc: </b><a href="mailto:pythonmac-sig@python.org"><font color="#000000" style="color: #000000">pythonmac-sig@python.org</font></a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Re: [Pythonmac-SIG] py2app 0.4.2 recipe errors</b></font></font></div><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">It should work again</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Ronald</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div></font></blockquote>Does this mean the cvs for py2app has been updated?</div></div></blockquote><div><br class="webkit-block-placeholder"></div>Of course. What else could I mean?</div><div><br class="webkit-block-placeholder"></div><div>Ronald</div><div><br></div></blockquote></div><br></div></div></blockquote></div><br></div>_______________________________________________<br>Pythonmac-SIG maillist - <a href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/pythonmac-sig">http://mail.python.org/mailman/listinfo/pythonmac-sig</a><br></blockquote></div><br></div></body></html>