[Pythonmac-SIG] DistutilsFileError

Lorenzo "Lo'oris" Petrone looris at gmail.com
Thu Nov 19 11:44:20 CET 2009


using OSX 10.5, python 2.6.4

what does it mean, and what I'm supposed to do?

Palace-of-the-Nine-Moons:~/Sviluppo/varie/patollone looris$ py2applet
setup.py patoll

[...]

*** creating application bundle: setup ***
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 589, in _run
   self.run_normal()
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 660, in run_normal
   self.create_binaries(py_files, pkgdirs, extensions, loader_files)
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 755, in create_binaries
   target, arcname, pkgexts, copyexts, target.script)
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 1180, in build_executable
   copy_resource(src, dest, dry_run=self.dry_run)
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py",
line 96, in copy_resource
   copy_file(source, destination, dry_run=dry_run)
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py",
line 101, in copy_file
   zf, zp = path_to_zip(source)
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py",
line 133, in path_to_zip
   raise DistutilsFileError(path)
DistutilsFileError: /Users/looris/Sviluppo/varie/patollone
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py(133)path_to_zip()
-> raise DistutilsFileError(path)
(Pdb)
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/2.6/bin/py2applet",
line 8, in <module>
   load_entry_point('py2app==0.4.3', 'console_scripts', 'py2applet')()
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/script_py2applet.py",
line 134, in main
   build(args, scripts, data_files, options)
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/script_py2applet.py",
line 187, in build
   target.appdir,
AttributeError: 'Target' object has no attribute 'appdir'
Palace-of-the-Nine-Moons:~/Sviluppo/varie/patollone looris$


ps: I tried to send this mail without being subscribed, but it got
discarded without notice. Is it intentional? I mean, the lack of a
notice. I expected a message such as "you're not subscribed, you can't
post".

-- 
venera Lo'oris su http://looris.net


More information about the Pythonmac-SIG mailing list