473,396 Members | 1,966 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,396 software developers and data experts.

STrange error importing win32gui

I'm using Python 2.3 on windows and trying to use the win32 libs. I
keep getting the following error
import win32gui


Traceback (most recent call last):
File "<pyshell#6>", line 1, in -toplevel-
import win32gui
ImportError: DLL load failed: A device attached to the system is not
functioning.

I'm not sure what it means ot how to fix it. Any thoughts?
Jul 18 '05 #1
4 2722
jo******@cybermesa.com (Jay O'Connor) writes:
I'm using Python 2.3 on windows and trying to use the win32 libs. I
keep getting the following error
import win32gui


Traceback (most recent call last):
File "<pyshell#6>", line 1, in -toplevel-
import win32gui
ImportError: DLL load failed: A device attached to the system is not
functioning.

I'm not sure what it means ot how to fix it. Any thoughts?


Don't you just love those informative Windows error messages?

I had that error message before (can't remember the circumstances),
and never found out what the problem was. Had to work around it
rather than fix it.
John
Jul 18 '05 #2
jj*@pobox.com (John J. Lee) wrote in message news:<87************@pobox.com>...
jo******@cybermesa.com (Jay O'Connor) writes:
I'm using Python 2.3 on windows and trying to use the win32 libs. I
keep getting the following error
>> import win32gui


Traceback (most recent call last):
File "<pyshell#6>", line 1, in -toplevel-
import win32gui
ImportError: DLL load failed: A device attached to the system is not
functioning.

I'm not sure what it means ot how to fix it. Any thoughts?


Don't you just love those informative Windows error messages?

I had that error message before (can't remember the circumstances),
and never found out what the problem was. Had to work around it
rather than fix it.
John


When I've had these errors, it's usually indicated
that -- at some point -- one of my network drives
has gone down, especially but not limited to the
one I'm hosting my python-site-packages directory
on. Forcing a reconnection to the drive
(ie net use /del followed by net use) seems to solve it,
even if the drive is by now up and running again.

YMMV
TJG
Jul 18 '05 #3
On 13 Nov 2003 00:42:06 -0800, ti********@viacom-outdoor.co.uk (Tim
Golden) wrote:
jj*@pobox.com (John J. Lee) wrote in message news:<87************@pobox.com>...
jo******@cybermesa.com (Jay O'Connor) writes:
> I'm using Python 2.3 on windows and trying to use the win32 libs. I
> keep getting the following error
>
> >>> import win32gui
>
> Traceback (most recent call last):
> File "<pyshell#6>", line 1, in -toplevel-
> import win32gui
> ImportError: DLL load failed: A device attached to the system is not
> functioning.
>
> I'm not sure what it means ot how to fix it. Any thoughts?


Don't you just love those informative Windows error messages?

I had that error message before (can't remember the circumstances),
and never found out what the problem was. Had to work around it
rather than fix it.
John


When I've had these errors, it's usually indicated
that -- at some point -- one of my network drives
has gone down, especially but not limited to the
one I'm hosting my python-site-packages directory
on. Forcing a reconnection to the drive
(ie net use /del followed by net use) seems to solve it,
even if the drive is by now up and running again.


This is a standalone PC with only a dialup modem for connectivity.
It's an old Win95 machine.

Basically I want to do GUI progrmaming in Python on windows to expand
my offerings as a programmer. I thuoght the win32 api would be good
but I'm also considering wxPython now (I really don't like Tkinter)

FWIW - I'm an unemployed software developer who likes programming in
Python and Smalltalk if anyone needs a warm body.

Jul 18 '05 #4
Jay O'Connor wrote:
On 13 Nov 2003 00:42:06 -0800, ti********@viacom-outdoor.co.uk (Tim
Golden) wrote:

jj*@pobox.com (John J. Lee) wrote in message news:<87************@pobox.com>...
jo******@cybermesa.com (Jay O'Connor) writes:
I'm using Python 2.3 on windows and trying to use the win32 libs. I
keep getting the following error
>>>import win32gui

Traceback (most recent call last):
File "<pyshell#6>", line 1, in -toplevel-
import win32gui
ImportError: DLL load failed: A device attached to the system is not
functioning.

I'm not sure what it means ot how to fix it. Any thoughts?

Don't you just love those informative Windows error messages?

I had that error message before (can't remember the circumstances),
and never found out what the problem was. Had to work around it
rather than fix it.
John


When I've had these errors, it's usually indicated
that -- at some point -- one of my network drives
has gone down, especially but not limited to the
one I'm hosting my python-site-packages directory
on. Forcing a reconnection to the drive
(ie net use /del followed by net use) seems to solve it,
even if the drive is by now up and running again.

This is a standalone PC with only a dialup modem for connectivity.
It's an old Win95 machine.

Basically I want to do GUI progrmaming in Python on windows to expand
my offerings as a programmer. I thuoght the win32 api would be good
but I'm also considering wxPython now (I really don't like Tkinter)

FWIW - I'm an unemployed software developer who likes programming in
Python and Smalltalk if anyone needs a warm body.


I'm afraid that win32all no longer supports Win95 - that is the cause of
the error. Windows 98 or better works.

I realize this sucks, but at some stage I have to let go - and if it is
good enough for MS to call 95 "unsupported", it is good enough for me <wink>

Mark.

Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael J. Bigos | last post by:
Has anyone else come across this? We are building an ASP.Net application that uses a certficate in the local machine store to sign XML data before transmitting it to a third-party. The third...
2
by: unexpected | last post by:
Hey guys, I'm having problems importing a file into my python app. Everytime I try to define the object specified by this file, i.e, test = Test(), It raises an ImportError exception:...
3
by: robert | last post by:
As soon as I install wxPython on a Py2.3.5, my win32ui / win32gui apps freak out. buttons in dialogs are magically pressed. backgrounds of dialogs are colored wrong... this is with current...
3
by: geskerrett | last post by:
Hope someone can steer me in the right direction. I am trying to use python to collect the values from a Win32 application's control. I can successfull query an retreive the values ListBox, Edit...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.