Opened 6 years ago
Closed 6 years ago
#2090 closed defect (can't reproduce)
alignment reader not handling non-ASCII characters
Reported by: | Owned by: | pett | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Input/Output | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.17134 ChimeraX Version: 0.91 (2019-06-14) Description (Describe the actions that caused this problem to occur here) Log: Startup Messages --- note | available bundle cache has not been initialized yet UCSF ChimeraX version: 0.91 (2019-06-14) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > help help:quickstart > help help:user/tools/cli.html#history > save "C:\\\Users\\\zhangyongli\\\Desktop\\\image1.png" supersample 3 > open "F:/Tubulin modification/tubulin 序列/TUA1.dna" Unrecognized file suffix '.dna' Unrecognized file suffix '.dna' > help help:quickstart > open "F:/Tubulin modification/tubulin 序列/鞭毛Tubulin蛋白序列.docx" Unrecognized file suffix '.docx' Unrecognized file suffix '.docx' > help help:user > help help:user/tools/cli.html#history > open C:/Users/zhangyongli/Desktop/1.fasta Traceback (most recent call last): File "D:\ChimeraX\bin\lib\site-packages\chimerax\ui\gui.py", line 582, in _qt_safe run(session, "open " + " ".join([quote_if_necessary(p) for p in paths])) File "D:\ChimeraX\bin\lib\site-packages\chimerax\core\commands\run.py", line 31, in run results = command.run(text, log=log) File "D:\ChimeraX\bin\lib\site-packages\chimerax\core\commands\cli.py", line 2641, in run result = ci.function(session, **kw_args) File "D:\ChimeraX\bin\lib\site-packages\chimerax\core\commands\open.py", line 64, in open path_models = session.models.open(paths, format=format, name=name, **kw) File "D:\ChimeraX\bin\lib\site-packages\chimerax\core\models.py", line 611, in open session, filenames, format=format, name=name, **kw) File "D:\ChimeraX\bin\lib\site-packages\chimerax\core\io.py", line 477, in open_multiple_data models, status = open_data(session, fspec, format=format, name=name, **kw) File "D:\ChimeraX\bin\lib\site-packages\chimerax\core\io.py", line 433, in open_data models, status = open_func(*args, **kw) File "D:\ChimeraX\bin\lib\site-packages\chimerax\seqalign\\__init__.py", line 54, in open_file alignment=alignment, ident=ident, auto_associate=auto_associate) File "D:\ChimeraX\bin\lib\site-packages\chimerax\seqalign\parse.py", line 31, in open_file seqs, file_attrs, file_markups = ns['read'](session, stream) File "D:\ChimeraX\bin\lib\site-packages\chimerax\seqalign\io\readFASTA.py", line 23, in read for line in f.readlines(): File "D:\ChimeraX\bin\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 16: invalid continuation byte UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 16: invalid continuation byte File "D:\ChimeraX\bin\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) See log for complete Python traceback. OpenGL version: 3.3.0 - Build 23.20.16.4973 OpenGL renderer: Intel(R) HD Graphics 630 OpenGL vendor: Intel
Change History (2)
comment:1 by , 6 years ago
Component: | Unassigned → Input/Output |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → accepted |
Summary: | ChimeraX bug report submission → alignment reader not handling non-ASCII characters |
comment:2 by , 6 years ago
Resolution: | → can't reproduce |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Couldn't reproduce this with an alignment file with non-ASCII characters in it. Need an example.