This appears to be due to the tests, which are all running to the timeout of 900s. Logging into the factory machines through VNC (both mac and windows) show the tests hanging on the directory chooser for a new/existing DICOM database. Linux is building with no issues (because no tests). They eventually finish, (see mac above which eventually packaged), but far later than is feasible for a nightly build.
I have forced packaging / extension builds for both platforms, so reports should be coming up on CDash for that. Windows packaging is failing with this error, which i will work on sorting out today:
Thanks a lot! Sorry I didn’t get to it sooner; working on refactoring the model hierarchies, and the way hierarchy visibilities are handled. You’ll see a PR soon
(Jean Christophe Fillion Robin (Kitware))
The workaround I added is incomplete and not working.
I think a proper fix would to initialize ShemaUpdateAutoCreateDirectory using settings like it is already done here for schemaUpdateOption. This would allow us to initialize the settings once without having to set the dicom browser property each time a browser is instantiated …
Failing to do so end up triggering the showing of this dialog asking the user to Choose existing database / Select empty folder for new DICOM database.
Will be waiting today’s dashboard to complete to have a better idea of the test triggering a timeout
One question that I have is what should be the default. I changed the default to true, so that the tests pass with a clean settings. In this case we’ll need to commit a fix in Slicer that changes this flag to false if Slicer is not in testing mode (DICOMWidgets.py:100)
Thank you @cpinter. I find selecting an appropriate parent folder and creating a new empty folder is not very easy, so it would be great if we would do this for the users automatically by default (but have the option of setting a custom folder location and having the option of starting with a clean database or a copy of the old one).
Is it expected that database update is initiated immediately when Slicer is started (and not when you go to the DICOM module)?
I can confirm that I opened a recent Slicer nightly and it automatically made a SlicerDicomDatabase folder in my user documents location. I did not open the DICOM browser, but it must’ve instantiated an object on load.