Closed darkogerguric closed 9 years ago
Same problem
Does the console (ctrl+`) shows any error message?
I'm having the same issue. Installed via Package Control. No errors in the console for me.
I did get it to come up once using the command pallet and searching for it... But since then, it will not come up that way, or using ctrl+shift+c (which I had to setup manually... Didn't see a keymap file in the ColorPicker folder in Packages..)
I'm running Ubuntu 14.04, 64bit as well...
@thomporter : Exactly same here, Arch linux 64bit
It is mysteriously working now... Both the keyboard shortcut and the command pallet options work fine. I got another issue I'm gonna open a new ticket on, but for now, I'm able to get the color picker up.
I did nothing to in ST other than edit files, haven't even restarted it since my first post... (sorry @dare023 (and others...) Wish I had a proper solution.
Same problem here; Ubuntu 13.10 64-bit. Tried ctrl+shift+c, nothing. Tried it from command pallet, nothing. No errors in sublime console, either.
Same here but it 32bit Ubuntu 12.04 Nothing in the console. I tried starting linux_colorpicker.py (on its own) from the terminal. It starts fine without arguments, BUT
$ ./linux_colorpicker.py "#0000FF"
Traceback (most recent call last):
File "./linux_colorpicker.py", line 9, in <module>
if Gtk.gdk.Color(sys.argv[1]):
File "/usr/lib/python2.7/dist-packages/gi/module.py", line 243, in __getattr__
return getattr(self._introspection_module, name)
File "/usr/lib/python2.7/dist-packages/gi/module.py", line 105, in __getattr__
self.__name__, name))
AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk'
A barely know anything about python, but I don't think that this is the expected behaviour :)
Same problem here with my ST3 on ubuntu 14.04 64bit.
I can run color picker from command palette (ctrl-shift-p), but can't find any key binding for it.
So I add my key binding manually, and now it's working.
Preferences
-> Key Bindings - User
[
{ "keys": ["ctrl+shift+c"], "command": "color_pick" }
]
Nope, not working here in any case.
wmh, the solution for custom binding key works for me! thanks
Hi Guys,
On Ubuntu Gnome 64 bit I solved this issue by installing the following module: sudo apt-get install libQt5Widgets5
Now the color picker works very well.
My machine says libQt5Widgets5
is already installed, so not a fix for me.
Can confirm @paulikt, not working here either. Running Linux Mint and ST3. Running manually linux_colorpicker.py without arguments works, but if I run passing an initial color it throws:
Traceback (most recent call last):
File "linux_colorpicker.py", line 9, in <module>
if Gtk.gdk.Color(sys.argv[1]):
File "/usr/lib/python3/dist-packages/gi/module.py", line 320, in __getattr__
return getattr(self._introspection_module, name)
File "/usr/lib/python3/dist-packages/gi/module.py", line 139, in __getattr__
self.__name__, name))
AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk'
Maybe it is related to the version of the Qt library. On my Ubuntu 12.04 the highest (stock repo) available Qt is Qt4. Unfortunately I don't have the time to compile Qt5 and test my idea.
It's related to the GDK library being moved to its own namespace on newest GTK versions, I got a working version, working on a PR right now.
Can someone test for me on older versions of GTK? color_parse
should be available on both GTK 2 and 3 according to the docs, but we all know the docs aren't always the truth.
Plugin is not working on st3 on linux 64bit, on 32bit works fine