Opened 6 years ago

Closed 6 years ago

#2367 closed defect (duplicate)

volume eraser: output array is read-only

Reported by: tetterst@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Volume Data Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-4.15.0-58-generic-x86_64-with-debian-stretch-sid
ChimeraX Version: 0.91 (2019-08-07)
Description
Enclosed a colume of a .mrc file in order to delete it. When pressing "erase inside sphere", this error message pops up reproducibly. 

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

> open /home/hilvertg/Desktop/postprocessed_files/TetSmall/session.cxs format
session

opened ChimeraX session  

> ui mousemode rightMode "map eraser"

> volume erase #2 center 275.03,270.67,269.73 radius 61.977

Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py", line 308, in _erase_in_sphere  
self._erase()  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py", line 327, in _erase  
run(self.session, cmd)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/commands/run.py", line 31, in run  
results = command.run(text, log=log)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2655, in run  
result = ci.function(session, **kw_args)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py", line 24, in volume_erase  
_zero_data_in_sphere(v.data, cvol, radius)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py", line 41, in _zero_data_in_sphere  
subtract(dmatrix, mdmatrix, dmatrix)  
ValueError: output array is read-only  
  
ValueError: output array is read-only  
  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py", line 41, in _zero_data_in_sphere  
subtract(dmatrix, mdmatrix, dmatrix)  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 396.54
OpenGL renderer: GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedVolume Data
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionvolume eraser: output array is read-only

comment:2 by Eric Pettersen, 6 years ago

Resolution: duplicate
Status: assignedclosed

Hi Stephan,

Thanks for reporting this problem. It was fixed 6 days ago, so if you get a current daily build you should be okay. It only occurs if you're working with a volume that was restored from a session file. Sorry for the hassle.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.