Opened 5 years ago

Closed 4 years ago

#3580 closed defect (fixed)

Toolshed uninstall: permission denied: install-timestamp

Reported by: Tristan Croll Owned by: Greg Couch
Priority: normal Milestone:
Component: Tool Shed Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-3.10.0-1127.13.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
Implementing a user-driven conditional installation of ParmEd (bring up a dialogue asking if they want to install it, then go ahead and do so). Went to uninstall it for testing, and got the following error.

chimerax -m pip uninstall versioneer parmed
Found existing installation: versioneer 0.18
Uninstalling versioneer-0.18:
  Would remove:
    /home/tic20/.local/share/ChimeraX/1.0/site-packages/bin/versioneer
    /home/tic20/.local/share/ChimeraX/1.0/site-packages/versioneer-0.18.dist-info/*
    /home/tic20/.local/share/ChimeraX/1.0/site-packages/versioneer.py
    /home/tic20/.local/share/ChimeraX/bin/versioneer
Proceed (y/n)? y
  Successfully uninstalled versioneer-0.18
Found existing installation: ParmEd 3.2.0
Uninstalling ParmEd-3.2.0:
  Would remove:
    /home/tic20/.local/share/ChimeraX/1.0/site-packages/ParmEd-3.2.0.dist-info/*
    /home/tic20/.local/share/ChimeraX/1.0/site-packages/bin/parmed
    /home/tic20/.local/share/ChimeraX/1.0/site-packages/bin/xparmed
    /home/tic20/.local/share/ChimeraX/1.0/site-packages/parmed/*
    /home/tic20/.local/share/ChimeraX/bin/parmed
    /home/tic20/.local/share/ChimeraX/bin/xparmed
Proceed (y/n)? y
  Successfully uninstalled ParmEd-3.2.0
Lock 139884764000080 acquired on /home/tic20/.cache/ChimeraX/1.0/toolshed/bundle_info.cache.lock
Lock 139884764000080 released on /home/tic20/.cache/ChimeraX/1.0/toolshed/bundle_info.cache.lock
Traceback (most recent call last):  
  File "/opt/UCSF/ChimeraX/lib/python3.7/runpy.py", line 193, in
_run_module_as_main  
    "__main__", mod_spec)  
  File "/opt/UCSF/ChimeraX/lib/python3.7/runpy.py", line 85, in _run_code  
    exec(code, run_globals)  
  File "/opt/UCSF/ChimeraX/lib/python3.7/site-packages/ChimeraX_main.py", line
895, in <module>  
    exit_code = init(sys.argv)  
  File "/opt/UCSF/ChimeraX/lib/python3.7/site-packages/ChimeraX_main.py", line
702, in init  
    sess.toolshed.set_install_timestamp(per_user)  
  File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/toolshed/__init__.py", line 562, in
set_install_timestamp  
    self._installed_bundle_info.set_install_timestamp(per_user=per_user)  
  File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/toolshed/installed.py", line 105, in
set_install_timestamp  
    with open(timestamp_file, 'w') as f:  
PermissionError: [Errno 13] Permission denied:
'/opt/UCSF/ChimeraX/share/install-timestamp'  
  


Log:
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Successfully installed 'ChimeraX_ISOLDE-1.0rc1-cp37-cp37m-linux_x86_64.whl'  
Looking in indexes: https://pypi.org/simple,
https://cxtoolshed.rbvi.ucsf.edu/pypi/  
Processing
./.cache/ChimeraX/1.0/installers/ChimeraX_ISOLDE-1.0rc1-cp37-cp37m-linux_x86_64.whl  
Requirement already satisfied, skipping upgrade: ChimeraX-Arrays~=1.0 in
/opt/UCSF/ChimeraX/lib/python3.7/site-packages (from ChimeraX-ISOLDE==1.0rc1)
(1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-Clipper~=0.13.0 in
./.local/share/ChimeraX/1.0/site-packages (from ChimeraX-ISOLDE==1.0rc1)
(0.13.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-Atomic>=1.0 in
/opt/UCSF/ChimeraX/lib/python3.7/site-packages (from ChimeraX-ISOLDE==1.0rc1)
(1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-
Core~=1.0rc202005052344 in /opt/UCSF/ChimeraX/lib/python3.7/site-packages
(from ChimeraX-ISOLDE==1.0rc1) (1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-Graphics~=1.0 in
/opt/UCSF/ChimeraX/lib/python3.7/site-packages (from ChimeraX-
Atomic>=1.0->ChimeraX-ISOLDE==1.0rc1) (1.0)  
Requirement already satisfied, skipping upgrade: ChimeraX-Geometry~=1.0 in
/opt/UCSF/ChimeraX/lib/python3.7/site-packages (from ChimeraX-
Atomic>=1.0->ChimeraX-ISOLDE==1.0rc1) (1.0)  
Installing collected packages: ChimeraX-ISOLDE  
Attempting uninstall: ChimeraX-ISOLDE  
Found existing installation: ChimeraX-ISOLDE 1.0rc1  
Uninstalling ChimeraX-ISOLDE-1.0rc1:  
Successfully uninstalled ChimeraX-ISOLDE-1.0rc1  
Successfully installed ChimeraX-ISOLDE-1.0rc1  
Lock 140515091393360 acquired on
/home/tic20/.cache/ChimeraX/1.0/toolshed/bundle_info.cache.lock  
Lock 140515091393360 released on
/home/tic20/.cache/ChimeraX/1.0/toolshed/bundle_info.cache.lock  
  

WARNING: You are using pip version 20.1; however, version 20.2 is available.  
You should consider upgrading via the '/usr/bin/chimerax -m pip install
--upgrade pip' command.  
  




OpenGL version: 3.3.0 NVIDIA 450.51.05
OpenGL renderer: TITAN Xp/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: Dell Inc.
Model: Precision T5600
OS: CentOS Linux 7 Core
Architecture: 64bit ELF
CPU: 32 Intel(R) Xeon(R) CPU E5-2687W 0 @ 3.10GHz
Cache Size: 20480 KB
Memory:
	              total        used        free      shared  buff/cache   available
	Mem:            62G        6.4G         45G        279M         10G         55G
	Swap:          4.9G          0B        4.9G

Graphics:
	03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [TITAN Xp] [10de:1b02] (rev a1)	
	Subsystem: NVIDIA Corporation Device [10de:11df]	
	Kernel driver in use: nvidia
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (2)

comment:1 by Eric Pettersen, 5 years ago

Component: UnassignedTool Shed
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionToolshed uninstall: permission denied: install-timestamp

comment:2 by Greg Couch, 4 years ago

Resolution: fixed
Status: assignedclosed

This was fixed in April. commit 84e390fe782a36c18bd26ad5348b06b66c5c3301

Note: See TracTickets for help on using tickets.