Opened 6 years ago

Closed 6 years ago

#2200 closed defect (fixed)

_handlers weak-value already gone

Reported by: chimerax-bug-report@… Owned by: pett
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-07-10)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.91 (2019-07-10)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/stella/Downloads/ChimeraX/PDB/6n2y.cif

6n2y.cif title:  
Bacillus PS3 ATP synthase class 1 [more info...]  
  
Chain information for 6n2y.cif #1  
---  
Chain | Description  
A B C | ATP synthase subunit α  
D E F | ATP synthase subunit β  
G | ATP synthase γ chain  
H | ATP synthase ε chain  
I | ATP synthase subunit δ  
a | ATP synthase subunit a  
b1 | ATP synthase subunit b  
b2 | ATP synthase subunit b  
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 | ATP synthase subunit c  
  
Non-standard residues in 6n2y.cif #1  
---  
ADP — adenosine-5'-diphosphate  
ATP — adenosine-5'-triphosphate  
MG — magnesium ion  
PO4 — phosphate ion  
  

> select /A:2-501

3827 atoms, 3888 bonds, 1 model selected  

> select :ADP

27 atoms, 29 bonds, 1 model selected  

> select :ADP

27 atoms, 29 bonds, 1 model selected  

> style selAtoms stick

Changed 27 atom styles  

> style selAtoms stick

Changed 27 atom styles  

> style selAtoms stick

Changed 27 atom styles  

> style selAtoms stick

Changed 27 atom styles  

> style selAtoms stick

Changed 27 atom styles  

> select clear

> select /B:254@NZ

1 atom, 1 model selected  

> select clear

> select /B:252@CE

1 atom, 1 model selected  

> select /B:252@NZ

1 atom, 1 model selected  

> select /B:248@OH

1 atom, 1 model selected  

> select /B:252@NZ

1 atom, 1 model selected  

> select /B:248@OH

1 atom, 1 model selected  

> select /B:248@CE1

1 atom, 1 model selected  

> select /B:253@CA

1 atom, 1 model selected  

> select /B:252@O

1 atom, 1 model selected  

> select /B:254@NZ

1 atom, 1 model selected  

> select /B:252@O

1 atom, 1 model selected  

> select /B:254@CG

1 atom, 1 model selected  

> select /B:254@CD

1 atom, 1 model selected  

> select /B:254@NZ

1 atom, 1 model selected  

> select /B:252@CE

1 atom, 1 model selected  

> select /B:478@CG2

1 atom, 1 model selected  

> select /B:478@CA

1 atom, 1 model selected  

> select /B:477@O

1 atom, 1 model selected  

> select /B:479@NZ

1 atom, 1 model selected  

> select clear

> style selAtoms stick

Changed 35043 atom styles  

> style selAtoms stick

Changed 35043 atom styles  

> style selAtoms sphere

Changed 35043 atom styles  

> style selAtoms stick

Changed 35043 atom styles  

> style selAtoms sphere

Changed 35043 atom styles  

> select /B:187@NZ

1 atom, 1 model selected  

> select /B:187@CD

1 atom, 1 model selected  

> select /B:187@CG

1 atom, 1 model selected  

> select clear

> select clear

> style selAtoms ball

Changed 35043 atom styles  

> style selAtoms ball

Changed 35043 atom styles  

> style selAtoms sphere

Changed 35043 atom styles  

> show selAtoms ribbons

> style selAtoms sphere

Changed 35043 atom styles  

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> show ribbons

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> hide

> show ribbons

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> set bgColor white

> lighting soft

> lighting soft

> lighting full

> lighting soft

> lighting full

> lighting simple

> lighting full

> set bgColor black

> lighting soft

> hide

> show ribbons

> show selAtoms ribbons

> show selAtoms ribbons

> show selAtoms ribbons

> show selAtoms

> show selAtoms ribbons

> show selAtoms ribbons

> show selAtoms

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> set bgColor white

> save /Users/stella/Desktop/image1.png supersample 3

Empty filename passed to function  

> save image /Users/stella/test.tif width 1500 height 1258

> save /Users/stella/Desktop/test.png width 1500

> show selAtoms surfaces

> color bfactor selAtoms

35043 atoms, 4722 residues, 22 surfaces, atom bfactor range 0 to 144  

> mlp selAtoms

