Page 2 of 2

Re: omero_iviewer 0.3. installing issue

PostPosted: Tue Oct 24, 2017 10:45 am
by wmoore
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.

Re: omero_iviewer 0.3. installing issue

PostPosted: Tue Oct 24, 2017 5:05 pm
by dsudar
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