Opened 6 years ago

Closed 6 years ago

#2038 closed defect (fixed)

Install Clipper: 'utf-8' codec can't decode byte

Reported by: chimerax-bug-report@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: Tool Shed Version:
Keywords: Cc: Tristan Croll
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.17763
ChimeraX Version: 0.9 (2019-01-19)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Messages  
---  
note | Traceback (most recent call last):  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 338, in __init__  
  
self.init_available_from_cache(logger)  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 449, in
init_available_from_cache  
  
abc.load_from_cache()  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\available.py", line 64, in load_from_cache  
  
b = _build_bundle(d)  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\available.py", line 249, in _build_bundle  
  
keywords = _extract_extra_keywords(keywords)  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\installed.py", line 270, in
_extract_extra_keywords  
  
all_kwds = [k.strip() for k in kwds.split(',')]  
  
AttributeError: 'list' object has no attribute 'split'  
  
  
  
  
UCSF ChimeraX version: 0.9 (2019-01-19)  
How to cite UCSF ChimeraX  
Downloading bundle ChimeraX_Clipper-0.9.1-cp37-cp37m-win_amd64.whl  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\widgets\htmlview.py", line 384, in download_finished  
session=self.session)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 605, in install_bundle  
results = self._pip_install(bundle, per_user=per_user, reinstall=reinstall)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 901, in _pip_install  
results = self._run_pip(command)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 919, in _run_pip  
output = cp.stdout.decode("utf-8")  
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 46:
invalid start byte  
  
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 46:
invalid start byte  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 919, in _run_pip  
output = cp.stdout.decode("utf-8")  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 419.67
OpenGL renderer: GeForce GTX 1080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (3)

comment:1 by pett, 6 years ago

Cc: Tristan Croll added
Component: UnassignedTool Shed
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionInstall Clipper: 'utf-8' codec can't decode byte

comment:2 by Tristan Croll, 6 years ago

Just wiped the ChimeraX AppData directory on my Windows machine, and installed Clipper from the Tool Shed without any issue. Looks like the only problem here is that the user was using a ChimeraX build dating back to January.

comment:3 by Conrad Huang, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.