By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,058 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,058 IT Pros & Developers. It's quick & easy.

py2exe, 2.3 and services (raising flag again)

P: n/a
Now that Thomas is back from vacation ;-)

I cannot get the example service to work using Python 2.3 and the latest
released py2exe (or the cvs version) on Win2k SP3. I can run the sample
service .py file ok, but once it's inside a py2exe generated exe.. no
working. The error in the event log is:

The description for Event ID ( 240 ) in Source ( MyService ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: 1063, The service process could not
connect to the service controller..
I'm looking for a suggestion or two on how I can start debugging this
problem. How do you debug py2exe generated .exe's? I have VC++ 6.0
--
Novell DeveloperNet Sysop #5

_


Jul 18 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"Brad Clements" <bk*@Murkworks.com> writes:
Now that Thomas is back from vacation ;-)

I cannot get the example service to work using Python 2.3 and the latest
released py2exe (or the cvs version) on Win2k SP3. I can run the sample
service .py file ok, but once it's inside a py2exe generated exe.. no
working. The error in the event log is:

The description for Event ID ( 240 ) in Source ( MyService ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: 1063, The service process could not
connect to the service controller..


There's a new py2exe version in the works, it is in the CVS sandbox
subdirectory. If you want it, I can mail you a binary for testing.

Thomas
Jul 18 '05 #2

P: n/a
max
Thomas Heller wrote:
There's a new py2exe version in the works, it is in the CVS sandbox
subdirectory. If you want it, I can mail you a binary for testing. me 2, please! ma*@cvisiontech.com Thomas

once we are on the topic, has there been any movement to do a monolith
option for py2exe (e.g. there is only one exe, no dlls necessary). this
is somewhat useful because the exe can be freely moved around without
worrying about the dlls.

thanks!
max

Jul 18 '05 #3

P: n/a
Max,
once we are on the topic, has there been any movement to do a monolith
option for py2exe (e.g. there is only one exe, no dlls necessary). this
is somewhat useful because the exe can be freely moved around without
worrying about the dlls.


This would be a VERY GOOD THING. All the PYDs and DLLs and so on in ONE
file. Yes, that would lead to 2-4 pythonXX.dlls in memory ... yes, all the
other DLLs (wxPython...) would be more than one time in memory, and on
disk...
But: some compression added (UPX) the files would be of reasonable size
(below 20MB), and distribution would become a charme.

+1 for this wish

Harald
Jul 18 '05 #4

P: n/a
Yes, I'd like to test your binary. I've sent you a message offline, Thanks

--
Novell DeveloperNet Sysop #5


Jul 18 '05 #5

P: n/a
I wrote:

There's a new py2exe version in the works, it is in the CVS sandbox
subdirectory. If you want it, I can mail you a binary for testing.


Instead of mailing it to several persons showing interest in it, I've
uploaded a binary here:

<http://starship.python.net/crew/theller/py2exe-0.5.0a1.win32-py2.3.exe>

Still work in progress (no support for Tkinter, for example), but works
for me and the included samples.

Documentation missing. A pity, because a lot has changed.
But help("py2exe") on the Python prompt shows something.

And Mark Hammond (who wrote quite some code for this, many thanks to
him) has a setup script for the SpamBayes Outlook plugin binaries in the
SpamBayes project CVS, which may give additional hints how to use this
py2exe.

Thomas
Jul 18 '05 #6

P: n/a
Hurray, it works! And I see we can now distribute multiple .exe's with one
shared .zip file. Great! You da man! Thank you!

--
Novell DeveloperNet Sysop #5

_
"Thomas Heller" <th*****@python.net> wrote in message
news:n0**********@python.net...
I wrote:

There's a new py2exe version in the works, it is in the CVS sandbox
subdirectory. If you want it, I can mail you a binary for testing.


Instead of mailing it to several persons showing interest in it, I've
uploaded a binary here:

<http://starship.python.net/crew/theller/py2exe-0.5.0a1.win32-py2.3.exe>

Still work in progress (no support for Tkinter, for example), but works
for me and the included samples.

Documentation missing. A pity, because a lot has changed.
But help("py2exe") on the Python prompt shows something.

And Mark Hammond (who wrote quite some code for this, many thanks to
him) has a setup script for the SpamBayes Outlook plugin binaries in the
SpamBayes project CVS, which may give additional hints how to use this
py2exe.

Thomas
--
http://mail.python.org/mailman/listinfo/python-list



Jul 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.