#1
|
|||
|
|||
Publish EXE with win32com
Hello Wizards,
I got a problem there. My script is importing the win32com python module. It's running fine inside Vizard, but when I try to publish my .exe the interpreter tell me that there's no module named pythoncom. Can I have some advices? Thanks !! viz.FOREVER !! D. |
#2
|
|||
|
|||
The win32com module probably depends on some dll located in the windows system folder. If this is the case, then you will need to manually add the file to your published exe.
|
#3
|
|||
|
|||
AAAAAAARRRGGG !!!! Help !!
All right Farshi !!
It's working, thanks. But now I got this problem when runninmg the exe (I don't understand why, but it's working fine in the IDE): ************************************************** **************************** ** Loading PHCS1.4.py ************************************************** **************************** ** NOTIFY: 0 joystick(s) detected Traceback (most recent call last): File "<string>", line 11, in ? File "PHCS1.4.py", line 170, in ? class ContextEvents(win32com.client.getevents("SAPI.SpSh aredRecoContext")): TypeError: Error when calling the metaclass bases cannot create 'NoneType' instances ** Load Time: 0.60 seconds ** WARNING: There were errors in your script, press any key to exit This thing is driving me crazy... viz.FOREVER !! D. |
#4
|
|||
|
|||
I really need some help...
Hello Wizards,
I really need some help there, I don't understand why my application works in Vizard and not when it's in .exe !!! I still got this error: TypeError: Error when calling the metaclass bases cannot create 'NoneType' instances when I running the .exe. I think this line of code is the source of my headache: class ContextEvents(win32com.client.getevents("SAPI.SpSh aredRecoContext")): Any suggestions ? viz.FOREVER !! D. |
#5
|
|||
|
|||
Is there supposed to be a space in the string "SAPI.SpSh aredRecoContext"? I'm not familiar with the win32com library, so I don't know what is causing the error.
|
#6
|
|||
|
|||
Anything yet ?
Hello Wizards !!
Did you find something about my mysterious metaclass ? viz.FOREVER !!! D. |
#7
|
|||
|
|||
I've created an exe that uses win32com and it works fine on other machines. Is the exe not working on the same machine that has Vizard installed, or are you running the exe on a different machine? If it is not working when you run it on a different machine, then are you sure you have the SAPI engine installed on that machine?
|
#8
|
|||
|
|||
It's not working at all !!!!
Hello Farshi...
My exe is not working at all: not working on my workstation, not working on a test machine. I still got the error... viz.FOREVER !!! D. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Publish as EXE - Introduction | tobin | Vizard | 19 | 02-12-2009 02:51 AM |
publish .exe n.. | gakusei08 | Vizard | 3 | 05-07-2008 09:47 AM |