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
I was trying to understand how restarting works in rmg using ethane oyrolysis input file from rmg webste. To understand that, I initially ran that without "restartFromSeed(path='seed')" and after that I ran another file after adding "restartFromSeed(path='seed')" before the data sources.
I am getting the following error message:
Error: The input file "/home/abose/input.py" was invalid:
Error: name 'restartFromSeed' is not defined
Traceback (most recent call last):
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/input.py", line 541, in readInputFile
exec f in global_context, local_context
File "/home/abose/input.py", line 1, in
restartFromSeed(path='seed')
NameError: name 'restartFromSeed' is not defined
Traceback (most recent call last):
File "/home/abose/yes/envs/rmg_env/bin/rmg.py", line 173, in
main()
File "/home/abose/yes/envs/rmg_env/bin/rmg.py", line 167, in main
rmg.execute(**kwargs)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/main.py", line 599, in execute
self.initialize(**kwargs)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/main.py", line 422, in initialize
self.loadInput(self.inputFile)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/main.py", line 223, in loadInput
readInputFile(path, self)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/input.py", line 541, in readInputFile
exec f in global_context, local_context
File "/home/abose/input.py", line 1, in
restartFromSeed(path='seed')
NameError: name 'restartFromSeed' is not defined
I would really appreciate if anybody could help me with this issue.
Thanks,
Arnab
The text was updated successfully, but these errors were encountered:
Based on the traceback, it looks like you are using an old python 2 version of RMG-Py. Unfortunately, this feature did not become available until recently with python 3. We did incorporate these changes into our legacy python 2 branch v2.5.0, but if possible I highly recommend upgrading to RMG-Py 3.0.0. You can find instructions for updating your RMG installation here.
Hi,
I was trying to understand how restarting works in rmg using ethane oyrolysis input file from rmg webste. To understand that, I initially ran that without "restartFromSeed(path='seed')" and after that I ran another file after adding "restartFromSeed(path='seed')" before the data sources.
I am getting the following error message:
Error: The input file "/home/abose/input.py" was invalid:
Error: name 'restartFromSeed' is not defined
Traceback (most recent call last):
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/input.py", line 541, in readInputFile
exec f in global_context, local_context
File "/home/abose/input.py", line 1, in
restartFromSeed(path='seed')
NameError: name 'restartFromSeed' is not defined
Traceback (most recent call last):
File "/home/abose/yes/envs/rmg_env/bin/rmg.py", line 173, in
main()
File "/home/abose/yes/envs/rmg_env/bin/rmg.py", line 167, in main
rmg.execute(**kwargs)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/main.py", line 599, in execute
self.initialize(**kwargs)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/main.py", line 422, in initialize
self.loadInput(self.inputFile)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/main.py", line 223, in loadInput
readInputFile(path, self)
File "/home/abose/yes/envs/rmg_env/lib/python2.7/site-packages/rmgpy/rmg/input.py", line 541, in readInputFile
exec f in global_context, local_context
File "/home/abose/input.py", line 1, in
restartFromSeed(path='seed')
NameError: name 'restartFromSeed' is not defined
I would really appreciate if anybody could help me with this issue.
Thanks,
Arnab
The text was updated successfully, but these errors were encountered: