weslly / ColorPicker

Color picker for Sublime Text
http://weslly.github.io/ColorPicker
510 stars 109 forks source link

Not working on Scientific Linux release 6.6 (Carbon) #80

Open fsMarcoRouleau opened 8 years ago

fsMarcoRouleau commented 8 years ago

Whenever pressing "ok" I get this issue, and it looks like the colorPicker is not doing anything:

traceback (most recent call last): File "/PATH/TO/SUBLIME/Packages/ColorPicker/lib/linux_colorpicker.py", line 26, in if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.OK): AttributeError: type object 'ResponseType' has no attribute 'OK'

Removing the ".OK" from that line fixes it just fine. Anyway that was my quick workaround

karelb commented 8 years ago

Thanks. Works for me!

tarpan commented 8 years ago

You saved me from scrapping ST altogether! Many thanks.