Opened 7 years ago

Closed 7 years ago

#1669 closed defect (fixed)

Toolshed updating list of tools: 'list' object has no attribute 'split'

Reported by: hubert.santuz@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: Tool Shed Version:
Keywords: Cc: shiwei.zhu@…
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-4.4.0-141-generic-x86_64-with-debian-stretch-sid
ChimeraX Version: 0.8 (2018-12-17)
Description
At startup, I have a python error message in the "Startup Messages" :

NOTE: Traceback (most recent call last):  
  File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/toolshed/__init__.py", line 338, in __init__  
    self.init_available_from_cache(logger)  
  File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/toolshed/__init__.py", line 445, in
init_available_from_cache  
    abc.load_from_cache()  
  File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/toolshed/available.py", line 61, in load_from_cache  
    b = _build_bundle(d)  
  File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/toolshed/available.py", line 242, in _build_bundle  
    keywords = _extract_extra_keywords(keywords)  
  File "/usr/lib/ucsf-chimerax/lib/python3.6/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'  
  

BUG: Error preloading available bundles:  
AttributeError: 'list' object has no attribute 'split'  
  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-
packages/chimerax/core/toolshed/installed.py", line 270, in
_extract_extra_keywords  
all_kwds = [k.strip() for k in kwds.split(',')]  
  
 _See log for complete Python traceback._ 

Log:
Startup Messages  
---  
note | Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/__init__.py", line 338, in __init__  
self.init_available_from_cache(logger)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/__init__.py", line 445, in  
init_available_from_cache  
abc.load_from_cache()  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/available.py", line 61, in load_from_cache  
b = _build_bundle(d)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/site-  
packages/chimerax/core/toolshed/available.py", line 242, in _build_bundle  
keywords = _extract_extra_keywords(keywords)  
File "/usr/lib/ucsf-chimerax/lib/python3.6/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.8 (2018-12-17)  
How to cite UCSF ChimeraX  

> toolshed show Log

> help help:user/tools/cli.html#history




OpenGL version: 3.3.0 NVIDIA 387.26
OpenGL renderer: GeForce GTX 1080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Linux Ubuntu 16.04

Change History (4)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedTool Shed
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionToolshed updating list of tools: 'list' object has no attribute 'split'

Happens with slightly older ChimeraX versions

comment:2 by Eric Pettersen, 7 years ago

Cc: shiwei.zhu@… added

comment:3 by Eric Pettersen, 7 years ago

"toolshed reload" does not fix the problem.

comment:4 by Conrad Huang, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed by 9c80cac968. Daily builds after January 24, 2019 should have the fix.

Note: See TracTickets for help on using tickets.