GabMus / razerCommander

GTK contol center for managing razer peripherals on Linux
GNU General Public License v3.0
164 stars 25 forks source link

AttributeError: model 'gi' #58

Closed tmitzka closed 6 years ago

tmitzka commented 6 years ago

I installed version 1.2.0 on Linux Mint. When I start RazerCommander from the menu, nothing happens.

When I start it from the command line, I get the following error message:

Traceback (most recent call last):
  File "/usr/bin/razercommander", line 44, in <module>
    gi.require_versions({
AttributeError: module 'gi' has no attribute 'require_versions'
Xcelled commented 6 years ago

I fixed this by editing /usr/bin/razercommander.

I changed the gi.require_versions lines to gi.require_version('Gtk', '3.0') and it worked after that.

tmitzka commented 6 years ago

Now it works. Thanks a lot!

Xcelled commented 6 years ago

@Kauri5 this is an actual issue. You should leave it open so it can be fixed.

GabMus commented 6 years ago

should work now