DougBeney/pickachu

When picking transparant color (with zenity) pickachu crashes

Closed this issue · 1 comments

image

image

Error detected while processing function Pickachu:
line    4:
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/home/bart/dotfiles/vim/.vim/bundle/pickachu/plugin/pickachu.py", line 121, in MainFuncti
on
    output = runApp(CHOOSEN_APP, CHOOSEN_FORMAT)
  File "/home/bart/dotfiles/vim/.vim/bundle/pickachu/plugin/pickachu.py", line 99, in runApp
    return app['processor'](output.rstrip())
  File "/home/bart/dotfiles/vim/.vim/bundle/pickachu/plugin/pickachu.py", line 29, in colorProces
sor
    hex = '#%02x%02x%02x' % (int(array[0]), int(array[1]), int(array[2]))
ValueError: invalid literal for int() with base 10: 'a(37'

Thanks for using Pickachu! I just fixed this issue in the last commit. :)
Update the plugin and you should be good to go.