Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

py2exe, 2.3 and services (raising flag again)

9 views
Skip to first unread message

Brad Clements

unread,
Sep 26, 2003, 2:33:33 PM9/26/03
to
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

_


Thomas Heller

unread,
Sep 26, 2003, 4:09:28 PM9/26/03
to
"Brad Clements" <b...@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

max

unread,
Sep 26, 2003, 4:30:35 PM9/26/03
to
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! m...@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

Harald Massa

unread,
Sep 27, 2003, 5:02:03 AM9/27/03
to
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

Brad Clements

unread,
Sep 29, 2003, 10:29:28 AM9/29/03
to
Yes, I'd like to test your binary. I've sent you a message offline, Thanks

Thomas Heller

unread,
Oct 1, 2003, 4:15:36 PM10/1/03
to
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

Brad Clements

unread,
Oct 2, 2003, 2:41:09 PM10/2/03
to
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" <the...@python.net> wrote in message
news:n0ck67...@python.net...

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


0 new messages