We're Hiring!

omero_iviewer 0.3. installing issue

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.

Re: omero_iviewer 0.3. installing issue

Postby wmoore » Tue Oct 24, 2017 10:45 am

Hi both,

I'm trying to understand why your older copies of openwith.js were not replaced by the newer openwith.js when you upgraded iviewer.

After "pip install omero-iviewer" the Last Modified date on the updated /site-packages/omero_iviewer/static/omero_iviewer/openwith.js should be set to the install time, which should be more recent than the old openwith.js in OMERO.web.

So, on omero web restart, the "collectstatic" command should copy over the more recently modified file (https://docs.djangoproject.com/en/1.8/r ... lectstatic).

Are you aware of anything that could have caused the old openwith.js to have a more recent Modified date than the latest pip installed one?

Thanks,

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

Re: omero_iviewer 0.3. installing issue

Postby dsudar » Tue Oct 24, 2017 5:05 pm

Hi Will,

I'm trying to remember what exact steps I took to get into this situation and I'm not sure. I was trying to do both the upgrade to 5.4.0 and the iviewer upgrade to 0.3.0 at the same time. And during the upgrade to 5.4.0 I made a small boo-boo where I had forgotten to copy config.xml to the new OMERO.server location. So when I started omero.server I got all kinds of errors. I then did copy the config.xml (which has all the omero_iviewer config lines) over, started omero.server again and all seemed fine. Then I did the requisite pip upgrades for omero.web incl. the iviewer upgrade to 0.3.0. Then started omero.web and all was fine except for the issue above. Note that I'm running both server and web out of the same OMERO.server location, rather than separate using OMERO.py.

Anyway, also for the remove step fixed the issue. Upon starting omero.web, the new static files were copied and it works fine.

Cheers,
- Damir
dsudar
 
Posts: 235
Joined: Mon May 14, 2012 8:43 pm
Location: Berkeley, CA, USA

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest