-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem running GE LR Parser example found in wiki #112
Comments
have you tried python scripts/GE_LR_parser.py --parameters GE_parse.txt ?
Dave
…On Mon, 13 Jul 2020 at 12:33, chrpriftis ***@***.***> wrote:
Hi!
I am using PonyGE2 on windows 10 Pro with Anaconda 3
Everything works fine but today when I tried to execute the Wiki example
of the GE LR Parser, I got an error.
The command I executed in the Anaconda prompt is the following:
python scripts\GE_LR_parser.py --parameters GE_parse.txt
The Error I got is the following:
Start: 2020-07-13 14:21:06.795730
Traceback (most recent call last):
File "scripts\GE_LR_parser.py", line 353, in
set_params(sys.argv[1:], create_files=False)
File "../src\algorithm\parameters.py", line 309, in set_params
set_param_imports()
File "../src\utilities\algorithm\initialise_run.py", line 176, in
set_param_imports
attr_name)
File "../src\utilities\algorithm\initialise_run.py", line 260, in
return_attr_from_module
module = importlib.import_module(module_name)
File "C:\ProgramData\Anaconda3\lib\importlib_*init*_.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in
*call_with_frames_removed File "../src\algorithm\search_loop.py", line 6,
in from operators.initialisation import initialisation File
"../src\operators\initialisation.py", line 11, in from scripts import
GE_LR_parser ImportError: cannot import name 'GE_LR_parser' from 'scripts'
(C:\ProgramData\Anaconda3\lib\site-packages\scripts_init*.py)
Best Regards,
Christos
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#112>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHTHOXCBKCCFQU6RARTWKLR3LWH7ANCNFSM4OYMOMXQ>
.
|
Yes, I get the same error. I also tried it on a new/clean install of PonyGE2, just in case I made any accidental change to some file, but the error remains. |
This looks broken to me too. See also #135. |
Hi!
I am using PonyGE2 on windows 10 Pro with Anaconda 3
Everything works fine but today when I tried to execute the Wiki example of the GE LR Parser, I got an error.
The command I executed in the Anaconda prompt is the following:
python scripts\GE_LR_parser.py --parameters GE_parse.txt
The Error I got is the following:
Start: 2020-07-13 14:21:06.795730
Traceback (most recent call last):
File "scripts\GE_LR_parser.py", line 353, in
set_params(sys.argv[1:], create_files=False)
File "../src\algorithm\parameters.py", line 309, in set_params
set_param_imports()
File "../src\utilities\algorithm\initialise_run.py", line 176, in set_param_imports
attr_name)
File "../src\utilities\algorithm\initialise_run.py", line 260, in return_attr_from_module
module = importlib.import_module(module_name)
File "C:\ProgramData\Anaconda3\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "../src\algorithm\search_loop.py", line 6, in
from operators.initialisation import initialisation
File "../src\operators\initialisation.py", line 11, in
from scripts import GE_LR_parser
ImportError: cannot import name 'GE_LR_parser' from 'scripts' (C:\ProgramData\Anaconda3\lib\site-packages\scripts_init.py)
Best Regards,
Christos
The text was updated successfully, but these errors were encountered: