Ive installed ewa, with all of the required prerequisites. I have laid
out the necessary directory structure as stated in the documentation.
When I try to check the syntax of my config files with ewabatch -t I
get the following error, the Traceback isn't too helpful.
[root@labs ewa]# ewabatch -t
Traceback (most recent call last):
File "/usr/bin/ewabatch", line 5, in ?
pkg_resources.run_script('ewa==0.62.1', 'ewabatch')
File "/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/
pkg_resources.py", line 448, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/
pkg_resources.py", line 1173, in run_script
exec script_code in namespace, namespace
File "/usr/bin/ewabatch", line 8, in ?
File "build/bdist.linux-i686/egg/ewa/clisupport.py", line 261, in
do_audioprovider
File "build/bdist.linux-i686/egg/ewa/rules.py", line 292, in
__init__
File "build/bdist.linux-i686/egg/ewa/rules.py", line 315, in
_load_rule
File "build/bdist.linux-i686/egg/ewa/rules.py", line 277, in
_parse_ewaconf
File "build/bdist.linux-i686/egg/ewa/ruleparser.py", line 518, in
parse_file
File "build/bdist.linux-i686/egg/ewa/ruleparser.py", line 513, in
parse_string
File "build/bdist.linux-i686/egg/ply/yacc.py", line 248, in parse
KeyError: 0
Any help is greatly appreciated.
Hello,
Ive installed ewa, with all of the required prerequisites. I have laid
out the necessary directory structure as stated in the documentation.
When I try to check the syntax of my config files with ewabatch -t I
get the following error, the Traceback isn't too helpful.
[root@labs ewa]# ewabatch -t
Traceback (most recent call last):
File "/usr/bin/ewabatch", line 5, in ?
pkg_resources.run_script('ewa== 0.62.1', 'ewabatch')
Cheers.
On Jun 13, 12:22 pm, "Jacob Smullyan" <jsmull...@gmail.com> wrote:
> It looks to me like the problem is with the rule config file, as the
> traceback is bombing out in calling yacc Could you post your rule file?
>
> You can also try with a rule file that just says:
>
> default
>
> and see if the error goes away. If it doesn't, then the error is something
> else :).
>
> Cheers,
>
> j
>
> On 6/13/07, erm13marti...@gmail.com <erm13marti...@gmail.com> wrote:
>
>
>
>
>
> > Hello,
>
> > Ive installed ewa, with all of the required prerequisites. I have laid
> > out the necessary directory structure as stated in the documentation.
> > When I try to check the syntax of my config files with ewabatch -t I
> > get the following error, the Traceback isn't too helpful.
>
> > [root@labs ewa]# ewabatch -t
> > Traceback (most recent call last):
> > File "/usr/bin/ewabatch", line 5, in ?
> > pkg_resources.run_script('ewa==0.62.1', 'ewabatch')
> > File "/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/
> > pkg_resources.py", line 448, in run_script
> > self.require(requires)[0].run_script(script_name, ns)
> > File "/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/
> > pkg_resources.py", line 1173, in run_script
> > exec script_code in namespace, namespace
> > File "/usr/bin/ewabatch", line 8, in ?
>
> > File "build/bdist.linux-i686/egg/ewa/clisupport.py", line 261, in
> > do_audioprovider
> > File "build/bdist.linux-i686/egg/ewa/rules.py", line 292, in
> > __init__
> > File "build/bdist.linux-i686/egg/ewa/rules.py", line 315, in
> > _load_rule
> > File "build/bdist.linux-i686/egg/ewa/rules.py", line 277, in
> > _parse_ewaconf
> > File "build/bdist.linux-i686/egg/ewa/ruleparser.py", line 518, in
> > parse_file
> > File "build/bdist.linux-i686/egg/ewa/ruleparser.py", line 513, in
> > parse_string
> > File "build/bdist.linux-i686/egg/ply/yacc.py", line 248, in parse
> > KeyError: 0
>
> > Any help is greatly appreciated.
>
> --
> Jacob Smullyan
> office: 212/669-3230
> mobile: 917/576-5274