You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With a catalog that points to an intake server, the click on a run and note that you do not see a preview in the preview widget. This is accompanied by an error in the log:
Wed Jul 15 13:23:12 2020 - logError - ERROR - MainThread >
The following error was handled safely by Xi-cam. It is displayed here for debugging.
Wed Jul 15 13:23:12 2020 - logError - ERROR - MainThread >
Traceback (most recent call last):
File "/home/dylan/work/xicam/Xi-cam/xicam/gui/bluesky/databroker_catalog_plugin.py", line 51, in preview_entry
self.sigPreview.emit(catalog)
TypeError: SearchingCatalogController.sigPreview[BlueskyRun].emit(): argument 1 has unexpected type 'RemoteBlueskyRun'
This is because the signal in SearchingCatalogController is defined to pass BlueskyRun. For a remote catalog, the run is actually a RemoteBlueskyRun, which does not inherit from BlueskyRun.
One option would be to change the signal to accept an object or a Catalog. Not sure the right path there.
The text was updated successfully, but these errors were encountered:
Describe the bug
With a catalog that points to an intake server, the click on a run and note that you do not see a preview in the preview widget. This is accompanied by an error in the log:
Wed Jul 15 13:23:12 2020 - logError - ERROR - MainThread >
The following error was handled safely by Xi-cam. It is displayed here for debugging.
Wed Jul 15 13:23:12 2020 - logError - ERROR - MainThread >
Traceback (most recent call last):
File "/home/dylan/work/xicam/Xi-cam/xicam/gui/bluesky/databroker_catalog_plugin.py", line 51, in preview_entry
self.sigPreview.emit(catalog)
TypeError: SearchingCatalogController.sigPreview[BlueskyRun].emit(): argument 1 has unexpected type 'RemoteBlueskyRun'
This is because the signal in SearchingCatalogController is defined to pass BlueskyRun. For a remote catalog, the run is actually a RemoteBlueskyRun, which does not inherit from BlueskyRun.
One option would be to change the signal to accept an object or a Catalog. Not sure the right path there.
The text was updated successfully, but these errors were encountered: