Python error

204 views
Skip to first unread message

Unai Ortega

unread,
Mar 30, 2021, 5:58:10 AM3/30/21
to Linkage Mapper
Hi, 
I am trying to run the linkage mapper to build a network but I have an error as soon as it starts to run. This is what the error looks like: 

Python error on **line 2231** of lm_util.py in Linkage Mapper Version 2.0.0:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 1: ordinal not in range(128)
---------------------------------
Python error on **line 102** of lm_master.py in Linkage Mapper Version 2.0.0:
SystemExit: 1
---------------------------------
A record of run settings and messages can be found in your log directory:
C:\MasterQGIS\TFM\Directorio\run_history\log
---------------------------------
 
Completed script MapLinkages...
Failed to execute (MapLinkages).
Failed at Tue Mar 30 11:55:39 2021 (Elapsed Time: 0.64 seconds)
 


If you knows how to solve it pleas reply. 
Best regards.

Unai

Venkanna Babu Guthula

unread,
Mar 30, 2021, 7:08:40 AM3/30/21
to linkage...@googlegroups.com
Hi Unai,

I think It is because of the Core Area Field Name, either you saved it in any other language or it may contain special symbols. If it is the case, can you rename the filed name (ex: core_id) and check once.

Regards,
Venkanna.

--
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 on the web visit https://groups.google.com/d/msgid/linkage-mapper/0919e44f-f30f-4e20-8162-8f8b2f3b850dn%40googlegroups.com.

Unai Ortega

unread,
Mar 30, 2021, 8:22:14 AM3/30/21
to linkage...@googlegroups.com
hi, 
Thank you for your answer, but i changed the name for core_id and still have the same error.

Venkanna Babu Guthula

unread,
Mar 31, 2021, 1:22:49 AM3/31/21
to linkage...@googlegroups.com
Hi Unai,
Now, the error is not clear to me. Can you attach the log file, I think that is more clear for me or someone who can check.

Regards,
Venkanna.

Unai Ortega

unread,
Mar 31, 2021, 4:10:58 AM3/31/21
to linkage...@googlegroups.com
Hi,

Yes here you have it. Thank you.

Unai

2021_3_30_1419_Linkage Mapper.txt

Darren

unread,
Apr 2, 2021, 9:05:52 PM4/2/21
to Linkage Mapper
The error is occurring because you have another field with ñ (ntilde) in its name. This particular issue has been fixed in our next version which we are currently testing. You can try it out or modify your table and continue to use version 2.

Darren

Unai Ortega

unread,
Apr 4, 2021, 8:35:15 AM4/4/21
to linkage...@googlegroups.com

It was that the problema, thank you so much!

 

Best regardas

 

Unai

 

Enviado desde Correo para Windows 10

--
You received this message because you are subscribed to a topic in the Google Groups "Linkage Mapper" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linkage-mapper/Se6trwJIhSQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to linkage-mappe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linkage-mapper/7304c8f7-f8ed-4e68-920e-567094efb1e2n%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages