Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

<unknown>:1:1-1:2: fatal: unexpected .: expected (, +, -, @, [, `, assert, break, class, complex, continue, def, del, exec, float, for, from, global, ident, if, import, int, lambda, newline, nonlocal, not, pass, print, raise, return, strbegin, try, while, with, yield, { or ~ ../third_party/stdlib/StringIO.py #392

Open
Leon2012 opened this issue Jan 27, 2018 · 0 comments

Comments

@Leon2012
Copy link

:1:1-1:2: fatal: unexpected .: expected (, +, -, @, [, , assert, break, class, complex, continue, def, del, exec, float, for, from, global, ident, if, import, int, lambda, newline, nonlocal, not, pass, print, raise, return, strbegin, try, while, with, yield, { or ~ ../third_party/stdlib/StringIO.py ^ Traceback (most recent call last): File "/temp/python/grumpy/build/bin/pydeps", line 63, in <module> main(parser.parse_args()) File "/temp/python/grumpy/build/bin/pydeps", line 39, in main imports = imputil.collect_imports(args.modname, args.script, gopath) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/compiler/imputil.py", line 199, in collect_imports mod = pythonparser.parse(py_contents) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/__init__.py", line 59, in parse mode, flags, version, engine) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/__init__.py", line 29, in parse_buffer return parser.file_input(), lexer.comments File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/parser.py", line 89, in outer_rule result = inner_rule(parser) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/parser.py", line 151, in rule parser.diagnostic_engine.process(error) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/diagnostic.py", line 165, in process raise Error(diagnostic) grumpy.pythonparser.diagnostic.Error: <unknown>:1:1-1:2: fatal: unexpected .: expected (, +, -, @, [, , assert, break, class, complex, continue, def, del, exec, float, for, from, global, ident, if, import, int, lambda, newline, nonlocal, not, pass, print, raise, return, strbegin, try, while, with, yield, { or ~
../third_party/stdlib/StringIO.py
^
:1:1-1:2: fatal: unexpected .: expected (, +, -, @, [, , assert, break, class, complex, continue, def, del, exec, float, for, from, global, ident, if, import, int, lambda, newline, nonlocal, not, pass, print, raise, return, strbegin, try, while, with, yield, { or ~ ../third_party/stdlib/StringIO.py ^ Traceback (most recent call last): File "/temp/python/grumpy/build/bin/grumpc", line 106, in <module> sys.exit(main(parser.parse_args())) File "/temp/python/grumpy/build/bin/grumpc", line 53, in main mod = pythonparser.parse(py_contents) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/__init__.py", line 59, in parse mode, flags, version, engine) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/__init__.py", line 29, in parse_buffer return parser.file_input(), lexer.comments File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/parser.py", line 89, in outer_rule result = inner_rule(parser) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/parser.py", line 151, in rule parser.diagnostic_engine.process(error) File "/temp/python/grumpy/build/lib/python2.7/site-packages/grumpy/pythonparser/diagnostic.py", line 165, in process raise Error(diagnostic) grumpy.pythonparser.diagnostic.Error: <unknown>:1:1-1:2: fatal: unexpected .: expected (, +, -, @, [, , assert, break, class, complex, continue, def, del, exec, float, for, from, global, ident, if, import, int, lambda, newline, nonlocal, not, pass, print, raise, return, strbegin, try, while, with, yield, { or ~
../third_party/stdlib/StringIO.py
^
make: *** [build/src/python/cStringIO/module.go] Error 1

vagrant@vagrant-ubuntu-trusty-64:/temp/python/grumpy$ python -V
Python 2.7.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Leon2012 and others