Giter Club home page Giter Club logo

Comments (3)

rene-aguirre avatar rene-aguirre commented on September 26, 2024

Hello Maarten,

Is there anything special running on your machine? posible any VM running?

Try to use another USB port.

Also, if your machine is Windows 64 try both Python 32 bits and Python 64.

I would recommend using Python 2.7.x only, you can try Python 3 after you
know your script is working.

And definitely try with other USB/HID device first in case your device has
broken descriptors.

Best regards

Rene

On Wed, Feb 13, 2013 at 1:24 PM, vermmaa [email protected] wrote:

Hi,

A came across you project in search of an solution to read out my Dymo usb
scale. I'm a php developer and i'm not used to working with python so I
hope i didn't make a stupid mistake.

When i run the raw data example i get following error:

D:\pywinusb\examples>python raw_data.py
Choose a device to monitor raw input reports:

0 => Exit
1 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
2 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
3 => DYMO M10 10 Kg Digital Postal Scale(vID=0x0922, pID=0x8006)

Device ('0' to '3', '0' to exit?) [press enter after number]:

3
Traceback (most recent call last):
File "raw_data.py", line 67, in
raw_test()
File "raw_data.py", line 39, in raw_test
device.open()
File
"C:\Python33\lib\site-packages\pywinusb-0.3.2-py3.3.egg\pywinusb\hid\core
.py", line 468, in open
ptr_preparsed_data) )
OSError: exception: access violation reading 0x000007FE0036F5A0

I'm using Windows 7, I have disabled ACL. First I tried Python 2.7 which
didn't work and gave me no error then I switched to 3.3 which produced the
error.

thx,

Maarten

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/5.

from pywinusb.

rene-aguirre avatar rene-aguirre commented on September 26, 2024

I almost forgot it... Did you get the code from PyPi or from GitHub?

On Wed, Feb 13, 2013 at 7:56 PM, RenΓ© Aguirre [email protected]:

Hello Maarten,

Is there anything special running on your machine? posible any VM running?

Try to use another USB port.

Also, if your machine is Windows 64 try both Python 32 bits and Python 64.

I would recommend using Python 2.7.x only, you can try Python 3 after you
know your script is working.

And definitely try with other USB/HID device first in case your device has
broken descriptors.

Best regards

Rene

On Wed, Feb 13, 2013 at 1:24 PM, vermmaa [email protected] wrote:

Hi,

A came across you project in search of an solution to read out my Dymo
usb scale. I'm a php developer and i'm not used to working with python so I
hope i didn't make a stupid mistake.

When i run the raw data example i get following error:

D:\pywinusb\examples>python raw_data.py
Choose a device to monitor raw input reports:

0 => Exit
1 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
2 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
3 => DYMO M10 10 Kg Digital Postal Scale(vID=0x0922, pID=0x8006)

Device ('0' to '3', '0' to exit?) [press enter after number]:

3
Traceback (most recent call last):
File "raw_data.py", line 67, in
raw_test()
File "raw_data.py", line 39, in raw_test
device.open()
File
"C:\Python33\lib\site-packages\pywinusb-0.3.2-py3.3.egg\pywinusb\hid\core
.py", line 468, in open
ptr_preparsed_data) )
OSError: exception: access violation reading 0x000007FE0036F5A0

I'm using Windows 7, I have disabled ACL. First I tried Python 2.7 which
didn't work and gave me no error then I switched to 3.3 which produced the
error.

thx,

Maarten

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/5.

from pywinusb.

vermmaa avatar vermmaa commented on September 26, 2024

Hi,

I now tried the 64bit version of Python 2.7 and that version works.

Thx for the tip and the nice piece of code :)

Kind regards,

Maarten

from pywinusb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.