[OT] py2exe weirdness!

Maybe and probably this:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:56868:aaimcbdnamofnfgcedge

Jean-Michel Fauth, Switzerland

jmf пишет:

Maybe and probably this:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:56868:aaimcbdnamofnfgcedge

I has patched the py2exe as says there, but nothing was happend. I still recive error message box which says 'See log file for details', but log file still empty. I am totaly confused.

I have py2exe 0.6.5 for Python 2.4.3 BTW wxPython 2.6.3.3

I don't know whether it Python/py2exe issue or something else. Please, help me.

Thanks in advance.

···

--
Basil Shubin
Freelance Software Developer

Basil Shubin wrote:

jmf пишет:

Maybe and probably this:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:56868:aaimcbdnamofnfgcedge

I has patched the py2exe as says there, but nothing was happend. I still recive error message box which says 'See log file for details', but log file still empty. I am totaly confused.

Which log file are you checking? Does your own application make a log file? The one involved is actually something like main.exe.log where "main" is replaced by py2exe with the base name of your main script file (i.e. whatever was mentioned in the windows/script or console/script parameter to py2exe).

-Peter

Peter Hansen пишет:

Basil Shubin wrote:

jmf пишет:

Maybe and probably this:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:56868:aaimcbdnamofnfgcedge

I has patched the py2exe as says there, but nothing was happend. I still recive error message box which says 'See log file for details', but log file still empty. I am totaly confused.

Which log file are you checking? Does your own application make a log file? The one involved is actually something like main.exe.log where "main" is replaced by py2exe with the base name of your main script file (i.e. whatever was mentioned in the windows/script or console/script parameter to py2exe).

Yes, exactly! The log file - 'appname.exe.log', but it's empty and I don't know what to do... My application doesn't create any logs by itself.

···

--
Basil Shubin
Freelance Software Developer

A couple suggestions to get the output of your application to the
console so that you can perhaps read the log.

1) in your setup.py, change the setup(windows=...) call to
setup(console=...) .

2) when creating your App object via wx.App(), make that wx.App(0), that
will produce output to the console.

Re-perform the py2exe generation, and run your program from the console.
If it produces anything, it should be displayed in the console. If not,
I don't know.

- Josiah

···

Basil Shubin <bashu@yandex.ru> wrote:

Peter Hansen ÐÉÛÅÔ:
> Basil Shubin wrote:
>> jmf ÐÉÛÅÔ:
>>> Maybe and probably this:
>>> http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:56868:aaimcbdnamofnfgcedge
>>
>>
>> I has patched the py2exe as says there, but nothing was happend. I
>> still recive error message box which says 'See log file for details',
>> but log file still empty. I am totaly confused.
>
> Which log file are you checking? Does your own application make a log
> file? The one involved is actually something like main.exe.log where
> "main" is replaced by py2exe with the base name of your main script file
> (i.e. whatever was mentioned in the windows/script or console/script
> parameter to py2exe).

Yes, exactly! The log file - 'appname.exe.log', but it's empty and I
don't know what to do... My application doesn't create any logs by itself.

--
Basil Shubin
Freelance Software Developer

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Josiah Carlson пишет:

A couple suggestions to get the output of your application to the
console so that you can perhaps read the log.

1) in your setup.py, change the setup(windows=...) call to
setup(console=...) .

2) when creating your App object via wx.App(), make that wx.App(0), that
will produce output to the console.

Re-perform the py2exe generation, and run your program from the console. If it produces anything, it should be displayed in the console. If not,
I don't know.

Error message in concole said, that wx.lib.calendar was not found. I explicitly add 'import wx.lib.calendar' to the file where I have use wxDatePicker control, after rebuild binary everything starts working.

Thanks!

···

--
Basil Shubin
Freelance Software Developer