You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Moshi4,
Just to let you know that I got an error message when trying to use 1.4.0 on Windows. I installed using pip install pygenomeviz, everything went fine, but I got the following error message when importing pygenomeviz :
Traceback (most recent call last):
File "C:\Users\XXX\YYY.py", line 11, in
from pygenomeviz import GenomeViz
File "C:\Users\XXX\AppData\Local\Programs\Python\Python312\Lib\site-packages\pygenomeviz_init_.py", line 3, in
from pygenomeviz.genomeviz import GenomeViz
File "C:\Users\XXX\AppData\Local\Programs\Python\Python312\Lib\site-packages\pygenomeviz\genomeviz.py", line 27, in
from pygenomeviz.viewer import setup_viewer_html
File "C:\Users\XXX\AppData\Local\Programs\Python\Python312\Lib\site-packages\pygenomeviz\viewer_init_.py", line 41, in
JS_CONTENTS = _concat_target_files_contents(assets_files, ".js")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\XXX\AppData\Local\Programs\Python\Python312\Lib\site-packages\pygenomeviz\viewer_init.py", line 18, in _concat_target_files_contents
contents += f.read() + "\n"
^^^^^^^^
File "C:\Users\XXX\AppData\Local\Programs\Python\Python312\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 0x9d in position 5743: character maps to
I reverted to version 1.1.0 and everything is fine, but I thought it was better to let you know about this.
Thank you again for this great package!
The text was updated successfully, but these errors were encountered:
Try changing Python default encoding to UTF-8 by setting the environment variable PYTHONUTF8=1.
This will probably fix the error, but it is a bit strange that there is a difference in behavior between v1.1.0 and v1.4.0.
Hi Moshi4,
Just to let you know that I got an error message when trying to use 1.4.0 on Windows. I installed using
pip install pygenomeviz
, everything went fine, but I got the following error message when importing pygenomeviz :I reverted to version 1.1.0 and everything is fine, but I thought it was better to let you know about this.
Thank you again for this great package!
The text was updated successfully, but these errors were encountered: