Task #12328 (closed)
Opened 5 years ago
Closed 5 years ago
Bug: Windows Server 2008 32bit with IIS - root user's avatar is broken in Web
Reported by: | khgillen | Owned by: | atarkowska |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.3 |
Component: | Web | Version: | 5.0.2 |
Keywords: | IIS, avatar | Cc: | ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
The default avatar for the root user is broken on Windows Server 2008 x86 via IIS.
Uploading a new avatar
NameError at /webadmin/myphoto/ global name 'Image' is not defined Request Method: GET Request URL: http://ome-win2008-x86.dyn.lifesci.dundee.ac.uk/omero/webadmin/myphoto/ Django Version: 1.6 Exception Type: NameError Exception Value: global name 'Image' is not defined Exception Location: c:\OMERO.server\lib\python\omeroweb\webclient\webclient_gateway.py in getExperimenterDefaultPhoto, line 773 Python Executable: c:\windows\system32\inetsrv\w3wp.exe Python Version: 2.6.6 Python Path: ['c:\\OMERO.server\\lib\\python', 'C:\\Ice-3.3.1\\python', 'C:\\Windows\\system32\\python26.zip', 'C:\\Python26\\Lib', 'C:\\Python26\\DLLs', 'C:\\Python26\\Lib\\lib-tk', 'c:\\windows\\system32\\inetsrv', 'C:\\Python26', 'C:\\Python26\\lib\\site-packages', 'C:\\Python26\\lib\\site-packages\\win32', 'C:\\Python26\\lib\\site-packages\\win32\\lib', 'C:\\Python26\\lib\\site-packages\\Pythonwin', 'c:\\OMERO.server\\lib\\python', 'c:\\OMERO.server\\lib\\python\\omeroweb', 'c:\\OMERO.server\\lib\\python', 'c:\\OMERO.server\\lib\\python\\omeroweb'] Server time: Wed, 28 May 2014 10:41:39 +0100
It should be noted, at least I and Blazej have seen this before, so I don't suspect it's uniquely introduced with 5.0.2.
Attachments (2)
Change History (6)
Changed 5 years ago by khgillen
comment:1 Changed 5 years ago by jamoore
- Milestone changed from Unscheduled to 5.0.3
comment:2 Changed 5 years ago by wmoore
Kenny, this looks like PIL is missing. You should see some warning in the logs.
You should be able to do:
>>> import Image # or >>> from PIL import Image
comment:3 Changed 5 years ago by atarkowska
- Owner changed from wmoore to atarkowska
comment:4 Changed 5 years ago by atarkowska
- Resolution set to wontfix
- Status changed from new to closed
Closing as there were no comments after pointing to PIL Image lib.
stacktrace when trying to load the image directly