colour-mysql-console icon indicating copy to clipboard operation
colour-mysql-console copied to clipboard

Regexp error

Open akapust1n opened this issue 9 years ago • 4 comments

mysql> select * from tblNames;
Traceback (most recent call last):
  File "/usr/bin/grcat", line 152, in <module>
    ll['regexp'] = re.compile(ll['regexp']).search
KeyError: 'regexp'
1001 rows in set (0,00 sec)

What is wrong with regexps?(

akapust1n avatar Oct 21 '16 00:10 akapust1n

@djkah11 what version of grc are you using? I guess there is problem with it.

nitso avatar Oct 21 '16 18:10 nitso

I have grc 1.9-1

akapust1n avatar Oct 21 '16 19:10 akapust1n

KeyError may be thrown when no regexp option is set in conifg file for a particular group. Check you .grcat file for missing options.

nitso avatar Oct 21 '16 19:10 nitso

My algorithm: )git clone your_rep )move files into home directory )restart mysql And colorize doesnt want to wark anyway(

akapust1n avatar Oct 21 '16 20:10 akapust1n