Opened 5 years ago

Last modified 5 years ago

#4380 reopened defect

Query about system-wide ISOLDE installation

Reported by: Tristan Croll Owned by: Greg Couch
Priority: moderate Milestone:
Component: Tool Shed Version:
Keywords: Cc: Tristan Croll, Andrew.Rabagliati@…, chimera-programmers
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Query from Andrew Rabagliati at the University of Cape Town:

Tristan,

I supported the CCP4 2021 Workshop at Diamond 2 weeks ago.

I have a question regarding ISOLDE - I used to install it system-wide
on our servers at UCT, by dropping ISOLDE and its dependencies into
the ChimeraX python site-packages directory.

I had to delete users ~/.cache/ChimeraX and the toolshed/bundle_info.cache
to ensure it appeared, but I was fine with that.

Recently even that did not ensure ISOLDE appeared within ChimeraX.

Is this approach possible / sensible ?

Or is it best to have each student install from the Toolbox as needed ?

Cheers, Andy!

Change History (4)

comment:1 by pett, 5 years ago

Cc: chimera-programmers added
Owner: changed from pett to Greg Couch

comment:2 by Greg Couch, 5 years ago

Resolution: not a bug
Status: assignedclosed

On Linux and macOS, if you make the ChimeraX application files owned by a different user than root, then, as that different user, you can install bundles into the ChimeraX distribution. On Windows, you could need to change the ownership of ChimeraX to be a particular user (since ChimeraX is owned by a special system user by default), and install as that user.

To install a bundle, e.g., ISOLDE, you need to use the undocumented "userOnly false" option:

toolshed install ISOLDE userOnly false

or download the bundle and install it:

toolshed install ChimeraX_ISOLDE-1.1.0-cp37-cp37m-linux_x86_64.whl userOnly false

I'm looking into remove the restriction against being root, but

comment:3 by Greg Couch, 5 years ago

but I'm more likely to make the Linux installers create and use a chimerax user. Not sure what to do for macOS users.

comment:4 by Greg Couch, 5 years ago

Resolution: not a bug
Status: closedreopened

For users, if you install the bundles before they first run ChimeraX, then there should be no problems. If they've already started ChimeraX, they will need to give the command:

toolshed reload installed

That will recreate the cached information.

Does that fix the problem?

Note: See TracTickets for help on using tickets.