Opened 6 months ago
Closed 6 months ago
#17440 closed defect (fixed)
Boltz install stalls in nogui mode
| Reported by: | Tom Goddard | Owned by: | Tom Goddard |
|---|---|---|---|
| Priority: | moderate | Milestone: | |
| Component: | Structure Prediction | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
When I execute "boltz install ~/boltz" on linux it return and logs no output. That is because the logging is using a "new frame" trigger callback and "new frame" is never triggered. If I run "wait 1" that causes a "new frame" and the install output is logged. Also the install first makes a virtual environment, then pip installs boltz, then downloads the network weights and ccd database, then makes the ccd atom counts file. The last two steps are started after the previous step only after a "new frame" callback detects the previous step finished. So those steps don't proceed unless I do a "wait 1".
So I need a polling mechanism in nogui mode akin to "new frame" to make the install work.
Change History (2)
comment:1 by , 6 months ago
comment:2 by , 6 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed.
Made nogui mode boltz install and predict wait for subprocess completion instead of using "new frame" trigger to poll for completion. Also added "wait" option to the commands to allow gui mode to also wait if the user so desires.
Maybe I should make boltz install blocking instead of polling in nogui mode.
Also when I use the "boltz predict" command it also only finishes when "new frame" trigger is called. So it also should probably be run blocking and not rely on "new frame".