Opened 3 years ago

Closed 3 years ago

#7830 closed defect (fixed)

Can't install ChimeraX 1.5 on Ubuntu 22

Reported by: Tom Goddard Owned by: Greg Couch
Priority: moderate Milestone: 1.5
Component: Platform Version:
Keywords: Cc: Zach Pearson
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Issue reported on ChimeraX GitHub

https://github.com/RBVI/ChimeraX/issues/27

Hi,

I was trying to install chimerax-rc.deb on my ubuntu 22.04 system using following command but returned error:

(base) rupesh@rupesh-sinha:~/rupesh/colabfold$ sudo apt-get install /home/rupesh/Downloads/chimerax-rc.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ucsf-chimerax' instead of '/home/rupesh/Downloads/chimerax-rc.deb'
ucsf-chimerax is already the newest version (1.5+rc2022.10.18ubuntu22.04).
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up ucsf-chimerax (1.5+rc2022.10.18ubuntu22.04) ...
Install desktop menu and associated mime types
Traceback (most recent call last):
File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/core/main.py", line 726, in init
run(sess, cmd)
File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/core/commands/run.py", line 38, in run
results = command.run(text, log=log, return_json=return_json)
File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/core/commands/cli.py", line 2897, in run
result = ci.function(session, kw_args)
File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/linux/cmd.py", line 23, in linux_xdg_install
install(session, verbose=verbose, system=system)
File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/linux/_xdg.py", line 430, in install
install_icons(session, info, verbose)
File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/chimerax/linux/_xdg.py", line 288, in install_icons
shutil.copyfile(path, os.path.join(p2, '%s.svg' % info.name))
File "/usr/lib/ucsf-chimerax/lib/python3.9/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/ChimeraX-icon.svg'
dpkg: error processing package ucsf-chimerax (--configure):
installed ucsf-chimerax package post-installation script subprocess returned error exit status 70
Errors were encountered while processing:
ucsf-chimerax
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please help!

Note: ChimeraX 1.4 was running fine in my system I thought to upgrade to 1.5 to use 'alphafold contacts' command.

Change History (3)

comment:1 by Greg Couch, 3 years ago

The good news is that I've reproduced your bug. Now to find it....

comment:2 by Greg Couch, 3 years ago

Milestone: 1.5

comment:3 by Greg Couch, 3 years ago

Resolution: fixed
Status: assignedclosed

This is fixed. And is in the daily builds since October 21st.

Note: See TracTickets for help on using tickets.