<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Cctbx.xfel_GUI%2FTroubleshooting</id>
	<title>Cctbx.xfel GUI/Troubleshooting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Cctbx.xfel_GUI%2FTroubleshooting"/>
	<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Troubleshooting&amp;action=history"/>
	<updated>2026-10-10T21:41:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Troubleshooting&amp;diff=1802&amp;oldid=prev</id>
		<title>Aaron: Created page with &quot;{{DISPLAYTITLE:cctbx.xfel GUI/Troubleshooting}} What to check when something does not behave. The GUI prints errors and progress to the terminal it was started from, so that terminal is always the first place to look.  Back to cctbx.xfel GUI.  == A status light is red == A red light means that thread hit an exception and stopped; the traceback is in the terminal. Common causes: the database connection dropped (the server was restarted or the job running it ended), th...&quot;</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Troubleshooting&amp;diff=1802&amp;oldid=prev"/>
		<updated>2026-10-09T22:35:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DISPLAYTITLE:cctbx.xfel GUI/Troubleshooting}} What to check when something does not behave. The GUI prints errors and progress to the terminal it was started from, so that terminal is always the first place to look.  Back to &lt;a href=&quot;/cctbx.xfel/index.php/Cctbx.xfel_GUI&quot; title=&quot;Cctbx.xfel GUI&quot;&gt;cctbx.xfel GUI&lt;/a&gt;.  == A status light is red == A red light means that thread hit an exception and stopped; the traceback is in the terminal. Common causes: the database connection dropped (the server was restarted or the job running it ended), th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:cctbx.xfel GUI/Troubleshooting}}&lt;br /&gt;
What to check when something does not behave. The GUI prints errors and progress to the terminal it was started from, so that terminal is always the first place to look.&lt;br /&gt;
&lt;br /&gt;
Back to [[cctbx.xfel GUI]].&lt;br /&gt;
&lt;br /&gt;
== A status light is red ==&lt;br /&gt;
A red light means that thread hit an exception and stopped; the traceback is in the terminal. Common causes: the database connection dropped (the server was restarted or the job running it ended), the queuing system command failed (&amp;lt;code&amp;gt;squeue&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bjobs&amp;lt;/code&amp;gt; not on the path), or a run block refers to a run that no longer exists. Fix the cause, then restart the thread: toggle &amp;#039;&amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039;&amp;#039; off and on, or switch away from and back to the tab for the tab-specific sentinels. If the database itself is gone, restart the GUI.&lt;br /&gt;
&lt;br /&gt;
== No runs appear ==&lt;br /&gt;
* &amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039; must be on (the Run Sentinel light green).&lt;br /&gt;
* LCLS: check the experiment name and the XTC stream location in the credentials dialog, and that the run database web service is reachable from this machine.&lt;br /&gt;
* Standalone: check the folder, the template (it is a glob, so &amp;lt;code&amp;gt;*.h5&amp;lt;/code&amp;gt;, not &amp;lt;code&amp;gt;.h5&amp;lt;/code&amp;gt;), and the completion criteria; a file younger than &amp;#039;&amp;#039;Minimum time since last modified&amp;#039;&amp;#039; or smaller than &amp;#039;&amp;#039;Minimum file size&amp;#039;&amp;#039; is not picked up yet. Folders need the status file or the required number of files.&lt;br /&gt;
&lt;br /&gt;
== Jobs are not submitted ==&lt;br /&gt;
* &amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039; must be on, the trial must be &amp;#039;&amp;#039;&amp;#039;active&amp;#039;&amp;#039;&amp;#039;, and it must have a run block containing the runs.&lt;br /&gt;
* In &amp;#039;&amp;#039;local&amp;#039;&amp;#039; mode only one job runs at a time; the next is submitted when it finishes.&lt;br /&gt;
* &amp;lt;code&amp;gt;mp.max_queued&amp;lt;/code&amp;gt; in the settings file limits the number of queued and running jobs.&lt;br /&gt;
* For datasets: the dataset must be active and must have at least one tag; all its tags must be in use on the trial&amp;#039;s runs; the runs&amp;#039; indexing jobs must be &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;; and each stage waits for the previous stage of the same run to be &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;. A failed stage (&amp;lt;code&amp;gt;EXIT&amp;lt;/code&amp;gt;) blocks the rest of the pipeline for that run until it is restarted.&lt;br /&gt;
* Watch the terminal: the job sentinel prints what it submits and why it is waiting.&lt;br /&gt;
&lt;br /&gt;
== A job fails immediately (S_FAIL or EXIT) ==&lt;br /&gt;
Open the job&amp;#039;s log: &amp;lt;code&amp;gt;&amp;lt;output folder&amp;gt;/r&amp;lt;run&amp;gt;/&amp;lt;trial&amp;gt;_rg&amp;lt;block&amp;gt;/stdout/log.out&amp;lt;/code&amp;gt; for indexing jobs, and the queue&amp;#039;s error file next to it. Typical causes are a wrong detector address, a mask or reference geometry file that the compute nodes cannot read, an environment script that does not set up cctbx, or a PHIL parameter that the processing program rejects. After fixing, use &amp;#039;&amp;#039;&amp;#039;Restart job&amp;#039;&amp;#039;&amp;#039; in the Jobs tab (or, for a run block change, let the new block&amp;#039;s jobs run).&lt;br /&gt;
&lt;br /&gt;
== Images index poorly ==&lt;br /&gt;
* Check the unit cell and space group in the trial, and the detector distance and beam centre in the run block (an average image from the Runs tab helps with the latter).&lt;br /&gt;
* In the Run Stats tab, many grey points high in the strong spots panel are hits that did not index: look at some of those images.&lt;br /&gt;
* Too many or too few spots: adjust the spot finding thresholds in a new trial and compare.&lt;br /&gt;
&lt;br /&gt;
== The Run Stats plot is empty ==&lt;br /&gt;
A trial must be selected, and runs ticked (or &amp;#039;&amp;#039;Auto plot last five runs&amp;#039;&amp;#039; pressed). Only runs whose jobs have logged results show up; a run whose job is still pending has nothing to plot yet. If &amp;#039;&amp;#039;Auto update&amp;#039;&amp;#039; is unticked the plot does not refresh.&lt;br /&gt;
&lt;br /&gt;
== The cosym page says there is no plot ==&lt;br /&gt;
The embedding plot is only written when the merging stage runs &amp;lt;code&amp;gt;modify_cosym&amp;lt;/code&amp;gt;, and only for a single selected version. Check the merging stage&amp;#039;s step list under &amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039; and that the merging job is &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== The GUI refuses to load a project ==&lt;br /&gt;
While the GUI is connected, a project with a different database connection or experiment tag cannot be loaded. Quit and start the GUI again; the login dialog can load any project.&lt;br /&gt;
&lt;br /&gt;
== Resetting an experiment ==&lt;br /&gt;
To start again with an empty database but the same experiment tag, tick &amp;#039;&amp;#039;Delete and regenerate all tables&amp;#039;&amp;#039; in the credentials dialog at login. This erases every run, trial, job and logged result for that tag (the files on disk are untouched, so delete or move the output folder as well if you want a clean slate). Using a new experiment tag instead keeps the old records available.&lt;br /&gt;
&lt;br /&gt;
== Getting help ==&lt;br /&gt;
The &amp;#039;&amp;#039;About&amp;#039;&amp;#039; entry in the Help menu lists the authors. Questions and bug reports go to the cctbx.xfel developers; include the terminal output and the relevant job log.&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
</feed>