Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update docs #11

Open
blurayne opened this issue Dec 18, 2016 · 0 comments · May be fixed by #31
Open

Update docs #11

blurayne opened this issue Dec 18, 2016 · 0 comments · May be fixed by #31

Comments

@blurayne
Copy link

I'm no python expert, but default compilation didn't work.

I got following error:
Traceback (most recent call last):
File "./KeyboardLayoutEditor", line 64, in
import ParseXKB
File "/home/ctang/Sources/keyboardlayouteditor/ParseXKB.py", line 26, in
from XKBGrammarLexer import XKBGrammarLexer
File "/home/ctang/Sources/keyboardlayouteditor/XKBGrammarLexer.py", line 63, in
class XKBGrammarLexer(Lexer):
File "/home/ctang/Sources/keyboardlayouteditor/XKBGrammarLexer.py", line 66, in XKBGrammarLexer
antlr_version = version_str_to_tuple("3.1.2")
NameError: name 'version_str_to_tuple' is not defined

After having pip upgraded I had to use having read that For backward compatibility reasons, ANTLR 3.5.2 still generates code that uses ST v3 at parse-time
$ java -classpath antlr-3.5.2-complete.jar org.antlr.Tool *.g

That works again for ubuntu/yakkety.

hupfdule added a commit to hupfdule/keyboardlayouteditor that referenced this issue Jan 21, 2019
 - Closes simos#11 (thanks to blurayne)
hupfdule added a commit to hupfdule/keyboardlayouteditor that referenced this issue Jan 21, 2019
- Closes simos#11 (thanks to blurayne)
@hupfdule hupfdule linked a pull request Jan 21, 2019 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant