Docker USB Connectivity to U6 LabJack | LabJack

Docker USB Connectivity to U6 LabJack

2 posts / 0 new
Last post
xyhu_nitricity's picture
Docker USB Connectivity to U6 LabJack

I am working on containing a Django framework webapp which has USB LabJack connectivity inside a Docker container. But, I am to able to give my Docker device USB connectivity. I think the issue may have something to do with installing exodriver from within my Docker container but I am not completely sure. 

The error message I keep getting after I launch my docker app is 'NoneType' object has no attribute 'LJUSB_OpenDevice'

I'm working with a U6 LabJack and I'm on MacOS, and I'm running Python

LabJack Support
labjack support's picture
Is that the full error

'NoneType' object has no attribute 'LJUSB_OpenDevice'

Is that the full error message you are receiving?

The error message may suggest that the Exodriver is not being loaded properly. That would most likely mean liblabjackusb cannot be found. Please note that the Exodriver is a separate install from the LabJackPython package.

I would recommend double checking your Exodriver installation completed correctly, and ensure your library links are up to date. Typically, liblabjackusb (the Exodriver library) will be installed to /usr/local/lib. The Python module will search for the library according to your path environment variables.