Opened 6 years ago
Closed 5 years ago
#2701 closed defect (duplicate)
handle sub packages split between user and app install areas
| Reported by: | Owned by: | Eric Pettersen | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | Tool Shed | Version: | |
| Keywords: | Cc: | Conrad Huang | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted:
Platform: Windows-10-10.0.18362
ChimeraX Version: 0.91 (2019-12-23)
Description
(Describe the actions that caused this problem to occur here) try to launch a matchmaker alignment
Log:
UCSF ChimeraX version: 0.91 (2019-12-23)
© 2016-2019 Regents of the University of California. All rights reserved.
How to cite UCSF ChimeraX
Successfully installed 'ChimeraX_Alignments-1.0-py3-none-any.whl'
Looking in indexes: https://pypi.org/simple,
https://cxtoolshed.rbvi.ucsf.edu/pypi/
Processing
c:\users\adele\appdata\local\ucsf\chimerax\cache\0.91\installers\chimerax_alignments-1.0-py3-none-
any.whl
Requirement already satisfied, skipping upgrade: ChimeraX-Core>=0.9 in
c:\program files\chimerax\bin\lib\site-packages (from ChimeraX-
Alignments==1.0) (0.91)
Requirement already satisfied, skipping upgrade: ChimeraX-UI>=1.0 in
c:\program files\chimerax\bin\lib\site-packages (from ChimeraX-
Alignments==1.0) (1.0)
Requirement already satisfied, skipping upgrade: ChimeraX-Atomic>=1.0 in
c:\program files\chimerax\bin\lib\site-packages (from ChimeraX-
Alignments==1.0) (1.0)
Requirement already satisfied, skipping upgrade: ChimeraX-MouseModes>=1.0 in
c:\program files\chimerax\bin\lib\site-packages (from ChimeraX-
UI>=1.0->ChimeraX-Alignments==1.0) (1.0)
Installing collected packages: ChimeraX-Alignments
Successfully installed ChimeraX-Alignments-1.0
Lock 2942254612104 acquired on
C:\Users\adele\AppData\Local\UCSF\ChimeraX\Cache\0.91\toolshed\bundle_info.cache.lock
Lock 2942254612104 released on
C:\Users\adele\AppData\Local\UCSF\ChimeraX\Cache\0.91\toolshed\bundle_info.cache.lock
> open C:/Users/adele/Desktop/MesArticles/InProgress/Docking/pdb2vla.ent
pdb2vla.ent title:
Crystal structure of restriction endonuclease bpuji recognition domain In
complex with cognate DNA [more info...]
Chain information for pdb2vla.ent #1
---
Chain | Description
A | BPUJI
L | 5'-D(*GP*GP*TP*ap*CP*CP*CP*GP*TP*GP *GP*A)-3'
M | 5'-D(*TP*CP*CP*ap*CP*GP*GP*GP*TP*ap *CP*C)-3'
Non-standard residues in pdb2vla.ent #1
---
NA — sodium ion
PG6 — 1-(2-methoxy-ethoxy)-2-{2-[2-(2-methoxy-ethoxy]-ethoxy}-ethane
> open
> C:\Users\adele\Desktop\MesArticles\InProgress\Docking\NBI_modelchoisi.pdb
Chain information for NBI_modelchoisi.pdb #2
---
Chain | Description
| No description available
> open
> C:\Users\adele\Desktop\MesArticles\InProgress\Docking\v11plus_unbound.pdb
Summary of feedback from opening
C:\Users\adele\Desktop\MesArticles\InProgress\Docking\v11plus_unbound.pdb
---
warning | CONECT record for nonexistent atom: 313
Chain information for v11plus_unbound.pdb #3
---
Chain | Description
A | No description available
B | No description available
> mmaker #2 to #1 showAlignment true
Traceback (most recent call last):
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 258, in execute
cmd.run(cmd_text)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2854, in run
_used_aliases=used_aliases, log=log)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 3400, in __call__
return self.cmd.run(text, _used_aliases=_used_aliases, log=log)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2837, in run
result = ci.function(session, **kw_args)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\match_maker\match.py", line 603, in cmd_match
from chimerax.seqalign import sim_matrices
ImportError: cannot import name 'sim_matrices' from 'chimerax.seqalign'
(C:\Users\adele\AppData\Local\UCSF\ChimeraX\0.91\site-
packages\chimerax\seqalign\\__init__.py)
ImportError: cannot import name 'sim_matrices' from 'chimerax.seqalign'
(C:\Users\adele\AppData\Local\UCSF\ChimeraX\0.91\site-
packages\chimerax\seqalign\\__init__.py)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\match_maker\match.py", line 603, in cmd_match
from chimerax.seqalign import sim_matrices
See log for complete Python traceback.
> mmaker #2 to #1 showAlignment true
Traceback (most recent call last):
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 258, in execute
cmd.run(cmd_text)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2854, in run
_used_aliases=used_aliases, log=log)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 3400, in __call__
return self.cmd.run(text, _used_aliases=_used_aliases, log=log)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2837, in run
result = ci.function(session, **kw_args)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\match_maker\match.py", line 603, in cmd_match
from chimerax.seqalign import sim_matrices
ImportError: cannot import name 'sim_matrices' from 'chimerax.seqalign'
(C:\Users\adele\AppData\Local\UCSF\ChimeraX\0.91\site-
packages\chimerax\seqalign\\__init__.py)
ImportError: cannot import name 'sim_matrices' from 'chimerax.seqalign'
(C:\Users\adele\AppData\Local\UCSF\ChimeraX\0.91\site-
packages\chimerax\seqalign\\__init__.py)
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\match_maker\match.py", line 603, in cmd_match
from chimerax.seqalign import sim_matrices
See log for complete Python traceback.
OpenGL version: 3.3.0 - Build 24.20.100.6299
OpenGL renderer: Intel(R) HD Graphics 520
OpenGL vendor: Intel
Change History (7)
comment:1 by , 6 years ago
| Cc: | added |
|---|---|
| Component: | Unassigned → Tool Shed |
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Bad Alignments bundle on toolshed |
comment:2 by , 6 years ago
| Cc: | added; removed |
|---|---|
| Milestone: | → 1.0 |
| Owner: | changed from to |
| Reporter: | changed from to |
| Status: | assigned → accepted |
| Summary: | Bad Alignments bundle on toolshed → handle sub packages split between user and app install areas |
The plan is to add a meta-importer that can cover this scenario. Whoever gets to this first between me and Conrad will implement it.
comment:3 by , 5 years ago
| Milestone: | 1.0 → 1.1 |
|---|---|
| Priority: | normal → minor |
Since it is no longer easy to into the app, this is less important
Version 0, edited 5 years ago by (next)
comment:4 by , 5 years ago
| Milestone: | 1.1 |
|---|
I am de-milestoning this, since it seems very low priority at this point.
comment:5 by , 5 years ago
| Milestone: | → 1.1 |
|---|
This is still an issue for a package such as atomic, where an update to the main bundle/package can put it in the user area, but sub packages are still only in the app.
comment:6 by , 5 years ago
| Priority: | minor → major |
|---|
comment:7 by , 5 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | accepted → closed |
This is now covered by ticket #3353
Note:
See TracTickets
for help on using tickets.
Hi Adele,
1) In ChimeraX type "into path". That will list several folders and what they're for. Look for the one labeled "user versioned config directory"
2) Go to that folder. Go into the subfolder named "site-packages". Remove the folder named "ChimeraX_Alignments-1.0.dist-info". Go into the subfolder named "chimera". Remove the folder named "seqalign".
3) Restart ChimeraX. Things should work now.
--Eric