473,327 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

py2exe, 2.3 and services (raising flag again)

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
6 2109
"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
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
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
Yes, I'd like to test your binary. I've sent you a message offline, Thanks

--
Novell DeveloperNet Sysop #5


Jul 18 '05 #5
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Thomas Heller | last post by:
I'm currently working on a new version of py2exe, which will require Python 2.3 and later, because it uses the zipimport mechanism. Since py2exe is a distutils extension, and since C compilers...
2
by: Thomas Heller | last post by:
"Brad Clements" <bkc@murkworks.com> writes: > Once again I apologize for posting this py2exe question in the ctypes list. ;-) In the long run, this will be the wrong forum. I suggest...
3
by: Calvin Spealman | last post by:
I was wondering if it was possible, now or with a patch, to do either of the following: 1) Cause another thread's most recent function, or a given function in a given thread, to yield its...
0
by: Thomas Heller | last post by:
**py2exe 0.5.2** released ========================= py2exe is a Python distutils extension which converts python scripts into executable windows programs, able to run without requiring a python...
2
by: F. GEIGER | last post by:
I'd like to get rid of all __debug__ code fragments in my app. So I have changed the invocation of python to python -O in Windows Explorer. I use a wx.TextCtrl to display th e__debug__ flag: if...
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.6 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python...
1
by: Jimmy Retzlaff | last post by:
py2exe 0.6.8 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python...
0
by: Larry Bates | last post by:
Jimmy Retzlaff wrote: Everyone, Thanks for all your hard work on py2exe, it is greatly appreciated. -Larry Bates
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.9 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.