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

Error Message on GRASS: MAXREPEAT #4

Open
bniebuhr opened this issue Nov 22, 2017 · 1 comment
Open

Error Message on GRASS: MAXREPEAT #4

bniebuhr opened this issue Nov 22, 2017 · 1 comment

Comments

@bniebuhr
Copy link
Contributor

[BUG REPORT] Reported by Mriganka Shekhar Sarkar

Dear Sir/Madam,

Greetings from India!

I read your recently published paper entitled:
Landscape Corridors (LSCORRIDORS): a new software package for modeling ecological corridors based on landscape patterns and species requirements

I found the article is very helpful for my study. I am trying to explore the software with example data sets given in the git hub.
However, in the first place, the grass GIS is opening but the LS corridor panel is not opening.
I am getting an error message: MAXREPEAT.
The image of command line GRASS GIS is attached to this email.
Please help me to resolve this problem.

Regards,
Mriganka Shekhar Sarkar

error_msg_lscorid

@bniebuhr
Copy link
Contributor Author

[Answer to that issue]

Dear Mriganka

Thanks for the complete message and the print screen figure.
Since you are using GRASS 7.2.2 and LSCorridors 1.0.1, it seems that it is not a version problem.

From your print screen, it seems that you could successfully change to the directory where the script is, through

cd "C:\Mriganka\LS_Cori\LS_CORRIDORS_master\_LS_Corridors_v1_0_1"

The first thing you should try is to call the main package by inserting "python" before the name, like that:

python LS_corridors_v1_0_1.py

(not only LS_corridors_v1_0_1.py without calling python before, as you tried).
This should work. However, if the problem persists, this may be a conflict between the internal python version installed by GRASS and some other older python version installed in your computer. Have you installed python before?

Take a look at this issue in the link below, and see if this works for you:
https://grasswiki.osgeo.org/wiki/WinGRASS_errors#Error_message_.22ImportError:_cannot_import_name_MAXREPEAT.22

Then tell us if you could solve the problem or not.

Best regards,
Bernardo

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

1 participant