Map values for surface "6n2y.cif_A SES surface": minimum -49.67, mean -9.103,
maximum 22.97  
Map values for surface "6n2y.cif_B SES surface": minimum -54.79, mean -9.429,
maximum 23.24  
Map values for surface "6n2y.cif_C SES surface": minimum -48.93, mean -9.469,
maximum 24.15  
Map values for surface "6n2y.cif_D SES surface": minimum -49.82, mean -8.614,
maximum 25.56  
Map values for surface "6n2y.cif_E SES surface": minimum -49, mean -8.976,
maximum 23.87  
Map values for surface "6n2y.cif_F SES surface": minimum -49.92, mean -8.684,
maximum 22.56  
Map values for surface "6n2y.cif_G SES surface": minimum -43.34, mean -8.507,
maximum 22.41  
Map values for surface "6n2y.cif_H SES surface": minimum -43.27, mean -8.606,
maximum 23.31  
Map values for surface "6n2y.cif_I SES surface": minimum -46.41, mean -8.739,
maximum 25.32  
/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/data/arrays.py:152: RuntimeWarning: invalid value
encountered in multiply  
v = fbc + b * (lbc - fbc) / self.bins  
Map values for surface "6n2y.cif_b2 SES surface": minimum -inf, mean -inf,
maximum 22.08  
Map values for surface "6n2y.cif_b1 SES surface": minimum -44.2, mean -11.65,
maximum 22.09  
Map values for surface "6n2y.cif_a SES surface": minimum -47.69, mean -5.122,
maximum 23.05  
Map values for surface "6n2y.cif_c0 SES surface": minimum -39.73, mean -4.977,
maximum 22.62  
Map values for surface "6n2y.cif_c1 SES surface": minimum -39.53, mean -4.684,
maximum 21.9  
Map values for surface "6n2y.cif_c2 SES surface": minimum -40.37, mean -4.997,
maximum 22.64  
Map values for surface "6n2y.cif_c3 SES surface": minimum -38.97, mean -4.955,
maximum 22.04  
Map values for surface "6n2y.cif_c4 SES surface": minimum -40.82, mean -5.091,
maximum 21.96  
Map values for surface "6n2y.cif_c5 SES surface": minimum -42.06, mean -5.229,
maximum 22.34  
Map values for surface "6n2y.cif_c6 SES surface": minimum -38.51, mean -5.224,
maximum 22.54  
Map values for surface "6n2y.cif_c7 SES surface": minimum -41.11, mean -4.995,
maximum 21.92  
Map values for surface "6n2y.cif_c8 SES surface": minimum -40.72, mean -5.006,
maximum 22.67  
Map values for surface "6n2y.cif_c9 SES surface": minimum -39.75, mean -4.963,
maximum 22.49  

> hide selAtoms

> show selAtoms

> hide selAtoms

> hide selAtoms ribbons

> show selAtoms ribbons

> show selAtoms

> set bgColor black

> color selAtoms bychain

> color bypolymer

> select /A/B/C

11476 atoms, 11659 bonds, 9 pseudobonds, 2 models selected  

> color sel orange

> color selAtoms byhetero

> color selAtoms byhetero

> style selAtoms sphere

Changed 11476 atom styles  

> color selAtoms bychain

> select clear

> open /Users/stella/Downloads/chimerax_tutorial/6n2z.cif

6n2z.cif title:  
Bacillus PS3 ATP synthase class 2 [more info...]  
  
Chain information for 6n2z.cif #2  
---  
Chain | Description  
A B C | ATP synthase subunit α  
D E F | ATP synthase subunit β  
G | ATP synthase γ chain  
H | ATP synthase ε chain  
I | Bacillus PS3 ATP synthase subunit δ  
a | Bacillus PS3 ATP synthase subunit a  
b1 | Bacillus PS3 ATP synthase subunit b  
b2 | Bacillus PS3 ATP synthase subunit b  
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 | ATP synthase subunit c  
  
Non-standard residues in 6n2z.cif #2  
---  
ADP — adenosine-5'-diphosphate  
ATP — adenosine-5'-triphosphate  
MG — magnesium ion  
PO4 — phosphate ion  
  

> open /Users/stella/Downloads/chimerax_tutorial/6n30.cif

6n30.cif title:  
Bacillus PS3 ATP synthase class 3 [more info...]  
  
