-
Notifications
You must be signed in to change notification settings - Fork 18
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
couldn't get it to work #22
Comments
Hi there! Sorry for the slow reply :) Okay, let's see.
This one is probably because the state file (
Do you have a working alsa device (i.e. sound) that you can open as a user? I think that could be tested maybe with You can also force the audio driver by setting For now it looks like griode quits because fluidsynth failed to start (because it couldn't initialize the audio driver). I hope this helps! |
Hello,
I followed the setup instructions in the readme but I was never able to make Griode work
Can you help please?
running it without sudo
./griode.py Traceback (most recent call last): File "/home/tchi/griode/./griode.py", line 189, in <module> main() File "/home/tchi/griode/./griode.py", line 176, in main griode = Griode() ^^^^^^^^ File "/home/tchi/griode/./griode.py", line 31, in __init__ persistent_attrs_init(self) File "/home/tchi/griode/persistence.py", line 36, in persistent_attrs_init self.db = shelve_open(self.db_filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tchi/griode/persistence.py", line 8, in shelve_open cache[filename] = shelve.open(filename, writeback=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/shelve.py", line 243, in open return DbfilenameShelf(filename, flag, protocol, writeback) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/shelve.py", line 227, in __init__ Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/dbm/__init__.py", line 95, in open return mod.open(file, flag, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^ _dbm.error: [Errno 13] Permission denied: 'state/Griode.sav'
running sudo ./griode.py gives:
sudo ./griode.py [INFO] fluidsynth.py:76 __init__() -> Using audio driver: alsa fluidsynth: error: Failed to open the "default" audio device Failed to create the audio driver. Giving up. [INFO] fluidsynth.py:107 __init__() -> Found 0 instruments fluidsynth: error: Failed to open the "default" audio device Failed to create the audio driver. Giving up. [ERROR] fluidsynth.py:139 __init__() -> Failed to locate the fluidsynth port!
running it again with debug level:
export LOG_LEVEL=DEBUG
sudo ./griode.py [INFO] fluidsynth.py:76 __init__() -> Using audio driver: alsa fluidsynth: error: Failed to open the "default" audio device Failed to create the audio driver. Giving up. [INFO] fluidsynth.py:107 __init__() -> Found 0 instruments fluidsynth: error: Failed to open the "default" audio device Failed to create the audio driver. Giving up. [INFO] fluidsynth.py:135 __init__() -> Connected to MIDI output griode:griode 129:0 Traceback (most recent call last): File "/home/tchi/griode/./griode.py", line 189, in <module> main() File "/home/tchi/griode/./griode.py", line 176, in main griode = Griode() ^^^^^^^^ File "/home/tchi/griode/./griode.py", line 33, in __init__ self.devicechains = [DeviceChain(self, i) for i in range(16)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tchi/griode/./griode.py", line 33, in <listcomp> self.devicechains = [DeviceChain(self, i) for i in range(16)] ^^^^^^^^^^^^^^^^^^^^ File "/home/tchi/griode/./griode.py", line 136, in __init__ self.program_change() File "/home/tchi/griode/./griode.py", line 151, in program_change instrument = self.instrument ^^^^^^^^^^^^^^^ File "/home/tchi/griode/./griode.py", line 144, in instrument groups = fonts.get(self.font_index, fonts[0]) ~~~~~^^^ KeyError: 0
The text was updated successfully, but these errors were encountered: