cannot open script
Issue #106
new
I have installed vera on CentOS 7. I’m not sudo user so I can’t put my profile and script rules under /usr/lib/vera++/profiles and /usr/lib/vera++/rules. I have created in my home the following folders:
- ~/vera++/profiles
- ~/vera++/scripts
and for testing I have two script
- ~/vera++/scripts/rule6_1.py
- ~/vera++/scripts/rule3_2.py
and one profile
- ~/vera++/profiles/p1
where in p1 there is a single line
- rule=rule6_1
I’m trying launch vera with this command and I have this error:
vera++ --root ~/vera++/ --profile p1 <file.c>
the error is :
cannot open script rule6_1
I’ve tried also to set the env variable VERA_ROOT=/home/<myuser>/vera++ but the error is the same.
How can I fix the problem?