-
Notifications
You must be signed in to change notification settings - Fork 11
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
IndexError: ParseModelControl, problem with reading xlsx files into python #57
Comments
Hi, I would first check if the Config Sheet is set correctly. |
Hi @SchuirF, it seems that you are using an old version of the model. If you would prefer keeping the commit of the code you already have, you might have to install a version of xlrd prior to 2.0.0. |
Hi @CarrerF , I had tried to install the older version xlrd==1.2.0 before, but then I got this error instead:
The problem was probably that you need xlrd==1.2.0 to open xlsx files. But this version seems to have security vulnerabilities and also does not have the attribute getiterator, which generates exactly this error. Thank you so much! |
Hi @SchuirF , I remember having the same AttributeError. For me, adding the line You can find the new code in ODYM_RECC_Main.py on the front page of this repository. |
Hello @CarrerF,
Thanks for your help! |
Hello there,
I am trying to apply the ODYM RECC model, but I get a 'list index out of range' error for ParseModelControl in RECC_G7IC_V2_2.py when I run the code.
It is probably due to reading the .xlsx files into Python, which I already found out in issue #16 from IndEcol/ODYM. However, I have not yet been able to derive an individual solution to my problem, unfortunately.
I don't know what needs to be changed or updated for this and didn't want to change anything in the code.
I want to use ODYM-RECC for a research project and would be very grateful for your help.
Many thanks in advance!
The text was updated successfully, but these errors were encountered: