Erroe on line 100

29 views
Skip to first unread message

Juan Bravo

unread,
Dec 11, 2024, 5:14:39 PM12/11/24
to Linkage Mapper
Hey guys, i was doing ana analysis with the linkage mapper 2.0 Versios. But when the problem is whe the problm is going to star to draee the links. It just stop and say there is a problem on line 1000 and line 181

John Gallo

unread,
Dec 11, 2024, 5:37:59 PM12/11/24
to linkage...@googlegroups.com
Hi Juan,

Try it with the latest version here https://linkagemapper.org/Downloads/   (currently 3.1.0)

If that still does not work please send the full error log ( a .txt file).

Thank you,

John

On Wed, Dec 11, 2024 at 2:14 PM Juan Bravo <coordinacion...@biotaconsultoria.com> wrote:
Hey guys, i was doing ana analysis with the linkage mapper 2.0 Versios. But when the problem is whe the problm is going to star to draee the links. It just stop and say there is a problem on line 1000 and line 181

--
You received this message because you are subscribed to the Google Groups "Linkage Mapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linkage-mappe...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/linkage-mapper/32819de4-36b7-4d16-abdc-631309df9550n%40googlegroups.com.


--
John A. Gallo, Ph.D.
Project Director
LinkageMapper.org

and

Senior Conservation Scientist
Conservation Biology Institute

Juan Bravo

unread,
Dec 11, 2024, 11:32:01 PM12/11/24
to linkage...@googlegroups.com
Hi John,
I really appreciate you wrote to me to know about my problems witjh Linkage Mapper. I downloaded the last version but im still having problems. 

Im going to send you the txt fille


Thanks so much!

2024_12_11_2316_Linkage Mapper.txt
2024_12_11_2228_Linkage Mapper.txt
2024_12_11_1527_Linkage Mapper.txt

John Gallo

unread,
Dec 12, 2024, 1:02:25 PM12/12/24
to linkage...@googlegroups.com
Hello Juan,

hmmm.

I'll assume you used the same input files for all three runs, correct?

So with v3.1 your error is right away and the error is "Python error on **line 2123** of lm_util.py in Linkage Mapper Version 3.1.0:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 40: ordinal not in range(128)"

and with v2.0 the model gets close to the end before throwing this error "Python error on **line 100** of s4_refineNetwork.py in Linkage Mapper Version 2.0.0:
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices"

My first suggestion is to make sure that your resistance surface does not have any null values within any of the cores.  If there are, change those to a value that makes the most sense ecologically and re-run.

Thanks,

John




Reply all
Reply to author
Forward
0 new messages