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

Fix webclient figure scripts dialog #73

Merged
merged 4 commits into from
Nov 22, 2019

Conversation

will-moore
Copy link
Member

Fixes #71

Fixes dialogs for Thumbnail Figure and Split-View Figure.

@joshmoore joshmoore added this to In progress in OMERO.server 5.6.0 (Python 3) via automation Nov 14, 2019
This script is not supported in the views.py code and simply returns an error
@joshmoore
Copy link
Member

Split figure works on merge-ci. 👍

@@ -4396,7 +4396,8 @@ def run_script(request, conn, sId, inputMap, scriptName='Script'):
request.session.modified = True
except Exception as x:
jobId = str(time()) # E.g. 1312803670.6076391
if x.message and x.message.startswith("No processor available"):
if hasattr(x, 'message') and x.message and \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the lack of message due to the change from Py2→Py3 Exceptions (might need something like x.args[0] instead of x.message?)

@manics
Copy link
Member

manics commented Nov 21, 2019

Functionally this works on py3-ci, but check the exception handling

@will-moore
Copy link
Member Author

Ah, good point - will check exception handling...

@joshmoore
Copy link
Member

Merging based on #71 (comment)

@joshmoore joshmoore merged commit 33950eb into ome:master Nov 22, 2019
OMERO.server 5.6.0 (Python 3) automation moved this from In progress to Done Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

webclient figure scripts
3 participants