Opened 7 years ago
Closed 7 years ago
#1755 closed defect (not a bug)
No cPickle in Python 3
Reported by: | Owned by: | Eric Pettersen | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Third Party | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-18.2.0-x86_64-i386-64bit ChimeraX Version: 0.9 (2019-01-30) Description (Describe the actions that caused this problem to occur here) Log: UCSF ChimeraX version: 0.9 (2019-01-30) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open /Users/aiste/Downloads/moviebindingsite.py Traceback (most recent call last): File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/ui/gui.py", line 549, in _qt_safe run(session, "open " + quote_if_necessary(paths[0])) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/run.py", line 31, in run results = command.run(text, log=log) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/cli.py", line 2615, in run result = ci.function(session, **kw_args) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/open.py", line 41, in open from_database=from_database, ignore_cache=ignore_cache, **kw)) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/open.py", line 117, in open models = handle_unknown_kw(session.models.open, paths, format=format, name=name, **kw) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/open.py", line 62, in handle_unknown_kw return f(*args, **kw) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/models.py", line 601, in open session, filenames, format=format, name=name, **kw) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/io.py", line 467, in open_multiple_data models, status = open_data(session, fspec, format=format, name=name, **kw) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/io.py", line 421, in open_data models, status = open_func(*args, **kw) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/scripting.py", line 75, in open_python_script exec(code, sandbox.__dict__) File "moviebindingsite.py", line 1, in <module> ModuleNotFoundError: No module named 'cPickle' ModuleNotFoundError: No module named 'cPickle' File "moviebindingsite.py", line 1, in See log for complete Python traceback. OpenGL version: 4.1 ATI-2.4.10 OpenGL renderer: AMD Radeon HD - FirePro D700 OpenGL Engine OpenGL vendor: ATI Technologies Inc.
Change History (2)
comment:1 by , 7 years ago
Component: | Unassigned → Third Party |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → accepted |
Summary: | ChimeraX bug report submission → No cPickle in Python 3 |
comment:2 by , 7 years ago
Resolution: | → not a bug |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
In Python 3, just use "pickle"