Problem with MacPorts: "ValueError: No backend available"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with MacPorts: "ValueError: No backend available"

K5KHK
I am trying to get Quisk to run on a MacBook Pro running High Sierra. I installed - as far as I can tell - all required MacPorts modules and non-MacPorts software. Then I did the "make macports" in the Quisk folder tried to run the application using "python quisk.py". This results in this error message:

W: [] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
Traceback (most recent call last):
  File "./quisk.py", line 5302, in <module>
    main()
  File "./quisk.py", line 5292, in main
    App()
  File "./quisk.py", line 3061, in __init__
    wx.App.__init__(self, redirect=False)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", line 8628, in __init__
    self._BootstrapApp()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", line 8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "./quisk.py", line 3502, in OnInit
    self.config_text = Hardware.open()
  File "./softrock/hardware_usb.py", line 51, in open
    usb_dev = usb.core.find(idVendor=self.conf.usb_vendor_id, idProduct=self.conf.usb_product_id)
  File "./usb/core.py", line 1199, in find
    raise ValueError('No backend available')
ValueError: No backend available

Does anybody know how I can get around this?

Thanks,

Karl Heinz - K5KHK
Karl Heinz - K5KHK
Reply | Threaded
Open this post in threaded view
|

Re: Problem with MacPorts: "ValueError: No backend available"

K5KHK
I think I figured it out: When I rename/remove the "usb" folder that comes with Quisk, then the systemwide PyUSB is found and used, and that does not report a problem. Is there a good reason to have the Quisk-specific version of PyUSB?

Thanks,

Karl Heinz - K5KHK
Karl Heinz - K5KHK