Skip to content
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

Preview fails for remote (intake-server) catalog #12

Open
dylanmcreynolds opened this issue Jul 15, 2020 · 0 comments · May be fixed by #13
Open

Preview fails for remote (intake-server) catalog #12

dylanmcreynolds opened this issue Jul 15, 2020 · 0 comments · May be fixed by #13
Labels
bug Something isn't working

Comments

@dylanmcreynolds
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant