Task #9790 (closed)
Bug: AccessInit hash collision when starting OMERO.web
Reported by: | spli | Owned by: | wmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4.7 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2012-11-20 (2) |
Description
Start OMERO.web, opening localhost:4080 immediately causes server to exit:
$ bin/omero web start 0 static files copied to '/Users/simon/work/openmicroscopy/dist/lib/python/omeroweb/static' (737 unmodified). Starting OMERO.web... Validating models... 0 errors found Django version 1.3.1, using settings 'omeroweb.settings' Development server is running at http://0.0.0.0:4080/ Quit the server with CONTROL-C. AccessInit: hash collision: 3 for both 1 and 1
This has been reported by others as a problem with mixing from PIL import Image / import Image in DJango
http://jaredforsyth.com/blog/2010/apr/28/accessinit-hash-collision-3-both-1-and-1/
Change History (5)
comment:1 Changed 12 years ago by wmoore
- Milestone changed from Unscheduled to OMERO-4.5
- Owner changed from web-team@… to wmoore
- Sprint set to 2012-11-20 (2)
comment:2 Changed 12 years ago by wmoore
- Status changed from new to accepted
comment:3 Changed 12 years ago by wmoore
comment:4 Changed 12 years ago by wmoore
- Resolution set to fixed
- Status changed from accepted to closed
comment:5 Changed 12 years ago by Will Moore <will@…>
(In [c90c95fd81977373a8727a4137db1e8c1f174f56/ome.git] on branch develop) Blitz gateway imports Image from PIL first. See #9790
It seems we're mostly going what is suggested by the link above:
The exception is in gateway/init.py where it is done the other way around:
So let's fix this and see if it works.