Open ultraUser76 opened 6 years ago
Yeap. ok ... Dependency missing python-gtk2 Working fine.
After you install the python-gtk2 you have to change the following line:
just edit ~/.config/sublime-text-3/Packages/ColorPicker/lib/linux_colorpicker.py, look at this line:
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.OK):
Replace with:
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType):
Save and reopen your sublime text 3. I hope it will work.
Same problem on Ubuntu 20.04, but there is no installation candidate for python-gtk2, there is another way? (I prefer to not install a package outside of repositories)
I can open it by typing
$ python Packages/ColorPicker/lib/linux_colorpicker.py
But it won't open in Sublime. (by shortcut or launched through ctrl+shift+p)
I can open it by typing
$ python Packages/ColorPicker/lib/linux_colorpicker.py
But it won't open in Sublime. (by shortcut or launched through ctrl+shift+p)
Found the solution: The plugin needs the python-gtk package. But since Ubuntu 20.04 that package is not in repositories, so I have to add this with a ppa:
sudo add-apt-repository ppa:nrbrtx/python2-stuff
sudo apt-get install python-gtk2
Ya, it doesn't work on UBUNTU 20.04 also. But running these two commands will make it run -
sudo add-apt-repository ppa:nrbrtx/python2-stuff
sudo apt-get install python-gtk2
Actually it needs python package gtk2, which is not installed on ubuntu, you have two install it manually. My problem solved, most probably yours will too.
I can open it by typing
$ python Packages/ColorPicker/lib/linux_colorpicker.py
But it won't open in Sublime. (by shortcut or launched through ctrl+shift+p)Found the solution: The plugin needs the python-gtk package. But since Ubuntu 20.04 that package is not in repositories, so I have to add this with a ppa:
sudo add-apt-repository ppa:nrbrtx/python2-stuff sudo apt-get install python-gtk2
Thanks , It Works! 😊😊
Hello. Color picker doesn't work.
Testing ###ColorPickApiIsAvailableCommand = True Testing ###ColorPickApiGetColorCommand = None
Try to change kebinding didn't work either.
What else can I do? Is there a dependency missing or something? Any other information that can I provide for you?
Thanks.