Chain information for 6n30.cif #3  
---  
Chain | Description  
A B C | ATP synthase subunit α  
D E F | ATP synthase subunit β  
G | ATP synthase γ chain  
H | ATP synthase ε chain  
I | Bacillus PS3 ATP synthase subunit δ  
a | Bacillus PS3 ATP synthase subunit a  
b1 | Bacillus PS3 ATP synthase subunit b  
b2 | Bacillus PS3 ATP synthase subunit b  
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 | ATP synthase subunit c  
  
Non-standard residues in 6n30.cif #3  
---  
ADP — adenosine-5'-diphosphate  
ATP — adenosine-5'-triphosphate  
MG — magnesium ion  
PO4 — phosphate ion  
  

> hide #!2 models

> show #!2 models

> hide #!1 models

> hide #!3 models

> show #!3 models

> show #!1 models

> morph #1,2

Computed 21 frame morph #4  

> coordset #4 1,21

> close #4

> show #!1 models

> show #!2 models

> hide #!3 models

> hide #!2 models

> show #!2 models

> show #!3 models

> morph #1,2,3 wrap true same true

Computed 61 frame morph #4  

> coordset #4 1,61

> movie record

> movie encode /Users/stella/Desktop/movie.mp4 framerate 25.0

Movie saved to /Users/stella/Desktop/movie.mp4  
  

> movie record

> movie encode /Users/stella/Desktop/movie.mp4 framerate 25.0

Movie saved to /Users/stella/Desktop/movie.mp4  
  

> close #4

> show #!1 models

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> color selAtoms bychain

> color selAtoms bychain

> close #2

> show #!3 models

> hide #!3 models

> close #3

> color selAtoms bychain

Unknown command: Color bypolymer  

> color bypolymer

> select /A/B/C

11476 atoms, 11659 bonds, 9 pseudobonds, 2 models selected  

> color orange

Expected a color or one of 'byatom', 'bychain', 'byelement', 'byhetero',
'bymodel', 'bynucleotide', 'bypolymer', 'fromatoms', or 'random' or a keyword  

> color sel orange

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> color sel orange

> select clear

> open /Users/stella/Downloads/chimerax_tutorial/6n2z.cif

6n2z.cif title:  
Bacillus PS3 ATP synthase class 2 [more info...]  
  
Chain information for 6n2z.cif #2  
---  
Chain | Description  
A B C | ATP synthase subunit α  
D E F | ATP synthase subunit β  
G | ATP synthase γ chain  
H | ATP synthase ε chain  
I | Bacillus PS3 ATP synthase subunit δ  
a | Bacillus PS3 ATP synthase subunit a  
b1 | Bacillus PS3 ATP synthase subunit b  
b2 | Bacillus PS3 ATP synthase subunit b  
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 | ATP synthase subunit c  
  
Non-standard residues in 6n2z.cif #2  
---  
ADP — adenosine-5'-diphosphate  
ATP — adenosine-5'-triphosphate  
MG — magnesium ion  
PO4 — phosphate ion  
  

> open /Users/stella/Downloads/chimerax_tutorial/6n30.cif

6n30.cif title:  
Bacillus PS3 ATP synthase class 3 [more info...]  
  
Chain information for 6n30.cif #3  
---  
Chain | Description  
A B C | ATP synthase subunit α  
D E F | ATP synthase subunit β  
G | ATP synthase γ chain  
H | ATP synthase ε chain  
I | Bacillus PS3 ATP synthase subunit δ  
a | Bacillus PS3 ATP synthase subunit a  
b1 | Bacillus PS3 ATP synthase subunit b  
b2 | Bacillus PS3 ATP synthase subunit b  
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 | ATP synthase subunit c  
  
Non-standard residues in 6n30.cif #3  
---  
ADP — adenosine-5'-diphosphate  
ATP — adenosine-5'-triphosphate  
MG — magnesium ion  
PO4 — phosphate ion  
  

> hide #!1 models

> hide #!2 models

> hide #!3 models

> show #!1 models

Unknown command: morph#1,2,3 wrap true same true  

> morph #1,2,3 wrap true same true

Computed 61 frame morph #4  

> coordset #4 1,61

> movie record

> movie encode /Users/stella/Desktop/movie.mp4 framerate 25.0

Movie saved to /Users/stella/Desktop/movie.mp4  
  

