[Gmsh] problem in gshhs2geo.py

Mohammad Kazem mksharifian at gmail.com
Sat Jan 10 15:17:19 CET 2015


Hi everyone,

I'm trying to run the script _gshhs2geo.py_ to create .geo files, but i 
got this error.

Any advice?

Thanks,
Mohammad


Traceback (most recent call last):
   File 
"C:\Users\Desktop\OceanModels\FVCOM\meshGeneration\meshGeneration\gshhs2geo.py", 
line 81, in <module>
     binh = fgshhs.read(11 * 4)
   File "C:\Python33\lib\encodings\cp1252.py", line 23, in decode
     return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 
138: character maps to <undefined>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150110/3d9d975c/attachment.html>