2011/11/15 Safoura <s.seddig...@gmail.com>: > Wander Lairson Costa <wander.lairson@...> writes: > >> >> 2011/11/13 Safoura <s.seddighin@...>: > > > Hi Wander, > > Thanks for the reply!
You're welcome > When I add this env. variable , where can I see the details? By default, it is printed to the console, but you can define another environment variable PYUSB_LOG_FILENAME with the name of the file to save the logs. For details you may see the PyUSB tutorial [1]. > > Also can it be a priviledge issue with the usb functionality? This depends, what OS are you using? > If I run my python code (which uses the usb module) it runs just fine. If that > exact python code gets run by another program (java program which uses > Runtime.exec to call and run the python code), python code doesn't proceed > when > it gets to the starting point of using the usb module; running the code by me > versus running the code by another program(java code). I am not used to Java, so I am affraid I can't help you in this point. [1] http://pyusb.sourceforge.net/docs/1.0/tutorial.html -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac ------------------------------------------------------------------------------ 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