Closed petertorelli closed 4 years ago
That's weird. I just tried the same on my MacBook with 10.15.5, and it worked great. Perhaps the update to Catana messed up libusb. Is everything up to date? How about trying this:
brew update
brew reinstall libusb
pip3 uninstall joulescope
pip3 install -U joulescope
python3 ./capture_simple.py
Does that change anything?
Yes, it works now. I wish I knew what was wrong with the brew libusb, but that was the problem because I had tried reinstalling joulescope before filing the issue but that did nothing. It's always a tiny bit unnerving when a random reinstall of a key driver fixes things. :)
Thanks.
Yeah, I agree that it's a bit unnerving. In this case, Catalina requires a new libusb bottle. I am not sure how brew keeps in sync with macOS updates, but it obviously did not.
For what its worth, here's the metadata: https://formulae.brew.sh/api/formula/libusb.json
And here is how the Joulescope UI manages packaging the right versions: https://github.com/jetperch/pyjoulescope_ui/blob/master/joulescope_ui/libusb_mac.py
Hello,
The simple example from
pyjoulescope_examples
is working fine on Ubuntu 18.04 (x86) and Win10, but is now failing on macOS (catalina 10.15.4), it used to work in the past. (The only thing that changed is I've moved to catalina recently from Mojave.)What additional debug info I can collect for you?
Failure: