GithubHelp home page GithubHelp logo

Comments (16)

redrbrt avatar redrbrt commented on August 16, 2024

Same problem

from colorpicker.

weslly avatar weslly commented on August 16, 2024

Does the console (ctrl+`) shows any error message?

from colorpicker.

thomporter avatar thomporter commented on August 16, 2024

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...

from colorpicker.

darkogerguric avatar darkogerguric commented on August 16, 2024

@thomporter : Exactly same here, Arch linux 64bit

from colorpicker.

thomporter avatar thomporter commented on August 16, 2024

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.

from colorpicker.

kbjr avatar kbjr commented on August 16, 2024

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.

from colorpicker.

paulikt avatar paulikt commented on August 16, 2024

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 :)

from colorpicker.

wmh avatar wmh commented on August 16, 2024

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" }
]

from colorpicker.

darkogerguric avatar darkogerguric commented on August 16, 2024

Nope, not working here in any case.

from colorpicker.

redrbrt avatar redrbrt commented on August 16, 2024

wmh, the solution for custom binding key works for me! thanks

from colorpicker.

selwynorren avatar selwynorren commented on August 16, 2024

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.

from colorpicker.

kbjr avatar kbjr commented on August 16, 2024

My machine says libQt5Widgets5 is already installed, so not a fix for me.

from colorpicker.

rafaelcanovas avatar rafaelcanovas commented on August 16, 2024

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'

from colorpicker.

paulikt avatar paulikt commented on August 16, 2024

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.

from colorpicker.

rafaelcanovas avatar rafaelcanovas commented on August 16, 2024

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.

from colorpicker.

rafaelcanovas avatar rafaelcanovas commented on August 16, 2024

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.

from colorpicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.