You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I install Gel on Debian 9 with all depend on py 3.5
root@mirror:/tmp/Gelatin/demo/simple# gel --version
2.2.10
root@mirror:/tmp/Gelatin/demo/simple#
but when i run convert, have next error
gel -s input1.txt out.txt
Traceback (most recent call last):
File "/usr/local/bin/gel", line 4, in <module>
__import__('pkg_resources').run_script('Gelatin==2.2.10', 'gel')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1494, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.5/dist-packages/Gelatin-2.2.10-py3.5.egg/EGG-INFO/scripts/gel", line 77, in <module>
converter = compile(options.syntax)
File "/usr/local/lib/python3.5/dist-packages/Gelatin-2.2.10-py3.5.egg/Gelatin/util.py", line 53, in compile
encoding=encoding)
File "/usr/local/lib/python3.5/dist-packages/Gelatin-2.2.10-py3.5.egg/Gelatin/parser/Parser.py", line 56, in parse
return self.parse_string(string, compiler)
File "/usr/local/lib/python3.5/dist-packages/Gelatin-2.2.10-py3.5.egg/Gelatin/parser/Parser.py", line 48, in parse_string
error(input, end)
File "/usr/local/lib/python3.5/dist-packages/Gelatin-2.2.10-py3.5.egg/Gelatin/parser/util.py", line 45, in error
raise Exception(msg)
Exception: Syntax error in line 1:
'User'
^
File input1.txt from repo
root@mirror:/tmp/Gelatin/demo/simple# cat input1.txt
User
----
Name: John, Lastname: Doe
Office: 1st Ave
Birth date: 1978-01-01
User
----
Name: Jane, Lastname: Foo
Office: 2nd Ave
Birth date: 1970-01-01
root@mirror:/tmp/Gelatin/demo/simple#
On py 2.7 i have this error too.
This is bug or my py version not supported?
The text was updated successfully, but these errors were encountered:
What follows the '-s' on the command line should be the path to a grammar file, not the text that should be parsed by the grammar. E.g. gel -s my_grammar_file input1.txt
Hello.
I install Gel on Debian 9 with all depend on py 3.5
but when i run convert, have next error
File input1.txt from repo
On py 2.7 i have this error too.
This is bug or my py version not supported?
The text was updated successfully, but these errors were encountered: