From: Singer, M. <Mat...@cu...> - 2005-03-25 21:32:38
|
Sure does... Uninstalled and reinstalled everything... All is well and good. I guess I should have remembered the rules of window's troubleshooting. reboot...reinstall app...reinstall windows.... sigh Thanks -----Original Message----- From: Dave Fancella [mailto:da...@da...] Sent: Friday, March 25, 2005 3:02 PM To: py2...@li... Subject: Re: [Py2exe-users] (no subject) On Friday 25 March 2005 01:46 pm, Singer, Matthew wrote: > Anyone know what might cause this "something's wrong" Looks like something's wrong. :) I would try reinstalling py2exe if I saw that, but I don't know if it = would=20 work. That looks like a classic error message that's only supposed to = happen=20 if something is wrong system-wide or with your python installation (in = other=20 words, I think that's an error message we're not ever supposed to see = because=20 it's impossible), so I'd be looking at other problems on the system and=20 making sure my python installation is perfect. Dave > My setup.py is real simple: > > $ cat setup.py > #setup.py > from distutils.core import setup > import py2exe > > setup(name=3D"suu", windows=3D["suu.py"],) > > > $ python setup.py py2exe > running py2exe > creating c:\projects\suu\dist > Traceback (most recent call last): > File "setup.py", line 5, in ? > setup(name=3D"suu", windows=3D["suu.py"],) > File "c:\python23\lib\distutils\core.py", line 149, in setup > dist.run_commands() > File "c:\python23\lib\distutils\dist.py", line 907, in run_commands > self.run_command(cmd) > File "c:\python23\lib\distutils\dist.py", line 927, in run_command > cmd_obj.run() > File "C:\Python23\Lib\site-packages\py2exe\build_exe.py", line 183, = in > run self._run() > File "C:\Python23\Lib\site-packages\py2exe\build_exe.py", line 202, = in > _run mf =3D self.create_modulefinder() > File "C:\Python23\Lib\site-packages\py2exe\build_exe.py", line 246, = in > creat modulefinder > from py2exe.mf import ModuleFinder > File "C:\Python23\Lib\site-packages\py2exe\py2exe.py", line 3, in ? > raise RuntimeError, "something's wrong" > RuntimeError: something's wrong > ----- > Matthew Singer > CWCEC - Advanced MultiComputing > Leesburg, VA > mat...@cu... > (703) 779-7800 x315 > (540) 729-5950 cell > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real = users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3DClick > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users --=20 NOWPRINT. NOWPRINT. Clemclone, back to the shadows again. - The Firesign Theater ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Py2exe-users mailing list Py2...@li... https://lists.sourceforge.net/lists/listinfo/py2exe-users |
From: Andrew L. <al...@pi...> - 2005-09-22 22:39:23
|
Hello All, I did not get any responses, but I would like everyone to know that I = got my project to work. Andy -----Original Message----- From: py2...@li... [mailto:py2...@li...]On Behalf Of Andrew Louder Sent: Wednesday, September 21, 2005 9:59 AM To: py2...@li... Subject: [Py2exe-users] (no subject) Hello All, =20 I am not sure how to use the classid type with MS com objects with = the py2exe. Here is my setup.py: # setup.py from distutils.core import setup import py2exe import os import select from win32com.server import * import win32com.servers.interp =20 #setup(com_server=3D["pillartestRA.py"]) #setup(console=3D["pillartestRA.py"],modules=3D["win32com.server.interp"]= ) #setup(com_server=3D["win32com.servers.interp"],modules=3D["pillartestRA.= py"]) #setup(console=3D["pillartestRA.py"],com_server=3D["win32com.servers.inte= rp"]) setup( options=3D{"py2exe": {"typelibs": = [('{2FA44B7D-ADDE-48D9-ABC1-878B9B1E97DE}', 0, 1, 0)]}}, = console=3D["pillartestRA.py"], com_server=3D["win32com.servers.interp"] ) =20 =20 =20 OUTPUT: C:\Develop\tas\py2exe>c:\python24\python setup.py py2exe running py2exe *** generate typelib stubs *** Traceback (most recent call last): File "setup.py", line 13, in ? setup( File "C:\Python24\lib\distutils\core.py", line 149, in setup dist.run_commands() File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands self.run_command(cmd) File "C:\Python24\lib\distutils\dist.py", line 966, in run_command cmd_obj.run() File "C:\Python24\Lib\site-packages\py2exe\build_exe.py", line 195, in = run self._run() File "C:\Python24\Lib\site-packages\py2exe\build_exe.py", line 226, in = _run self.typelibs) File "C:\Python24\Lib\site-packages\py2exe\build_exe.py", line 1446, = in collec t_win32com_genpy makepy.GenerateFromTypeLibSpec(info, bForDemand =3D False) File "C:\Python24\Lib\site-packages\win32com\client\makepy.py", line = 194, in G enerateFromTypeLibSpec tlb =3D pythoncom.LoadRegTypeLib(typelibCLSID, major, minor, lcid) pywintypes.com_error: (-2147319779, 'Library not registered.', None, = None) =20 Andy ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.=20 Download it for free - -and be entered to win a 42" plasma tv or your = very own Sony(tm)PSP. Click here to play: = http://sourceforge.net/geronimo.php _______________________________________________ Py2exe-users mailing list Py2...@li... https://lists.sourceforge.net/lists/listinfo/py2exe-users |
From: Delaney, T. \(Tim\) <tde...@av...> - 2005-09-22 23:06:17
|
Andrew Louder wrote: > Hello All, >=20 > I did not get any responses, but I would like everyone to know > that I got my project to work.=20 You may have got some responses if you'd included a subject line. A lot of people probably didn't see it (because it got classed as spam due to no subject line) or ignored it (because of no subject line). Apart from that, your post was fairly good, but you should still probably read: http://www.catb.org/~esr/faqs/smart-questions.html In particular, a summary of what the problem and fix were would have been good in your second post. And a subject line ;) Tim Delaney |
From: Andrew L. <al...@pi...> - 2005-09-23 00:58:51
|
Tim, The fix was achieved by reverse-engineering the advanced example to = duplicate the the options parameters. The documentation does not = clearly describe how to use the options parameters. Andy -----Original Message----- From: py2...@li... [mailto:py2...@li...]On Behalf Of Delaney, Timothy (Tim) Sent: Thursday, September 22, 2005 5:06 PM To: py2...@li... Subject: RE: [Py2exe-users] (no subject) Andrew Louder wrote: > Hello All, >=20 > I did not get any responses, but I would like everyone to know > that I got my project to work.=20 You may have got some responses if you'd included a subject line. A lot of people probably didn't see it (because it got classed as spam due to no subject line) or ignored it (because of no subject line). Apart from that, your post was fairly good, but you should still probably read: http://www.catb.org/~esr/faqs/smart-questions.html In particular, a summary of what the problem and fix were would have been good in your second post. And a subject line ;) Tim Delaney ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.=20 Download it for free - -and be entered to win a 42" plasma tv or your = very own Sony(tm)PSP. Click here to play: = http://sourceforge.net/geronimo.php _______________________________________________ Py2exe-users mailing list Py2...@li... https://lists.sourceforge.net/lists/listinfo/py2exe-users |
From: Jimmy R. <ji...@re...> - 2005-11-14 15:32:48
|
Gary Richardson wrote: > I'm trying to create a standalone program that uses Tkinter and > pyparallel. > When I run the created program an error occurs and a message directs me to > the log file which contains: >=20 > Traceback (most recent call last): > File "fg.py", line 30, in ? > File "dds2.pyc", line 24, in ? > File "parallel\__init__.pyc", line 13, in ? > File "parallel\parallelwin32.pyc", line 59, in ? > File "ctypes\__init__.pyc", line 273, in __getattr__ > File "ctypes\__init__.pyc", line 222, in __init__ > WindowsError: [Errno 1157] One of the library files needed to run this > application cannot be found >=20 > My setup.py: > from distutils.core import setup > import py2exe > setup( > version =3D "1.0", > description =3D "Control program for AA7VM function generator.", > name =3D "fg", > windows =3D ["fg.py"], > ) >=20 > I'm using PythonWin 2.3.2 on Win98SE >=20 > What is missing? I would guess that pyparallel is using ctypes to load a dll on line 59 of parallelwin32.py. Take a look at that line and see if the name of a dll is specified there. If so, try explicitly including it. Jimmy |
From: Joachim E. N. <nc...@wa...> - 2007-07-14 00:41:03
|