ovenwerks / studio-controls

A helper for setting up a system for audio work
GNU General Public License v2.0
73 stars 10 forks source link

missing "/local/" in path on init? #45

Closed Elkenfugel closed 3 years ago

Elkenfugel commented 3 years ago

i ran in bash studio-controls and this came back:

Traceback (most recent call last):
  File "/usr/local/bin/studio-controls", line 1420, in <module>
    us = StudioControls()
  File "/usr/local/bin/studio-controls", line 290, in __init__
    builder.add_from_file("/usr/share/studio-controls/studio-controls.glade")
gi.repository.GLib.Error: g-file-error-quark: Failed to open file “/usr/share/studio-controls/studio-controls.glade”: No such file or directory (4)

I believe that line 290 should read :

builder.add_from_file("/usr/local/share/studio-controls/studio-controls.glade")

ovenwerks commented 3 years ago

good catch /usr sh9ould be replaced with {install_path}

ovenwerks commented 3 years ago

This should be fixed in 2.1.1