We're Hiring!

Debugging PDF Export in OMERO.Figure

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Debugging PDF Export in OMERO.Figure

Postby robpumphrey » Mon Nov 30, 2015 10:35 am

I have installed OMERO.figure 1.2.0 into OMERO 5.2.0 and everything looks to be working correctly except the image export. I believe I have followed all the instructions on the install page.

When I try to export an image, the UI message in the green export button is "Exporting Figure.." but this never ends.

I would appreciate any advice on now to debug this problem.

Rob
robpumphrey
 
Posts: 5
Joined: Thu Apr 30, 2015 11:06 am

Re: Debugging PDF Export in OMERO.Figure

Postby wmoore » Tue Dec 01, 2015 12:22 pm

Hi Rob,

Can you check whether running scripts in the main webclient is working OK?
E.g. pick an image and run script such as "Batch_Image_Export". Does the activities list show that it completed OK (can download zip etc)?

If you have just tried exporting from OMERO.figure then you will also see that activity in the same activities pane, and there may be an info or error available?

If scripts are not working, then you may also find that other actions are failing to show up in the activities panel, such as Delete and moving data to other groups?

On friday we had these exact issues when upgrading to OMERO 5.2.0 on our production server that uses Apache. I will let others give you more details if needed, but we are still trying to work out exactly what the issue is here.
We have worked around it on our production system by switching to nginx.

Regards,
Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Debugging PDF Export in OMERO.Figure

Postby atarkowska » Tue Dec 01, 2015 3:32 pm

Hi, did you deploy OMERO.web on Apache using mod_wsgi? If so you need to add
Code: Select all
WSGIApplicationGroup %{GLOBAL}
to your Apache config like https://github.com/openmicroscopy/openm ... che24.conf

Please let us know more about your deployment, OS, etc.

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Debugging PDF Export in OMERO.Figure

Postby robpumphrey » Tue Dec 01, 2015 3:50 pm

Will,

The mail webclient cannot run scripts. I tried a Batch_Image_Export and it never terminated. I had to restart OMERO.web and the server to get sane performance back again.

Deleting an image in OMERO.web also appears to cause problems with the app. Once a file has been deleted, the web app fails to respond to other actions.

There are no errors in var/log/OMEROweb.log

We are using Apache to front OMERO.web using the wsgi approach described in your docs. I don't think we have the option to move to nginx.

Rob
robpumphrey
 
Posts: 5
Joined: Thu Apr 30, 2015 11:06 am

Re: Debugging PDF Export in OMERO.Figure

Postby atarkowska » Tue Dec 01, 2015 3:54 pm

Rob, we realized that problem with Apache recently, adding WSGIApplicationGroup %{GLOBAL} should solve it.

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Debugging PDF Export in OMERO.Figure

Postby robpumphrey » Tue Dec 01, 2015 3:55 pm

Ola,

Perfect. My Apache config file was missing the entry:

WSGIApplicationGroup %{GLOBAL}

Once added, the app looks to be behaving properly.

Thanks for your suggestions.

Rob
robpumphrey
 
Posts: 5
Joined: Thu Apr 30, 2015 11:06 am

Re: Debugging PDF Export in OMERO.Figure

Postby atarkowska » Tue Dec 01, 2015 3:56 pm

Great, I am glad it's working for you. If you spot any more issues, please let us know imminently.

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest