-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug on eeepc 32bits #71
Comments
I've never seen this error before. It's raised by the underlying libusb library. from vds1022 import *
dev = VDS1022(debug=True)
dev.set_channel(CH1, range='10v', offset=1/10, probe='x10')
dev.fetch().ch1.rms() I would also try to run the app from a live linux like Linux MX with java 1.8 (8). |
1st try:: #!/usr/bin/env python3 -- coding: utf-8 --from vds1022 import * dev = VDS1022(debug=True) I have the ENV variable: After launch, I have a Python error: I do not know this type of declaration "*(f.y()...... my knowledge in python is limited. I'm trying to find a java 18.(8) to continue this DEBUG . The VDS1022 is running fine on your script's test machine so far. Anyway thanks for everything... |
Asterisk is used to iterate/unpack the list comprehension. It's available since python3. |
Yes, I saw that it was python3, and that's why I put at the top of the script: I had, before, launched "python3 vds1022_bug.py" with the same error. I tried running the initial command: |
Update python, your have an old version which is no longer supported. |
I'm sorry but I just tried with version 3.6.8 and it's exactly the same (image attached) I isolated the vds1022.py file to test but without success. We stop there, I think I'm going to buy another more modern PC Thanks for the help, I don't want to occupy your time with this. By |
There's something wrong with your install/setup, python shouldn't fail on this line/syntax. Anyway, if you manage to connect the device with python without the USB error, it would indicate that the wrapping library libusbJava.so is the culprit and needs to be recompiled for Atom processors. The sources to recompile are present in libusbJava-src.zip |
USB is not visible when I run "owon-vds-tiny"
on an eeepc PROC = N2600 intel 32bits, linuxMint 19
lsusb OK we see the VDS1022 , but a java error appears
endlessly .
Do you have a direction for a debug
THANKS
env: Linux, Java 11.0.3 i386
app dir: /opt/owon-vds-tiny
user dir: /home/eg/.owon-vds-tiny
locale: en, fr_FR, false
ch.ntb.usb.USBException: LibusbJava.usb_open: Resource temporarily unavailable (-1753889856)
at com.owon.uppersoft.vds.core.usb.CDevice.open(CDevice.java:86)
at com.owon.uppersoft.vds.core.usb.CDevice.getDevices(CDevice.java:300)
at com.owon.uppersoft.dso.source.usb.USBSourceManager.refreshUSBPort(USBSourceManager.java:79)
at com.owon.uppersoft.dso.source.comm.detect.USBLoopChecker.checkUSBDevice(USBLoopChecker.java:74)
at com.owon.uppersoft.dso.source.comm.USBDaemonHelper.onNotConnecting(USBDaemonHelper.java:35)
at com.owon.uppersoft.vds.machine.InfiniteDaemonTiny0.onNotConnecting(InfiniteDaemonTiny0.java:37)
at com.owon.uppersoft.dso.source.comm.Flow.run(Flow.java:79)
at com.owon.uppersoft.dso.global.ControlAppsTiny$1.run(ControlAppsTiny.java:38)
ch.ntb.usb.USBException: LibusbJava.usb_open: Resource temporarily unavailable (-1753881632)
The text was updated successfully, but these errors were encountered: