Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

AttributeError: type object 'QgsMessageLog' has no attribute 'INFO' #97

Open
Jana587 opened this issue Dec 10, 2020 · 2 comments
Open

Comments

@Jana587
Copy link

Jana587 commented Dec 10, 2020

Hello everyone,

I am using Circuitscape for the first time to model gene flow within a forest area:

I am using circuitscape as a QGis plugin in version 3.14 in windows 10. The input data are one resistance map per tree species (raster file with values 0 =same species, 1= forest area but other species, 100000000= no forest or no data cells).

image

The second file is the focal node location raster, which has same extent/grid sizes/ cell number/positive integer field ID like the resistance files and contains a location (X/Y) per cell for circuit flow.

image

When I start to run circuitscape like this

image

I get a bug report telling me:

image

Trying several alternative combinations of input files or even an othofoto from the area, I get always identical or very similar bug reports. Until now I could not find a good solution for it and would be very thankful for your help and feedback. I could not find reporting of this error in the context of circuitscape described somewhere yet.

Thank you very much.

@ViralBShah ViralBShah transferred this issue from Circuitscape/Circuitscape.jl Dec 10, 2020
@ViralBShah
Copy link
Member

Hi @Jana587 - I do not know how the qgis plugin works, but even so - it is using the python version of circuitscape that is outdated by many years now. I'll ping @vlandau in case he knows what's going on.

I've transferred the issue from Circuitscape.jl to here (and unarchived this repo for this).

@vlandau
Copy link
Member

vlandau commented Dec 10, 2020

I'm not sure what could be going on. I've never used (or even heard of!) a Circuitcape plugin for QGIS, so it was likely created by someone not affiliated with the Circuitcape project, which means that unfortunately we are not likely able to help. One thing that I notice right off the bat is that the resistance map should not have values of 0 (I'm not sure if Circuitscape.py allowed that, but I know Circuitscape.jl doesn't). Since we're no longer supporting Circuitscape.py, I would suggest that @Jana587 tries to get it running with Circutiscape.jl, and if any errors are encountered, we'll be able to help.

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

No branches or pull requests

3 participants