1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> |
---|
4 | <title>500 - Internal server error.</title> |
---|
5 | <style type="text/css"> |
---|
6 | <!-- |
---|
7 | body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} |
---|
8 | fieldset{padding:0 15px 10px 15px;} |
---|
9 | h1{font-size:2.4em;margin:0;color:#FFF;} |
---|
10 | h2{font-size:1.7em;margin:0;color:#CC0000;} |
---|
11 | h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} |
---|
12 | #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF; |
---|
13 | background-color:#555555;} |
---|
14 | #content{margin:0 0 0 2%;position:relative;} |
---|
15 | .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} |
---|
16 | --> |
---|
17 | </style> |
---|
18 | </head> |
---|
19 | <body> |
---|
20 | <div id="header"><h1>Server Error</h1></div> |
---|
21 | <div id="content"> |
---|
22 | <div class="content-container"><fieldset> |
---|
23 | <h2>500 - Internal server error.</h2> |
---|
24 | <h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3> |
---|
25 | </fieldset></div> |
---|
26 | </div> |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | <meta http-equiv="content-type" content="text/html; charset=windows-1252"> |
---|
34 | <meta name="robots" content="NONE,NOARCHIVE"> |
---|
35 | <title>NameError at /webadmin/myphoto/</title> |
---|
36 | <style type="text/css"> |
---|
37 | html * { padding:0; margin:0; } |
---|
38 | body * { padding:10px 20px; } |
---|
39 | body * * { padding:0; } |
---|
40 | body { font:small sans-serif; } |
---|
41 | body>div { border-bottom:1px solid #ddd; } |
---|
42 | h1 { font-weight:normal; } |
---|
43 | h2 { margin-bottom:.8em; } |
---|
44 | h2 span { font-size:80%; color:#666; font-weight:normal; } |
---|
45 | h3 { margin:1em 0 .5em 0; } |
---|
46 | h4 { margin:0 0 .5em 0; font-weight: normal; } |
---|
47 | code, pre { font-size: 100%; white-space: pre-wrap; } |
---|
48 | table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } |
---|
49 | tbody td, tbody th { vertical-align:top; padding:2px 3px; } |
---|
50 | thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } |
---|
51 | tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } |
---|
52 | table.vars { margin:5px 0 2px 40px; } |
---|
53 | table.vars td, table.req td { font-family:monospace; } |
---|
54 | table td.code { width:100%; } |
---|
55 | table td.code pre { overflow:hidden; } |
---|
56 | table.source th { color:#666; } |
---|
57 | table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } |
---|
58 | ul.traceback { list-style-type:none; color: #222; } |
---|
59 | ul.traceback li.frame { padding-bottom:1em; color:#666; } |
---|
60 | ul.traceback li.user { background-color:#e0e0e0; color:#000 } |
---|
61 | div.context { padding:10px 0; overflow:hidden; } |
---|
62 | div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } |
---|
63 | div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; } |
---|
64 | div.context ol li pre { display:inline; } |
---|
65 | div.context ol.context-line li { color:#505050; background-color:#dfdfdf; } |
---|
66 | div.context ol.context-line li span { position:absolute; right:32px; } |
---|
67 | .user div.context ol.context-line li { background-color:#bbb; color:#000; } |
---|
68 | .user div.context ol li { color:#666; } |
---|
69 | div.commands { margin-left: 40px; } |
---|
70 | div.commands a { color:#555; text-decoration:none; } |
---|
71 | .user div.commands a { color: black; } |
---|
72 | #summary { background: #ffc; } |
---|
73 | #summary h2 { font-weight: normal; color: #666; } |
---|
74 | #explanation { background:#eee; } |
---|
75 | #template, #template-not-exist { background:#f6f6f6; } |
---|
76 | #template-not-exist ul { margin: 0 0 0 20px; } |
---|
77 | #unicode-hint { background:#eee; } |
---|
78 | #traceback { background:#eee; } |
---|
79 | #requestinfo { background:#f6f6f6; padding-left:120px; } |
---|
80 | #summary table { border:none; background:transparent; } |
---|
81 | #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } |
---|
82 | #requestinfo h3 { margin-bottom:-1em; } |
---|
83 | .error { background: #ffc; } |
---|
84 | .specific { color:#cc3300; font-weight:bold; } |
---|
85 | h2 span.commands { font-size:.7em;} |
---|
86 | span.commands a:link {color:#5E5694;} |
---|
87 | pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } |
---|
88 | </style> |
---|
89 | |
---|
90 | <script type="text/javascript"> |
---|
91 | //<!-- |
---|
92 | function getElementsByClassName(oElm, strTagName, strClassName){ |
---|
93 | // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com |
---|
94 | var arrElements = (strTagName == "*" && document.all)? document.all : |
---|
95 | oElm.getElementsByTagName(strTagName); |
---|
96 | var arrReturnElements = new Array(); |
---|
97 | strClassName = strClassName.replace(/\-/g, "\-"); |
---|
98 | var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); |
---|
99 | var oElement; |
---|
100 | for(var i=0; i<arrElements.length; i++){ |
---|
101 | oElement = arrElements[i]; |
---|
102 | if(oRegExp.test(oElement.className)){ |
---|
103 | arrReturnElements.push(oElement); |
---|
104 | } |
---|
105 | } |
---|
106 | return (arrReturnElements) |
---|
107 | } |
---|
108 | function hideAll(elems) { |
---|
109 | for (var e = 0; e < elems.length; e++) { |
---|
110 | elems[e].style.display = 'none'; |
---|
111 | } |
---|
112 | } |
---|
113 | window.onload = function() { |
---|
114 | hideAll(getElementsByClassName(document, 'table', 'vars')); |
---|
115 | hideAll(getElementsByClassName(document, 'ol', 'pre-context')); |
---|
116 | hideAll(getElementsByClassName(document, 'ol', 'post-context')); |
---|
117 | hideAll(getElementsByClassName(document, 'div', 'pastebin')); |
---|
118 | } |
---|
119 | function toggle() { |
---|
120 | for (var i = 0; i < arguments.length; i++) { |
---|
121 | var e = document.getElementById(arguments[i]); |
---|
122 | if (e) { |
---|
123 | e.style.display = e.style.display == 'none' ? 'block' : 'none'; |
---|
124 | } |
---|
125 | } |
---|
126 | return false; |
---|
127 | } |
---|
128 | function varToggle(link, id) { |
---|
129 | toggle('v' + id); |
---|
130 | var s = link.getElementsByTagName('span')[0]; |
---|
131 | var uarr = String.fromCharCode(0x25b6); |
---|
132 | var darr = String.fromCharCode(0x25bc); |
---|
133 | s.innerHTML = s.innerHTML == uarr ? darr : uarr; |
---|
134 | return false; |
---|
135 | } |
---|
136 | function switchPastebinFriendly(link) { |
---|
137 | s1 = "Switch to copy-and-paste view"; |
---|
138 | s2 = "Switch back to interactive view"; |
---|
139 | link.innerHTML = link.innerHTML == s1 ? s2 : s1; |
---|
140 | toggle('browserTraceback', 'pastebinTraceback'); |
---|
141 | return false; |
---|
142 | } |
---|
143 | //--> |
---|
144 | </script> |
---|
145 | |
---|
146 | |
---|
147 | |
---|
148 | <div id="summary"> |
---|
149 | <h1>NameError at /webadmin/myphoto/</h1> |
---|
150 | <pre class="exception_value">global name 'Image' is not defined</pre> |
---|
151 | <table class="meta"> |
---|
152 | |
---|
153 | <tbody><tr> |
---|
154 | <th>Request Method:</th> |
---|
155 | <td>GET</td> |
---|
156 | </tr> |
---|
157 | <tr> |
---|
158 | <th>Request URL:</th> |
---|
159 | <td>http://ome-win2008-x86.dyn.lifesci.dundee.ac.uk/omero/webadmin/myphoto/</td> |
---|
160 | </tr> |
---|
161 | |
---|
162 | <tr> |
---|
163 | <th>Django Version:</th> |
---|
164 | <td>1.6</td> |
---|
165 | </tr> |
---|
166 | |
---|
167 | <tr> |
---|
168 | <th>Exception Type:</th> |
---|
169 | <td>NameError</td> |
---|
170 | </tr> |
---|
171 | |
---|
172 | |
---|
173 | <tr> |
---|
174 | <th>Exception Value:</th> |
---|
175 | <td><pre>global name 'Image' is not defined</pre></td> |
---|
176 | </tr> |
---|
177 | |
---|
178 | |
---|
179 | <tr> |
---|
180 | <th>Exception Location:</th> |
---|
181 | <td>c:\OMERO.server\lib\python\omeroweb\webclient\webclient_gateway.py in getExperimenterDefaultPhoto, line 773</td> |
---|
182 | </tr> |
---|
183 | |
---|
184 | <tr> |
---|
185 | <th>Python Executable:</th> |
---|
186 | <td>c:\windows\system32\inetsrv\w3wp.exe</td> |
---|
187 | </tr> |
---|
188 | <tr> |
---|
189 | <th>Python Version:</th> |
---|
190 | <td>2.6.6</td> |
---|
191 | </tr> |
---|
192 | <tr> |
---|
193 | <th>Python Path:</th> |
---|
194 | <td><pre>['c:\\OMERO.server\\lib\\python', |
---|
195 | 'C:\\Ice-3.3.1\\python', |
---|
196 | 'C:\\Windows\\system32\\python26.zip', |
---|
197 | 'C:\\Python26\\Lib', |
---|
198 | 'C:\\Python26\\DLLs', |
---|
199 | 'C:\\Python26\\Lib\\lib-tk', |
---|
200 | 'c:\\windows\\system32\\inetsrv', |
---|
201 | 'C:\\Python26', |
---|
202 | 'C:\\Python26\\lib\\site-packages', |
---|
203 | 'C:\\Python26\\lib\\site-packages\\win32', |
---|
204 | 'C:\\Python26\\lib\\site-packages\\win32\\lib', |
---|
205 | 'C:\\Python26\\lib\\site-packages\\Pythonwin', |
---|
206 | 'c:\\OMERO.server\\lib\\python', |
---|
207 | 'c:\\OMERO.server\\lib\\python\\omeroweb', |
---|
208 | 'c:\\OMERO.server\\lib\\python', |
---|
209 | 'c:\\OMERO.server\\lib\\python\\omeroweb']</pre></td> |
---|
210 | </tr> |
---|
211 | <tr> |
---|
212 | <th>Server time:</th> |
---|
213 | <td>Wed, 28 May 2014 10:41:39 +0100</td> |
---|
214 | </tr> |
---|
215 | </tbody></table> |
---|
216 | </div> |
---|
217 | |
---|
218 | |
---|
219 | |
---|
220 | |
---|
221 | <div id="traceback"> |
---|
222 | <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2> |
---|
223 | |
---|
224 | <div id="browserTraceback"> |
---|
225 | <ul class="traceback"> |
---|
226 | |
---|
227 | <li class="frame django"> |
---|
228 | <code>c:\OMERO.server\lib\python\django\core\handlers\base.py</code> in <code>get_response</code> |
---|
229 | |
---|
230 | |
---|
231 | <div class="context" id="c65027768"> |
---|
232 | |
---|
233 | <ol style="display: none;" start="107" class="pre-context" id="pre65027768"><li onclick="toggle('pre65027768', 'post65027768')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> if response:</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> break</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre></pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> if response is None:</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> try:</pre></li></ol> |
---|
234 | |
---|
235 | <ol start="114" class="context-line"><li onclick="toggle('pre65027768', 'post65027768')"><pre> response = wrapped_callback(request, *callback_args, **callback_kwargs)</pre> <span>...</span></li></ol> |
---|
236 | |
---|
237 | <ol style="display: none;" start="115" class="post-context" id="post65027768"><li onclick="toggle('pre65027768', 'post65027768')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> # If the view raised an exception, run it through exception</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> # middleware, and if the exception middleware returns a</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> # response, use that. Otherwise, reraise the exception.</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> for middleware_method in self._exception_middleware:</pre></li><li onclick="toggle('pre65027768', 'post65027768')"><pre> response = middleware_method(request, e)</pre></li></ol> |
---|
238 | |
---|
239 | </div> |
---|
240 | |
---|
241 | |
---|
242 | |
---|
243 | <div class="commands"> |
---|
244 | |
---|
245 | <a href="#" onclick="return varToggle(this, '65027768')"><span>▶</span> Local vars</a> |
---|
246 | |
---|
247 | </div> |
---|
248 | <table style="display: none;" class="vars" id="v65027768"> |
---|
249 | <thead> |
---|
250 | <tr> |
---|
251 | <th>Variable</th> |
---|
252 | <th>Value</th> |
---|
253 | </tr> |
---|
254 | </thead> |
---|
255 | <tbody> |
---|
256 | |
---|
257 | <tr> |
---|
258 | <td>e</td> |
---|
259 | <td class="code"><pre>NameError("global name 'Image' is not defined",)</pre></td> |
---|
260 | </tr> |
---|
261 | |
---|
262 | <tr> |
---|
263 | <td>callback_args</td> |
---|
264 | <td class="code"><pre>()</pre></td> |
---|
265 | </tr> |
---|
266 | |
---|
267 | <tr> |
---|
268 | <td>resolver_match</td> |
---|
269 | <td class="code"><pre>ResolverMatch(func=<function myphoto at 0x03FCD5B0>, args=(), kwargs={}, url_name='wamyphoto', app_name='None', namespace='')</pre></td> |
---|
270 | </tr> |
---|
271 | |
---|
272 | <tr> |
---|
273 | <td>middleware_method</td> |
---|
274 | <td class="code"><pre><bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x037B1FD0>></pre></td> |
---|
275 | </tr> |
---|
276 | |
---|
277 | <tr> |
---|
278 | <td>self</td> |
---|
279 | <td class="code"><pre><omero_web_iis.SerialWSGIHandler object at 0x037782B0></pre></td> |
---|
280 | </tr> |
---|
281 | |
---|
282 | <tr> |
---|
283 | <td>request</td> |
---|
284 | <td class="code"><pre>"<WSGIRequest\npath:/omero/webadmin/myphoto/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__utma': '161872929.1945977058.1352844181.1399038765.1399040813.67',\n '__utmc': '195911481',\n '__utmz': '161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)',\n '_ga': 'GA1.3.1218479263.1352388325',\n 'sessionid': 'k5zyvcin5v2pkx9q31wzbcmvraih7tnu',\n 'uod_splash': 'false',\n 'uodcookiesnoticehide': 'true'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Roaming',\n 'APP_POOL_ID': 'DefaultAppPool',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'OME-WIN2008-X86',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '0',\n 'CONTENT_TYPE': '',\n 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'HTTPS': 'off',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en-us;q=0.7,en;q=0.3',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': '__utma=195911481.1218479263.1352388325.1399985266.1400065548.50; __utmz=195911481.1400065548.50.32.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utma=161872929.1945977058.1352844181.1399038765.1399040813.67; __utmz=161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); uodcookiesnoticehide=true; uod_splash=false; _ga=GA1.3.1218479263.1352388325; __utmc=195911481; sessionid=k5zyvcin5v2pkx9q31wzbcmvraih7tnu',\n 'HTTP_HOST': 'ome-win2008-x86.dyn.lifesci.dundee.ac.uk',\n 'HTTP_REFERER': 'http://ome-win2008-x86.dyn.lifesci.dundee.ac.uk/omero/webadmin/myaccount/edit/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0',\n 'IIS_EXTENSION_PATH': '/omero',\n 'LOCALAPPDATA': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Local',\n 'NUMBER_OF_PROCESSORS': '2',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Python26;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Ice-3.3.1\\\\bin;C:\\\\Program Files\\\\PostgreSQL\\\\9.2\\\\bin;C:\\\\Program Files\\\\Aperio\\\\Common',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',\n 'PATH_INFO': u'/webadmin/myphoto/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 46 Stepping 6, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '2e06',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYTHONPATH': 'C:\\\\Ice-3.3.1\\\\python',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.31.0.29',\n 'REMOTE_USER': '',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'/omero',\n 'SERVER_NAME': 'ome-win2008-x86.dyn.lifesci.dundee.ac.uk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Windows\\\\TEMP',\n 'TMP': 'C:\\\\Windows\\\\TEMP',\n 'USERDOMAIN': 'LIFESCI-AD',\n 'USERNAME': 'OME-WIN2008-X86$',\n 'USERPROFILE': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile',\n 'WINDIR': 'C:\\\\Windows',\n 'isapi.ecb': <EXTENSION_CONTROL_BLOCK object at 0x04791740>,\n 'wsgi.errors': <PyTraceObject object at 0x03790160>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x03793A80>,\n 'wsgi.input': <isapi_wsgi.ISAPIInputWrapper instance at 0x0456E5A8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td> |
---|
285 | </tr> |
---|
286 | |
---|
287 | <tr> |
---|
288 | <td>callback</td> |
---|
289 | <td class="code"><pre><function myphoto at 0x03FCD5B0></pre></td> |
---|
290 | </tr> |
---|
291 | |
---|
292 | <tr> |
---|
293 | <td>wrapped_callback</td> |
---|
294 | <td class="code"><pre><function myphoto at 0x03FCD5B0></pre></td> |
---|
295 | </tr> |
---|
296 | |
---|
297 | <tr> |
---|
298 | <td>resolver</td> |
---|
299 | <td class="code"><pre><RegexURLResolver 'omeroweb.urls' (None:None) ^/></pre></td> |
---|
300 | </tr> |
---|
301 | |
---|
302 | <tr> |
---|
303 | <td>callback_kwargs</td> |
---|
304 | <td class="code"><pre>{}</pre></td> |
---|
305 | </tr> |
---|
306 | |
---|
307 | <tr> |
---|
308 | <td>response</td> |
---|
309 | <td class="code"><pre>None</pre></td> |
---|
310 | </tr> |
---|
311 | |
---|
312 | <tr> |
---|
313 | <td>urlconf</td> |
---|
314 | <td class="code"><pre>'omeroweb.urls'</pre></td> |
---|
315 | </tr> |
---|
316 | |
---|
317 | </tbody> |
---|
318 | </table> |
---|
319 | |
---|
320 | </li> |
---|
321 | |
---|
322 | <li class="frame user"> |
---|
323 | <code>c:\OMERO.server\lib\python\omeroweb\decorators.py</code> in <code>wrapped</code> |
---|
324 | |
---|
325 | |
---|
326 | <div class="context" id="c65026528"> |
---|
327 | |
---|
328 | <ol style="display: none;" start="380" class="pre-context" id="pre65026528"><li onclick="toggle('pre65026528', 'post65026528')"><pre> kwargs['conn'] = conn_share</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> else:</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> kwargs['conn'] = conn</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre></pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> #kwargs['error'] = request.REQUEST.get('error')</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> kwargs['url'] = url</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre></pre></li></ol> |
---|
329 | |
---|
330 | <ol start="387" class="context-line"><li onclick="toggle('pre65026528', 'post65026528')"><pre> retval = f(request, *args, **kwargs)</pre> <span>...</span></li></ol> |
---|
331 | |
---|
332 | <ol style="display: none;" start="388" class="post-context" id="post65026528"><li onclick="toggle('pre65026528', 'post65026528')"><pre> try:</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> logger.debug('Doing connection cleanup? %s' % \</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> doConnectionCleanup)</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> if doConnectionCleanup:</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> if conn is not None and conn.c is not None:</pre></li><li onclick="toggle('pre65026528', 'post65026528')"><pre> for v in conn._proxies.values():</pre></li></ol> |
---|
333 | |
---|
334 | </div> |
---|
335 | |
---|
336 | |
---|
337 | |
---|
338 | <div class="commands"> |
---|
339 | |
---|
340 | <a href="#" onclick="return varToggle(this, '65026528')"><span>▶</span> Local vars</a> |
---|
341 | |
---|
342 | </div> |
---|
343 | <table style="display: none;" class="vars" id="v65026528"> |
---|
344 | <thead> |
---|
345 | <tr> |
---|
346 | <th>Variable</th> |
---|
347 | <th>Value</th> |
---|
348 | </tr> |
---|
349 | </thead> |
---|
350 | <tbody> |
---|
351 | |
---|
352 | <tr> |
---|
353 | <td>server_id</td> |
---|
354 | <td class="code"><pre>None</pre></td> |
---|
355 | </tr> |
---|
356 | |
---|
357 | <tr> |
---|
358 | <td>share_id</td> |
---|
359 | <td class="code"><pre>None</pre></td> |
---|
360 | </tr> |
---|
361 | |
---|
362 | <tr> |
---|
363 | <td>conn_share</td> |
---|
364 | <td class="code"><pre>None</pre></td> |
---|
365 | </tr> |
---|
366 | |
---|
367 | <tr> |
---|
368 | <td>f</td> |
---|
369 | <td class="code"><pre><function myphoto at 0x03FCD570></pre></td> |
---|
370 | </tr> |
---|
371 | |
---|
372 | <tr> |
---|
373 | <td>url</td> |
---|
374 | <td class="code"><pre>u'/omero/webadmin/myphoto/'</pre></td> |
---|
375 | </tr> |
---|
376 | |
---|
377 | <tr> |
---|
378 | <td>request</td> |
---|
379 | <td class="code"><pre>"<WSGIRequest\npath:/omero/webadmin/myphoto/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__utma': '161872929.1945977058.1352844181.1399038765.1399040813.67',\n '__utmc': '195911481',\n '__utmz': '161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)',\n '_ga': 'GA1.3.1218479263.1352388325',\n 'sessionid': 'k5zyvcin5v2pkx9q31wzbcmvraih7tnu',\n 'uod_splash': 'false',\n 'uodcookiesnoticehide': 'true'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Roaming',\n 'APP_POOL_ID': 'DefaultAppPool',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'OME-WIN2008-X86',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '0',\n 'CONTENT_TYPE': '',\n 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'HTTPS': 'off',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en-us;q=0.7,en;q=0.3',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': '__utma=195911481.1218479263.1352388325.1399985266.1400065548.50; __utmz=195911481.1400065548.50.32.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utma=161872929.1945977058.1352844181.1399038765.1399040813.67; __utmz=161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); uodcookiesnoticehide=true; uod_splash=false; _ga=GA1.3.1218479263.1352388325; __utmc=195911481; sessionid=k5zyvcin5v2pkx9q31wzbcmvraih7tnu',\n 'HTTP_HOST': 'ome-win2008-x86.dyn.lifesci.dundee.ac.uk',\n 'HTTP_REFERER': 'http://ome-win2008-x86.dyn.lifesci.dundee.ac.uk/omero/webadmin/myaccount/edit/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0',\n 'IIS_EXTENSION_PATH': '/omero',\n 'LOCALAPPDATA': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Local',\n 'NUMBER_OF_PROCESSORS': '2',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Python26;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Ice-3.3.1\\\\bin;C:\\\\Program Files\\\\PostgreSQL\\\\9.2\\\\bin;C:\\\\Program Files\\\\Aperio\\\\Common',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',\n 'PATH_INFO': u'/webadmin/myphoto/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 46 Stepping 6, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '2e06',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYTHONPATH': 'C:\\\\Ice-3.3.1\\\\python',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.31.0.29',\n 'REMOTE_USER': '',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'/omero',\n 'SERVER_NAME': 'ome-win2008-x86.dyn.lifesci.dundee.ac.uk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Windows\\\\TEMP',\n 'TMP': 'C:\\\\Windows\\\\TEMP',\n 'USERDOMAIN': 'LIFESCI-AD',\n 'USERNAME': 'OME-WIN2008-X86$',\n 'USERPROFILE': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile',\n 'WINDIR': 'C:\\\\Windows',\n 'isapi.ecb': <EXTENSION_CONTROL_BLOCK object at 0x04791740>,\n 'wsgi.errors': <PyTraceObject object at 0x03790160>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x03793A80>,\n 'wsgi.input': <isapi_wsgi.ISAPIInputWrapper instance at 0x0456E5A8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td> |
---|
380 | </tr> |
---|
381 | |
---|
382 | <tr> |
---|
383 | <td>args</td> |
---|
384 | <td class="code"><pre>()</pre></td> |
---|
385 | </tr> |
---|
386 | |
---|
387 | <tr> |
---|
388 | <td>ctx</td> |
---|
389 | <td class="code"><pre><omeroweb.webclient.decorators.login_required object at 0x03FCB3D0></pre></td> |
---|
390 | </tr> |
---|
391 | |
---|
392 | <tr> |
---|
393 | <td>doConnectionCleanup</td> |
---|
394 | <td class="code"><pre>True</pre></td> |
---|
395 | </tr> |
---|
396 | |
---|
397 | <tr> |
---|
398 | <td>error</td> |
---|
399 | <td class="code"><pre>None</pre></td> |
---|
400 | </tr> |
---|
401 | |
---|
402 | <tr> |
---|
403 | <td>kwargs</td> |
---|
404 | <td class="code"><pre>{'conn': <omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x0443AA90>, |
---|
405 | 'url': u'/omero/webadmin/myphoto/'}</pre></td> |
---|
406 | </tr> |
---|
407 | |
---|
408 | <tr> |
---|
409 | <td>conn</td> |
---|
410 | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x0443AA90></pre></td> |
---|
411 | </tr> |
---|
412 | |
---|
413 | </tbody> |
---|
414 | </table> |
---|
415 | |
---|
416 | </li> |
---|
417 | |
---|
418 | <li class="frame user"> |
---|
419 | <code>c:\OMERO.server\lib\python\omeroweb\webadmin\views.py</code> in <code>myphoto</code> |
---|
420 | |
---|
421 | |
---|
422 | <div class="context" id="c65026968"> |
---|
423 | |
---|
424 | <ol style="display: none;" start="779" class="pre-context" id="pre65026968"><li onclick="toggle('pre65026968', 'post65026968')"><pre> context['freeSpace'] = conn.getFreeSpace()</pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre> context['template'] = template</pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre> return context</pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre></pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre></pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre>@login_required()</pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre>def myphoto(request, conn=None, **kwargs):</pre></li></ol> |
---|
425 | |
---|
426 | <ol start="786" class="context-line"><li onclick="toggle('pre65026968', 'post65026968')"><pre> photo = conn.getExperimenterPhoto()</pre> <span>...</span></li></ol> |
---|
427 | |
---|
428 | <ol style="display: none;" start="787" class="post-context" id="post65026968"><li onclick="toggle('pre65026968', 'post65026968')"><pre> return HttpResponse(photo, mimetype='image/jpeg')</pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre></pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre></pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre>@login_required()</pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre>@render_response_admin()</pre></li><li onclick="toggle('pre65026968', 'post65026968')"><pre>def manage_avatar(request, action=None, conn=None, **kwargs):</pre></li></ol> |
---|
429 | |
---|
430 | </div> |
---|
431 | |
---|
432 | |
---|
433 | |
---|
434 | <div class="commands"> |
---|
435 | |
---|
436 | <a href="#" onclick="return varToggle(this, '65026968')"><span>▶</span> Local vars</a> |
---|
437 | |
---|
438 | </div> |
---|
439 | <table style="display: none;" class="vars" id="v65026968"> |
---|
440 | <thead> |
---|
441 | <tr> |
---|
442 | <th>Variable</th> |
---|
443 | <th>Value</th> |
---|
444 | </tr> |
---|
445 | </thead> |
---|
446 | <tbody> |
---|
447 | |
---|
448 | <tr> |
---|
449 | <td>request</td> |
---|
450 | <td class="code"><pre>"<WSGIRequest\npath:/omero/webadmin/myphoto/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__utma': '161872929.1945977058.1352844181.1399038765.1399040813.67',\n '__utmc': '195911481',\n '__utmz': '161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)',\n '_ga': 'GA1.3.1218479263.1352388325',\n 'sessionid': 'k5zyvcin5v2pkx9q31wzbcmvraih7tnu',\n 'uod_splash': 'false',\n 'uodcookiesnoticehide': 'true'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Roaming',\n 'APP_POOL_ID': 'DefaultAppPool',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'OME-WIN2008-X86',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '0',\n 'CONTENT_TYPE': '',\n 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'HTTPS': 'off',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en-us;q=0.7,en;q=0.3',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': '__utma=195911481.1218479263.1352388325.1399985266.1400065548.50; __utmz=195911481.1400065548.50.32.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utma=161872929.1945977058.1352844181.1399038765.1399040813.67; __utmz=161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); uodcookiesnoticehide=true; uod_splash=false; _ga=GA1.3.1218479263.1352388325; __utmc=195911481; sessionid=k5zyvcin5v2pkx9q31wzbcmvraih7tnu',\n 'HTTP_HOST': 'ome-win2008-x86.dyn.lifesci.dundee.ac.uk',\n 'HTTP_REFERER': 'http://ome-win2008-x86.dyn.lifesci.dundee.ac.uk/omero/webadmin/myaccount/edit/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0',\n 'IIS_EXTENSION_PATH': '/omero',\n 'LOCALAPPDATA': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\AppData\\\\Local',\n 'NUMBER_OF_PROCESSORS': '2',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Python26;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Ice-3.3.1\\\\bin;C:\\\\Program Files\\\\PostgreSQL\\\\9.2\\\\bin;C:\\\\Program Files\\\\Aperio\\\\Common',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',\n 'PATH_INFO': u'/webadmin/myphoto/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 46 Stepping 6, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '2e06',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYTHONPATH': 'C:\\\\Ice-3.3.1\\\\python',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.31.0.29',\n 'REMOTE_USER': '',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'/omero',\n 'SERVER_NAME': 'ome-win2008-x86.dyn.lifesci.dundee.ac.uk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Windows\\\\TEMP',\n 'TMP': 'C:\\\\Windows\\\\TEMP',\n 'USERDOMAIN': 'LIFESCI-AD',\n 'USERNAME': 'OME-WIN2008-X86$',\n 'USERPROFILE': 'C:\\\\Windows\\\\system32\\\\config\\\\systemprofile',\n 'WINDIR': 'C:\\\\Windows',\n 'isapi.ecb': <EXTENSION_CONTROL_BLOCK object at 0x04791740>,\n 'wsgi.errors': <PyTraceObject object at 0x03790160>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x03793A80>,\n 'wsgi.input': <isapi_wsgi.ISAPIInputWrapper instance at 0x0456E5A8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td> |
---|
451 | </tr> |
---|
452 | |
---|
453 | <tr> |
---|
454 | <td>conn</td> |
---|
455 | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x0443AA90></pre></td> |
---|
456 | </tr> |
---|
457 | |
---|
458 | <tr> |
---|
459 | <td>kwargs</td> |
---|
460 | <td class="code"><pre>{'url': u'/omero/webadmin/myphoto/'}</pre></td> |
---|
461 | </tr> |
---|
462 | |
---|
463 | </tbody> |
---|
464 | </table> |
---|
465 | |
---|
466 | </li> |
---|
467 | |
---|
468 | <li class="frame user"> |
---|
469 | <code>c:\OMERO.server\lib\python\omeroweb\webclient\webclient_gateway.py</code> in <code>getExperimenterPhoto</code> |
---|
470 | |
---|
471 | |
---|
472 | <div class="context" id="c65026048"> |
---|
473 | |
---|
474 | <ol style="display: none;" start="652" class="pre-context" id="pre65026048"><li onclick="toggle('pre65026048', 'post65026048')"><pre> photo = store.read(0, long(ann.file.size.val))</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> finally:</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> store.close()</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> else:</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> photo = self.getExperimenterDefaultPhoto()</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> except:</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> logger.error(traceback.format_exc())</pre></li></ol> |
---|
475 | |
---|
476 | <ol start="659" class="context-line"><li onclick="toggle('pre65026048', 'post65026048')"><pre> photo = self.getExperimenterDefaultPhoto()</pre> <span>...</span></li></ol> |
---|
477 | |
---|
478 | <ol style="display: none;" start="660" class="post-context" id="post65026048"><li onclick="toggle('pre65026048', 'post65026048')"><pre> if photo == None:</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> photo = self.getExperimenterDefaultPhoto() </pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> return photo</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> </pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> def getExperimenterPhotoSize(self, oid=None):</pre></li><li onclick="toggle('pre65026048', 'post65026048')"><pre> """</pre></li></ol> |
---|
479 | |
---|
480 | </div> |
---|
481 | |
---|
482 | |
---|
483 | |
---|
484 | <div class="commands"> |
---|
485 | |
---|
486 | <a href="#" onclick="return varToggle(this, '65026048')"><span>▶</span> Local vars</a> |
---|
487 | |
---|
488 | </div> |
---|
489 | <table style="display: none;" class="vars" id="v65026048"> |
---|
490 | <thead> |
---|
491 | <tr> |
---|
492 | <th>Variable</th> |
---|
493 | <th>Value</th> |
---|
494 | </tr> |
---|
495 | </thead> |
---|
496 | <tbody> |
---|
497 | |
---|
498 | <tr> |
---|
499 | <td>photo</td> |
---|
500 | <td class="code"><pre>None</pre></td> |
---|
501 | </tr> |
---|
502 | |
---|
503 | <tr> |
---|
504 | <td>ann</td> |
---|
505 | <td class="code"><pre>[]</pre></td> |
---|
506 | </tr> |
---|
507 | |
---|
508 | <tr> |
---|
509 | <td>meta</td> |
---|
510 | <td class="code"><pre><omero.gateway.ProxyObjectWrapper object at 0x03C44BB0></pre></td> |
---|
511 | </tr> |
---|
512 | |
---|
513 | <tr> |
---|
514 | <td>self</td> |
---|
515 | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x0443AA90></pre></td> |
---|
516 | </tr> |
---|
517 | |
---|
518 | <tr> |
---|
519 | <td>oid</td> |
---|
520 | <td class="code"><pre>None</pre></td> |
---|
521 | </tr> |
---|
522 | |
---|
523 | </tbody> |
---|
524 | </table> |
---|
525 | |
---|
526 | </li> |
---|
527 | |
---|
528 | <li class="frame user"> |
---|
529 | <code>c:\OMERO.server\lib\python\omeroweb\webclient\webclient_gateway.py</code> in <code>getExperimenterDefaultPhoto</code> |
---|
530 | |
---|
531 | |
---|
532 | <div class="context" id="c65026408"> |
---|
533 | |
---|
534 | <ol style="display: none;" start="766" class="pre-context" id="pre65026408"><li onclick="toggle('pre65026408', 'post65026408')"><pre> "openmicroscopy.org/omero/experimenter/photo" (NSEXPERIMENTERPHOTO) </pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> is not linked to experimenter this method generate default picture of the person.</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> </pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> @return Data from the image.</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> @rtype String</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> """</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> </pre></li></ol> |
---|
535 | |
---|
536 | <ol start="773" class="context-line"><li onclick="toggle('pre65026408', 'post65026408')"><pre> img = Image.open(settings.DEFAULT_USER)</pre> <span>...</span></li></ol> |
---|
537 | |
---|
538 | <ol style="display: none;" start="774" class="post-context" id="post65026408"><li onclick="toggle('pre65026408', 'post65026408')"><pre> img.thumbnail((150,150), Image.ANTIALIAS)</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> f = cStringIO.StringIO()</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> img.save(f, "PNG")</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> f.seek(0)</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> return f.read()</pre></li><li onclick="toggle('pre65026408', 'post65026408')"><pre> </pre></li></ol> |
---|
539 | |
---|
540 | </div> |
---|
541 | |
---|
542 | |
---|
543 | |
---|
544 | <div class="commands"> |
---|
545 | |
---|
546 | <a href="#" onclick="return varToggle(this, '65026408')"><span>▶</span> Local vars</a> |
---|
547 | |
---|
548 | </div> |
---|
549 | <table style="display: none;" class="vars" id="v65026408"> |
---|
550 | <thead> |
---|
551 | <tr> |
---|
552 | <th>Variable</th> |
---|
553 | <th>Value</th> |
---|
554 | </tr> |
---|
555 | </thead> |
---|
556 | <tbody> |
---|
557 | |
---|
558 | <tr> |
---|
559 | <td>self</td> |
---|
560 | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x0443AA90></pre></td> |
---|
561 | </tr> |
---|
562 | |
---|
563 | </tbody> |
---|
564 | </table> |
---|
565 | |
---|
566 | </li> |
---|
567 | |
---|
568 | </ul> |
---|
569 | </div> |
---|
570 | |
---|
571 | <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> |
---|
572 | |
---|
573 | <div style="display: none;" id="pastebinTraceback" class="pastebin"> |
---|
574 | <input name="language" value="PythonConsole" type="hidden"> |
---|
575 | <input name="title" value="NameError at /webadmin/myphoto/" type="hidden"> |
---|
576 | <input name="source" value="Django Dpaste Agent" type="hidden"> |
---|
577 | <input name="poster" value="Django" type="hidden"> |
---|
578 | <textarea name="content" id="traceback_area" cols="140" rows="25">Environment: |
---|
579 | |
---|
580 | |
---|
581 | Request Method: GET |
---|
582 | Request URL: http://ome-win2008-x86.dyn.lifesci.dundee.ac.uk/omero/webadmin/myphoto/ |
---|
583 | |
---|
584 | Django Version: 1.6 |
---|
585 | Python Version: 2.6.6 |
---|
586 | Installed Applications: |
---|
587 | ('django.contrib.staticfiles', |
---|
588 | 'django.contrib.auth', |
---|
589 | 'django.contrib.contenttypes', |
---|
590 | 'django.contrib.sessions', |
---|
591 | 'django.contrib.sites', |
---|
592 | 'omeroweb.feedback', |
---|
593 | 'omeroweb.webadmin', |
---|
594 | 'omeroweb.webclient', |
---|
595 | 'omeroweb.webgateway', |
---|
596 | 'omeroweb.webtest', |
---|
597 | 'omeroweb.webredirect', |
---|
598 | 'omeroweb.webstart') |
---|
599 | Installed Middleware: |
---|
600 | ('django.middleware.common.CommonMiddleware', |
---|
601 | 'django.contrib.sessions.middleware.SessionMiddleware', |
---|
602 | 'django.contrib.messages.middleware.MessageMiddleware') |
---|
603 | |
---|
604 | |
---|
605 | Traceback: |
---|
606 | File "c:\OMERO.server\lib\python\django\core\handlers\base.py" in get_response |
---|
607 | 114. response = wrapped_callback(request, *callback_args, **callback_kwargs) |
---|
608 | File "c:\OMERO.server\lib\python\omeroweb\decorators.py" in wrapped |
---|
609 | 387. retval = f(request, *args, **kwargs) |
---|
610 | File "c:\OMERO.server\lib\python\omeroweb\webadmin\views.py" in myphoto |
---|
611 | 786. photo = conn.getExperimenterPhoto() |
---|
612 | File "c:\OMERO.server\lib\python\omeroweb\webclient\webclient_gateway.py" in getExperimenterPhoto |
---|
613 | 659. photo = self.getExperimenterDefaultPhoto() |
---|
614 | File "c:\OMERO.server\lib\python\omeroweb\webclient\webclient_gateway.py" in getExperimenterDefaultPhoto |
---|
615 | 773. img = Image.open(settings.DEFAULT_USER) |
---|
616 | |
---|
617 | Exception Type: NameError at /webadmin/myphoto/ |
---|
618 | Exception Value: global name 'Image' is not defined |
---|
619 | </textarea> |
---|
620 | <br><br> |
---|
621 | <input value="Share this traceback on a public Web site" type="submit"> |
---|
622 | </div> |
---|
623 | </form> |
---|
624 | </div> |
---|
625 | |
---|
626 | |
---|
627 | |
---|
628 | <div id="requestinfo"> |
---|
629 | <h2>Request information</h2> |
---|
630 | |
---|
631 | |
---|
632 | <h3 id="get-info">GET</h3> |
---|
633 | |
---|
634 | <p>No GET data</p> |
---|
635 | |
---|
636 | |
---|
637 | <h3 id="post-info">POST</h3> |
---|
638 | |
---|
639 | <p>No POST data</p> |
---|
640 | |
---|
641 | <h3 id="files-info">FILES</h3> |
---|
642 | |
---|
643 | <p>No FILES data</p> |
---|
644 | |
---|
645 | |
---|
646 | |
---|
647 | <h3 id="cookie-info">COOKIES</h3> |
---|
648 | |
---|
649 | <table class="req"> |
---|
650 | <thead> |
---|
651 | <tr> |
---|
652 | <th>Variable</th> |
---|
653 | <th>Value</th> |
---|
654 | </tr> |
---|
655 | </thead> |
---|
656 | <tbody> |
---|
657 | |
---|
658 | <tr> |
---|
659 | <td>__utmz</td> |
---|
660 | <td class="code"><pre>'161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)'</pre></td> |
---|
661 | </tr> |
---|
662 | |
---|
663 | <tr> |
---|
664 | <td>uodcookiesnoticehide</td> |
---|
665 | <td class="code"><pre>'true'</pre></td> |
---|
666 | </tr> |
---|
667 | |
---|
668 | <tr> |
---|
669 | <td>uod_splash</td> |
---|
670 | <td class="code"><pre>'false'</pre></td> |
---|
671 | </tr> |
---|
672 | |
---|
673 | <tr> |
---|
674 | <td>_ga</td> |
---|
675 | <td class="code"><pre>'GA1.3.1218479263.1352388325'</pre></td> |
---|
676 | </tr> |
---|
677 | |
---|
678 | <tr> |
---|
679 | <td>sessionid</td> |
---|
680 | <td class="code"><pre>'k5zyvcin5v2pkx9q31wzbcmvraih7tnu'</pre></td> |
---|
681 | </tr> |
---|
682 | |
---|
683 | <tr> |
---|
684 | <td>__utma</td> |
---|
685 | <td class="code"><pre>'161872929.1945977058.1352844181.1399038765.1399040813.67'</pre></td> |
---|
686 | </tr> |
---|
687 | |
---|
688 | <tr> |
---|
689 | <td>__utmc</td> |
---|
690 | <td class="code"><pre>'195911481'</pre></td> |
---|
691 | </tr> |
---|
692 | |
---|
693 | </tbody> |
---|
694 | </table> |
---|
695 | |
---|
696 | |
---|
697 | <h3 id="meta-info">META</h3> |
---|
698 | <table class="req"> |
---|
699 | <thead> |
---|
700 | <tr> |
---|
701 | <th>Variable</th> |
---|
702 | <th>Value</th> |
---|
703 | </tr> |
---|
704 | </thead> |
---|
705 | <tbody> |
---|
706 | |
---|
707 | <tr> |
---|
708 | <td>TMP</td> |
---|
709 | <td class="code"><pre>'C:\\Windows\\TEMP'</pre></td> |
---|
710 | </tr> |
---|
711 | |
---|
712 | <tr> |
---|
713 | <td>COMPUTERNAME</td> |
---|
714 | <td class="code"><pre>'OME-WIN2008-X86'</pre></td> |
---|
715 | </tr> |
---|
716 | |
---|
717 | <tr> |
---|
718 | <td>HTTP_REFERER</td> |
---|
719 | <td class="code"><pre>'http://ome-win2008-x86.dyn.lifesci.dundee.ac.uk/omero/webadmin/myaccount/edit/'</pre></td> |
---|
720 | </tr> |
---|
721 | |
---|
722 | <tr> |
---|
723 | <td>USERDOMAIN</td> |
---|
724 | <td class="code"><pre>'LIFESCI-AD'</pre></td> |
---|
725 | </tr> |
---|
726 | |
---|
727 | <tr> |
---|
728 | <td>SCRIPT_NAME</td> |
---|
729 | <td class="code"><pre>u'/omero'</pre></td> |
---|
730 | </tr> |
---|
731 | |
---|
732 | <tr> |
---|
733 | <td>COMMONPROGRAMFILES</td> |
---|
734 | <td class="code"><pre>'C:\\Program Files\\Common Files'</pre></td> |
---|
735 | </tr> |
---|
736 | |
---|
737 | <tr> |
---|
738 | <td>REQUEST_METHOD</td> |
---|
739 | <td class="code"><pre>'GET'</pre></td> |
---|
740 | </tr> |
---|
741 | |
---|
742 | <tr> |
---|
743 | <td>SERVER_PROTOCOL</td> |
---|
744 | <td class="code"><pre>'HTTP/1.1'</pre></td> |
---|
745 | </tr> |
---|
746 | |
---|
747 | <tr> |
---|
748 | <td>SYSTEMROOT</td> |
---|
749 | <td class="code"><pre>'C:\\Windows'</pre></td> |
---|
750 | </tr> |
---|
751 | |
---|
752 | <tr> |
---|
753 | <td>CONTENT_LENGTH</td> |
---|
754 | <td class="code"><pre>'0'</pre></td> |
---|
755 | </tr> |
---|
756 | |
---|
757 | <tr> |
---|
758 | <td>PROCESSOR_ARCHITECTURE</td> |
---|
759 | <td class="code"><pre>'x86'</pre></td> |
---|
760 | </tr> |
---|
761 | |
---|
762 | <tr> |
---|
763 | <td>ALLUSERSPROFILE</td> |
---|
764 | <td class="code"><pre>'C:\\ProgramData'</pre></td> |
---|
765 | </tr> |
---|
766 | |
---|
767 | <tr> |
---|
768 | <td>APP_POOL_ID</td> |
---|
769 | <td class="code"><pre>'DefaultAppPool'</pre></td> |
---|
770 | </tr> |
---|
771 | |
---|
772 | <tr> |
---|
773 | <td>SERVER_PORT</td> |
---|
774 | <td class="code"><pre>'80'</pre></td> |
---|
775 | </tr> |
---|
776 | |
---|
777 | <tr> |
---|
778 | <td>USERNAME</td> |
---|
779 | <td class="code"><pre>'OME-WIN2008-X86$'</pre></td> |
---|
780 | </tr> |
---|
781 | |
---|
782 | <tr> |
---|
783 | <td>COMSPEC</td> |
---|
784 | <td class="code"><pre>'C:\\Windows\\system32\\cmd.exe'</pre></td> |
---|
785 | </tr> |
---|
786 | |
---|
787 | <tr> |
---|
788 | <td>PYTHONPATH</td> |
---|
789 | <td class="code"><pre>'C:\\Ice-3.3.1\\python'</pre></td> |
---|
790 | </tr> |
---|
791 | |
---|
792 | <tr> |
---|
793 | <td>HTTP_HOST</td> |
---|
794 | <td class="code"><pre>'ome-win2008-x86.dyn.lifesci.dundee.ac.uk'</pre></td> |
---|
795 | </tr> |
---|
796 | |
---|
797 | <tr> |
---|
798 | <td>PATHEXT</td> |
---|
799 | <td class="code"><pre>'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'</pre></td> |
---|
800 | </tr> |
---|
801 | |
---|
802 | <tr> |
---|
803 | <td>HTTP_ACCEPT</td> |
---|
804 | <td class="code"><pre>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</pre></td> |
---|
805 | </tr> |
---|
806 | |
---|
807 | <tr> |
---|
808 | <td>WINDIR</td> |
---|
809 | <td class="code"><pre>'C:\\Windows'</pre></td> |
---|
810 | </tr> |
---|
811 | |
---|
812 | <tr> |
---|
813 | <td>wsgi.version</td> |
---|
814 | <td class="code"><pre>(1, 0)</pre></td> |
---|
815 | </tr> |
---|
816 | |
---|
817 | <tr> |
---|
818 | <td>wsgi.run_once</td> |
---|
819 | <td class="code"><pre>False</pre></td> |
---|
820 | </tr> |
---|
821 | |
---|
822 | <tr> |
---|
823 | <td>SYSTEMDRIVE</td> |
---|
824 | <td class="code"><pre>'C:'</pre></td> |
---|
825 | </tr> |
---|
826 | |
---|
827 | <tr> |
---|
828 | <td>wsgi.multiprocess</td> |
---|
829 | <td class="code"><pre>False</pre></td> |
---|
830 | </tr> |
---|
831 | |
---|
832 | <tr> |
---|
833 | <td>HTTP_ACCEPT_LANGUAGE</td> |
---|
834 | <td class="code"><pre>'en-gb,en-us;q=0.7,en;q=0.3'</pre></td> |
---|
835 | </tr> |
---|
836 | |
---|
837 | <tr> |
---|
838 | <td>NUMBER_OF_PROCESSORS</td> |
---|
839 | <td class="code"><pre>'2'</pre></td> |
---|
840 | </tr> |
---|
841 | |
---|
842 | <tr> |
---|
843 | <td>PROCESSOR_LEVEL</td> |
---|
844 | <td class="code"><pre>'6'</pre></td> |
---|
845 | </tr> |
---|
846 | |
---|
847 | <tr> |
---|
848 | <td>OS</td> |
---|
849 | <td class="code"><pre>'Windows_NT'</pre></td> |
---|
850 | </tr> |
---|
851 | |
---|
852 | <tr> |
---|
853 | <td>PUBLIC</td> |
---|
854 | <td class="code"><pre>'C:\\Users\\Public'</pre></td> |
---|
855 | </tr> |
---|
856 | |
---|
857 | <tr> |
---|
858 | <td>USERPROFILE</td> |
---|
859 | <td class="code"><pre>'C:\\Windows\\system32\\config\\systemprofile'</pre></td> |
---|
860 | </tr> |
---|
861 | |
---|
862 | <tr> |
---|
863 | <td>PSMODULEPATH</td> |
---|
864 | <td class="code"><pre>'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\'</pre></td> |
---|
865 | </tr> |
---|
866 | |
---|
867 | <tr> |
---|
868 | <td>HTTP_COOKIE</td> |
---|
869 | <td class="code"><pre>'__utma=195911481.1218479263.1352388325.1399985266.1400065548.50; __utmz=195911481.1400065548.50.32.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utma=161872929.1945977058.1352844181.1399038765.1399040813.67; __utmz=161872929.1398949953.65.49.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); uodcookiesnoticehide=true; uod_splash=false; _ga=GA1.3.1218479263.1352388325; __utmc=195911481; sessionid=k5zyvcin5v2pkx9q31wzbcmvraih7tnu'</pre></td> |
---|
870 | </tr> |
---|
871 | |
---|
872 | <tr> |
---|
873 | <td>PROCESSOR_IDENTIFIER</td> |
---|
874 | <td class="code"><pre>'x86 Family 6 Model 46 Stepping 6, GenuineIntel'</pre></td> |
---|
875 | </tr> |
---|
876 | |
---|
877 | <tr> |
---|
878 | <td>PROGRAMFILES</td> |
---|
879 | <td class="code"><pre>'C:\\Program Files'</pre></td> |
---|
880 | </tr> |
---|
881 | |
---|
882 | <tr> |
---|
883 | <td>PROCESSOR_REVISION</td> |
---|
884 | <td class="code"><pre>'2e06'</pre></td> |
---|
885 | </tr> |
---|
886 | |
---|
887 | <tr> |
---|
888 | <td>PATH_INFO</td> |
---|
889 | <td class="code"><pre>u'/webadmin/myphoto/'</pre></td> |
---|
890 | </tr> |
---|
891 | |
---|
892 | <tr> |
---|
893 | <td>QUERY_STRING</td> |
---|
894 | <td class="code"><pre>''</pre></td> |
---|
895 | </tr> |
---|
896 | |
---|
897 | <tr> |
---|
898 | <td>PATH</td> |
---|
899 | <td class="code"><pre>'C:\\Python26;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Ice-3.3.1\\bin;C:\\Program Files\\PostgreSQL\\9.2\\bin;C:\\Program Files\\Aperio\\Common'</pre></td> |
---|
900 | </tr> |
---|
901 | |
---|
902 | <tr> |
---|
903 | <td>wsgi.errors</td> |
---|
904 | <td class="code"><pre><PyTraceObject object at 0x03790160></pre></td> |
---|
905 | </tr> |
---|
906 | |
---|
907 | <tr> |
---|
908 | <td>HTTP_USER_AGENT</td> |
---|
909 | <td class="code"><pre>'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0'</pre></td> |
---|
910 | </tr> |
---|
911 | |
---|
912 | <tr> |
---|
913 | <td>HTTP_CONNECTION</td> |
---|
914 | <td class="code"><pre>'keep-alive'</pre></td> |
---|
915 | </tr> |
---|
916 | |
---|
917 | <tr> |
---|
918 | <td>TEMP</td> |
---|
919 | <td class="code"><pre>'C:\\Windows\\TEMP'</pre></td> |
---|
920 | </tr> |
---|
921 | |
---|
922 | <tr> |
---|
923 | <td>REMOTE_ADDR</td> |
---|
924 | <td class="code"><pre>'10.31.0.29'</pre></td> |
---|
925 | </tr> |
---|
926 | |
---|
927 | <tr> |
---|
928 | <td>wsgi.url_scheme</td> |
---|
929 | <td class="code"><pre>'http'</pre></td> |
---|
930 | </tr> |
---|
931 | |
---|
932 | <tr> |
---|
933 | <td>LOCALAPPDATA</td> |
---|
934 | <td class="code"><pre>'C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local'</pre></td> |
---|
935 | </tr> |
---|
936 | |
---|
937 | <tr> |
---|
938 | <td>isapi.ecb</td> |
---|
939 | <td class="code"><pre><EXTENSION_CONTROL_BLOCK object at 0x04791740></pre></td> |
---|
940 | </tr> |
---|
941 | |
---|
942 | <tr> |
---|
943 | <td>PROGRAMDATA</td> |
---|
944 | <td class="code"><pre>'C:\\ProgramData'</pre></td> |
---|
945 | </tr> |
---|
946 | |
---|
947 | <tr> |
---|
948 | <td>wsgi.input</td> |
---|
949 | <td class="code"><pre><isapi_wsgi.ISAPIInputWrapper instance at 0x0456E5A8></pre></td> |
---|
950 | </tr> |
---|
951 | |
---|
952 | <tr> |
---|
953 | <td>REMOTE_USER</td> |
---|
954 | <td class="code"><pre>''</pre></td> |
---|
955 | </tr> |
---|
956 | |
---|
957 | <tr> |
---|
958 | <td>HTTPS</td> |
---|
959 | <td class="code"><pre>'off'</pre></td> |
---|
960 | </tr> |
---|
961 | |
---|
962 | <tr> |
---|
963 | <td>wsgi.multithread</td> |
---|
964 | <td class="code"><pre>False</pre></td> |
---|
965 | </tr> |
---|
966 | |
---|
967 | <tr> |
---|
968 | <td>FP_NO_HOST_CHECK</td> |
---|
969 | <td class="code"><pre>'NO'</pre></td> |
---|
970 | </tr> |
---|
971 | |
---|
972 | <tr> |
---|
973 | <td>SERVER_NAME</td> |
---|
974 | <td class="code"><pre>'ome-win2008-x86.dyn.lifesci.dundee.ac.uk'</pre></td> |
---|
975 | </tr> |
---|
976 | |
---|
977 | <tr> |
---|
978 | <td>APPDATA</td> |
---|
979 | <td class="code"><pre>'C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming'</pre></td> |
---|
980 | </tr> |
---|
981 | |
---|
982 | <tr> |
---|
983 | <td>IIS_EXTENSION_PATH</td> |
---|
984 | <td class="code"><pre>'/omero'</pre></td> |
---|
985 | </tr> |
---|
986 | |
---|
987 | <tr> |
---|
988 | <td>DJANGO_SETTINGS_MODULE</td> |
---|
989 | <td class="code"><pre>'omeroweb.settings'</pre></td> |
---|
990 | </tr> |
---|
991 | |
---|
992 | <tr> |
---|
993 | <td>CONTENT_TYPE</td> |
---|
994 | <td class="code"><pre>''</pre></td> |
---|
995 | </tr> |
---|
996 | |
---|
997 | <tr> |
---|
998 | <td>wsgi.file_wrapper</td> |
---|
999 | <td class="code"><pre>''</pre></td> |
---|
1000 | </tr> |
---|
1001 | |
---|
1002 | <tr> |
---|
1003 | <td>HTTP_ACCEPT_ENCODING</td> |
---|
1004 | <td class="code"><pre>'gzip, deflate'</pre></td> |
---|
1005 | </tr> |
---|
1006 | |
---|
1007 | </tbody> |
---|
1008 | </table> |
---|
1009 | |
---|
1010 | |
---|
1011 | <h3 id="settings-info">Settings</h3> |
---|
1012 | <h4>Using settings module <code>omeroweb.settings</code></h4> |
---|
1013 | <table class="req"> |
---|
1014 | <thead> |
---|
1015 | <tr> |
---|
1016 | <th>Setting</th> |
---|
1017 | <th>Value</th> |
---|
1018 | </tr> |
---|
1019 | </thead> |
---|
1020 | <tbody> |
---|
1021 | |
---|
1022 | <tr> |
---|
1023 | <td>USE_L10N</td> |
---|
1024 | <td class="code"><pre>False</pre></td> |
---|
1025 | </tr> |
---|
1026 | |
---|
1027 | <tr> |
---|
1028 | <td>USE_THOUSAND_SEPARATOR</td> |
---|
1029 | <td class="code"><pre>False</pre></td> |
---|
1030 | </tr> |
---|
1031 | |
---|
1032 | <tr> |
---|
1033 | <td>CENTER_PLUGINS</td> |
---|
1034 | <td class="code"><pre>[]</pre></td> |
---|
1035 | </tr> |
---|
1036 | |
---|
1037 | <tr> |
---|
1038 | <td>WEBSTART_HEAP</td> |
---|
1039 | <td class="code"><pre>'1024m'</pre></td> |
---|
1040 | </tr> |
---|
1041 | |
---|
1042 | <tr> |
---|
1043 | <td>CSRF_COOKIE_SECURE</td> |
---|
1044 | <td class="code"><pre>False</pre></td> |
---|
1045 | </tr> |
---|
1046 | |
---|
1047 | <tr> |
---|
1048 | <td>LANGUAGE_CODE</td> |
---|
1049 | <td class="code"><pre>'en-gb'</pre></td> |
---|
1050 | </tr> |
---|
1051 | |
---|
1052 | <tr> |
---|
1053 | <td>ROOT_URLCONF</td> |
---|
1054 | <td class="code"><pre>'omeroweb.urls'</pre></td> |
---|
1055 | </tr> |
---|
1056 | |
---|
1057 | <tr> |
---|
1058 | <td>MANAGERS</td> |
---|
1059 | <td class="code"><pre>[]</pre></td> |
---|
1060 | </tr> |
---|
1061 | |
---|
1062 | <tr> |
---|
1063 | <td>OPEN_ASTEX_MAX_VOXELS</td> |
---|
1064 | <td class="code"><pre>27000000</pre></td> |
---|
1065 | </tr> |
---|
1066 | |
---|
1067 | <tr> |
---|
1068 | <td>DEFAULT_CHARSET</td> |
---|
1069 | <td class="code"><pre>'utf-8'</pre></td> |
---|
1070 | </tr> |
---|
1071 | |
---|
1072 | <tr> |
---|
1073 | <td>NANOXML_JAR</td> |
---|
1074 | <td class="code"><pre>'nanoxml.jar'</pre></td> |
---|
1075 | </tr> |
---|
1076 | |
---|
1077 | <tr> |
---|
1078 | <td>PING_INTERVAL</td> |
---|
1079 | <td class="code"><pre>60000</pre></td> |
---|
1080 | </tr> |
---|
1081 | |
---|
1082 | <tr> |
---|
1083 | <td>STATIC_ROOT</td> |
---|
1084 | <td class="code"><pre>'c:/OMERO.server/lib/python/omeroweb/static'</pre></td> |
---|
1085 | </tr> |
---|
1086 | |
---|
1087 | <tr> |
---|
1088 | <td>APPLICATION_SERVER_HOST</td> |
---|
1089 | <td class="code"><pre>'0.0.0.0'</pre></td> |
---|
1090 | </tr> |
---|
1091 | |
---|
1092 | <tr> |
---|
1093 | <td>OMERO_HOME</td> |
---|
1094 | <td class="code"><pre>'c:\\OMERO.server'</pre></td> |
---|
1095 | </tr> |
---|
1096 | |
---|
1097 | <tr> |
---|
1098 | <td>ALLOWED_HOSTS</td> |
---|
1099 | <td class="code"><pre>[u'*']</pre></td> |
---|
1100 | </tr> |
---|
1101 | |
---|
1102 | <tr> |
---|
1103 | <td>MESSAGE_STORAGE</td> |
---|
1104 | <td class="code"><pre>'django.contrib.messages.storage.fallback.FallbackStorage'</pre></td> |
---|
1105 | </tr> |
---|
1106 | |
---|
1107 | <tr> |
---|
1108 | <td>EMAIL_SUBJECT_PREFIX</td> |
---|
1109 | <td class="code"><pre>'[OMERO.web] '</pre></td> |
---|
1110 | </tr> |
---|
1111 | |
---|
1112 | <tr> |
---|
1113 | <td>SEND_BROKEN_LINK_EMAILS</td> |
---|
1114 | <td class="code"><pre>True</pre></td> |
---|
1115 | </tr> |
---|
1116 | |
---|
1117 | <tr> |
---|
1118 | <td>OPEN_ASTEX_MAX_SIDE</td> |
---|
1119 | <td class="code"><pre>400</pre></td> |
---|
1120 | </tr> |
---|
1121 | |
---|
1122 | <tr> |
---|
1123 | <td>SESSION_CACHE_ALIAS</td> |
---|
1124 | <td class="code"><pre>'default'</pre></td> |
---|
1125 | </tr> |
---|
1126 | |
---|
1127 | <tr> |
---|
1128 | <td>SESSION_COOKIE_DOMAIN</td> |
---|
1129 | <td class="code"><pre>None</pre></td> |
---|
1130 | </tr> |
---|
1131 | |
---|
1132 | <tr> |
---|
1133 | <td>SESSION_COOKIE_NAME</td> |
---|
1134 | <td class="code"><pre>'sessionid'</pre></td> |
---|
1135 | </tr> |
---|
1136 | |
---|
1137 | <tr> |
---|
1138 | <td>PUBLIC_URL_FILTER</td> |
---|
1139 | <td class="code"><pre><_sre.SRE_Pattern object at 0x034599E0></pre></td> |
---|
1140 | </tr> |
---|
1141 | |
---|
1142 | <tr> |
---|
1143 | <td>ADMIN_FOR</td> |
---|
1144 | <td class="code"><pre>()</pre></td> |
---|
1145 | </tr> |
---|
1146 | |
---|
1147 | <tr> |
---|
1148 | <td>TIME_INPUT_FORMATS</td> |
---|
1149 | <td class="code"><pre>('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')</pre></td> |
---|
1150 | </tr> |
---|
1151 | |
---|
1152 | <tr> |
---|
1153 | <td>DATABASES</td> |
---|
1154 | <td class="code"><pre>{}</pre></td> |
---|
1155 | </tr> |
---|
1156 | |
---|
1157 | <tr> |
---|
1158 | <td>FILE_UPLOAD_PERMISSIONS</td> |
---|
1159 | <td class="code"><pre>None</pre></td> |
---|
1160 | </tr> |
---|
1161 | |
---|
1162 | <tr> |
---|
1163 | <td>WEBSTART_PORT</td> |
---|
1164 | <td class="code"><pre>'4064'</pre></td> |
---|
1165 | </tr> |
---|
1166 | |
---|
1167 | <tr> |
---|
1168 | <td>FILE_UPLOAD_HANDLERS</td> |
---|
1169 | <td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler', |
---|
1170 | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td> |
---|
1171 | </tr> |
---|
1172 | |
---|
1173 | <tr> |
---|
1174 | <td>PUBLIC_ENABLED</td> |
---|
1175 | <td class="code"><pre>False</pre></td> |
---|
1176 | </tr> |
---|
1177 | |
---|
1178 | <tr> |
---|
1179 | <td>DEFAULT_CONTENT_TYPE</td> |
---|
1180 | <td class="code"><pre>'text/html'</pre></td> |
---|
1181 | </tr> |
---|
1182 | |
---|
1183 | <tr> |
---|
1184 | <td>TEST_RUNNER</td> |
---|
1185 | <td class="code"><pre>'django.test.runner.DiscoverRunner'</pre></td> |
---|
1186 | </tr> |
---|
1187 | |
---|
1188 | <tr> |
---|
1189 | <td>APPEND_SLASH</td> |
---|
1190 | <td class="code"><pre>True</pre></td> |
---|
1191 | </tr> |
---|
1192 | |
---|
1193 | <tr> |
---|
1194 | <td>FIRST_DAY_OF_WEEK</td> |
---|
1195 | <td class="code"><pre>0</pre></td> |
---|
1196 | </tr> |
---|
1197 | |
---|
1198 | <tr> |
---|
1199 | <td>DATABASE_ROUTERS</td> |
---|
1200 | <td class="code"><pre>[]</pre></td> |
---|
1201 | </tr> |
---|
1202 | |
---|
1203 | <tr> |
---|
1204 | <td>WEBSTART_TITLE</td> |
---|
1205 | <td class="code"><pre>'OMERO.insight'</pre></td> |
---|
1206 | </tr> |
---|
1207 | |
---|
1208 | <tr> |
---|
1209 | <td>YEAR_MONTH_FORMAT</td> |
---|
1210 | <td class="code"><pre>'F Y'</pre></td> |
---|
1211 | </tr> |
---|
1212 | |
---|
1213 | <tr> |
---|
1214 | <td>DEFAULT_IMG</td> |
---|
1215 | <td class="code"><pre>'c:/OMERO.server/lib/python/omeroweb/webgateway/static/webgateway/img/image128.png'</pre></td> |
---|
1216 | </tr> |
---|
1217 | |
---|
1218 | <tr> |
---|
1219 | <td>STATICFILES_STORAGE</td> |
---|
1220 | <td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td> |
---|
1221 | </tr> |
---|
1222 | |
---|
1223 | <tr> |
---|
1224 | <td>CACHES</td> |
---|
1225 | <td class="code"><pre>{u'default': {u'BACKEND': u'django.core.cache.backends.dummy.DummyCache'}}</pre></td> |
---|
1226 | </tr> |
---|
1227 | |
---|
1228 | <tr> |
---|
1229 | <td>SERVER_EMAIL</td> |
---|
1230 | <td class="code"><pre>None</pre></td> |
---|
1231 | </tr> |
---|
1232 | |
---|
1233 | <tr> |
---|
1234 | <td>FASTCGI_TYPES</td> |
---|
1235 | <td class="code"><pre>('fastcgi', 'fastcgi-tcp')</pre></td> |
---|
1236 | </tr> |
---|
1237 | |
---|
1238 | <tr> |
---|
1239 | <td>USE_X_FORWARDED_HOST</td> |
---|
1240 | <td class="code"><pre>False</pre></td> |
---|
1241 | </tr> |
---|
1242 | |
---|
1243 | <tr> |
---|
1244 | <td>CUSTOM_SETTINGS</td> |
---|
1245 | <td class="code"><pre>{'omero.config.version': '4.2.1', |
---|
1246 | 'omero.data.dir': 'C:\\\\OMERO5', |
---|
1247 | 'omero.db.name': 'omero5', |
---|
1248 | 'omero.db.pass': 'omero', |
---|
1249 | 'omero.db.user': 'omero', |
---|
1250 | 'omero.web.application_server': 'fastcgi', |
---|
1251 | 'omero.web.debug': 'True'}</pre></td> |
---|
1252 | </tr> |
---|
1253 | |
---|
1254 | <tr> |
---|
1255 | <td>LOGIN_VIEW</td> |
---|
1256 | <td class="code"><pre>'weblogin'</pre></td> |
---|
1257 | </tr> |
---|
1258 | |
---|
1259 | <tr> |
---|
1260 | <td>USE_I18N</td> |
---|
1261 | <td class="code"><pre>True</pre></td> |
---|
1262 | </tr> |
---|
1263 | |
---|
1264 | <tr> |
---|
1265 | <td>THOUSAND_SEPARATOR</td> |
---|
1266 | <td class="code"><pre>','</pre></td> |
---|
1267 | </tr> |
---|
1268 | |
---|
1269 | <tr> |
---|
1270 | <td>SECRET_KEY</td> |
---|
1271 | <td class="code"><pre>u'********************'</pre></td> |
---|
1272 | </tr> |
---|
1273 | |
---|
1274 | <tr> |
---|
1275 | <td>LANGUAGE_COOKIE_NAME</td> |
---|
1276 | <td class="code"><pre>'django_language'</pre></td> |
---|
1277 | </tr> |
---|
1278 | |
---|
1279 | <tr> |
---|
1280 | <td>DEFAULT_INDEX_TABLESPACE</td> |
---|
1281 | <td class="code"><pre>''</pre></td> |
---|
1282 | </tr> |
---|
1283 | |
---|
1284 | <tr> |
---|
1285 | <td>EMAIL_TEMPLATES</td> |
---|
1286 | <td class="code"><pre>{'add_comment_to_share': {'html_content': '<p>New comment is available on share <a href="%s?server=%i">%s?server=%i</a>.</p>', |
---|
1287 | 'text_content': 'New comment is available on share %s?server=%i.'}, |
---|
1288 | 'add_member_to_share': {'html_content': '<p>Hi,</p><p>I would like to share some of my data with you.<br/>Please find it on the <a href="%s?server=%i">%s?server=%i</a>.</p><p>%s</p>', |
---|
1289 | 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, |
---|
1290 | 'create_share': {'html_content': '<p>Hi,</p><p>I would like to share some of my data with you.<br/>Please find it on the <a href="%s?server=%i">%s?server=%i</a>.</p><p>%s</p>', |
---|
1291 | 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, |
---|
1292 | 'remove_member_from_share': {'html_content': '<p>You were removed from the share <a href="%s?server=%i">%s?server=%i</a>. This share is no longer available for you.</p>', |
---|
1293 | 'text_content': 'You were removed from the share %s?server=%i. This share is no longer available for you.'}}</pre></td> |
---|
1294 | </tr> |
---|
1295 | |
---|
1296 | <tr> |
---|
1297 | <td>TRANSACTIONS_MANAGED</td> |
---|
1298 | <td class="code"><pre>False</pre></td> |
---|
1299 | </tr> |
---|
1300 | |
---|
1301 | <tr> |
---|
1302 | <td>LOGGING_CONFIG</td> |
---|
1303 | <td class="code"><pre>'django.utils.log.dictConfig'</pre></td> |
---|
1304 | </tr> |
---|
1305 | |
---|
1306 | <tr> |
---|
1307 | <td>WEBSTART_TEMPLATE</td> |
---|
1308 | <td class="code"><pre>None</pre></td> |
---|
1309 | </tr> |
---|
1310 | |
---|
1311 | <tr> |
---|
1312 | <td>TEMPLATE_LOADERS</td> |
---|
1313 | <td class="code"><pre>('django.template.loaders.filesystem.Loader', |
---|
1314 | 'django.template.loaders.app_directories.Loader')</pre></td> |
---|
1315 | </tr> |
---|
1316 | |
---|
1317 | <tr> |
---|
1318 | <td>WSGI_APPLICATION</td> |
---|
1319 | <td class="code"><pre>None</pre></td> |
---|
1320 | </tr> |
---|
1321 | |
---|
1322 | <tr> |
---|
1323 | <td>TEMPLATE_DEBUG</td> |
---|
1324 | <td class="code"><pre>True</pre></td> |
---|
1325 | </tr> |
---|
1326 | |
---|
1327 | <tr> |
---|
1328 | <td>X_FRAME_OPTIONS</td> |
---|
1329 | <td class="code"><pre>'SAMEORIGIN'</pre></td> |
---|
1330 | </tr> |
---|
1331 | |
---|
1332 | <tr> |
---|
1333 | <td>CSRF_COOKIE_NAME</td> |
---|
1334 | <td class="code"><pre>'csrftoken'</pre></td> |
---|
1335 | </tr> |
---|
1336 | |
---|
1337 | <tr> |
---|
1338 | <td>PUBLIC_CACHE_ENABLED</td> |
---|
1339 | <td class="code"><pre>False</pre></td> |
---|
1340 | </tr> |
---|
1341 | |
---|
1342 | <tr> |
---|
1343 | <td>DEFAULT_FROM_EMAIL</td> |
---|
1344 | <td class="code"><pre>'webmaster@localhost'</pre></td> |
---|
1345 | </tr> |
---|
1346 | |
---|
1347 | <tr> |
---|
1348 | <td>FORCE_SCRIPT_NAME</td> |
---|
1349 | <td class="code"><pre>None</pre></td> |
---|
1350 | </tr> |
---|
1351 | |
---|
1352 | <tr> |
---|
1353 | <td>CONFIG_XML</td> |
---|
1354 | <td class="code"><pre><omero.config.ConfigXml object at 0x03648150></pre></td> |
---|
1355 | </tr> |
---|
1356 | |
---|
1357 | <tr> |
---|
1358 | <td>TOP_LINKS</td> |
---|
1359 | <td class="code"><pre>[]</pre></td> |
---|
1360 | </tr> |
---|
1361 | |
---|
1362 | <tr> |
---|
1363 | <td>SIGNING_BACKEND</td> |
---|
1364 | <td class="code"><pre>'django.core.signing.TimestampSigner'</pre></td> |
---|
1365 | </tr> |
---|
1366 | |
---|
1367 | <tr> |
---|
1368 | <td>SESSION_COOKIE_SECURE</td> |
---|
1369 | <td class="code"><pre>False</pre></td> |
---|
1370 | </tr> |
---|
1371 | |
---|
1372 | <tr> |
---|
1373 | <td>WEBSTART_CLASS</td> |
---|
1374 | <td class="code"><pre>'org.openmicroscopy.shoola.Main'</pre></td> |
---|
1375 | </tr> |
---|
1376 | |
---|
1377 | <tr> |
---|
1378 | <td>CSRF_COOKIE_DOMAIN</td> |
---|
1379 | <td class="code"><pre>None</pre></td> |
---|
1380 | </tr> |
---|
1381 | |
---|
1382 | <tr> |
---|
1383 | <td>FILE_CHARSET</td> |
---|
1384 | <td class="code"><pre>'utf-8'</pre></td> |
---|
1385 | </tr> |
---|
1386 | |
---|
1387 | <tr> |
---|
1388 | <td>DEBUG</td> |
---|
1389 | <td class="code"><pre>True</pre></td> |
---|
1390 | </tr> |
---|
1391 | |
---|
1392 | <tr> |
---|
1393 | <td>SESSION_FILE_PATH</td> |
---|
1394 | <td class="code"><pre>'c:\\windows\\temp'</pre></td> |
---|
1395 | </tr> |
---|
1396 | |
---|
1397 | <tr> |
---|
1398 | <td>FEEDBACK_APP</td> |
---|
1399 | <td class="code"><pre>6</pre></td> |
---|
1400 | </tr> |
---|
1401 | |
---|
1402 | <tr> |
---|
1403 | <td>FASTCGI</td> |
---|
1404 | <td class="code"><pre>'fastcgi'</pre></td> |
---|
1405 | </tr> |
---|
1406 | |
---|
1407 | <tr> |
---|
1408 | <td>INSTALLED_APPS</td> |
---|
1409 | <td class="code"><pre>('django.contrib.staticfiles', |
---|
1410 | 'django.contrib.auth', |
---|
1411 | 'django.contrib.contenttypes', |
---|
1412 | 'django.contrib.sessions', |
---|
1413 | 'django.contrib.sites', |
---|
1414 | 'omeroweb.feedback', |
---|
1415 | 'omeroweb.webadmin', |
---|
1416 | 'omeroweb.webclient', |
---|
1417 | 'omeroweb.webgateway', |
---|
1418 | 'omeroweb.webtest', |
---|
1419 | 'omeroweb.webredirect', |
---|
1420 | 'omeroweb.webstart')</pre></td> |
---|
1421 | </tr> |
---|
1422 | |
---|
1423 | <tr> |
---|
1424 | <td>LANGUAGES_BIDI</td> |
---|
1425 | <td class="code"><pre>('he', 'ar', 'fa', 'ur')</pre></td> |
---|
1426 | </tr> |
---|
1427 | |
---|
1428 | <tr> |
---|
1429 | <td>COMMENTS_ALLOW_PROFANITIES</td> |
---|
1430 | <td class="code"><pre>False</pre></td> |
---|
1431 | </tr> |
---|
1432 | |
---|
1433 | <tr> |
---|
1434 | <td>SERVER_LIST</td> |
---|
1435 | <td class="code"><pre>[[u'localhost', 4064, u'omero']]</pre></td> |
---|
1436 | </tr> |
---|
1437 | |
---|
1438 | <tr> |
---|
1439 | <td>UI_MENU_DROPDOWN</td> |
---|
1440 | <td class="code"><pre>{u'ALL': u'All members', u'COLLEAGUES': u'Members', u'LEADERS': u'Owners'}</pre></td> |
---|
1441 | </tr> |
---|
1442 | |
---|
1443 | <tr> |
---|
1444 | <td>STATICFILES_DIRS</td> |
---|
1445 | <td class="code"><pre>[('webstart/jars', 'c:/OMERO.server/lib/insight')]</pre></td> |
---|
1446 | </tr> |
---|
1447 | |
---|
1448 | <tr> |
---|
1449 | <td>PUBLIC_CACHE_TIMEOUT</td> |
---|
1450 | <td class="code"><pre>86400</pre></td> |
---|
1451 | </tr> |
---|
1452 | |
---|
1453 | <tr> |
---|
1454 | <td>PREPEND_WWW</td> |
---|
1455 | <td class="code"><pre>False</pre></td> |
---|
1456 | </tr> |
---|
1457 | |
---|
1458 | <tr> |
---|
1459 | <td>SECURE_PROXY_SSL_HEADER</td> |
---|
1460 | <td class="code"><pre>None</pre></td> |
---|
1461 | </tr> |
---|
1462 | |
---|
1463 | <tr> |
---|
1464 | <td>ADDITIONAL_APPS</td> |
---|
1465 | <td class="code"><pre>[]</pre></td> |
---|
1466 | </tr> |
---|
1467 | |
---|
1468 | <tr> |
---|
1469 | <td>SESSION_COOKIE_HTTPONLY</td> |
---|
1470 | <td class="code"><pre>True</pre></td> |
---|
1471 | </tr> |
---|
1472 | |
---|
1473 | <tr> |
---|
1474 | <td>DEBUG_PROPAGATE_EXCEPTIONS</td> |
---|
1475 | <td class="code"><pre>False</pre></td> |
---|
1476 | </tr> |
---|
1477 | |
---|
1478 | <tr> |
---|
1479 | <td>MEDIA_URL</td> |
---|
1480 | <td class="code"><pre>''</pre></td> |
---|
1481 | </tr> |
---|
1482 | |
---|
1483 | <tr> |
---|
1484 | <td>WEBSTART</td> |
---|
1485 | <td class="code"><pre>True</pre></td> |
---|
1486 | </tr> |
---|
1487 | |
---|
1488 | <tr> |
---|
1489 | <td>MONTH_DAY_FORMAT</td> |
---|
1490 | <td class="code"><pre>'F j'</pre></td> |
---|
1491 | </tr> |
---|
1492 | |
---|
1493 | <tr> |
---|
1494 | <td>LOGIN_URL</td> |
---|
1495 | <td class="code"><pre>'/accounts/login/'</pre></td> |
---|
1496 | </tr> |
---|
1497 | |
---|
1498 | <tr> |
---|
1499 | <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> |
---|
1500 | <td class="code"><pre>True</pre></td> |
---|
1501 | </tr> |
---|
1502 | |
---|
1503 | <tr> |
---|
1504 | <td>INDEX_TEMPLATE</td> |
---|
1505 | <td class="code"><pre>None</pre></td> |
---|
1506 | </tr> |
---|
1507 | |
---|
1508 | <tr> |
---|
1509 | <td>DEFAULT_SESSION_ENGINE</td> |
---|
1510 | <td class="code"><pre>'django.contrib.sessions.backends.file'</pre></td> |
---|
1511 | </tr> |
---|
1512 | |
---|
1513 | <tr> |
---|
1514 | <td>TIME_FORMAT</td> |
---|
1515 | <td class="code"><pre>'P'</pre></td> |
---|
1516 | </tr> |
---|
1517 | |
---|
1518 | <tr> |
---|
1519 | <td>AUTH_USER_MODEL</td> |
---|
1520 | <td class="code"><pre>'auth.User'</pre></td> |
---|
1521 | </tr> |
---|
1522 | |
---|
1523 | <tr> |
---|
1524 | <td>DATE_INPUT_FORMATS</td> |
---|
1525 | <td class="code"><pre>('%Y-%m-%d', |
---|
1526 | '%m/%d/%Y', |
---|
1527 | '%m/%d/%y', |
---|
1528 | '%b %d %Y', |
---|
1529 | '%b %d, %Y', |
---|
1530 | '%d %b %Y', |
---|
1531 | '%d %b, %Y', |
---|
1532 | '%B %d %Y', |
---|
1533 | '%B %d, %Y', |
---|
1534 | '%d %B %Y', |
---|
1535 | '%d %B, %Y')</pre></td> |
---|
1536 | </tr> |
---|
1537 | |
---|
1538 | <tr> |
---|
1539 | <td>WEBSTART_VENDOR</td> |
---|
1540 | <td class="code"><pre>'The Open Microscopy Environment'</pre></td> |
---|
1541 | </tr> |
---|
1542 | |
---|
1543 | <tr> |
---|
1544 | <td>SESSION_SERIALIZER</td> |
---|
1545 | <td class="code"><pre>'django.contrib.sessions.serializers.PickleSerializer'</pre></td> |
---|
1546 | </tr> |
---|
1547 | |
---|
1548 | <tr> |
---|
1549 | <td>AUTHENTICATION_BACKENDS</td> |
---|
1550 | <td class="code"><pre>('django.contrib.auth.backends.ModelBackend',)</pre></td> |
---|
1551 | </tr> |
---|
1552 | |
---|
1553 | <tr> |
---|
1554 | <td>EMAIL_HOST_PASSWORD</td> |
---|
1555 | <td class="code"><pre>u'********************'</pre></td> |
---|
1556 | </tr> |
---|
1557 | |
---|
1558 | <tr> |
---|
1559 | <td>PASSWORD_RESET_TIMEOUT_DAYS</td> |
---|
1560 | <td class="code"><pre>u'********************'</pre></td> |
---|
1561 | </tr> |
---|
1562 | |
---|
1563 | <tr> |
---|
1564 | <td>CACHE_MIDDLEWARE_ALIAS</td> |
---|
1565 | <td class="code"><pre>'default'</pre></td> |
---|
1566 | </tr> |
---|
1567 | |
---|
1568 | <tr> |
---|
1569 | <td>SESSION_SAVE_EVERY_REQUEST</td> |
---|
1570 | <td class="code"><pre>False</pre></td> |
---|
1571 | </tr> |
---|
1572 | |
---|
1573 | <tr> |
---|
1574 | <td>RIGHT_PLUGINS</td> |
---|
1575 | <td class="code"><pre>[[u'Acquisition', |
---|
1576 | u'webclient/data/includes/right_plugin.acquisition.js.html', |
---|
1577 | u'metadata_tab'], |
---|
1578 | [u'Preview', |
---|
1579 | u'webclient/data/includes/right_plugin.preview.js.html', |
---|
1580 | u'preview_tab']]</pre></td> |
---|
1581 | </tr> |
---|
1582 | |
---|
1583 | <tr> |
---|
1584 | <td>NUMBER_GROUPING</td> |
---|
1585 | <td class="code"><pre>0</pre></td> |
---|
1586 | </tr> |
---|
1587 | |
---|
1588 | <tr> |
---|
1589 | <td>APPLICATION_SERVER</td> |
---|
1590 | <td class="code"><pre>'fastcgi'</pre></td> |
---|
1591 | </tr> |
---|
1592 | |
---|
1593 | <tr> |
---|
1594 | <td>SESSION_ENGINE</td> |
---|
1595 | <td class="code"><pre>'django.contrib.sessions.backends.file'</pre></td> |
---|
1596 | </tr> |
---|
1597 | |
---|
1598 | <tr> |
---|
1599 | <td>DEFAULT_FILE_STORAGE</td> |
---|
1600 | <td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td> |
---|
1601 | </tr> |
---|
1602 | |
---|
1603 | <tr> |
---|
1604 | <td>CSRF_FAILURE_VIEW</td> |
---|
1605 | <td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td> |
---|
1606 | </tr> |
---|
1607 | |
---|
1608 | <tr> |
---|
1609 | <td>CSRF_COOKIE_PATH</td> |
---|
1610 | <td class="code"><pre>'/'</pre></td> |
---|
1611 | </tr> |
---|
1612 | |
---|
1613 | <tr> |
---|
1614 | <td>LOGIN_REDIRECT_URL</td> |
---|
1615 | <td class="code"><pre>'/accounts/profile/'</pre></td> |
---|
1616 | </tr> |
---|
1617 | |
---|
1618 | <tr> |
---|
1619 | <td>SESSION_COOKIE_PATH</td> |
---|
1620 | <td class="code"><pre>'/'</pre></td> |
---|
1621 | </tr> |
---|
1622 | |
---|
1623 | <tr> |
---|
1624 | <td>FASTCGITCP</td> |
---|
1625 | <td class="code"><pre>'fastcgi-tcp'</pre></td> |
---|
1626 | </tr> |
---|
1627 | |
---|
1628 | <tr> |
---|
1629 | <td>WEBSTART_HOMEPAGE</td> |
---|
1630 | <td class="code"><pre>'http://www.openmicroscopy.org'</pre></td> |
---|
1631 | </tr> |
---|
1632 | |
---|
1633 | <tr> |
---|
1634 | <td>DECIMAL_SEPARATOR</td> |
---|
1635 | <td class="code"><pre>'.'</pre></td> |
---|
1636 | </tr> |
---|
1637 | |
---|
1638 | <tr> |
---|
1639 | <td>IGNORABLE_404_URLS</td> |
---|
1640 | <td class="code"><pre>()</pre></td> |
---|
1641 | </tr> |
---|
1642 | |
---|
1643 | <tr> |
---|
1644 | <td>LOCALE_PATHS</td> |
---|
1645 | <td class="code"><pre>()</pre></td> |
---|
1646 | </tr> |
---|
1647 | |
---|
1648 | <tr> |
---|
1649 | <td>TEMPLATE_STRING_IF_INVALID</td> |
---|
1650 | <td class="code"><pre>''</pre></td> |
---|
1651 | </tr> |
---|
1652 | |
---|
1653 | <tr> |
---|
1654 | <td>LOGOUT_URL</td> |
---|
1655 | <td class="code"><pre>'/accounts/logout/'</pre></td> |
---|
1656 | </tr> |
---|
1657 | |
---|
1658 | <tr> |
---|
1659 | <td>EMAIL_USE_TLS</td> |
---|
1660 | <td class="code"><pre>False</pre></td> |
---|
1661 | </tr> |
---|
1662 | |
---|
1663 | <tr> |
---|
1664 | <td>FIXTURE_DIRS</td> |
---|
1665 | <td class="code"><pre>()</pre></td> |
---|
1666 | </tr> |
---|
1667 | |
---|
1668 | <tr> |
---|
1669 | <td>EMAIL_HOST</td> |
---|
1670 | <td class="code"><pre>None</pre></td> |
---|
1671 | </tr> |
---|
1672 | |
---|
1673 | <tr> |
---|
1674 | <td>DATE_FORMAT</td> |
---|
1675 | <td class="code"><pre>'N j, Y'</pre></td> |
---|
1676 | </tr> |
---|
1677 | |
---|
1678 | <tr> |
---|
1679 | <td>MEDIA_ROOT</td> |
---|
1680 | <td class="code"><pre>''</pre></td> |
---|
1681 | </tr> |
---|
1682 | |
---|
1683 | <tr> |
---|
1684 | <td>FEEDBACK_URL</td> |
---|
1685 | <td class="code"><pre>'http://qa.openmicroscopy.org.uk'</pre></td> |
---|
1686 | </tr> |
---|
1687 | |
---|
1688 | <tr> |
---|
1689 | <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> |
---|
1690 | <td class="code"><pre>'django.views.debug.SafeExceptionReporterFilter'</pre></td> |
---|
1691 | </tr> |
---|
1692 | |
---|
1693 | <tr> |
---|
1694 | <td>ADMINS</td> |
---|
1695 | <td class="code"><pre>[]</pre></td> |
---|
1696 | </tr> |
---|
1697 | |
---|
1698 | <tr> |
---|
1699 | <td>FORMAT_MODULE_PATH</td> |
---|
1700 | <td class="code"><pre>None</pre></td> |
---|
1701 | </tr> |
---|
1702 | |
---|
1703 | <tr> |
---|
1704 | <td>LOGDIR</td> |
---|
1705 | <td class="code"><pre>'c:/OMERO.server/var/log'</pre></td> |
---|
1706 | </tr> |
---|
1707 | |
---|
1708 | <tr> |
---|
1709 | <td>CUSTOM_SETTINGS_MAPPINGS</td> |
---|
1710 | <td class="code"><pre>{'omero.upgrades.url': ['UPGRADES_URL', |
---|
1711 | 'http://upgrade.openmicroscopy.org.uk/', |
---|
1712 | <type 'str'>, |
---|
1713 | True], |
---|
1714 | 'omero.web.admins': ['ADMINS', '[]', <function loads at 0x023140F0>, True], |
---|
1715 | 'omero.web.allowed_hosts': ['ALLOWED_HOSTS', |
---|
1716 | '["*"]', |
---|
1717 | <function loads at 0x023140F0>, |
---|
1718 | True], |
---|
1719 | 'omero.web.application_server': ['APPLICATION_SERVER', |
---|
1720 | 'fastcgi-tcp', |
---|
1721 | <function check_server_type at 0x036494B0>, |
---|
1722 | False], |
---|
1723 | 'omero.web.application_server.host': ['APPLICATION_SERVER_HOST', |
---|
1724 | '0.0.0.0', |
---|
1725 | <type 'str'>, |
---|
1726 | True], |
---|
1727 | 'omero.web.application_server.max_requests': ['APPLICATION_SERVER_MAX_REQUESTS', |
---|
1728 | 400, |
---|
1729 | <type 'int'>, |
---|
1730 | True], |
---|
1731 | 'omero.web.application_server.port': ['APPLICATION_SERVER_PORT', |
---|
1732 | '4080', |
---|
1733 | <type 'str'>, |
---|
1734 | True], |
---|
1735 | 'omero.web.apps': ['ADDITIONAL_APPS', |
---|
1736 | '[]', |
---|
1737 | <function loads at 0x023140F0>, |
---|
1738 | True], |
---|
1739 | 'omero.web.caches': ['CACHES', |
---|
1740 | '{"default": {"BACKEND": "django.core.cache.backends.dummy.DummyCache"}}', |
---|
1741 | <function loads at 0x023140F0>, |
---|
1742 | True], |
---|
1743 | 'omero.web.databases': ['DATABASES', |
---|
1744 | '{}', |
---|
1745 | <function loads at 0x023140F0>, |
---|
1746 | True], |
---|
1747 | 'omero.web.debug': ['DEBUG', |
---|
1748 | 'false', |
---|
1749 | <function parse_boolean at 0x036494F0>, |
---|
1750 | False], |
---|
1751 | 'omero.web.email_host': ['EMAIL_HOST', |
---|
1752 | None, |
---|
1753 | <function identity at 0x03649430>, |
---|
1754 | True], |
---|
1755 | 'omero.web.email_host_password': ['EMAIL_HOST_PASSWORD', |
---|
1756 | None, |
---|
1757 | <function identity at 0x03649430>, |
---|
1758 | True], |
---|
1759 | 'omero.web.email_host_user': ['EMAIL_HOST_USER', |
---|
1760 | None, |
---|
1761 | <function identity at 0x03649430>, |
---|
1762 | True], |
---|
1763 | 'omero.web.email_port': ['EMAIL_PORT', |
---|
1764 | None, |
---|
1765 | <function identity at 0x03649430>, |
---|
1766 | True], |
---|
1767 | 'omero.web.email_subject_prefix': ['EMAIL_SUBJECT_PREFIX', |
---|
1768 | '[OMERO.web] ', |
---|
1769 | <type 'str'>, |
---|
1770 | True], |
---|
1771 | 'omero.web.email_use_tls': ['EMAIL_USE_TLS', |
---|
1772 | 'false', |
---|
1773 | <function parse_boolean at 0x036494F0>, |
---|
1774 | True], |
---|
1775 | 'omero.web.force_script_name': ['FORCE_SCRIPT_NAME', |
---|
1776 | None, |
---|
1777 | <function leave_none_unset at 0x036496B0>, |
---|
1778 | True], |
---|
1779 | 'omero.web.index_template': ['INDEX_TEMPLATE', |
---|
1780 | None, |
---|
1781 | <function identity at 0x03649430>, |
---|
1782 | True], |
---|
1783 | 'omero.web.logdir': ['LOGDIR', 'c:/OMERO.server/var/log', <type 'str'>, True], |
---|
1784 | 'omero.web.login_logo': ['LOGIN_LOGO', |
---|
1785 | None, |
---|
1786 | <function leave_none_unset at 0x036496B0>, |
---|
1787 | True], |
---|
1788 | 'omero.web.login_view': ['LOGIN_VIEW', 'weblogin', <type 'str'>, True], |
---|
1789 | 'omero.web.nanoxml_jar': ['NANOXML_JAR', 'nanoxml.jar', <type 'str'>, True], |
---|
1790 | 'omero.web.open_astex_max_side': ['OPEN_ASTEX_MAX_SIDE', |
---|
1791 | 400, |
---|
1792 | <type 'int'>, |
---|
1793 | True], |
---|
1794 | 'omero.web.open_astex_max_voxels': ['OPEN_ASTEX_MAX_VOXELS', |
---|
1795 | 27000000, |
---|
1796 | <type 'int'>, |
---|
1797 | True], |
---|
1798 | 'omero.web.open_astex_min_side': ['OPEN_ASTEX_MIN_SIDE', |
---|
1799 | 20, |
---|
1800 | <type 'int'>, |
---|
1801 | True], |
---|
1802 | 'omero.web.ping_interval': ['PING_INTERVAL', 60000, <type 'int'>, True], |
---|
1803 | 'omero.web.public.cache.enabled': ['PUBLIC_CACHE_ENABLED', |
---|
1804 | 'false', |
---|
1805 | <function parse_boolean at 0x036494F0>, |
---|
1806 | True], |
---|
1807 | 'omero.web.public.cache.key': ['PUBLIC_CACHE_KEY', |
---|
1808 | 'omero.web.public.cache.key', |
---|
1809 | <type 'str'>, |
---|
1810 | True], |
---|
1811 | 'omero.web.public.cache.timeout': ['PUBLIC_CACHE_TIMEOUT', |
---|
1812 | 86400, |
---|
1813 | <type 'int'>, |
---|
1814 | True], |
---|
1815 | 'omero.web.public.enabled': ['PUBLIC_ENABLED', |
---|
1816 | 'false', |
---|
1817 | <function parse_boolean at 0x036494F0>, |
---|
1818 | True], |
---|
1819 | 'omero.web.public.password': ['PUBLIC_PASSWORD', |
---|
1820 | None, |
---|
1821 | <function leave_none_unset at 0x036496B0>, |
---|
1822 | True], |
---|
1823 | 'omero.web.public.server_id': ['PUBLIC_SERVER_ID', 1, <type 'int'>, True], |
---|
1824 | 'omero.web.public.url_filter': ['PUBLIC_URL_FILTER', |
---|
1825 | '^/(?!webadmin)', |
---|
1826 | <function compile at 0x020D49B0>, |
---|
1827 | True], |
---|
1828 | 'omero.web.public.user': ['PUBLIC_USER', |
---|
1829 | None, |
---|
1830 | <function leave_none_unset at 0x036496B0>, |
---|
1831 | True], |
---|
1832 | 'omero.web.scripts_to_ignore': ['SCRIPTS_TO_IGNORE', |
---|
1833 | '["/omero/figure_scripts/Movie_Figure.py", "/omero/figure_scripts/Split_View_Figure.py", "/omero/figure_scripts/Thumbnail_Figure.py", "/omero/figure_scripts/ROI_Split_Figure.py", "/omero/export_scripts/Make_Movie.py","/omero/setup_scripts/FLIM_initialise.py", "/omero/import_scripts/Populate_ROI.py"]', |
---|
1834 | <function parse_paths at 0x03649470>, |
---|
1835 | True], |
---|
1836 | 'omero.web.send_broken_link_emails': ['SEND_BROKEN_LINK_EMAILS', |
---|
1837 | 'true', |
---|
1838 | <function parse_boolean at 0x036494F0>, |
---|
1839 | True], |
---|
1840 | 'omero.web.server_email': ['SERVER_EMAIL', |
---|
1841 | None, |
---|
1842 | <function identity at 0x03649430>, |
---|
1843 | True], |
---|
1844 | 'omero.web.server_list': ['SERVER_LIST', |
---|
1845 | '[["localhost", 4064, "omero"]]', |
---|
1846 | <function loads at 0x023140F0>, |
---|
1847 | True], |
---|
1848 | 'omero.web.session_engine': ['SESSION_ENGINE', |
---|
1849 | 'django.contrib.sessions.backends.file', |
---|
1850 | <function check_session_engine at 0x036493F0>, |
---|
1851 | True], |
---|
1852 | 'omero.web.static_url': ['STATIC_URL', '/static/', <type 'str'>, True], |
---|
1853 | 'omero.web.staticfile_dirs': ['STATICFILES_DIRS', |
---|
1854 | '[]', |
---|
1855 | <function loads at 0x023140F0>, |
---|
1856 | True], |
---|
1857 | 'omero.web.template_dirs': ['TEMPLATE_DIRS', |
---|
1858 | '[]', |
---|
1859 | <function loads at 0x023140F0>, |
---|
1860 | True], |
---|
1861 | 'omero.web.ui.center_plugins': ['CENTER_PLUGINS', |
---|
1862 | '[]', |
---|
1863 | <function loads at 0x023140F0>, |
---|
1864 | True], |
---|
1865 | 'omero.web.ui.menu.dropdown': ['UI_MENU_DROPDOWN', |
---|
1866 | '{"LEADERS": "Owners", "COLLEAGUES": "Members", "ALL": "All members"}', |
---|
1867 | <function loads at 0x023140F0>, |
---|
1868 | True], |
---|
1869 | 'omero.web.ui.right_plugins': ['RIGHT_PLUGINS', |
---|
1870 | '[["Acquisition", "webclient/data/includes/right_plugin.acquisition.js.html", "metadata_tab"],["Preview", "webclient/data/includes/right_plugin.preview.js.html", "preview_tab"]]', |
---|
1871 | <function loads at 0x023140F0>, |
---|
1872 | True], |
---|
1873 | 'omero.web.ui.top_links': ['TOP_LINKS', |
---|
1874 | '[]', |
---|
1875 | <function loads at 0x023140F0>, |
---|
1876 | True], |
---|
1877 | 'omero.web.viewer.initial_zoom_level': ['VIEWER_INITIAL_ZOOM_LEVEL', |
---|
1878 | None, |
---|
1879 | <function leave_none_unset_int at 0x036496F0>, |
---|
1880 | True], |
---|
1881 | 'omero.web.webgateway_cache': ['WEBGATEWAY_CACHE', |
---|
1882 | None, |
---|
1883 | <function leave_none_unset at 0x036496B0>, |
---|
1884 | True], |
---|
1885 | 'omero.web.webstart_class': ['WEBSTART_CLASS', |
---|
1886 | 'org.openmicroscopy.shoola.Main', |
---|
1887 | <type 'str'>, |
---|
1888 | True], |
---|
1889 | 'omero.web.webstart_heap': ['WEBSTART_HEAP', '1024m', <type 'str'>, True], |
---|
1890 | 'omero.web.webstart_homepage': ['WEBSTART_HOMEPAGE', |
---|
1891 | 'http://www.openmicroscopy.org', |
---|
1892 | <type 'str'>, |
---|
1893 | True], |
---|
1894 | 'omero.web.webstart_host': ['WEBSTART_HOST', 'localhost', <type 'str'>, True], |
---|
1895 | 'omero.web.webstart_icon': ['WEBSTART_ICON', |
---|
1896 | 'webstart/img/icon-omero-insight.png', |
---|
1897 | <type 'str'>, |
---|
1898 | True], |
---|
1899 | 'omero.web.webstart_jar': ['WEBSTART_JAR', |
---|
1900 | 'omero.insight.jar', |
---|
1901 | <type 'str'>, |
---|
1902 | True], |
---|
1903 | 'omero.web.webstart_port': ['WEBSTART_PORT', '4064', <type 'str'>, True], |
---|
1904 | 'omero.web.webstart_template': ['WEBSTART_TEMPLATE', |
---|
1905 | None, |
---|
1906 | <function identity at 0x03649430>, |
---|
1907 | True], |
---|
1908 | 'omero.web.webstart_title': ['WEBSTART_TITLE', |
---|
1909 | 'OMERO.insight', |
---|
1910 | <type 'str'>, |
---|
1911 | True], |
---|
1912 | 'omero.web.webstart_vendor': ['WEBSTART_VENDOR', |
---|
1913 | 'The Open Microscopy Environment', |
---|
1914 | <type 'str'>, |
---|
1915 | True]}</pre></td> |
---|
1916 | </tr> |
---|
1917 | |
---|
1918 | <tr> |
---|
1919 | <td>WEBSTART_JAR</td> |
---|
1920 | <td class="code"><pre>'omero.insight.jar'</pre></td> |
---|
1921 | </tr> |
---|
1922 | |
---|
1923 | <tr> |
---|
1924 | <td>SCRIPTS_TO_IGNORE</td> |
---|
1925 | <td class="code"><pre>[u'\\omero\\figure_scripts\\Movie_Figure.py', |
---|
1926 | u'\\omero\\figure_scripts\\Split_View_Figure.py', |
---|
1927 | u'\\omero\\figure_scripts\\Thumbnail_Figure.py', |
---|
1928 | u'\\omero\\figure_scripts\\ROI_Split_Figure.py', |
---|
1929 | u'\\omero\\export_scripts\\Make_Movie.py', |
---|
1930 | u'\\omero\\setup_scripts\\FLIM_initialise.py', |
---|
1931 | u'\\omero\\import_scripts\\Populate_ROI.py']</pre></td> |
---|
1932 | </tr> |
---|
1933 | |
---|
1934 | <tr> |
---|
1935 | <td>PAGE</td> |
---|
1936 | <td class="code"><pre>200</pre></td> |
---|
1937 | </tr> |
---|
1938 | |
---|
1939 | <tr> |
---|
1940 | <td>DEFAULT_USER</td> |
---|
1941 | <td class="code"><pre>'c:/OMERO.server/lib/python/omeroweb/webgateway/static/webgateway/img/personal32.png'</pre></td> |
---|
1942 | </tr> |
---|
1943 | |
---|
1944 | <tr> |
---|
1945 | <td>DATETIME_FORMAT</td> |
---|
1946 | <td class="code"><pre>'N j, Y, P'</pre></td> |
---|
1947 | </tr> |
---|
1948 | |
---|
1949 | <tr> |
---|
1950 | <td>TEMPLATE_DIRS</td> |
---|
1951 | <td class="code"><pre>[]</pre></td> |
---|
1952 | </tr> |
---|
1953 | |
---|
1954 | <tr> |
---|
1955 | <td>UPGRADES_URL</td> |
---|
1956 | <td class="code"><pre>'http://upgrade.openmicroscopy.org.uk/'</pre></td> |
---|
1957 | </tr> |
---|
1958 | |
---|
1959 | <tr> |
---|
1960 | <td>MIDDLEWARE_CLASSES</td> |
---|
1961 | <td class="code"><pre>('django.middleware.common.CommonMiddleware', |
---|
1962 | 'django.contrib.sessions.middleware.SessionMiddleware', |
---|
1963 | 'django.contrib.messages.middleware.MessageMiddleware')</pre></td> |
---|
1964 | </tr> |
---|
1965 | |
---|
1966 | <tr> |
---|
1967 | <td>SITE_ID</td> |
---|
1968 | <td class="code"><pre>1</pre></td> |
---|
1969 | </tr> |
---|
1970 | |
---|
1971 | <tr> |
---|
1972 | <td>DISALLOWED_USER_AGENTS</td> |
---|
1973 | <td class="code"><pre>()</pre></td> |
---|
1974 | </tr> |
---|
1975 | |
---|
1976 | <tr> |
---|
1977 | <td>ALLOWED_INCLUDE_ROOTS</td> |
---|
1978 | <td class="code"><pre>()</pre></td> |
---|
1979 | </tr> |
---|
1980 | |
---|
1981 | <tr> |
---|
1982 | <td>WEBSTART_ICON</td> |
---|
1983 | <td class="code"><pre>'webstart/img/icon-omero-insight.png'</pre></td> |
---|
1984 | </tr> |
---|
1985 | |
---|
1986 | <tr> |
---|
1987 | <td>PUBLIC_CACHE_KEY</td> |
---|
1988 | <td class="code"><pre>u'********************'</pre></td> |
---|
1989 | </tr> |
---|
1990 | |
---|
1991 | <tr> |
---|
1992 | <td>LOGGING</td> |
---|
1993 | <td class="code"><pre>{'disable_existing_loggers': False, |
---|
1994 | 'formatters': {'standard': {'format': '%(asctime)s %(levelname)5.5s [%(name)40.40s] (proc.%(process)5.5d) %(funcName)s:%(lineno)d %(message)s'}}, |
---|
1995 | 'handlers': {'console': {'class': 'logging.StreamHandler', |
---|
1996 | 'formatter': 'standard', |
---|
1997 | 'level': 'DEBUG'}, |
---|
1998 | 'default': {'backupCount': 5, |
---|
1999 | 'class': 'logging.handlers.RotatingFileHandler', |
---|
2000 | 'filename': 'c:/OMERO.server/var/log/OMEROweb.log', |
---|
2001 | 'formatter': 'standard', |
---|
2002 | 'level': 'DEBUG', |
---|
2003 | 'maxBytes': 5242880}, |
---|
2004 | 'null': {'class': 'django.utils.log.NullHandler', |
---|
2005 | 'level': 'DEBUG'}, |
---|
2006 | 'request_handler': {'backupCount': 5, |
---|
2007 | 'class': 'logging.handlers.RotatingFileHandler', |
---|
2008 | 'filename': 'c:/OMERO.server/var/log/OMEROweb_request.log', |
---|
2009 | 'formatter': 'standard', |
---|
2010 | 'level': 'DEBUG', |
---|
2011 | 'maxBytes': 5242880}}, |
---|
2012 | 'loggers': {'': {'handlers': ['default'], |
---|
2013 | 'level': 'DEBUG', |
---|
2014 | 'propagate': True}, |
---|
2015 | 'django': {'handlers': ['null'], |
---|
2016 | 'level': 'DEBUG', |
---|
2017 | 'propagate': True}, |
---|
2018 | 'django.request': {'handlers': ['request_handler'], |
---|
2019 | 'level': 'DEBUG', |
---|
2020 | 'propagate': False}}, |
---|
2021 | 'version': 1}</pre></td> |
---|
2022 | </tr> |
---|
2023 | |
---|
2024 | <tr> |
---|
2025 | <td>SHORT_DATE_FORMAT</td> |
---|
2026 | <td class="code"><pre>'m/d/Y'</pre></td> |
---|
2027 | </tr> |
---|
2028 | |
---|
2029 | <tr> |
---|
2030 | <td>APPLICATION_SERVER_PORT</td> |
---|
2031 | <td class="code"><pre>'4080'</pre></td> |
---|
2032 | </tr> |
---|
2033 | |
---|
2034 | <tr> |
---|
2035 | <td>SESSION_ENGINE_VALUES</td> |
---|
2036 | <td class="code"><pre>('django.contrib.sessions.backends.db', |
---|
2037 | 'django.contrib.sessions.backends.file', |
---|
2038 | 'django.contrib.sessions.backends.cache', |
---|
2039 | 'django.contrib.sessions.backends.cached_db')</pre></td> |
---|
2040 | </tr> |
---|
2041 | |
---|
2042 | <tr> |
---|
2043 | <td>OPEN_ASTEX_MIN_SIDE</td> |
---|
2044 | <td class="code"><pre>20</pre></td> |
---|
2045 | </tr> |
---|
2046 | |
---|
2047 | <tr> |
---|
2048 | <td>STATICFILES_FINDERS</td> |
---|
2049 | <td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder', |
---|
2050 | 'django.contrib.staticfiles.finders.AppDirectoriesFinder')</pre></td> |
---|
2051 | </tr> |
---|
2052 | |
---|
2053 | <tr> |
---|
2054 | <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> |
---|
2055 | <td class="code"><pre>u'********************'</pre></td> |
---|
2056 | </tr> |
---|
2057 | |
---|
2058 | <tr> |
---|
2059 | <td>TIME_ZONE</td> |
---|
2060 | <td class="code"><pre>'Europe/London'</pre></td> |
---|
2061 | </tr> |
---|
2062 | |
---|
2063 | <tr> |
---|
2064 | <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> |
---|
2065 | <td class="code"><pre>2621440</pre></td> |
---|
2066 | </tr> |
---|
2067 | |
---|
2068 | <tr> |
---|
2069 | <td>EMAIL_BACKEND</td> |
---|
2070 | <td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td> |
---|
2071 | </tr> |
---|
2072 | |
---|
2073 | <tr> |
---|
2074 | <td>INSIGHT_JARS</td> |
---|
2075 | <td class="code"><pre>'c:/OMERO.server/lib/insight'</pre></td> |
---|
2076 | </tr> |
---|
2077 | |
---|
2078 | <tr> |
---|
2079 | <td>WEBSTART_HOST</td> |
---|
2080 | <td class="code"><pre>'localhost'</pre></td> |
---|
2081 | </tr> |
---|
2082 | |
---|
2083 | <tr> |
---|
2084 | <td>APPLICATION_SERVER_MAX_REQUESTS</td> |
---|
2085 | <td class="code"><pre>400</pre></td> |
---|
2086 | </tr> |
---|
2087 | |
---|
2088 | <tr> |
---|
2089 | <td>DEFAULT_TABLESPACE</td> |
---|
2090 | <td class="code"><pre>''</pre></td> |
---|
2091 | </tr> |
---|
2092 | |
---|
2093 | <tr> |
---|
2094 | <td>TEMPLATE_CONTEXT_PROCESSORS</td> |
---|
2095 | <td class="code"><pre>('django.core.context_processors.debug', |
---|
2096 | 'django.core.context_processors.i18n', |
---|
2097 | 'django.core.context_processors.media', |
---|
2098 | 'django.core.context_processors.static', |
---|
2099 | 'django.contrib.messages.context_processors.messages')</pre></td> |
---|
2100 | </tr> |
---|
2101 | |
---|
2102 | <tr> |
---|
2103 | <td>ALL_SERVER_TYPES</td> |
---|
2104 | <td class="code"><pre>('fastcgi-tcp', 'fastcgi', 'development')</pre></td> |
---|
2105 | </tr> |
---|
2106 | |
---|
2107 | <tr> |
---|
2108 | <td>SESSION_COOKIE_AGE</td> |
---|
2109 | <td class="code"><pre>86400</pre></td> |
---|
2110 | </tr> |
---|
2111 | |
---|
2112 | <tr> |
---|
2113 | <td>SETTINGS_MODULE</td> |
---|
2114 | <td class="code"><pre>'omeroweb.settings'</pre></td> |
---|
2115 | </tr> |
---|
2116 | |
---|
2117 | <tr> |
---|
2118 | <td>USE_ETAGS</td> |
---|
2119 | <td class="code"><pre>False</pre></td> |
---|
2120 | </tr> |
---|
2121 | |
---|
2122 | <tr> |
---|
2123 | <td>DEFAULT_SERVER_TYPE</td> |
---|
2124 | <td class="code"><pre>'fastcgi-tcp'</pre></td> |
---|
2125 | </tr> |
---|
2126 | |
---|
2127 | <tr> |
---|
2128 | <td>LANGUAGES</td> |
---|
2129 | <td class="code"><pre>(('af', 'Afrikaans'), |
---|
2130 | ('ar', 'Arabic'), |
---|
2131 | ('az', 'Azerbaijani'), |
---|
2132 | ('bg', 'Bulgarian'), |
---|
2133 | ('be', 'Belarusian'), |
---|
2134 | ('bn', 'Bengali'), |
---|
2135 | ('br', 'Breton'), |
---|
2136 | ('bs', 'Bosnian'), |
---|
2137 | ('ca', 'Catalan'), |
---|
2138 | ('cs', 'Czech'), |
---|
2139 | ('cy', 'Welsh'), |
---|
2140 | ('da', 'Danish'), |
---|
2141 | ('de', 'German'), |
---|
2142 | ('el', 'Greek'), |
---|
2143 | ('en', 'English'), |
---|
2144 | ('en-gb', 'British English'), |
---|
2145 | ('eo', 'Esperanto'), |
---|
2146 | ('es', 'Spanish'), |
---|
2147 | ('es-ar', 'Argentinian Spanish'), |
---|
2148 | ('es-mx', 'Mexican Spanish'), |
---|
2149 | ('es-ni', 'Nicaraguan Spanish'), |
---|
2150 | ('es-ve', 'Venezuelan Spanish'), |
---|
2151 | ('et', 'Estonian'), |
---|
2152 | ('eu', 'Basque'), |
---|
2153 | ('fa', 'Persian'), |
---|
2154 | ('fi', 'Finnish'), |
---|
2155 | ('fr', 'French'), |
---|
2156 | ('fy-nl', 'Frisian'), |
---|
2157 | ('ga', 'Irish'), |
---|
2158 | ('gl', 'Galician'), |
---|
2159 | ('he', 'Hebrew'), |
---|
2160 | ('hi', 'Hindi'), |
---|
2161 | ('hr', 'Croatian'), |
---|
2162 | ('hu', 'Hungarian'), |
---|
2163 | ('ia', 'Interlingua'), |
---|
2164 | ('id', 'Indonesian'), |
---|
2165 | ('is', 'Icelandic'), |
---|
2166 | ('it', 'Italian'), |
---|
2167 | ('ja', 'Japanese'), |
---|
2168 | ('ka', 'Georgian'), |
---|
2169 | ('kk', 'Kazakh'), |
---|
2170 | ('km', 'Khmer'), |
---|
2171 | ('kn', 'Kannada'), |
---|
2172 | ('ko', 'Korean'), |
---|
2173 | ('lb', 'Luxembourgish'), |
---|
2174 | ('lt', 'Lithuanian'), |
---|
2175 | ('lv', 'Latvian'), |
---|
2176 | ('mk', 'Macedonian'), |
---|
2177 | ('ml', 'Malayalam'), |
---|
2178 | ('mn', 'Mongolian'), |
---|
2179 | ('my', 'Burmese'), |
---|
2180 | ('nb', 'Norwegian Bokmal'), |
---|
2181 | ('ne', 'Nepali'), |
---|
2182 | ('nl', 'Dutch'), |
---|
2183 | ('nn', 'Norwegian Nynorsk'), |
---|
2184 | ('os', 'Ossetic'), |
---|
2185 | ('pa', 'Punjabi'), |
---|
2186 | ('pl', 'Polish'), |
---|
2187 | ('pt', 'Portuguese'), |
---|
2188 | ('pt-br', 'Brazilian Portuguese'), |
---|
2189 | ('ro', 'Romanian'), |
---|
2190 | ('ru', 'Russian'), |
---|
2191 | ('sk', 'Slovak'), |
---|
2192 | ('sl', 'Slovenian'), |
---|
2193 | ('sq', 'Albanian'), |
---|
2194 | ('sr', 'Serbian'), |
---|
2195 | ('sr-latn', 'Serbian Latin'), |
---|
2196 | ('sv', 'Swedish'), |
---|
2197 | ('sw', 'Swahili'), |
---|
2198 | ('ta', 'Tamil'), |
---|
2199 | ('te', 'Telugu'), |
---|
2200 | ('th', 'Thai'), |
---|
2201 | ('tr', 'Turkish'), |
---|
2202 | ('tt', 'Tatar'), |
---|
2203 | ('udm', 'Udmurt'), |
---|
2204 | ('uk', 'Ukrainian'), |
---|
2205 | ('ur', 'Urdu'), |
---|
2206 | ('vi', 'Vietnamese'), |
---|
2207 | ('zh-cn', 'Simplified Chinese'), |
---|
2208 | ('zh-tw', 'Traditional Chinese'))</pre></td> |
---|
2209 | </tr> |
---|
2210 | |
---|
2211 | <tr> |
---|
2212 | <td>FILE_UPLOAD_TEMP_DIR</td> |
---|
2213 | <td class="code"><pre>'c:\\windows\\temp'</pre></td> |
---|
2214 | </tr> |
---|
2215 | |
---|
2216 | <tr> |
---|
2217 | <td>INTERNAL_IPS</td> |
---|
2218 | <td class="code"><pre>()</pre></td> |
---|
2219 | </tr> |
---|
2220 | |
---|
2221 | <tr> |
---|
2222 | <td>STATIC_URL</td> |
---|
2223 | <td class="code"><pre>'/static/'</pre></td> |
---|
2224 | </tr> |
---|
2225 | |
---|
2226 | <tr> |
---|
2227 | <td>EMAIL_PORT</td> |
---|
2228 | <td class="code"><pre>None</pre></td> |
---|
2229 | </tr> |
---|
2230 | |
---|
2231 | <tr> |
---|
2232 | <td>USE_TZ</td> |
---|
2233 | <td class="code"><pre>False</pre></td> |
---|
2234 | </tr> |
---|
2235 | |
---|
2236 | <tr> |
---|
2237 | <td>SHORT_DATETIME_FORMAT</td> |
---|
2238 | <td class="code"><pre>'m/d/Y P'</pre></td> |
---|
2239 | </tr> |
---|
2240 | |
---|
2241 | <tr> |
---|
2242 | <td>DEVELOPMENT</td> |
---|
2243 | <td class="code"><pre>'development'</pre></td> |
---|
2244 | </tr> |
---|
2245 | |
---|
2246 | <tr> |
---|
2247 | <td>PASSWORD_HASHERS</td> |
---|
2248 | <td class="code"><pre>u'********************'</pre></td> |
---|
2249 | </tr> |
---|
2250 | |
---|
2251 | <tr> |
---|
2252 | <td>ABSOLUTE_URL_OVERRIDES</td> |
---|
2253 | <td class="code"><pre>{}</pre></td> |
---|
2254 | </tr> |
---|
2255 | |
---|
2256 | <tr> |
---|
2257 | <td>PUBLIC_SERVER_ID</td> |
---|
2258 | <td class="code"><pre>1</pre></td> |
---|
2259 | </tr> |
---|
2260 | |
---|
2261 | <tr> |
---|
2262 | <td>CACHE_MIDDLEWARE_SECONDS</td> |
---|
2263 | <td class="code"><pre>600</pre></td> |
---|
2264 | </tr> |
---|
2265 | |
---|
2266 | <tr> |
---|
2267 | <td>CSRF_COOKIE_HTTPONLY</td> |
---|
2268 | <td class="code"><pre>False</pre></td> |
---|
2269 | </tr> |
---|
2270 | |
---|
2271 | <tr> |
---|
2272 | <td>DATETIME_INPUT_FORMATS</td> |
---|
2273 | <td class="code"><pre>('%Y-%m-%d %H:%M:%S', |
---|
2274 | '%Y-%m-%d %H:%M:%S.%f', |
---|
2275 | '%Y-%m-%d %H:%M', |
---|
2276 | '%Y-%m-%d', |
---|
2277 | '%m/%d/%Y %H:%M:%S', |
---|
2278 | '%m/%d/%Y %H:%M:%S.%f', |
---|
2279 | '%m/%d/%Y %H:%M', |
---|
2280 | '%m/%d/%Y', |
---|
2281 | '%m/%d/%y %H:%M:%S', |
---|
2282 | '%m/%d/%y %H:%M:%S.%f', |
---|
2283 | '%m/%d/%y %H:%M', |
---|
2284 | '%m/%d/%y')</pre></td> |
---|
2285 | </tr> |
---|
2286 | |
---|
2287 | <tr> |
---|
2288 | <td>EMAIL_HOST_USER</td> |
---|
2289 | <td class="code"><pre>None</pre></td> |
---|
2290 | </tr> |
---|
2291 | |
---|
2292 | <tr> |
---|
2293 | <td>PROFANITIES_LIST</td> |
---|
2294 | <td class="code"><pre>u'********************'</pre></td> |
---|
2295 | </tr> |
---|
2296 | |
---|
2297 | </tbody> |
---|
2298 | </table> |
---|
2299 | |
---|
2300 | </div> |
---|
2301 | |
---|
2302 | <div id="explanation"> |
---|
2303 | <p> |
---|
2304 | You're seeing this error because you have <code>DEBUG = True</code> in your |
---|
2305 | Django settings file. Change that to <code>False</code>, and Django will |
---|
2306 | display a standard 500 page. |
---|
2307 | </p> |
---|
2308 | </div> |
---|
2309 | |
---|
2310 | |
---|
2311 | |
---|
2312 | </body></html> |
---|