> select #4/D:180@CA

1 atom, 1 model selected  

> select up

4 atoms, 3 bonds, 1 model selected  

> select up

16 atoms, 15 bonds, 1 model selected  

> select up

3560 atoms, 3623 bonds, 1 model selected  

> select down

16 atoms, 15 bonds, 1 model selected  

> select down

4 atoms, 3 bonds, 1 model selected  

> select up

16 atoms, 15 bonds, 1 model selected  

> select up

3560 atoms, 3623 bonds, 1 model selected  

> select up

34569 atoms, 35102 bonds, 1 model selected  

> select up

139514 atoms, 141664 bonds, 4 models selected  

> select up

139514 atoms, 141664 bonds, 4 models selected  

> select up

139514 atoms, 141664 bonds, 4 models selected  

> select up

139514 atoms, 141664 bonds, 4 models selected  

> select up

139514 atoms, 141664 bonds, 4 models selected  

> select clear

Empty filename passed to function  

> save image /Users/stella/Desktop/test.gif width 745 height 604

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

Expected a color or one of 'byatom', 'bychain', 'byelement', 'byhetero',
'bymodel', 'bynucleotide', 'bypolymer', 'fromatoms', or 'random' or a keyword  

> show #!1 models

> hide #!4 models

Expected a color or one of 'byatom', 'bychain', 'byelement', 'byhetero',
'bymodel', 'bynucleotide', 'bypolymer', 'fromatoms', or 'random' or a keyword  

Expected a color or one of 'byatom', 'bychain', 'byelement', 'byhetero',
'bymodel', 'bynucleotide', 'bypolymer', 'fromatoms', or 'random' or a keyword  

> color selAtoms bychain

Expected a color or one of 'byatom', 'bychain', 'byelement', 'byhetero',
'bymodel', 'bynucleotide', 'bypolymer', 'fromatoms', or 'random' or a keyword  

> color bypolymer

> select #1/A#1/B#1/C#2/A#2/B#2/C#3/A#3/B#3/C#4/A#4/B#4/C

45669 atoms, 46405 bonds, 27 pseudobonds, 7 models selected  

> color sel orange

> hide #!1 models

> show #!1 models

> select clear

> show #!4 models

> hide #!1 models

> show #!1 models

> show #!2 models

> show #!3 models

> hide #!3 models

> hide #!2 models

> hide #!1 models

> hide #!4 models

> show #!1 models

> select #1/D:177@CB

1 atom, 1 model selected  

> select up

9 atoms, 8 bonds, 2 models selected  

> select up

136 atoms, 137 bonds, 2 models selected  

> select up

3622 atoms, 3685 bonds, 2 models selected  

> select clear

> close #4

> close #2 #3

> preset "initial styles" "original look"

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> open /Users/stella/Downloads/chimerax_tutorial/emd_9333.map

Opened emd_9333.map, grid size 320,320,320, pixel 1.06, shown at level 0.32,
step 2, values float32  

> hide #!1 models

> lighting simple

> lighting soft

> select #2

2 models selected  

> volume selMaps style surface

> volume selMaps show

> show #!1 models

> select clear

> view :ADP

> style selAtoms stick

Changed 35043 atom styles  

> view :ADP

> lighting simple

> select :ADP

27 atoms, 29 bonds, 1 model selected  

> select /F:601@MG

1 atom, 1 model selected  

> view sel

> view :ADP

> select clear

> select /F:600@PA

1 atom, 1 model selected  

> select up

2 atoms, 1 bond, 1 model selected  

> select up

27 atoms, 29 bonds, 1 model selected  

> view sel

> select ~sel

35016 atoms, 35550 bonds, 13 pseudobonds, 7 models selected  

> volume selMaps style mesh

> select clear

> volume #2 subdivideSurface true

> clip off

> view :ADP

> hide selAtoms

> show :ADP

> clip off

> surface zone #2 nearAtoms :ADP

> surface zone #2 nearAtoms :ADP distance 10

> select :ADP

27 atoms, 29 bonds, 1 model selected  

> select sel:<5

175 atoms, 168 bonds, 2 pseudobonds, 2 models selected  

> show selAtoms

> show selAtoms surfaces

> volume selMaps style surface

> volume selMaps style mesh

> volume selMaps style mesh

> hide #!2 models

> show #!2 models

> select clear

> volume selMaps style mesh

> volume selMaps style surface

> close #1

> open /Users/stella/Downloads/chimerax_tutorial/4xd7.cif

Summary of feedback from opening
/Users/stella/Downloads/chimerax_tutorial/4xd7.cif  
---  
note | Fetching CCD SO4 from http://ligand-expo.rcsb.org/reports/S/SO4/SO4.cif  
  
4xd7.cif title:  
Structure of thermophilic F1-ATPase inhibited by ε subunit [more info...]  
  
Chain information for 4xd7.cif #1  
---  
Chain | Description  
A B C | ATP synthase subunit α  
D E F | ATP synthase subunit β  
G | ATP synthase γ chain  
H | ATP synthase ε chain  
  
Non-standard residues in 4xd7.cif #1  
---  
ADP — adenosine-5'-diphosphate  
SO4 — sulfate ion  
  

> close #2

> close

> open /Users/stella/Downloads/chimerax_tutorial/emd_9333.map

Opened emd_9333.map, grid size 320,320,320, pixel 1.06, shown at level 0.32,
step 2, values float32  

> open /Users/stella/Downloads/chimerax_tutorial/4xd7.cif

4xd7.cif title:  
Structure of thermophilic F1-ATPase inhibited by ε subunit [more info...]  
  
Chain information for 4xd7.cif #2  
---  
Chain | Description  
A B C | ATP synthase subunit α  
D E F | ATP synthase subunit β  
G | ATP synthase γ chain  
H | ATP synthase ε chain  
  
Non-standard residues in 4xd7.cif #2  
---  
ADP — adenosine-5'-diphosphate  
SO4 — sulfate ion  
  

> ui mousemode rightMode "translate selected models"

> select #2

22656 atoms, 22944 bonds, 25 pseudobonds, 2 models selected  

> ~select #2

Nothing selected  

> ui mousemode rightMode "translate selected models"

> hide #!2 models

> show #!2 models

> select #2

22656 atoms, 22944 bonds, 25 pseudobonds, 2 models selected  

> ~select #2

Nothing selected  

> ui mousemode rightMode "rotate selected models"

> select #2

22656 atoms, 22944 bonds, 25 pseudobonds, 2 models selected  

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

Traceback (most recent call last):  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py", line 73, in _model_deleted_cb  
del self._handlers[model]  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
KeyError: <chimerax.core.models.Surface object at 0x137f8f5f8>  
  
Error processing trigger "deleted": :  
KeyError:  
  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py", line 73, in _model_deleted_cb  
del self._handlers[model]  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
KeyError: <chimerax.core.models.Surface object at 0x137f8f5f8>  
  
Error processing trigger "deleted": :  
KeyError:  
  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py", line 73, in _model_deleted_cb  
del self._handlers[model]  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
KeyError: <chimerax.core.models.Surface object at 0x137f8f5f8>  
  
Error processing trigger "deleted": :  
KeyError:  
  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py", line 73, in _model_deleted_cb  
del self._handlers[model]  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
KeyError: <chimerax.core.models.Surface object at 0x161078cf8>  
  
Error processing trigger "deleted": :  
KeyError:  
  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py", line 73, in _model_deleted_cb  
del self._handlers[model]  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
KeyError: <chimerax.core.models.Surface object at 0x161078cf8>  
  
Error processing trigger "deleted": :  
KeyError:  
  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py", line 73, in _model_deleted_cb  
del self._handlers[model]  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
KeyError: <chimerax.core.models.Surface object at 0x161078cf8>  
  
Error processing trigger "deleted": :  
KeyError:  
  
File
"/private/var/folders/kn/65_bx0212qn3djrc3swp0jth0000gn/T/AppTranslocation/AE328A1C-3E26-42C5-963A-0B37B3BE4A1C/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
line 146, in __delitem__  
del self.data[key]  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 INTEL-10.36.19
OpenGL renderer: Intel Iris Pro OpenGL Engine
OpenGL vendor: Intel Inc.

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedCore
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submission_handlers weak-value already gone

comment:2 by pett, 6 years ago

Resolution: fixed
Status: acceptedclosed

Switched to strong-ref dict since opened models will always call delete() when closed. Implies that unopened model will have to explicitly call delete() to clean up.

Note: See TracTickets for help on using tickets.