Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError Running Netaudio #12

Open
klangfarben1 opened this issue Feb 18, 2023 · 2 comments
Open

ImportError Running Netaudio #12

klangfarben1 opened this issue Feb 18, 2023 · 2 comments

Comments

@klangfarben1
Copy link

Hi, I've installed Netaudio on Manjaro/Arch and when I run any of the commands such as Netaudio Device List I get the following...

netaudio device list
Traceback (most recent call last):
File "/usr/bin/netaudio", line 33, in
sys.exit(load_entry_point('netaudio==0.0.10', 'console_scripts', 'netaudio')())
File "/usr/bin/netaudio", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/netaudio/init.py", line 10, in
from .console.application import main
File "/usr/lib/python3.10/site-packages/netaudio/console/init.py", line 1, in
from .commands.channel import ChannelCommand
File "/usr/lib/python3.10/site-packages/netaudio/console/commands/init.py", line 1, in
from .channel import ChannelCommand
File "/usr/lib/python3.10/site-packages/netaudio/console/commands/channel/init.py", line 1, in
from cleo import Command
ImportError: cannot import name 'Command' from 'cleo' (/usr/lib/python3.10/site-packages/cleo/init.py)

@AWHubGit
Copy link

Same here. Installed by AUR in Arch with "--syncdeps". Running command "netaudio help" results in:
ImportError: cannot import name 'Command' from 'cleo' (/usr/lib/python3.10/site-packages/cleo/init.py)

@bfranske
Copy link

I think the DanteCache feature was never fully implemented/working when committed. Check an older version like https://github.com/chris-ritsen/network-audio-controller/tree/81eae884464211cdfb0e9d9093cea0146a3cc4f7

You can see a note about caching being under development on this thread https://gearspace.com/board/music-computers/1221989-dante-routing-without-dante-controller-possible.html Caching would be useful as it would speed up changes and save a lot of lookups if you want to change a large number of patches in a batch set for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants