BLACS suddenly stopped opening

62 views
Skip to first unread message

kwnm...@gmail.com

unread,
Nov 16, 2020, 5:45:53 PM11/16/20
to the labscript suite
Hi all,

My BLACS suddenly stopped opening up the GUI. Runmanager and RunViewer UI run okay. Looking at the command line message, it looks like it's silently failing at the very last step, showing UI. Does anyone have an idea to resolve this issue? Would be happy to hear any clean uninstallation tip as well. Thank you.

Below is the console message.


(py38) C:\Users\TweeSr>blacs
2020-11-16 17:42:51,312 INFO BLACS: Python version 3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]
2020-11-16 17:42:51,312 INFO BLACS: Platform: win32
2020-11-16 17:42:51,313 INFO BLACS: windows version: sys.getwindowsversion(major=10, minor=0, build=18363, platform=2, service_pack='')
2020-11-16 17:42:51,313 INFO BLACS: PyZMQ version: 19.0.2
2020-11-16 17:42:51,313 INFO BLACS: ZMQ version: 4.3.2
2020-11-16 17:42:51,313 INFO BLACS: h5py version: Summary of the h5py configuration
---------------------------------

h5py    2.10.0
HDF5    1.10.4
Python  3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]
sys.platform    win32
sys.maxsize     9223372036854775807
numpy   1.19.2

2020-11-16 17:42:51,313 INFO BLACS: Qt enviroment: PyQt5
2020-11-16 17:42:51,313 INFO BLACS: PySide/PyQt version: 5.9.2
2020-11-16 17:42:51,313 INFO BLACS: Qt version: 5.9.7
2020-11-16 17:42:51,314 INFO BLACS: qtutils version: 3.0.0
2020-11-16 17:42:51,314 INFO BLACS: zprocess version: 2.20.1
2020-11-16 17:42:51,314 INFO BLACS: labscript_utils version: 0.0.0
2020-11-16 17:42:51,314 INFO BLACS: BLACS version: 3.0.0
2020-11-16 17:42:51,371 INFO BLACS: About to load connection table: C:\Experiments\example_apparatus\connection_table.h5
2020-11-16 17:42:51,383 INFO BLACS: connection table loaded
2020-11-16 17:42:51,384 INFO BLACS: QApplication instantiated
2020-11-16 17:42:51,385 INFO BLACS: Loading BLACS ui
2020-11-16 17:42:51,412 INFO BLACS: BLACS ui loaded
2020-11-16 17:42:51,413 INFO BLACS: finding connected devices in connection table
2020-11-16 17:42:51,413 INFO BLACS: Loading front panel settings
2020-11-16 17:42:51,463 INFO BLACS: restoring window data
2020-11-16 17:42:51,463 WARNING BLACS: c:\users\tweesr\anaconda3\envs\py38\lib\site-packages\blacs\__main__.py:465: DeprecationWarning: an integer is required (got type numpy.float64).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  self.ui.move(tab_data['BLACS settings']["window_xpos"]-tab_data['BLACS settings']['window_frame_width']/2,tab_data['BLACS settings']["window_ypos"]-tab_data['BLACS settings']['window_frame_height']+tab_data['BLACS settings']['window_frame_width']/2)

c:\users\tweesr\anaconda3\envs\py38\lib\site-packages\blacs\__main__.py:465: DeprecationWarning: an integer is required (got type numpy.float64).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  self.ui.move(tab_data['BLACS settings']["window_xpos"]-tab_data['BLACS settings']['window_frame_width']/2,tab_data['BLACS settings']["window_ypos"]-tab_data['BLACS settings']['window_frame_height']+tab_data['BLACS settings']['window_frame_width']/2)
2020-11-16 17:42:51,465 INFO BLACS: Creating tab widgets
2020-11-16 17:42:51,467 INFO BLACS: Instantiating devices
2020-11-16 17:42:51,467 INFO BLACS: instantiating mako_1
2020-11-16 17:42:51,935 INFO BLACS: instantiating pseudoclk
2020-11-16 17:42:52,548 INFO BLACS: instantiating pxie_6363
2020-11-16 17:42:52,614 INFO BLACS: instantiating pxie_6535_0
2020-11-16 17:42:52,653 INFO BLACS: instantiating pxie_6535_1
2020-11-16 17:42:52,691 INFO BLACS: instantiating pxie_6738
2020-11-16 17:42:52,786 INFO BLACS: Instantiating plugins
2020-11-16 17:42:52,787 INFO BLACS: creating plugin tabs
2020-11-16 17:42:52,787 INFO BLACS: reordering tabs
2020-11-16 17:42:52,793 INFO BLACS: starting analysis submission thread
2020-11-16 17:42:52,802 INFO BLACS: starting queue manager thread
2020-11-16 17:42:52,806 INFO BLACS.queue_manager.thread: starting
2020-11-16 17:42:52,811 INFO BLACS: setting up notification system
2020-11-16 17:42:52,832 INFO BLACS: setting up preferences system
2020-11-16 17:42:52,844 INFO BLACS.plugin.connection_table: Using hashable_types: ['.py', '.txt', '.ini', '.json']; polling_interval: 1.0
2020-11-16 17:42:52,888 INFO BLACS: hiding easter eggs
2020-11-16 17:42:52,890 INFO BLACS: showing UI

(py38) C:\Users\TweeSr>

Chris Billington

unread,
Nov 16, 2020, 8:50:30 PM11/16/20
to labscri...@googlegroups.com
Hi Minho,

It sounds like this is probably the same issue as discussed here:


If so, the workaround is to delete BLACS' saved settings file in labscript-suite/app_saved_configs/<experiment_name>/blacs/<hostname>_BLACS.h5

This will unfortunately have BLACS forget the position of tabs, and the front panel settings of each device - if these are important not to lose, keep a copy of the file and let me know, and I would probably be able to extract them and copy them over to a new settings file.

Cheers,

Chris

--
You received this message because you are subscribed to the Google Groups "the labscript suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to labscriptsuit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/labscriptsuite/c1e3484e-f5fb-49b0-a981-56b3f6330b20n%40googlegroups.com.
Message has been deleted

kwnm...@gmail.com

unread,
Nov 17, 2020, 11:52:24 AM11/17/20
to the labscript suite
Hi Chris,

Yes the symptom was exactly the same. I believe it's related to pyqt5 or something, as my Anaconda navigator also refused to launch. I deleted BLACS' saved settings and now it opens up the GUI. Thank you for providing the fix!

Best,
Minho
Reply all
Reply to author
Forward
0 new messages