DougBeney / pickachu

The Best Color Picker for Vim! - A Color, Date, and File Chooser for Vim/NeoVim using Zenity
https://dougie.io
MIT License
89 stars 1 forks source link

qarma and rgba error #6

Closed tofulm closed 6 years ago

tofulm commented 6 years ago

hi, I've an error with qarma et rgba

Erreur détectée en traitant function Pickachu[4]..provider#python3#Call :                                                                    
ligne   18 :                                                                                                                                 
Traceback (most recent call last):                                                                                                           
  File "<string>", line 2, in <module>                                                                                                       
  File "/home/tof/.vim/bundle/pickachu/plugin/pickachu/main.py", line 26, in MainFunction                                                    
    output = apps.runApp(CHOOSEN_APP, CHOOSEN_FORMAT)                                                                                        
  File "/home/tof/.vim/bundle/pickachu/plugin/pickachu/apps.py", line 58, in runApp                                                          
    return app['processor'](output.rstrip())                                                                                                 
  File "/home/tof/.vim/bundle/pickachu/plugin/pickachu/processors.py", line 72, in colorProcessor                                            
    if i < len(array) - 1:                                                                                                                   
UnboundLocalError: local variable 'array' referenced before assignment  

thanks

DougBeney commented 6 years ago

Hi, @tofulm! Thanks for taking time to make this report. I just pushed a fix. Please update Pickachu via your Vim plugin manager and you should be good to go! Let me know if any other problems arise.

tofulm commented 6 years ago

Thanks, it's good !