Richard Bryan
2014-11-24 18:42:07 UTC
Hi Wander,
I ran with PYUSB_DEBUG=debug and encountered the error. The log text when
the error occurred is here:
http://pastebin.com/kmqSrek9
Its the pyusb debug log intermingled with my program's logging information
as well. The first "Access Denied" error occurs at line 1527. There are
also a bunch '[Errno 10060] Operation timed out' errors that occur leading
up to the access denied error. Just looking at the pyusb log messages
around the time the errors are reported by my program, I didn't see
anything that looked relevant...
Richard
Date: Thu, 13 Nov 2014 09:54:31 -0200
From: Wander Lairson Costa <***@gmail.com>
Subject: Re: [pyusb-users] Access Denied Error on Windows 7
To: pyusb-users <pyusb-***@lists.sourceforge.net>
Message-ID:
<CAFsSK4ZsCYbR8eQETrDrcU0QU+f_
05bKShpWgQdE6SA5K=***@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
to avoid it.
PYUSB_DEBUG=debug defined and report the logs?
Best Regards,
Wander Lairson Costa
I ran with PYUSB_DEBUG=debug and encountered the error. The log text when
the error occurred is here:
http://pastebin.com/kmqSrek9
Its the pyusb debug log intermingled with my program's logging information
as well. The first "Access Denied" error occurs at line 1527. There are
also a bunch '[Errno 10060] Operation timed out' errors that occur leading
up to the access denied error. Just looking at the pyusb log messages
around the time the errors are reported by my program, I didn't see
anything that looked relevant...
Richard
Date: Thu, 13 Nov 2014 09:54:31 -0200
From: Wander Lairson Costa <***@gmail.com>
Subject: Re: [pyusb-users] Access Denied Error on Windows 7
To: pyusb-users <pyusb-***@lists.sourceforge.net>
Message-ID:
<CAFsSK4ZsCYbR8eQETrDrcU0QU+f_
05bKShpWgQdE6SA5K=***@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
I'm frequently running into an "Access Denied (insufficient permissions)"
errors on Windows 7 (with libusb1 backend) during long-running usb
sessionserrors on Windows 7 (with libusb1 backend) during long-running usb
with a device. When this happens, I call reset() and dispose_resources()
onthe usb handle and then attempt to reenumerate it using usb.core.find(),
butthe Access Denied error keeps occurring until I unplug and replug the
device. Restarting the program alone doesnt fix it.
iirc, libusb reset operation is problematic under Windows, so betterdevice. Restarting the program alone doesnt fix it.
to avoid it.
I have a multithreaded program, but interaction with pyusb is only ever
donein the same, single thread.
This should not cause problems...Anyone have any ideas what's going on? Or is this something I should ask
the libusb list about?
Could you please run you program with the environment variablethe libusb list about?
PYUSB_DEBUG=debug defined and report the logs?
Richard
------------------------------------------------------------------------------Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrkMonitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
_______________________________________________
pyusb-users mailing list
https://lists.sourceforge.net/lists/listinfo/pyusb-users
--pyusb-users mailing list
https://lists.sourceforge.net/lists/listinfo/pyusb-users
Best Regards,
Wander Lairson Costa