Skip to content
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

mkm_job.py recursive process fail #122

Closed
reduck96 opened this issue Jul 31, 2019 · 1 comment
Closed

mkm_job.py recursive process fail #122

reduck96 opened this issue Jul 31, 2019 · 1 comment

Comments

@reduck96
Copy link

Hi,

I met another problem like this in tutorial (3-refining_microkinetic_model)

[tgmadmin@UOS-YOO 3-refining_microkinetic_model]$ python3 mkm_job.py
Traceback (most recent call last):
File "mkm_job.py", line 5, in
model = ReactionModel(setup_file=mkm_file)
File "/TGM/Apps/PYTHON/3.6.9_for_CatMAP_20190718/lib/python3.6/site-packages/catmap/model.py", line 125, in init
self.load(self.setup_file)
File "/TGM/Apps/PYTHON/3.6.9_for_CatMAP_20190718/lib/python3.6/site-packages/catmap/model.py", line 384, in load
exec(compile(open(setup_file, 'r').read(), '', 'exec'), globs, locs)
File "", line 22, in
File "/TGM/Apps/PYTHON/3.6.9_for_CatMAP_20190718/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte


This error-message looks like an error I've seen before. I think it seems to be a problem of reading PKL file.


[tgmadmin@UOS-YOO 3-refining_microkinetic_model]$ python3 CO_oxidation.log
Traceback (most recent call last):
File "CO_oxidation.log", line 22, in
binary_data = pickle.load(open("CO_oxidation.pkl"))
File "/TGM/Apps/PYTHON/3.6.9_for_CatMAP_20190718/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

Thank you.
Best regards,
Jinwoo Park

3_ref_results.tar.gz

@gusmaogabriels
Copy link
Collaborator

Hi @reduck96,

please check if the problem has been fixed in the latest commit. #123

Best,
Gabriel

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

No branches or pull requests

2 participants