That will be fixed in the next daily build.   Since the error occurred in the in post-installation script, /usr/bin/chimerax-daily was successfully installed and is functional.  What's broken is the integration with the system menus.

    -- Greg

On 9/9/2022 10:13 PM, jq via ChimeraX-users wrote:

Dear ChimeraX users,

 

I am trying to install the daily build version on Ubuntu22.04.

After getting the .deb file,

I executed sudo apt-get install /home/fbsb2/apps/ChimeraX/chimerax-daily.deb

 

Here is the output:

Reading package lists... Done

Building dependency tree.. Done

Reading state information... Done

Note, selecting 'ucsf-chimerax-daily' instead of

'/home/fbsb2/apps/ChimeraX/chimerax-daily.deb'

ucsf-chimerax-daily is already the newest version (2022.09.08ubuntu22.04).

The following packages were automatically installed and are no longer required:

  gfortran-11 libfreerdp-server2-2 libgfortran-11-dev libgnome-bg-4-1

libntfs-3g89 libvncserver1

Use 'sudo apt autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 24 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-daily (2022.09.08ubuntu22.04) ...

Install desktop menu and associated mime types

Traceback (most recent call last):

  File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-packages/chimerax/core/__main__.py",

line 724, in init

    run(sess, cmd)

  File "/usr/lib/ucsf-chimerax-daily/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-daily/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-daily/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-daily/lib/python3.9/site-packages/chimerax/linux/_xdg.py",

line 428, in install

    generate(session, info, system, verbose)

  File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-packages/chimerax/linux/_xdg.py",

line 421, in generate

    from chimerax.core import localized_app_name

ImportError: cannot import name 'localized_app_name' from

'chimerax.core'

(/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-packages/chimerax/core/__init__.py)

dpkg: error processing package ucsf-chimerax-daily (--configure):

installed ucsf-chimerax-daily package post-installation script

subprocess returned error exit status 70

Errors were encountered while processing:

ucsf-chimerax-daily

E: Sub-process /usr/bin/dpkg returned an error code (1)

 

I have installed 1.4 version before.

I wonder what might the reason and how to fix it.

 

Thank you in advance.

 

 

 


_______________________________________________
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.edu
Manage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users