Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Problem with win32ui

Reply
Thread Tools

Re: Problem with win32ui

 
 
Gabriel Genellina
Guest
Posts: n/a
 
      12-22-2009
En Tue, 22 Dec 2009 12:31:37 -0300, Marc Grondin <>
escribió:

> Hello everyone,
> So i have been building an app with python(and learning as i go along) my
> knowledge of python is still kinda limited but the app work on my pc. I
> have
> also compiled it to an exe using py2exe and it also works fine this way
> on
> my pc(where python is installed) if however i try to run it from a pc
> where
> python is not installed i get this message:
>
> Traceback (most recent call last):
> File "printorders.py", line 2, in <module>
> File "win32ui.pyc", line 12, in <module>
> File "win32ui.pyc", line 10, in __load
> ImportError: DLL load failed: The specified module could not be found.


There is a missing DLL. Dependency Walker is a useful tool to solve this
kind of problems:
http://technet.microsoft.com/en-us/l...70(WS.10).aspx
Once you know which DLL is missing, add it to your setup.py

--
Gabriel Genellina

 
Reply With Quote
 
 
 
 
Mike Driscoll
Guest
Posts: n/a
 
      12-22-2009
On Dec 22, 11:05*am, "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
wrote:
> En Tue, 22 Dec 2009 12:31:37 -0300, Marc Grondin <marcg...@gmail.com> *
> escribió:
>
> > Hello everyone,
> > So i have been building an app with python(and learning as i go along) my
> > knowledge of python is still kinda limited but the app work on my pc. I *
> > have
> > also compiled it to an exe using py2exe and it also works fine this way *
> > on
> > my pc(where python is installed) if however i try to run it from a pc *
> > where
> > python is not installed i get this message:

>
> > Traceback (most recent call last):
> > * File "printorders.py", line 2, in <module>
> > * File "win32ui.pyc", line 12, in <module>
> > * File "win32ui.pyc", line 10, in __load
> > ImportError: DLL load failed: The specified module could not be found.

>
> There is a missing DLL. Dependency Walker is a useful tool to solve this *
> kind of problems:http://technet.microsoft.com/en-us/l...70(WS.10).aspx
> Once you know which DLL is missing, add it to your setup.py
>
> --
> Gabriel Genellina



Also make sure that you can legally distribute the dll.

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

PyCon 2010 Atlanta Feb 19-21 http://us.pycon.org/
 
Reply With Quote
 
 
 
 
Marc Grondin
Guest
Posts: n/a
 
      12-23-2009
On 22/12/2009 1:05 PM, Gabriel Genellina wrote:
> En Tue, 22 Dec 2009 12:31:37 -0300, Marc Grondin <>
> escribió:
>
>> Hello everyone,
>> So i have been building an app with python(and learning as i go along) my
>> knowledge of python is still kinda limited but the app work on my pc.
>> I have
>> also compiled it to an exe using py2exe and it also works fine this
>> way on
>> my pc(where python is installed) if however i try to run it from a pc
>> where
>> python is not installed i get this message:
>>
>> Traceback (most recent call last):
>> File "printorders.py", line 2, in <module>
>> File "win32ui.pyc", line 12, in <module>
>> File "win32ui.pyc", line 10, in __load
>> ImportError: DLL load failed: The specified module could not be found.

>
> There is a missing DLL. Dependency Walker is a useful tool to solve this
> kind of problems:
> http://technet.microsoft.com/en-us/l...70(WS.10).aspx
> Once you know which DLL is missing, add it to your setup.py
>

ok so that got me a little further. The app now works on win2k and
windows 7 but on winXP i get this:

File "printorders.py", line 2, in <module>
File "win32ui.pyc", line 12, in <module>
File "win32ui.pyc", line 10, in __load
ImportError: DLL load failed: This application has failed to start
because the a
pplication configuration is incorrect. Reinstalling the application may
fix this
problem.

Dependencie walker does not find any major issues. what am i missing here.

thank you in advance for your help.

 
Reply With Quote
 
Simon Hibbs
Guest
Posts: n/a
 
      12-23-2009
On 23 Dec, 11:10, Marc Grondin <marcg...@gmail.com> wrote:
> On 22/12/2009 1:05 PM, Gabriel Genellina wrote:
>
> > En Tue, 22 Dec 2009 12:31:37 -0300, Marc Grondin <marcg...@gmail.com>
> > escribi :

>
> >> Hello everyone,
> >> So i have been building an app with python(and learning as i go along) my
> >> knowledge of python is still kinda limited but the app work on my pc.
> >> I have
> >> also compiled it to an exe using py2exe and it also works fine this
> >> way on
> >> my pc(where python is installed) if however i try to run it from a pc
> >> where
> >> python is not installed i get this message:

>
> >> Traceback (most recent call last):
> >> File "printorders.py", line 2, in <module>
> >> File "win32ui.pyc", line 12, in <module>
> >> File "win32ui.pyc", line 10, in __load
> >> ImportError: DLL load failed: The specified module could not be found.

>
> > There is a missing DLL. Dependency Walker is a useful tool to solve this
> > kind of problems:
> >http://technet.microsoft.com/en-us/l...70(WS.10).aspx
> > Once you know which DLL is missing, add it to your setup.py

>
> ok so that got me a little further. The app now works on win2k and
> windows 7 but on winXP i get this:
>
> * File "printorders.py", line 2, in <module>
> * *File "win32ui.pyc", line 12, in <module>
> * *File "win32ui.pyc", line 10, in __load
> ImportError: DLL load failed: This application has failed to start
> because the a
> pplication configuration is incorrect. Reinstalling the application may
> fix this
> * problem.
>
> Dependencie walker does not find any major issues. what am i missing here..
>
> thank you in advance for your help.


You could try and find out what the __load statement in line 10 in
win32ui.py does.

Simon Hibbs
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between win32ui and win32gui? Corwan Python 1 02-01-2004 03:56 AM
win32ui.CreateFont() question Chris Gonnerman Python 0 11-21-2003 01:48 PM
win32ui CreateFileDialog Can't Set Dir EricP Python 1 10-28-2003 06:37 AM
win32ui.CreatePrintDialog argument question Howard Lightstone Python 0 06-28-2003 10:08 PM
win32ui screen capture Me Mine Python 3 06-27-2003 08:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57