olivierdalang / VectorBender

VectorBender is a QGis plugin
GNU General Public License v3.0
37 stars 15 forks source link

Python error, "ordinal not range" #33

Open stevage opened 3 years ago

stevage commented 3 years ago

I get this when trying to view the help:

2021-08-31T14:21:24     WARNING    Traceback (most recent call last):
              File "/Users/steveben/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/VectorBender/vectorbender.py", line 80, in showHelp
              self.aboutWindow = VectorBenderHelp()
              File "/Users/steveben/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/VectorBender/vectorbenderhelp.py", line 48, in __init__
              txt.setText( open(self.helpFile, 'r').read() )
              File "/Applications/QGIS.app/Contents/MacOS/lib/python3.8/encodings/ascii.py", line 26, in decode
              return codecs.ascii_decode(input, self.errors)[0]
             UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2131: ordinal not in range(128)

For reference, character 2131 in the README.html is the à in the line "Once the layer to bend and the pairs layer are chosen, simply hit "run", and voilà ! the layer is modified."