[Pythonmac-SIG] py2app error 10810...

Sarah Ring sring at nd.edu
Sun Nov 2 19:39:52 CET 2008


I have Python version 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) and Py2app
version 0.3
I'm not using any packages for this test, but I plan to use pyqt4 in the
future.

I tried py2applet --make-setup hello.py (also tried py2applet hello.py
--make-setup) to create a setup.py. It goes through: *** using recipe: sip
***, *** filtering dependencies ***, *** create binaries ***, *** byte
compile python files ***, but when it gets to *** creating application
bundle: hello ***, at the end I see:

.
.
.
  File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/file_util.py",
line 119, in copy_file
DistutilsFileError: can't copy
'/Users/xxx/Documents/epics/Fall08/--make-setup': doesn't exist or not a
regular file
>
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/file_util.py(119)copy_file()
(Pdb)

I had just said "py2applet hello.py" and it created a .app, but I guess it
was missing this setup.py. Is there another call I can use to make a
setup.py?

Thanks!


On Thu, Oct 30, 2008 at 1:58 PM, Christopher Barker
<Chris.Barker at noaa.gov>wrote:

> Sarah Ring wrote:
>
>> LSOpenFromURLSpec() failed with error -10810 for the file
>> /Users/***/Documents/epics/Fall08/hello.app
>>
>> Does anyone know what this means and how to resolve it?
>>
>
> I haven't seen that, but:
>
> Does it do the same thing when you double-click on it?
>
> Which version of py2app are you using?
>
> Which version of Python?
>
> What packages are you using?
>
> you might want to post your setup.py
>
> -Chris
>
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> Chris.Barker at noaa.gov
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20081102/de4a7ff3/attachment.htm>


More information about the Pythonmac-SIG mailing list