Safoura,

Is your application code available in a git or SVN repository? Your
numerous cries for help have not provided much information as to the
structure of your Python + Java conglomerate software.

>From the sound of it, your Java app is unable to call LibUSB on a computer
with neither Python nor PyUSB installed. You do, however, seem to
have equivalent Python code functioning on that machine?

How're you calling it without Python or PyUSB installed?
What software suite are you using to let Java talk to PyUSB?
Does your Java program have sufficient user privileges?
If this is Windows, have you installed a .INF driver via LibUSB?

--
Ian

On Tue, Nov 15, 2011 at 23:37, Safoura <s.seddig...@gmail.com> wrote:

> Hi Wander,
>
> I have been posting a few messages for the past few days since the
> software I thought was ready to use and was actually delivered doesn't
>  work on the new computers!:((
>
> As I had in the previous message , the backend is not available:
>
>
>
>
> 2011-11-15 18:14:49,707 ERROR:usb.backend.libusb10:Error loading
> libusb 1.0 backend
> Traceback (most recent call last):
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb10", line
> 600, in get_backend
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb10",
>  line
> 160, in _load_library
> OSError: USB library could not be found
> 2011-11-15 18:14:49,707 ERROR:usb.backend.openusb:
> Error loading OpenUSB
> backend
> Traceback (most recent call last):
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.openusb",
>  line
> 598, in get_backend
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.openusb",
>  line
> 148, in _load_library
> OSError: USB library could not be found
> 2011-11-15 18:14:49,709 ERROR:usb.backend.libusb01:
> Error loading libusb 0.1 backend
> Traceback (most recent call last):
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb01",
> line
> 558, in get_backend
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb01",
>  line
> 180, in _load_library
> OSError: USB library could not be found
> 2011-11-15 18:23:59,219 ERROR:usb.backend.libusb10:
> Error loading libusb 1.0 backend
> Traceback (most recent call last):
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb10",
>  line
> 600, in get_backend
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb10",
> line
> 160, in _load_library
> OSError: USB library could not be found
> 2011-11-15 18:23:59,220 ERROR:usb.backend.openusb:
> Error loading OpenUSB
> backend
> Traceback (most recent call last):
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.openusb",
> line
> 598, in get_backend
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.openusb",
> line
> 148, in _load_library
> OSError: USB library could not be found
> 2011-11-15 18:23:59,220 ERROR:usb.backend.libusb01:
> Error loading libusb 0.1 backend
> Traceback (most recent call last):
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb01",
> line
> 558, in get_backend
>  File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/
> usb.backend.libusb01",
> line
> 180, in _load_library
> OSError: USB library could not be found
>
>
>
> I don't have pyusb or python installed on the customer's mashines but
>  have installed libusb-win32.
> If I run my exe python code by double clicking on it, it runs fine
> (usb opened and read)
> If my java code runs it, this error would show and the software fails!
> What could be the problem?
> Please help if you can.
>
> Thank you
>
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to