-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
databroker-browser does not show plots for keithly2450 #1
Comments
can you show what's in the descriptor? and perhaps try: stream = db[uid].restream
next(stream)
next(stream) and see the output of I'm not the expert but it looks like it's not finding these keys. |
that is because the key it should be looking for is We should look into using BEC in the browser. |
This hopefully should be fixed by bluesky/bluesky#967 and NSLS-II/databroker-browser#11, but will probably be available in the next cycle. |
@mrakitin and I tested this and ran into an issue with We are leaving this open until we resolve that error, but it is not a quick fix and may or may not be solved by the upcoming update to databroker browser. |
We tried to run the In [17]: browse()
QObject::connect: Cannot connect QListWidget::currentItemChanged(QListWidgetItem*,QListWidgetItem*) to (null)::_on_results_selection_changed()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~/.ipython/profile_collection/startup/users/30-user-Guillaume.py in <module>
----> 1 browse()
~/.ipython/profile_collection/startup/users/30-user-Guillaume.py in browse()
28
29 def browse():
---> 30 return BrowserWindow(db, fig_dispatch, text_summary, search_result)
31
/opt/conda_envs/collection-2019-2.0-smi/lib/python3.6/site-packages/databroker_browser/qt/_core.py in __init__(self, db, fig_dispatch, text_dispatch, result_dispatch, max_results)
424 max_results=100):
425 super().__init__(db, fig_dispatch, text_dispatch, result_dispatch,
--> 426 max_results=max_results)
427 self._window = QtWidgets.QMainWindow()
428 self._window.setCentralWidget(self.widget)
/opt/conda_envs/collection-2019-2.0-smi/lib/python3.6/site-packages/databroker_browser/qt/_core.py in __init__(self, db, fig_dispatch, text_dispatch, result_dispatch, max_results)
337 self._results = QtWidgets.QListWidget()
338 self._results.currentItemChanged.connect(
--> 339 self._on_results_selection_changed)
340 self._search_bar = QtWidgets.QLineEdit()
341 self._search_bar.textChanged.connect(self._on_search_text_changed)
TypeError: connect() failed between currentItemChanged(QListWidgetItem*,QListWidgetItem*) and _on_results_selection_changed() |
Althought databroker-browser is no longer a going concern, some of the relevant code lives on in bluesky-widgets, and we should be sure to test that it works as expected before closing this. |
I added databroker-browser code in 99-browser.py. When the data is displayed for keithly2450 detector/electrometer, the plot is not displayed & there are the following messages in the console:
@tacaswell, anything missing in hints?
The text was updated successfully, but these errors were encountered: