1 | Content-Type: text/html
|
---|
2 |
|
---|
3 |
|
---|
4 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
5 | <html lang="en">
|
---|
6 | <head>
|
---|
7 | <meta http-equiv="content-type" content="text/html; charset=utf-8">
|
---|
8 | <meta name="robots" content="NONE,NOARCHIVE">
|
---|
9 | <title>OperationalError at /qa/ticket/add/140/</title>
|
---|
10 | <style type="text/css">
|
---|
11 | html * { padding:0; margin:0; }
|
---|
12 | body * { padding:10px 20px; }
|
---|
13 | body * * { padding:0; }
|
---|
14 | body { font:small sans-serif; }
|
---|
15 | body>div { border-bottom:1px solid #ddd; }
|
---|
16 | h1 { font-weight:normal; }
|
---|
17 | h2 { margin-bottom:.8em; }
|
---|
18 | h2 span { font-size:80%; color:#666; font-weight:normal; }
|
---|
19 | h3 { margin:1em 0 .5em 0; }
|
---|
20 | h4 { margin:0 0 .5em 0; font-weight: normal; }
|
---|
21 | table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
|
---|
22 | tbody td, tbody th { vertical-align:top; padding:2px 3px; }
|
---|
23 | thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
|
---|
24 | tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
|
---|
25 | table.vars { margin:5px 0 2px 40px; }
|
---|
26 | table.vars td, table.req td { font-family:monospace; }
|
---|
27 | table td.code { width:100%; }
|
---|
28 | table td.code div { overflow:hidden; }
|
---|
29 | table.source th { color:#666; }
|
---|
30 | table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
|
---|
31 | ul.traceback { list-style-type:none; }
|
---|
32 | ul.traceback li.frame { margin-bottom:1em; }
|
---|
33 | div.context { margin: 10px 0; }
|
---|
34 | div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
|
---|
35 | div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; }
|
---|
36 | div.context ol.context-line li { color:black; background-color:#ccc; }
|
---|
37 | div.context ol.context-line li span { float: right; }
|
---|
38 | div.commands { margin-left: 40px; }
|
---|
39 | div.commands a { color:black; text-decoration:none; }
|
---|
40 | #summary { background: #ffc; }
|
---|
41 | #summary h2 { font-weight: normal; color: #666; }
|
---|
42 | #explanation { background:#eee; }
|
---|
43 | #template, #template-not-exist { background:#f6f6f6; }
|
---|
44 | #template-not-exist ul { margin: 0 0 0 20px; }
|
---|
45 | #unicode-hint { background:#eee; }
|
---|
46 | #traceback { background:#eee; }
|
---|
47 | #requestinfo { background:#f6f6f6; padding-left:120px; }
|
---|
48 | #summary table { border:none; background:transparent; }
|
---|
49 | #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
|
---|
50 | #requestinfo h3 { margin-bottom:-1em; }
|
---|
51 | .error { background: #ffc; }
|
---|
52 | .specific { color:#cc3300; font-weight:bold; }
|
---|
53 | h2 span.commands { font-size:.7em;}
|
---|
54 | span.commands a:link {color:#5E5694;}
|
---|
55 | pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
|
---|
56 | </style>
|
---|
57 | <script type="text/javascript">
|
---|
58 | //<!--
|
---|
59 | function getElementsByClassName(oElm, strTagName, strClassName){
|
---|
60 | // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
|
---|
61 | var arrElements = (strTagName == "*" && document.all)? document.all :
|
---|
62 | oElm.getElementsByTagName(strTagName);
|
---|
63 | var arrReturnElements = new Array();
|
---|
64 | strClassName = strClassName.replace(/\-/g, "\-");
|
---|
65 | var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
|
---|
66 | var oElement;
|
---|
67 | for(var i=0; i<arrElements.length; i++){
|
---|
68 | oElement = arrElements[i];
|
---|
69 | if(oRegExp.test(oElement.className)){
|
---|
70 | arrReturnElements.push(oElement);
|
---|
71 | }
|
---|
72 | }
|
---|
73 | return (arrReturnElements)
|
---|
74 | }
|
---|
75 | function hideAll(elems) {
|
---|
76 | for (var e = 0; e < elems.length; e++) {
|
---|
77 | elems[e].style.display = 'none';
|
---|
78 | }
|
---|
79 | }
|
---|
80 | window.onload = function() {
|
---|
81 | hideAll(getElementsByClassName(document, 'table', 'vars'));
|
---|
82 | hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
|
---|
83 | hideAll(getElementsByClassName(document, 'ol', 'post-context'));
|
---|
84 | hideAll(getElementsByClassName(document, 'div', 'pastebin'));
|
---|
85 | }
|
---|
86 | function toggle() {
|
---|
87 | for (var i = 0; i < arguments.length; i++) {
|
---|
88 | var e = document.getElementById(arguments[i]);
|
---|
89 | if (e) {
|
---|
90 | e.style.display = e.style.display == 'none' ? 'block' : 'none';
|
---|
91 | }
|
---|
92 | }
|
---|
93 | return false;
|
---|
94 | }
|
---|
95 | function varToggle(link, id) {
|
---|
96 | toggle('v' + id);
|
---|
97 | var s = link.getElementsByTagName('span')[0];
|
---|
98 | var uarr = String.fromCharCode(0x25b6);
|
---|
99 | var darr = String.fromCharCode(0x25bc);
|
---|
100 | s.innerHTML = s.innerHTML == uarr ? darr : uarr;
|
---|
101 | return false;
|
---|
102 | }
|
---|
103 | function switchPastebinFriendly(link) {
|
---|
104 | s1 = "Switch to copy-and-paste view";
|
---|
105 | s2 = "Switch back to interactive view";
|
---|
106 | link.innerHTML = link.innerHTML == s1 ? s2 : s1;
|
---|
107 | toggle('browserTraceback', 'pastebinTraceback');
|
---|
108 | return false;
|
---|
109 | }
|
---|
110 | //-->
|
---|
111 | </script>
|
---|
112 | </head>
|
---|
113 | <body>
|
---|
114 | <div id="summary">
|
---|
115 | <h1>OperationalError at /qa/ticket/add/140/</h1>
|
---|
116 | <pre class="exception_value">FATAL: connection limit exceeded for non-superusers
|
---|
117 | </pre>
|
---|
118 | <table class="meta">
|
---|
119 | <tr>
|
---|
120 | <th>Request Method:</th>
|
---|
121 | <td>GET</td>
|
---|
122 | </tr>
|
---|
123 | <tr>
|
---|
124 | <th>Request URL:</th>
|
---|
125 | <td>http://qa.openmicroscopy.org.uk/qa/ticket/add/140/</td>
|
---|
126 | </tr>
|
---|
127 | <tr>
|
---|
128 | <th>Exception Type:</th>
|
---|
129 | <td>OperationalError</td>
|
---|
130 | </tr>
|
---|
131 | <tr>
|
---|
132 | <th>Exception Value:</th>
|
---|
133 | <td><pre>FATAL: connection limit exceeded for non-superusers
|
---|
134 | </pre></td>
|
---|
135 | </tr>
|
---|
136 | <tr>
|
---|
137 | <th>Exception Location:</th>
|
---|
138 | <td>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/backends/postgresql_psycopg2/base.py in _cursor, line 87</td>
|
---|
139 | </tr>
|
---|
140 | <tr>
|
---|
141 | <th>Python Executable:</th>
|
---|
142 | <td>/usr/bin/python</td>
|
---|
143 | </tr>
|
---|
144 | <tr>
|
---|
145 | <th>Python Version:</th>
|
---|
146 | <td>2.6.2</td>
|
---|
147 | </tr>
|
---|
148 | <tr>
|
---|
149 | <th>Python Path:</th>
|
---|
150 | <td>['/var/www/qa.openmicroscopy.org.uk/OMERO.qa', '/usr/lib64/python2.6/site-packages/Trac-0.11.5-py2.6.egg', '/usr/lib64/python2.6/site-packages/Genshi-0.5.1-py2.6-linux-x86_64.egg', '/usr/lib64/python2.6/site-packages/psycopg2-2.0.12-py2.6-linux-x86_64.egg', '/usr/lib64/python2.6/site-packages/zope.interface-3.5.2-py2.6-linux-x86_64.egg', '/usr/lib64/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg', '/usr/lib64/python2.6/site-packages/setuptools-0.6c9-py2.6.egg', '/usr/lib64/python2.6/site-packages/TracTocMacro-11.0.0.3-py2.6.egg', '/usr/lib64/python2.6/site-packages/TracIncludeMacro-2.1-py2.6.egg', '/usr/lib64/python2.6/site-packages/TracXMLRPC-1.0.6-py2.6.egg', '/usr/lib64/python2.6/site-packages/simplejson-2.0.9-py2.6-linux-x86_64.egg', '/usr/lib64/python2.6/site-packages/tables-2.1.2-py2.6-linux-x86_64.egg', '/usr/lib64/python2.6/site-packages/lxml-2.2.2-py2.6-linux-x86_64.egg', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/PIL', '/usr/lib64/portage/pym']</td>
|
---|
151 | </tr>
|
---|
152 | <tr>
|
---|
153 | <th>Server time:</th>
|
---|
154 | <td>Sun, 11 Oct 2009 15:24:53 +0100</td>
|
---|
155 | </tr>
|
---|
156 | </table>
|
---|
157 | </div>
|
---|
158 |
|
---|
159 |
|
---|
160 |
|
---|
161 | <div id="traceback">
|
---|
162 | <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2>
|
---|
163 |
|
---|
164 | <div id="browserTraceback">
|
---|
165 | <ul class="traceback">
|
---|
166 |
|
---|
167 | <li class="frame">
|
---|
168 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/core/handlers/base.py</code> in <code>get_response</code>
|
---|
169 |
|
---|
170 |
|
---|
171 | <div class="context" id="c34314288">
|
---|
172 |
|
---|
173 | <ol start="84" class="pre-context" id="pre34314288"><li onclick="toggle('pre34314288', 'post34314288')"> # Apply view middleware</li><li onclick="toggle('pre34314288', 'post34314288')"> for middleware_method in self._view_middleware:</li><li onclick="toggle('pre34314288', 'post34314288')"> response = middleware_method(request, callback, callback_args, callback_kwargs)</li><li onclick="toggle('pre34314288', 'post34314288')"> if response:</li><li onclick="toggle('pre34314288', 'post34314288')"> return response</li><li onclick="toggle('pre34314288', 'post34314288')"></li><li onclick="toggle('pre34314288', 'post34314288')"> try:</li></ol>
|
---|
174 |
|
---|
175 | <ol start="91" class="context-line"><li onclick="toggle('pre34314288', 'post34314288')"> response = callback(request, *callback_args, **callback_kwargs) <span>...</span></li></ol>
|
---|
176 |
|
---|
177 | <ol start='92' class="post-context" id="post34314288"><li onclick="toggle('pre34314288', 'post34314288')"> except Exception, e:</li><li onclick="toggle('pre34314288', 'post34314288')"> # If the view raised an exception, run it through exception</li><li onclick="toggle('pre34314288', 'post34314288')"> # middleware, and if the exception middleware returns a</li><li onclick="toggle('pre34314288', 'post34314288')"> # response, use that. Otherwise, reraise the exception.</li><li onclick="toggle('pre34314288', 'post34314288')"> for middleware_method in self._exception_middleware:</li><li onclick="toggle('pre34314288', 'post34314288')"> response = middleware_method(request, e)</li></ol>
|
---|
178 |
|
---|
179 | </div>
|
---|
180 |
|
---|
181 |
|
---|
182 |
|
---|
183 | <div class="commands">
|
---|
184 | <a href="#" onclick="return varToggle(this, '34314288')"><span>▶</span> Local vars</a>
|
---|
185 | </div>
|
---|
186 | <table class="vars" id="v34314288">
|
---|
187 | <thead>
|
---|
188 | <tr>
|
---|
189 | <th>Variable</th>
|
---|
190 | <th>Value</th>
|
---|
191 | </tr>
|
---|
192 | </thead>
|
---|
193 | <tbody>
|
---|
194 |
|
---|
195 | <tr>
|
---|
196 | <td>callback</td>
|
---|
197 | <td class="code"><div><function ticket at 0x2db0c80></div></td>
|
---|
198 | </tr>
|
---|
199 |
|
---|
200 | <tr>
|
---|
201 | <td>callback_args</td>
|
---|
202 | <td class="code"><div>()</div></td>
|
---|
203 | </tr>
|
---|
204 |
|
---|
205 | <tr>
|
---|
206 | <td>callback_kwargs</td>
|
---|
207 | <td class="code"><div>{'action': u'add', 'fid': u'140', 'tid': None}</div></td>
|
---|
208 | </tr>
|
---|
209 |
|
---|
210 | <tr>
|
---|
211 | <td>e</td>
|
---|
212 | <td class="code"><div>OperationalError('FATAL: connection limit exceeded for non-superusers\n',)</div></td>
|
---|
213 | </tr>
|
---|
214 |
|
---|
215 | <tr>
|
---|
216 | <td>exc_info</td>
|
---|
217 | <td class="code"><div>(<class 'psycopg2.OperationalError'>,
|
---|
218 | OperationalError('FATAL: connection limit exceeded for non-superusers\n',),
|
---|
219 | <traceback object at 0x20b9830>)</div></td>
|
---|
220 | </tr>
|
---|
221 |
|
---|
222 | <tr>
|
---|
223 | <td>exceptions</td>
|
---|
224 | <td class="code"><div><module 'django.core.exceptions' from '/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/core/exceptions.py'></div></td>
|
---|
225 | </tr>
|
---|
226 |
|
---|
227 | <tr>
|
---|
228 | <td>middleware_method</td>
|
---|
229 | <td class="code"><div><bound method SetRemoteAddrFromForwardedFor.process_request of <django.middleware.http.SetRemoteAddrFromForwardedFor object at 0x2385a50>></div></td>
|
---|
230 | </tr>
|
---|
231 |
|
---|
232 | <tr>
|
---|
233 | <td>receivers</td>
|
---|
234 | <td class="code"><div>[(<function _rollback_on_exception at 0x282ef50>, None)]</div></td>
|
---|
235 | </tr>
|
---|
236 |
|
---|
237 | <tr>
|
---|
238 | <td>request</td>
|
---|
239 | <td class="code"><div><ModPythonRequest
|
---|
240 | path:/qa/ticket/add/140/,
|
---|
241 | GET:<QueryDict: {}>,
|
---|
242 | POST:<QueryDict: {}>,
|
---|
243 | COOKIES:{'sessionid': '87510fae1bb6af3987bee593b45f869a'},
|
---|
244 | META:{'AUTH_TYPE': None,
|
---|
245 | 'CONTENT_LENGTH': 0L,
|
---|
246 | 'CONTENT_TYPE': None,
|
---|
247 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
---|
248 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
---|
249 | 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
|
---|
250 | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
|
---|
251 | 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
|
---|
252 | 'HTTP_CONNECTION': 'keep-alive',
|
---|
253 | 'HTTP_COOKIE': 'sessionid=87510fae1bb6af3987bee593b45f869a',
|
---|
254 | 'HTTP_HOST': 'qa.openmicroscopy.org.uk',
|
---|
255 | 'HTTP_KEEP_ALIVE': '300',
|
---|
256 | 'HTTP_REFERER': 'http://qa.openmicroscopy.org.uk/qa/feedback/140/',
|
---|
257 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3',
|
---|
258 | 'PATH_INFO': u'/qa/ticket/add/140/',
|
---|
259 | 'PATH_TRANSLATED': None,
|
---|
260 | 'QUERY_STRING': None,
|
---|
261 | 'REMOTE_ADDR': '89.48.1.61',
|
---|
262 | 'REMOTE_HOST': None,
|
---|
263 | 'REMOTE_IDENT': None,
|
---|
264 | 'REMOTE_USER': None,
|
---|
265 | 'REQUEST_METHOD': 'GET',
|
---|
266 | 'SCRIPT_NAME': '',
|
---|
267 | 'SERVER_NAME': 'qa.openmicroscopy.org.uk',
|
---|
268 | 'SERVER_PORT': 80,
|
---|
269 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
---|
270 | 'SERVER_SOFTWARE': 'mod_python'}></div></td>
|
---|
271 | </tr>
|
---|
272 |
|
---|
273 | <tr>
|
---|
274 | <td>resolver</td>
|
---|
275 | <td class="code"><div><RegexURLResolver omero_qa.urls ^/></div></td>
|
---|
276 | </tr>
|
---|
277 |
|
---|
278 | <tr>
|
---|
279 | <td>response</td>
|
---|
280 | <td class="code"><div>None</div></td>
|
---|
281 | </tr>
|
---|
282 |
|
---|
283 | <tr>
|
---|
284 | <td>self</td>
|
---|
285 | <td class="code"><div><django.core.handlers.modpython.ModPythonHandler object at 0x2295790></div></td>
|
---|
286 | </tr>
|
---|
287 |
|
---|
288 | <tr>
|
---|
289 | <td>settings</td>
|
---|
290 | <td class="code"><div><django.conf.LazySettings object at 0x239be10></div></td>
|
---|
291 | </tr>
|
---|
292 |
|
---|
293 | <tr>
|
---|
294 | <td>urlconf</td>
|
---|
295 | <td class="code"><div>'omero_qa.urls'</div></td>
|
---|
296 | </tr>
|
---|
297 |
|
---|
298 | <tr>
|
---|
299 | <td>urlresolvers</td>
|
---|
300 | <td class="code"><div><module 'django.core.urlresolvers' from '/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/core/urlresolvers.py'></div></td>
|
---|
301 | </tr>
|
---|
302 |
|
---|
303 | </tbody>
|
---|
304 | </table>
|
---|
305 |
|
---|
306 | </li>
|
---|
307 |
|
---|
308 | <li class="frame">
|
---|
309 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/qa/views.py</code> in <code>ticket</code>
|
---|
310 |
|
---|
311 |
|
---|
312 | <div class="context" id="c35728344">
|
---|
313 |
|
---|
314 | <ol start="983" class="pre-context" id="pre35728344"><li onclick="toggle('pre35728344', 'post35728344')"># pass</li><li onclick="toggle('pre35728344', 'post35728344')"># else:</li><li onclick="toggle('pre35728344', 'post35728344')"># request.session['error'] = "File cannot be deleted."</li><li onclick="toggle('pre35728344', 'post35728344')"># return create_response(request)</li><li onclick="toggle('pre35728344', 'post35728344')"> </li><li onclick="toggle('pre35728344', 'post35728344')"></li><li onclick="toggle('pre35728344', 'post35728344')">def ticket(request, action, fid, tid=None, **kwargs):</li></ol>
|
---|
315 |
|
---|
316 | <ol start="990" class="context-line"><li onclick="toggle('pre35728344', 'post35728344')"> error = check_if_error(request) <span>...</span></li></ol>
|
---|
317 |
|
---|
318 | <ol start='991' class="post-context" id="post35728344"><li onclick="toggle('pre35728344', 'post35728344')"> logger.debug(request.POST)</li><li onclick="toggle('pre35728344', 'post35728344')"> if request.user.is_authenticated() and request.user.is_staff:</li><li onclick="toggle('pre35728344', 'post35728344')"> template = "qa/ticket.html"</li><li onclick="toggle('pre35728344', 'post35728344')"> ticket_form = None</li><li onclick="toggle('pre35728344', 'post35728344')"> if action == 'new':</li><li onclick="toggle('pre35728344', 'post35728344')"> feedback = Feedback.objects.get(pk=fid)</li></ol>
|
---|
319 |
|
---|
320 | </div>
|
---|
321 |
|
---|
322 |
|
---|
323 |
|
---|
324 | <div class="commands">
|
---|
325 | <a href="#" onclick="return varToggle(this, '35728344')"><span>▶</span> Local vars</a>
|
---|
326 | </div>
|
---|
327 | <table class="vars" id="v35728344">
|
---|
328 | <thead>
|
---|
329 | <tr>
|
---|
330 | <th>Variable</th>
|
---|
331 | <th>Value</th>
|
---|
332 | </tr>
|
---|
333 | </thead>
|
---|
334 | <tbody>
|
---|
335 |
|
---|
336 | <tr>
|
---|
337 | <td>action</td>
|
---|
338 | <td class="code"><div>u'add'</div></td>
|
---|
339 | </tr>
|
---|
340 |
|
---|
341 | <tr>
|
---|
342 | <td>fid</td>
|
---|
343 | <td class="code"><div>u'140'</div></td>
|
---|
344 | </tr>
|
---|
345 |
|
---|
346 | <tr>
|
---|
347 | <td>kwargs</td>
|
---|
348 | <td class="code"><div>{}</div></td>
|
---|
349 | </tr>
|
---|
350 |
|
---|
351 | <tr>
|
---|
352 | <td>request</td>
|
---|
353 | <td class="code"><div><ModPythonRequest
|
---|
354 | path:/qa/ticket/add/140/,
|
---|
355 | GET:<QueryDict: {}>,
|
---|
356 | POST:<QueryDict: {}>,
|
---|
357 | COOKIES:{'sessionid': '87510fae1bb6af3987bee593b45f869a'},
|
---|
358 | META:{'AUTH_TYPE': None,
|
---|
359 | 'CONTENT_LENGTH': 0L,
|
---|
360 | 'CONTENT_TYPE': None,
|
---|
361 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
---|
362 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
---|
363 | 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
|
---|
364 | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
|
---|
365 | 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
|
---|
366 | 'HTTP_CONNECTION': 'keep-alive',
|
---|
367 | 'HTTP_COOKIE': 'sessionid=87510fae1bb6af3987bee593b45f869a',
|
---|
368 | 'HTTP_HOST': 'qa.openmicroscopy.org.uk',
|
---|
369 | 'HTTP_KEEP_ALIVE': '300',
|
---|
370 | 'HTTP_REFERER': 'http://qa.openmicroscopy.org.uk/qa/feedback/140/',
|
---|
371 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3',
|
---|
372 | 'PATH_INFO': u'/qa/ticket/add/140/',
|
---|
373 | 'PATH_TRANSLATED': None,
|
---|
374 | 'QUERY_STRING': None,
|
---|
375 | 'REMOTE_ADDR': '89.48.1.61',
|
---|
376 | 'REMOTE_HOST': None,
|
---|
377 | 'REMOTE_IDENT': None,
|
---|
378 | 'REMOTE_USER': None,
|
---|
379 | 'REQUEST_METHOD': 'GET',
|
---|
380 | 'SCRIPT_NAME': '',
|
---|
381 | 'SERVER_NAME': 'qa.openmicroscopy.org.uk',
|
---|
382 | 'SERVER_PORT': 80,
|
---|
383 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
---|
384 | 'SERVER_SOFTWARE': 'mod_python'}></div></td>
|
---|
385 | </tr>
|
---|
386 |
|
---|
387 | <tr>
|
---|
388 | <td>tid</td>
|
---|
389 | <td class="code"><div>None</div></td>
|
---|
390 | </tr>
|
---|
391 |
|
---|
392 | </tbody>
|
---|
393 | </table>
|
---|
394 |
|
---|
395 | </li>
|
---|
396 |
|
---|
397 | <li class="frame">
|
---|
398 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/qa/views.py</code> in <code>check_if_error</code>
|
---|
399 |
|
---|
400 |
|
---|
401 | <div class="context" id="c49772592">
|
---|
402 |
|
---|
403 | <ol start="283" class="pre-context" id="pre49772592"><li onclick="toggle('pre49772592', 'post49772592')">def check_if_error(request):</li><li onclick="toggle('pre49772592', 'post49772592')"> error = None</li><li onclick="toggle('pre49772592', 'post49772592')"> try:</li><li onclick="toggle('pre49772592', 'post49772592')"> if request.session['error']:</li><li onclick="toggle('pre49772592', 'post49772592')"> error = request.session['error']</li><li onclick="toggle('pre49772592', 'post49772592')"> request.session['error'] = None</li><li onclick="toggle('pre49772592', 'post49772592')"> except:</li></ol>
|
---|
404 |
|
---|
405 | <ol start="290" class="context-line"><li onclick="toggle('pre49772592', 'post49772592')"> request.session['error'] = None <span>...</span></li></ol>
|
---|
406 |
|
---|
407 | <ol start='291' class="post-context" id="post49772592"><li onclick="toggle('pre49772592', 'post49772592')"> logger.debug("Error: %s" % error)</li><li onclick="toggle('pre49772592', 'post49772592')"> return error</li><li onclick="toggle('pre49772592', 'post49772592')"></li><li onclick="toggle('pre49772592', 'post49772592')"></li><li onclick="toggle('pre49772592', 'post49772592')">def get_lng_and_lat(ip_address):</li><li onclick="toggle('pre49772592', 'post49772592')"> latitude = None</li></ol>
|
---|
408 |
|
---|
409 | </div>
|
---|
410 |
|
---|
411 |
|
---|
412 |
|
---|
413 | <div class="commands">
|
---|
414 | <a href="#" onclick="return varToggle(this, '49772592')"><span>▶</span> Local vars</a>
|
---|
415 | </div>
|
---|
416 | <table class="vars" id="v49772592">
|
---|
417 | <thead>
|
---|
418 | <tr>
|
---|
419 | <th>Variable</th>
|
---|
420 | <th>Value</th>
|
---|
421 | </tr>
|
---|
422 | </thead>
|
---|
423 | <tbody>
|
---|
424 |
|
---|
425 | <tr>
|
---|
426 | <td>error</td>
|
---|
427 | <td class="code"><div>None</div></td>
|
---|
428 | </tr>
|
---|
429 |
|
---|
430 | <tr>
|
---|
431 | <td>request</td>
|
---|
432 | <td class="code"><div><ModPythonRequest
|
---|
433 | path:/qa/ticket/add/140/,
|
---|
434 | GET:<QueryDict: {}>,
|
---|
435 | POST:<QueryDict: {}>,
|
---|
436 | COOKIES:{'sessionid': '87510fae1bb6af3987bee593b45f869a'},
|
---|
437 | META:{'AUTH_TYPE': None,
|
---|
438 | 'CONTENT_LENGTH': 0L,
|
---|
439 | 'CONTENT_TYPE': None,
|
---|
440 | 'GATEWAY_INTERFACE': 'CGI/1.1',
|
---|
441 | 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
---|
442 | 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
|
---|
443 | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
|
---|
444 | 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
|
---|
445 | 'HTTP_CONNECTION': 'keep-alive',
|
---|
446 | 'HTTP_COOKIE': 'sessionid=87510fae1bb6af3987bee593b45f869a',
|
---|
447 | 'HTTP_HOST': 'qa.openmicroscopy.org.uk',
|
---|
448 | 'HTTP_KEEP_ALIVE': '300',
|
---|
449 | 'HTTP_REFERER': 'http://qa.openmicroscopy.org.uk/qa/feedback/140/',
|
---|
450 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3',
|
---|
451 | 'PATH_INFO': u'/qa/ticket/add/140/',
|
---|
452 | 'PATH_TRANSLATED': None,
|
---|
453 | 'QUERY_STRING': None,
|
---|
454 | 'REMOTE_ADDR': '89.48.1.61',
|
---|
455 | 'REMOTE_HOST': None,
|
---|
456 | 'REMOTE_IDENT': None,
|
---|
457 | 'REMOTE_USER': None,
|
---|
458 | 'REQUEST_METHOD': 'GET',
|
---|
459 | 'SCRIPT_NAME': '',
|
---|
460 | 'SERVER_NAME': 'qa.openmicroscopy.org.uk',
|
---|
461 | 'SERVER_PORT': 80,
|
---|
462 | 'SERVER_PROTOCOL': 'HTTP/1.1',
|
---|
463 | 'SERVER_SOFTWARE': 'mod_python'}></div></td>
|
---|
464 | </tr>
|
---|
465 |
|
---|
466 | </tbody>
|
---|
467 | </table>
|
---|
468 |
|
---|
469 | </li>
|
---|
470 |
|
---|
471 | <li class="frame">
|
---|
472 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/contrib/sessions/backends/base.py</code> in <code>__setitem__</code>
|
---|
473 |
|
---|
474 |
|
---|
475 | <div class="context" id="c42927816">
|
---|
476 |
|
---|
477 | <ol start="42" class="pre-context" id="pre42927816"><li onclick="toggle('pre42927816', 'post42927816')"> def __contains__(self, key):</li><li onclick="toggle('pre42927816', 'post42927816')"> return key in self._session</li><li onclick="toggle('pre42927816', 'post42927816')"></li><li onclick="toggle('pre42927816', 'post42927816')"> def __getitem__(self, key):</li><li onclick="toggle('pre42927816', 'post42927816')"> return self._session[key]</li><li onclick="toggle('pre42927816', 'post42927816')"></li><li onclick="toggle('pre42927816', 'post42927816')"> def __setitem__(self, key, value):</li></ol>
|
---|
478 |
|
---|
479 | <ol start="49" class="context-line"><li onclick="toggle('pre42927816', 'post42927816')"> self._session[key] = value <span>...</span></li></ol>
|
---|
480 |
|
---|
481 | <ol start='50' class="post-context" id="post42927816"><li onclick="toggle('pre42927816', 'post42927816')"> self.modified = True</li><li onclick="toggle('pre42927816', 'post42927816')"></li><li onclick="toggle('pre42927816', 'post42927816')"> def __delitem__(self, key):</li><li onclick="toggle('pre42927816', 'post42927816')"> del self._session[key]</li><li onclick="toggle('pre42927816', 'post42927816')"> self.modified = True</li><li onclick="toggle('pre42927816', 'post42927816')"></li></ol>
|
---|
482 |
|
---|
483 | </div>
|
---|
484 |
|
---|
485 |
|
---|
486 |
|
---|
487 | <div class="commands">
|
---|
488 | <a href="#" onclick="return varToggle(this, '42927816')"><span>▶</span> Local vars</a>
|
---|
489 | </div>
|
---|
490 | <table class="vars" id="v42927816">
|
---|
491 | <thead>
|
---|
492 | <tr>
|
---|
493 | <th>Variable</th>
|
---|
494 | <th>Value</th>
|
---|
495 | </tr>
|
---|
496 | </thead>
|
---|
497 | <tbody>
|
---|
498 |
|
---|
499 | <tr>
|
---|
500 | <td>key</td>
|
---|
501 | <td class="code"><div>'error'</div></td>
|
---|
502 | </tr>
|
---|
503 |
|
---|
504 | <tr>
|
---|
505 | <td>self</td>
|
---|
506 | <td class="code"><div><django.contrib.sessions.backends.db.SessionStore object at 0x2753190></div></td>
|
---|
507 | </tr>
|
---|
508 |
|
---|
509 | <tr>
|
---|
510 | <td>value</td>
|
---|
511 | <td class="code"><div>None</div></td>
|
---|
512 | </tr>
|
---|
513 |
|
---|
514 | </tbody>
|
---|
515 | </table>
|
---|
516 |
|
---|
517 | </li>
|
---|
518 |
|
---|
519 | <li class="frame">
|
---|
520 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/contrib/sessions/backends/base.py</code> in <code>_get_session</code>
|
---|
521 |
|
---|
522 |
|
---|
523 | <div class="context" id="c60273008">
|
---|
524 |
|
---|
525 | <ol start="165" class="pre-context" id="pre60273008"><li onclick="toggle('pre60273008', 'post60273008')"> self.accessed = True</li><li onclick="toggle('pre60273008', 'post60273008')"> try:</li><li onclick="toggle('pre60273008', 'post60273008')"> return self._session_cache</li><li onclick="toggle('pre60273008', 'post60273008')"> except AttributeError:</li><li onclick="toggle('pre60273008', 'post60273008')"> if self._session_key is None or no_load:</li><li onclick="toggle('pre60273008', 'post60273008')"> self._session_cache = {}</li><li onclick="toggle('pre60273008', 'post60273008')"> else:</li></ol>
|
---|
526 |
|
---|
527 | <ol start="172" class="context-line"><li onclick="toggle('pre60273008', 'post60273008')"> self._session_cache = self.load() <span>...</span></li></ol>
|
---|
528 |
|
---|
529 | <ol start='173' class="post-context" id="post60273008"><li onclick="toggle('pre60273008', 'post60273008')"> return self._session_cache</li><li onclick="toggle('pre60273008', 'post60273008')"></li><li onclick="toggle('pre60273008', 'post60273008')"> _session = property(_get_session)</li><li onclick="toggle('pre60273008', 'post60273008')"></li><li onclick="toggle('pre60273008', 'post60273008')"> def get_expiry_age(self):</li><li onclick="toggle('pre60273008', 'post60273008')"> """Get the number of seconds until the session expires."""</li></ol>
|
---|
530 |
|
---|
531 | </div>
|
---|
532 |
|
---|
533 |
|
---|
534 |
|
---|
535 | <div class="commands">
|
---|
536 | <a href="#" onclick="return varToggle(this, '60273008')"><span>▶</span> Local vars</a>
|
---|
537 | </div>
|
---|
538 | <table class="vars" id="v60273008">
|
---|
539 | <thead>
|
---|
540 | <tr>
|
---|
541 | <th>Variable</th>
|
---|
542 | <th>Value</th>
|
---|
543 | </tr>
|
---|
544 | </thead>
|
---|
545 | <tbody>
|
---|
546 |
|
---|
547 | <tr>
|
---|
548 | <td>no_load</td>
|
---|
549 | <td class="code"><div>False</div></td>
|
---|
550 | </tr>
|
---|
551 |
|
---|
552 | <tr>
|
---|
553 | <td>self</td>
|
---|
554 | <td class="code"><div><django.contrib.sessions.backends.db.SessionStore object at 0x2753190></div></td>
|
---|
555 | </tr>
|
---|
556 |
|
---|
557 | </tbody>
|
---|
558 | </table>
|
---|
559 |
|
---|
560 | </li>
|
---|
561 |
|
---|
562 | <li class="frame">
|
---|
563 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/contrib/sessions/backends/db.py</code> in <code>load</code>
|
---|
564 |
|
---|
565 |
|
---|
566 | <div class="context" id="c60272936">
|
---|
567 |
|
---|
568 | <ol start="9" class="pre-context" id="pre60272936"><li onclick="toggle('pre60272936', 'post60272936')"> """</li><li onclick="toggle('pre60272936', 'post60272936')"> Implements database session store.</li><li onclick="toggle('pre60272936', 'post60272936')"> """</li><li onclick="toggle('pre60272936', 'post60272936')"> def load(self):</li><li onclick="toggle('pre60272936', 'post60272936')"> try:</li><li onclick="toggle('pre60272936', 'post60272936')"> s = Session.objects.get(</li><li onclick="toggle('pre60272936', 'post60272936')"> session_key = self.session_key,</li></ol>
|
---|
569 |
|
---|
570 | <ol start="16" class="context-line"><li onclick="toggle('pre60272936', 'post60272936')"> expire_date__gt=datetime.datetime.now() <span>...</span></li></ol>
|
---|
571 |
|
---|
572 | <ol start='17' class="post-context" id="post60272936"><li onclick="toggle('pre60272936', 'post60272936')"> )</li><li onclick="toggle('pre60272936', 'post60272936')"> return self.decode(force_unicode(s.session_data))</li><li onclick="toggle('pre60272936', 'post60272936')"> except (Session.DoesNotExist, SuspiciousOperation):</li><li onclick="toggle('pre60272936', 'post60272936')"> self.create()</li><li onclick="toggle('pre60272936', 'post60272936')"> return {}</li><li onclick="toggle('pre60272936', 'post60272936')"></li></ol>
|
---|
573 |
|
---|
574 | </div>
|
---|
575 |
|
---|
576 |
|
---|
577 |
|
---|
578 | <div class="commands">
|
---|
579 | <a href="#" onclick="return varToggle(this, '60272936')"><span>▶</span> Local vars</a>
|
---|
580 | </div>
|
---|
581 | <table class="vars" id="v60272936">
|
---|
582 | <thead>
|
---|
583 | <tr>
|
---|
584 | <th>Variable</th>
|
---|
585 | <th>Value</th>
|
---|
586 | </tr>
|
---|
587 | </thead>
|
---|
588 | <tbody>
|
---|
589 |
|
---|
590 | <tr>
|
---|
591 | <td>self</td>
|
---|
592 | <td class="code"><div><django.contrib.sessions.backends.db.SessionStore object at 0x2753190></div></td>
|
---|
593 | </tr>
|
---|
594 |
|
---|
595 | </tbody>
|
---|
596 | </table>
|
---|
597 |
|
---|
598 | </li>
|
---|
599 |
|
---|
600 | <li class="frame">
|
---|
601 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/manager.py</code> in <code>get</code>
|
---|
602 |
|
---|
603 |
|
---|
604 | <div class="context" id="c60272864">
|
---|
605 |
|
---|
606 | <ol start="110" class="pre-context" id="pre60272864"><li onclick="toggle('pre60272864', 'post60272864')"> def distinct(self, *args, **kwargs):</li><li onclick="toggle('pre60272864', 'post60272864')"> return self.get_query_set().distinct(*args, **kwargs)</li><li onclick="toggle('pre60272864', 'post60272864')"></li><li onclick="toggle('pre60272864', 'post60272864')"> def extra(self, *args, **kwargs):</li><li onclick="toggle('pre60272864', 'post60272864')"> return self.get_query_set().extra(*args, **kwargs)</li><li onclick="toggle('pre60272864', 'post60272864')"></li><li onclick="toggle('pre60272864', 'post60272864')"> def get(self, *args, **kwargs):</li></ol>
|
---|
607 |
|
---|
608 | <ol start="117" class="context-line"><li onclick="toggle('pre60272864', 'post60272864')"> return self.get_query_set().get(*args, **kwargs) <span>...</span></li></ol>
|
---|
609 |
|
---|
610 | <ol start='118' class="post-context" id="post60272864"><li onclick="toggle('pre60272864', 'post60272864')"></li><li onclick="toggle('pre60272864', 'post60272864')"> def get_or_create(self, **kwargs):</li><li onclick="toggle('pre60272864', 'post60272864')"> return self.get_query_set().get_or_create(**kwargs)</li><li onclick="toggle('pre60272864', 'post60272864')"></li><li onclick="toggle('pre60272864', 'post60272864')"> def create(self, **kwargs):</li><li onclick="toggle('pre60272864', 'post60272864')"> return self.get_query_set().create(**kwargs)</li></ol>
|
---|
611 |
|
---|
612 | </div>
|
---|
613 |
|
---|
614 |
|
---|
615 |
|
---|
616 | <div class="commands">
|
---|
617 | <a href="#" onclick="return varToggle(this, '60272864')"><span>▶</span> Local vars</a>
|
---|
618 | </div>
|
---|
619 | <table class="vars" id="v60272864">
|
---|
620 | <thead>
|
---|
621 | <tr>
|
---|
622 | <th>Variable</th>
|
---|
623 | <th>Value</th>
|
---|
624 | </tr>
|
---|
625 | </thead>
|
---|
626 | <tbody>
|
---|
627 |
|
---|
628 | <tr>
|
---|
629 | <td>args</td>
|
---|
630 | <td class="code"><div>()</div></td>
|
---|
631 | </tr>
|
---|
632 |
|
---|
633 | <tr>
|
---|
634 | <td>kwargs</td>
|
---|
635 | <td class="code"><div>{'expire_date__gt': datetime.datetime(2009, 10, 11, 15, 24, 53, 213837),
|
---|
636 | 'session_key': '87510fae1bb6af3987bee593b45f869a'}</div></td>
|
---|
637 | </tr>
|
---|
638 |
|
---|
639 | <tr>
|
---|
640 | <td>self</td>
|
---|
641 | <td class="code"><div><django.contrib.sessions.models.SessionManager object at 0x2f71390></div></td>
|
---|
642 | </tr>
|
---|
643 |
|
---|
644 | </tbody>
|
---|
645 | </table>
|
---|
646 |
|
---|
647 | </li>
|
---|
648 |
|
---|
649 | <li class="frame">
|
---|
650 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/query.py</code> in <code>get</code>
|
---|
651 |
|
---|
652 |
|
---|
653 | <div class="context" id="c60272792">
|
---|
654 |
|
---|
655 | <ol start="310" class="pre-context" id="pre60272792"><li onclick="toggle('pre60272792', 'post60272792')"></li><li onclick="toggle('pre60272792', 'post60272792')"> def get(self, *args, **kwargs):</li><li onclick="toggle('pre60272792', 'post60272792')"> """</li><li onclick="toggle('pre60272792', 'post60272792')"> Performs the query and returns a single object matching the given</li><li onclick="toggle('pre60272792', 'post60272792')"> keyword arguments.</li><li onclick="toggle('pre60272792', 'post60272792')"> """</li><li onclick="toggle('pre60272792', 'post60272792')"> clone = self.filter(*args, **kwargs)</li></ol>
|
---|
656 |
|
---|
657 | <ol start="317" class="context-line"><li onclick="toggle('pre60272792', 'post60272792')"> num = len(clone) <span>...</span></li></ol>
|
---|
658 |
|
---|
659 | <ol start='318' class="post-context" id="post60272792"><li onclick="toggle('pre60272792', 'post60272792')"> if num == 1:</li><li onclick="toggle('pre60272792', 'post60272792')"> return clone._result_cache[0]</li><li onclick="toggle('pre60272792', 'post60272792')"> if not num:</li><li onclick="toggle('pre60272792', 'post60272792')"> raise self.model.DoesNotExist("%s matching query does not exist."</li><li onclick="toggle('pre60272792', 'post60272792')"> % self.model._meta.object_name)</li><li onclick="toggle('pre60272792', 'post60272792')"> raise self.model.MultipleObjectsReturned("get() returned more than one %s -- it returned %s! Lookup parameters were %s"</li></ol>
|
---|
660 |
|
---|
661 | </div>
|
---|
662 |
|
---|
663 |
|
---|
664 |
|
---|
665 | <div class="commands">
|
---|
666 | <a href="#" onclick="return varToggle(this, '60272792')"><span>▶</span> Local vars</a>
|
---|
667 | </div>
|
---|
668 | <table class="vars" id="v60272792">
|
---|
669 | <thead>
|
---|
670 | <tr>
|
---|
671 | <th>Variable</th>
|
---|
672 | <th>Value</th>
|
---|
673 | </tr>
|
---|
674 | </thead>
|
---|
675 | <tbody>
|
---|
676 |
|
---|
677 | <tr>
|
---|
678 | <td>args</td>
|
---|
679 | <td class="code"><div>()</div></td>
|
---|
680 | </tr>
|
---|
681 |
|
---|
682 | <tr>
|
---|
683 | <td>clone</td>
|
---|
684 | <td class="code"><div>Error in formatting: FATAL: connection limit exceeded for non-superusers
|
---|
685 | </div></td>
|
---|
686 | </tr>
|
---|
687 |
|
---|
688 | <tr>
|
---|
689 | <td>kwargs</td>
|
---|
690 | <td class="code"><div>{'expire_date__gt': datetime.datetime(2009, 10, 11, 15, 24, 53, 213837),
|
---|
691 | 'session_key': '87510fae1bb6af3987bee593b45f869a'}</div></td>
|
---|
692 | </tr>
|
---|
693 |
|
---|
694 | <tr>
|
---|
695 | <td>self</td>
|
---|
696 | <td class="code"><div>Error in formatting: FATAL: connection limit exceeded for non-superusers
|
---|
697 | </div></td>
|
---|
698 | </tr>
|
---|
699 |
|
---|
700 | </tbody>
|
---|
701 | </table>
|
---|
702 |
|
---|
703 | </li>
|
---|
704 |
|
---|
705 | <li class="frame">
|
---|
706 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/query.py</code> in <code>__len__</code>
|
---|
707 |
|
---|
708 |
|
---|
709 | <div class="context" id="c60272720">
|
---|
710 |
|
---|
711 | <ol start="166" class="pre-context" id="pre60272720"><li onclick="toggle('pre60272720', 'post60272720')"> # Since __len__ is called quite frequently (for example, as part of</li><li onclick="toggle('pre60272720', 'post60272720')"> # list(qs), we make some effort here to be as efficient as possible</li><li onclick="toggle('pre60272720', 'post60272720')"> # whilst not messing up any existing iterators against the QuerySet.</li><li onclick="toggle('pre60272720', 'post60272720')"> if self._result_cache is None:</li><li onclick="toggle('pre60272720', 'post60272720')"> if self._iter:</li><li onclick="toggle('pre60272720', 'post60272720')"> self._result_cache = list(self._iter)</li><li onclick="toggle('pre60272720', 'post60272720')"> else:</li></ol>
|
---|
712 |
|
---|
713 | <ol start="173" class="context-line"><li onclick="toggle('pre60272720', 'post60272720')"> self._result_cache = list(self.iterator()) <span>...</span></li></ol>
|
---|
714 |
|
---|
715 | <ol start='174' class="post-context" id="post60272720"><li onclick="toggle('pre60272720', 'post60272720')"> elif self._iter:</li><li onclick="toggle('pre60272720', 'post60272720')"> self._result_cache.extend(list(self._iter))</li><li onclick="toggle('pre60272720', 'post60272720')"> return len(self._result_cache)</li><li onclick="toggle('pre60272720', 'post60272720')"></li><li onclick="toggle('pre60272720', 'post60272720')"> def __iter__(self):</li><li onclick="toggle('pre60272720', 'post60272720')"> if self._result_cache is None:</li></ol>
|
---|
716 |
|
---|
717 | </div>
|
---|
718 |
|
---|
719 |
|
---|
720 |
|
---|
721 | <div class="commands">
|
---|
722 | <a href="#" onclick="return varToggle(this, '60272720')"><span>▶</span> Local vars</a>
|
---|
723 | </div>
|
---|
724 | <table class="vars" id="v60272720">
|
---|
725 | <thead>
|
---|
726 | <tr>
|
---|
727 | <th>Variable</th>
|
---|
728 | <th>Value</th>
|
---|
729 | </tr>
|
---|
730 | </thead>
|
---|
731 | <tbody>
|
---|
732 |
|
---|
733 | <tr>
|
---|
734 | <td>self</td>
|
---|
735 | <td class="code"><div>Error in formatting: FATAL: connection limit exceeded for non-superusers
|
---|
736 | </div></td>
|
---|
737 | </tr>
|
---|
738 |
|
---|
739 | </tbody>
|
---|
740 | </table>
|
---|
741 |
|
---|
742 | </li>
|
---|
743 |
|
---|
744 | <li class="frame">
|
---|
745 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/query.py</code> in <code>iterator</code>
|
---|
746 |
|
---|
747 |
|
---|
748 | <div class="context" id="c60231624">
|
---|
749 |
|
---|
750 | <ol start="281" class="pre-context" id="pre60231624"><li onclick="toggle('pre60231624', 'post60231624')"> if isinstance(fill_cache, dict):</li><li onclick="toggle('pre60231624', 'post60231624')"> requested = fill_cache</li><li onclick="toggle('pre60231624', 'post60231624')"> else:</li><li onclick="toggle('pre60231624', 'post60231624')"> requested = None</li><li onclick="toggle('pre60231624', 'post60231624')"> max_depth = self.query.max_depth</li><li onclick="toggle('pre60231624', 'post60231624')"> extra_select = self.query.extra_select.keys()</li><li onclick="toggle('pre60231624', 'post60231624')"> index_start = len(extra_select)</li></ol>
|
---|
751 |
|
---|
752 | <ol start="288" class="context-line"><li onclick="toggle('pre60231624', 'post60231624')"> for row in self.query.results_iter(): <span>...</span></li></ol>
|
---|
753 |
|
---|
754 | <ol start='289' class="post-context" id="post60231624"><li onclick="toggle('pre60231624', 'post60231624')"> if fill_cache:</li><li onclick="toggle('pre60231624', 'post60231624')"> obj, _ = get_cached_row(self.model, row, index_start,</li><li onclick="toggle('pre60231624', 'post60231624')"> max_depth, requested=requested)</li><li onclick="toggle('pre60231624', 'post60231624')"> else:</li><li onclick="toggle('pre60231624', 'post60231624')"> obj = self.model(*row[index_start:])</li><li onclick="toggle('pre60231624', 'post60231624')"> for i, k in enumerate(extra_select):</li></ol>
|
---|
755 |
|
---|
756 | </div>
|
---|
757 |
|
---|
758 |
|
---|
759 |
|
---|
760 | <div class="commands">
|
---|
761 | <a href="#" onclick="return varToggle(this, '60231624')"><span>▶</span> Local vars</a>
|
---|
762 | </div>
|
---|
763 | <table class="vars" id="v60231624">
|
---|
764 | <thead>
|
---|
765 | <tr>
|
---|
766 | <th>Variable</th>
|
---|
767 | <th>Value</th>
|
---|
768 | </tr>
|
---|
769 | </thead>
|
---|
770 | <tbody>
|
---|
771 |
|
---|
772 | <tr>
|
---|
773 | <td>extra_select</td>
|
---|
774 | <td class="code"><div>[]</div></td>
|
---|
775 | </tr>
|
---|
776 |
|
---|
777 | <tr>
|
---|
778 | <td>fill_cache</td>
|
---|
779 | <td class="code"><div>False</div></td>
|
---|
780 | </tr>
|
---|
781 |
|
---|
782 | <tr>
|
---|
783 | <td>index_start</td>
|
---|
784 | <td class="code"><div>0</div></td>
|
---|
785 | </tr>
|
---|
786 |
|
---|
787 | <tr>
|
---|
788 | <td>max_depth</td>
|
---|
789 | <td class="code"><div>5</div></td>
|
---|
790 | </tr>
|
---|
791 |
|
---|
792 | <tr>
|
---|
793 | <td>requested</td>
|
---|
794 | <td class="code"><div>None</div></td>
|
---|
795 | </tr>
|
---|
796 |
|
---|
797 | <tr>
|
---|
798 | <td>self</td>
|
---|
799 | <td class="code"><div>Error in formatting: FATAL: connection limit exceeded for non-superusers
|
---|
800 | </div></td>
|
---|
801 | </tr>
|
---|
802 |
|
---|
803 | </tbody>
|
---|
804 | </table>
|
---|
805 |
|
---|
806 | </li>
|
---|
807 |
|
---|
808 | <li class="frame">
|
---|
809 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/sql/query.py</code> in <code>results_iter</code>
|
---|
810 |
|
---|
811 |
|
---|
812 | <div class="context" id="c60231552">
|
---|
813 |
|
---|
814 | <ol start="198" class="pre-context" id="pre60231552"><li onclick="toggle('pre60231552', 'post60231552')"></li><li onclick="toggle('pre60231552', 'post60231552')"> def results_iter(self):</li><li onclick="toggle('pre60231552', 'post60231552')"> """</li><li onclick="toggle('pre60231552', 'post60231552')"> Returns an iterator over the results from executing this query.</li><li onclick="toggle('pre60231552', 'post60231552')"> """</li><li onclick="toggle('pre60231552', 'post60231552')"> resolve_columns = hasattr(self, 'resolve_columns')</li><li onclick="toggle('pre60231552', 'post60231552')"> fields = None</li></ol>
|
---|
815 |
|
---|
816 | <ol start="205" class="context-line"><li onclick="toggle('pre60231552', 'post60231552')"> for rows in self.execute_sql(MULTI): <span>...</span></li></ol>
|
---|
817 |
|
---|
818 | <ol start='206' class="post-context" id="post60231552"><li onclick="toggle('pre60231552', 'post60231552')"> for row in rows:</li><li onclick="toggle('pre60231552', 'post60231552')"> if resolve_columns:</li><li onclick="toggle('pre60231552', 'post60231552')"> if fields is None:</li><li onclick="toggle('pre60231552', 'post60231552')"> # We only set this up here because</li><li onclick="toggle('pre60231552', 'post60231552')"> # related_select_fields isn't populated until</li><li onclick="toggle('pre60231552', 'post60231552')"> # execute_sql() has been called.</li></ol>
|
---|
819 |
|
---|
820 | </div>
|
---|
821 |
|
---|
822 |
|
---|
823 |
|
---|
824 | <div class="commands">
|
---|
825 | <a href="#" onclick="return varToggle(this, '60231552')"><span>▶</span> Local vars</a>
|
---|
826 | </div>
|
---|
827 | <table class="vars" id="v60231552">
|
---|
828 | <thead>
|
---|
829 | <tr>
|
---|
830 | <th>Variable</th>
|
---|
831 | <th>Value</th>
|
---|
832 | </tr>
|
---|
833 | </thead>
|
---|
834 | <tbody>
|
---|
835 |
|
---|
836 | <tr>
|
---|
837 | <td>fields</td>
|
---|
838 | <td class="code"><div>None</div></td>
|
---|
839 | </tr>
|
---|
840 |
|
---|
841 | <tr>
|
---|
842 | <td>resolve_columns</td>
|
---|
843 | <td class="code"><div>False</div></td>
|
---|
844 | </tr>
|
---|
845 |
|
---|
846 | <tr>
|
---|
847 | <td>self</td>
|
---|
848 | <td class="code"><div><django.db.models.sql.query.BaseQuery object at 0x396e750></div></td>
|
---|
849 | </tr>
|
---|
850 |
|
---|
851 | </tbody>
|
---|
852 | </table>
|
---|
853 |
|
---|
854 | </li>
|
---|
855 |
|
---|
856 | <li class="frame">
|
---|
857 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/sql/query.py</code> in <code>execute_sql</code>
|
---|
858 |
|
---|
859 |
|
---|
860 | <div class="context" id="c60231480">
|
---|
861 |
|
---|
862 | <ol start="1812" class="pre-context" id="pre60231480"><li onclick="toggle('pre60231480', 'post60231480')"> raise EmptyResultSet</li><li onclick="toggle('pre60231480', 'post60231480')"> except EmptyResultSet:</li><li onclick="toggle('pre60231480', 'post60231480')"> if result_type == MULTI:</li><li onclick="toggle('pre60231480', 'post60231480')"> return empty_iter()</li><li onclick="toggle('pre60231480', 'post60231480')"> else:</li><li onclick="toggle('pre60231480', 'post60231480')"> return</li><li onclick="toggle('pre60231480', 'post60231480')"></li></ol>
|
---|
863 |
|
---|
864 | <ol start="1819" class="context-line"><li onclick="toggle('pre60231480', 'post60231480')"> cursor = self.connection.cursor() <span>...</span></li></ol>
|
---|
865 |
|
---|
866 | <ol start='1820' class="post-context" id="post60231480"><li onclick="toggle('pre60231480', 'post60231480')"> cursor.execute(sql, params)</li><li onclick="toggle('pre60231480', 'post60231480')"></li><li onclick="toggle('pre60231480', 'post60231480')"> if not result_type:</li><li onclick="toggle('pre60231480', 'post60231480')"> return cursor</li><li onclick="toggle('pre60231480', 'post60231480')"> if result_type == SINGLE:</li><li onclick="toggle('pre60231480', 'post60231480')"> if self.ordering_aliases:</li></ol>
|
---|
867 |
|
---|
868 | </div>
|
---|
869 |
|
---|
870 |
|
---|
871 |
|
---|
872 | <div class="commands">
|
---|
873 | <a href="#" onclick="return varToggle(this, '60231480')"><span>▶</span> Local vars</a>
|
---|
874 | </div>
|
---|
875 | <table class="vars" id="v60231480">
|
---|
876 | <thead>
|
---|
877 | <tr>
|
---|
878 | <th>Variable</th>
|
---|
879 | <th>Value</th>
|
---|
880 | </tr>
|
---|
881 | </thead>
|
---|
882 | <tbody>
|
---|
883 |
|
---|
884 | <tr>
|
---|
885 | <td>params</td>
|
---|
886 | <td class="code"><div>('87510fae1bb6af3987bee593b45f869a', u'2009-10-11 15:24:53.213837')</div></td>
|
---|
887 | </tr>
|
---|
888 |
|
---|
889 | <tr>
|
---|
890 | <td>result_type</td>
|
---|
891 | <td class="code"><div>'multi'</div></td>
|
---|
892 | </tr>
|
---|
893 |
|
---|
894 | <tr>
|
---|
895 | <td>self</td>
|
---|
896 | <td class="code"><div><django.db.models.sql.query.BaseQuery object at 0x396e750></div></td>
|
---|
897 | </tr>
|
---|
898 |
|
---|
899 | <tr>
|
---|
900 | <td>sql</td>
|
---|
901 | <td class="code"><div>'SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = %s AND "django_session"."expire_date" > %s )'</div></td>
|
---|
902 | </tr>
|
---|
903 |
|
---|
904 | </tbody>
|
---|
905 | </table>
|
---|
906 |
|
---|
907 | </li>
|
---|
908 |
|
---|
909 | <li class="frame">
|
---|
910 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/backends/__init__.py</code> in <code>cursor</code>
|
---|
911 |
|
---|
912 |
|
---|
913 | <div class="context" id="c60231408">
|
---|
914 |
|
---|
915 | <ol start="49" class="pre-context" id="pre60231408"><li onclick="toggle('pre60231408', 'post60231408')"> def close(self):</li><li onclick="toggle('pre60231408', 'post60231408')"> if self.connection is not None:</li><li onclick="toggle('pre60231408', 'post60231408')"> self.connection.close()</li><li onclick="toggle('pre60231408', 'post60231408')"> self.connection = None</li><li onclick="toggle('pre60231408', 'post60231408')"></li><li onclick="toggle('pre60231408', 'post60231408')"> def cursor(self):</li><li onclick="toggle('pre60231408', 'post60231408')"> from django.conf import settings</li></ol>
|
---|
916 |
|
---|
917 | <ol start="56" class="context-line"><li onclick="toggle('pre60231408', 'post60231408')"> cursor = self._cursor(settings) <span>...</span></li></ol>
|
---|
918 |
|
---|
919 | <ol start='57' class="post-context" id="post60231408"><li onclick="toggle('pre60231408', 'post60231408')"> if settings.DEBUG:</li><li onclick="toggle('pre60231408', 'post60231408')"> return self.make_debug_cursor(cursor)</li><li onclick="toggle('pre60231408', 'post60231408')"> return cursor</li><li onclick="toggle('pre60231408', 'post60231408')"></li><li onclick="toggle('pre60231408', 'post60231408')"> def make_debug_cursor(self, cursor):</li><li onclick="toggle('pre60231408', 'post60231408')"> return util.CursorDebugWrapper(cursor, self)</li></ol>
|
---|
920 |
|
---|
921 | </div>
|
---|
922 |
|
---|
923 |
|
---|
924 |
|
---|
925 | <div class="commands">
|
---|
926 | <a href="#" onclick="return varToggle(this, '60231408')"><span>▶</span> Local vars</a>
|
---|
927 | </div>
|
---|
928 | <table class="vars" id="v60231408">
|
---|
929 | <thead>
|
---|
930 | <tr>
|
---|
931 | <th>Variable</th>
|
---|
932 | <th>Value</th>
|
---|
933 | </tr>
|
---|
934 | </thead>
|
---|
935 | <tbody>
|
---|
936 |
|
---|
937 | <tr>
|
---|
938 | <td>self</td>
|
---|
939 | <td class="code"><div><django.db.backends.postgresql_psycopg2.base.DatabaseWrapper object at 0x27f4ec0></div></td>
|
---|
940 | </tr>
|
---|
941 |
|
---|
942 | <tr>
|
---|
943 | <td>settings</td>
|
---|
944 | <td class="code"><div><django.conf.LazySettings object at 0x239be10></div></td>
|
---|
945 | </tr>
|
---|
946 |
|
---|
947 | </tbody>
|
---|
948 | </table>
|
---|
949 |
|
---|
950 | </li>
|
---|
951 |
|
---|
952 | <li class="frame">
|
---|
953 | <code>/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/backends/postgresql_psycopg2/base.py</code> in <code>_cursor</code>
|
---|
954 |
|
---|
955 |
|
---|
956 | <div class="context" id="c60231336">
|
---|
957 |
|
---|
958 | <ol start="80" class="pre-context" id="pre60231336"><li onclick="toggle('pre60231336', 'post60231336')"> conn_params['user'] = settings.DATABASE_USER</li><li onclick="toggle('pre60231336', 'post60231336')"> if settings.DATABASE_PASSWORD:</li><li onclick="toggle('pre60231336', 'post60231336')"> conn_params['password'] = settings.DATABASE_PASSWORD</li><li onclick="toggle('pre60231336', 'post60231336')"> if settings.DATABASE_HOST:</li><li onclick="toggle('pre60231336', 'post60231336')"> conn_params['host'] = settings.DATABASE_HOST</li><li onclick="toggle('pre60231336', 'post60231336')"> if settings.DATABASE_PORT:</li><li onclick="toggle('pre60231336', 'post60231336')"> conn_params['port'] = settings.DATABASE_PORT</li></ol>
|
---|
959 |
|
---|
960 | <ol start="87" class="context-line"><li onclick="toggle('pre60231336', 'post60231336')"> self.connection = Database.connect(**conn_params) <span>...</span></li></ol>
|
---|
961 |
|
---|
962 | <ol start='88' class="post-context" id="post60231336"><li onclick="toggle('pre60231336', 'post60231336')"> self.connection.set_isolation_level(1) # make transactions transparent to all cursors</li><li onclick="toggle('pre60231336', 'post60231336')"> self.connection.set_client_encoding('UTF8')</li><li onclick="toggle('pre60231336', 'post60231336')"> cursor = self.connection.cursor()</li><li onclick="toggle('pre60231336', 'post60231336')"> cursor.tzinfo_factory = None</li><li onclick="toggle('pre60231336', 'post60231336')"> if set_tz:</li><li onclick="toggle('pre60231336', 'post60231336')"> cursor.execute("SET TIME ZONE %s", [settings.TIME_ZONE])</li></ol>
|
---|
963 |
|
---|
964 | </div>
|
---|
965 |
|
---|
966 |
|
---|
967 |
|
---|
968 | <div class="commands">
|
---|
969 | <a href="#" onclick="return varToggle(this, '60231336')"><span>▶</span> Local vars</a>
|
---|
970 | </div>
|
---|
971 | <table class="vars" id="v60231336">
|
---|
972 | <thead>
|
---|
973 | <tr>
|
---|
974 | <th>Variable</th>
|
---|
975 | <th>Value</th>
|
---|
976 | </tr>
|
---|
977 | </thead>
|
---|
978 | <tbody>
|
---|
979 |
|
---|
980 | <tr>
|
---|
981 | <td>conn_params</td>
|
---|
982 | <td class="code"><div>{'database': 'feedback',
|
---|
983 | 'host': 'localhost',
|
---|
984 | 'password': 'WeckDozt7',
|
---|
985 | 'user': 'feedback'}</div></td>
|
---|
986 | </tr>
|
---|
987 |
|
---|
988 | <tr>
|
---|
989 | <td>self</td>
|
---|
990 | <td class="code"><div><django.db.backends.postgresql_psycopg2.base.DatabaseWrapper object at 0x27f4ec0></div></td>
|
---|
991 | </tr>
|
---|
992 |
|
---|
993 | <tr>
|
---|
994 | <td>set_tz</td>
|
---|
995 | <td class="code"><div>True</div></td>
|
---|
996 | </tr>
|
---|
997 |
|
---|
998 | <tr>
|
---|
999 | <td>settings</td>
|
---|
1000 | <td class="code"><div><django.conf.LazySettings object at 0x239be10></div></td>
|
---|
1001 | </tr>
|
---|
1002 |
|
---|
1003 | </tbody>
|
---|
1004 | </table>
|
---|
1005 |
|
---|
1006 | </li>
|
---|
1007 |
|
---|
1008 | </ul>
|
---|
1009 | </div>
|
---|
1010 |
|
---|
1011 | <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
|
---|
1012 | <div id="pastebinTraceback" class="pastebin">
|
---|
1013 | <input type="hidden" name="language" value="PythonConsole">
|
---|
1014 | <input type="hidden" name="title" value="OperationalError at /qa/ticket/add/140/">
|
---|
1015 | <input type="hidden" name="source" value="Django Dpaste Agent">
|
---|
1016 | <input type="hidden" name="poster" value="Django">
|
---|
1017 | <textarea name="content" id="traceback_area" cols="140" rows="25">
|
---|
1018 | Environment:
|
---|
1019 |
|
---|
1020 | Request Method: GET
|
---|
1021 | Request URL: http://qa.openmicroscopy.org.uk/qa/ticket/add/140/
|
---|
1022 | Django Version: 1.0.3
|
---|
1023 | Python Version: 2.6.2
|
---|
1024 | Installed Applications:
|
---|
1025 | ['django.contrib.admin',
|
---|
1026 | 'django.contrib.auth',
|
---|
1027 | 'django.contrib.contenttypes',
|
---|
1028 | 'django.contrib.markup',
|
---|
1029 | 'django.contrib.sessions',
|
---|
1030 | 'django.contrib.sites',
|
---|
1031 | 'omero_qa.qa',
|
---|
1032 | 'omero_qa.feedback',
|
---|
1033 | 'omero_qa.registry',
|
---|
1034 | 'omero_qa.validator']
|
---|
1035 | Installed Middleware:
|
---|
1036 | ('django.middleware.common.CommonMiddleware',
|
---|
1037 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
1038 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
1039 | 'djangologging.middleware.LoggingMiddleware',
|
---|
1040 | 'django.middleware.http.SetRemoteAddrFromForwardedFor')
|
---|
1041 |
|
---|
1042 |
|
---|
1043 | Traceback:
|
---|
1044 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/core/handlers/base.py" in get_response
|
---|
1045 | 91. response = callback(request, *callback_args, **callback_kwargs)
|
---|
1046 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/qa/views.py" in ticket
|
---|
1047 | 990. error = check_if_error(request)
|
---|
1048 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/qa/views.py" in check_if_error
|
---|
1049 | 290. request.session['error'] = None
|
---|
1050 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/contrib/sessions/backends/base.py" in __setitem__
|
---|
1051 | 49. self._session[key] = value
|
---|
1052 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/contrib/sessions/backends/base.py" in _get_session
|
---|
1053 | 172. self._session_cache = self.load()
|
---|
1054 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/contrib/sessions/backends/db.py" in load
|
---|
1055 | 16. expire_date__gt=datetime.datetime.now()
|
---|
1056 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/manager.py" in get
|
---|
1057 | 117. return self.get_query_set().get(*args, **kwargs)
|
---|
1058 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/query.py" in get
|
---|
1059 | 317. num = len(clone)
|
---|
1060 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/query.py" in __len__
|
---|
1061 | 173. self._result_cache = list(self.iterator())
|
---|
1062 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/query.py" in iterator
|
---|
1063 | 288. for row in self.query.results_iter():
|
---|
1064 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/sql/query.py" in results_iter
|
---|
1065 | 205. for rows in self.execute_sql(MULTI):
|
---|
1066 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/models/sql/query.py" in execute_sql
|
---|
1067 | 1819. cursor = self.connection.cursor()
|
---|
1068 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/backends/__init__.py" in cursor
|
---|
1069 | 56. cursor = self._cursor(settings)
|
---|
1070 | File "/var/www/qa.openmicroscopy.org.uk/OMERO.qa/django/db/backends/postgresql_psycopg2/base.py" in _cursor
|
---|
1071 | 87. self.connection = Database.connect(**conn_params)
|
---|
1072 |
|
---|
1073 | Exception Type: OperationalError at /qa/ticket/add/140/
|
---|
1074 | Exception Value: FATAL: connection limit exceeded for non-superusers
|
---|
1075 |
|
---|
1076 | </textarea>
|
---|
1077 | <br><br>
|
---|
1078 | <input type="submit" value="Share this traceback on a public Web site">
|
---|
1079 | </div>
|
---|
1080 | </form>
|
---|
1081 | </div>
|
---|
1082 |
|
---|
1083 | <div id="requestinfo">
|
---|
1084 | <h2>Request information</h2>
|
---|
1085 |
|
---|
1086 | <h3 id="get-info">GET</h3>
|
---|
1087 |
|
---|
1088 | <p>No GET data</p>
|
---|
1089 |
|
---|
1090 |
|
---|
1091 | <h3 id="post-info">POST</h3>
|
---|
1092 |
|
---|
1093 | <p>No POST data</p>
|
---|
1094 |
|
---|
1095 |
|
---|
1096 |
|
---|
1097 | <h3 id="cookie-info">COOKIES</h3>
|
---|
1098 |
|
---|
1099 | <table class="req">
|
---|
1100 | <thead>
|
---|
1101 | <tr>
|
---|
1102 | <th>Variable</th>
|
---|
1103 | <th>Value</th>
|
---|
1104 | </tr>
|
---|
1105 | </thead>
|
---|
1106 | <tbody>
|
---|
1107 |
|
---|
1108 | <tr>
|
---|
1109 | <td>sessionid</td>
|
---|
1110 | <td class="code"><div>'87510fae1bb6af3987bee593b45f869a'</div></td>
|
---|
1111 | </tr>
|
---|
1112 |
|
---|
1113 | </tbody>
|
---|
1114 | </table>
|
---|
1115 |
|
---|
1116 |
|
---|
1117 | <h3 id="meta-info">META</h3>
|
---|
1118 | <table class="req">
|
---|
1119 | <thead>
|
---|
1120 | <tr>
|
---|
1121 | <th>Variable</th>
|
---|
1122 | <th>Value</th>
|
---|
1123 | </tr>
|
---|
1124 | </thead>
|
---|
1125 | <tbody>
|
---|
1126 |
|
---|
1127 | <tr>
|
---|
1128 | <td>AUTH_TYPE</td>
|
---|
1129 | <td class="code"><div>None</div></td>
|
---|
1130 | </tr>
|
---|
1131 |
|
---|
1132 | <tr>
|
---|
1133 | <td>CONTENT_LENGTH</td>
|
---|
1134 | <td class="code"><div>0L</div></td>
|
---|
1135 | </tr>
|
---|
1136 |
|
---|
1137 | <tr>
|
---|
1138 | <td>CONTENT_TYPE</td>
|
---|
1139 | <td class="code"><div>None</div></td>
|
---|
1140 | </tr>
|
---|
1141 |
|
---|
1142 | <tr>
|
---|
1143 | <td>GATEWAY_INTERFACE</td>
|
---|
1144 | <td class="code"><div>'CGI/1.1'</div></td>
|
---|
1145 | </tr>
|
---|
1146 |
|
---|
1147 | <tr>
|
---|
1148 | <td>HTTP_ACCEPT</td>
|
---|
1149 | <td class="code"><div>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</div></td>
|
---|
1150 | </tr>
|
---|
1151 |
|
---|
1152 | <tr>
|
---|
1153 | <td>HTTP_ACCEPT_CHARSET</td>
|
---|
1154 | <td class="code"><div>'ISO-8859-1,utf-8;q=0.7,*;q=0.7'</div></td>
|
---|
1155 | </tr>
|
---|
1156 |
|
---|
1157 | <tr>
|
---|
1158 | <td>HTTP_ACCEPT_ENCODING</td>
|
---|
1159 | <td class="code"><div>'gzip,deflate'</div></td>
|
---|
1160 | </tr>
|
---|
1161 |
|
---|
1162 | <tr>
|
---|
1163 | <td>HTTP_ACCEPT_LANGUAGE</td>
|
---|
1164 | <td class="code"><div>'en-us,en;q=0.5'</div></td>
|
---|
1165 | </tr>
|
---|
1166 |
|
---|
1167 | <tr>
|
---|
1168 | <td>HTTP_CONNECTION</td>
|
---|
1169 | <td class="code"><div>'keep-alive'</div></td>
|
---|
1170 | </tr>
|
---|
1171 |
|
---|
1172 | <tr>
|
---|
1173 | <td>HTTP_COOKIE</td>
|
---|
1174 | <td class="code"><div>'sessionid=87510fae1bb6af3987bee593b45f869a'</div></td>
|
---|
1175 | </tr>
|
---|
1176 |
|
---|
1177 | <tr>
|
---|
1178 | <td>HTTP_HOST</td>
|
---|
1179 | <td class="code"><div>'qa.openmicroscopy.org.uk'</div></td>
|
---|
1180 | </tr>
|
---|
1181 |
|
---|
1182 | <tr>
|
---|
1183 | <td>HTTP_KEEP_ALIVE</td>
|
---|
1184 | <td class="code"><div>'300'</div></td>
|
---|
1185 | </tr>
|
---|
1186 |
|
---|
1187 | <tr>
|
---|
1188 | <td>HTTP_REFERER</td>
|
---|
1189 | <td class="code"><div>'http://qa.openmicroscopy.org.uk/qa/feedback/140/'</div></td>
|
---|
1190 | </tr>
|
---|
1191 |
|
---|
1192 | <tr>
|
---|
1193 | <td>HTTP_USER_AGENT</td>
|
---|
1194 | <td class="code"><div>'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3'</div></td>
|
---|
1195 | </tr>
|
---|
1196 |
|
---|
1197 | <tr>
|
---|
1198 | <td>PATH_INFO</td>
|
---|
1199 | <td class="code"><div>u'/qa/ticket/add/140/'</div></td>
|
---|
1200 | </tr>
|
---|
1201 |
|
---|
1202 | <tr>
|
---|
1203 | <td>PATH_TRANSLATED</td>
|
---|
1204 | <td class="code"><div>None</div></td>
|
---|
1205 | </tr>
|
---|
1206 |
|
---|
1207 | <tr>
|
---|
1208 | <td>QUERY_STRING</td>
|
---|
1209 | <td class="code"><div>None</div></td>
|
---|
1210 | </tr>
|
---|
1211 |
|
---|
1212 | <tr>
|
---|
1213 | <td>REMOTE_ADDR</td>
|
---|
1214 | <td class="code"><div>'89.48.1.61'</div></td>
|
---|
1215 | </tr>
|
---|
1216 |
|
---|
1217 | <tr>
|
---|
1218 | <td>REMOTE_HOST</td>
|
---|
1219 | <td class="code"><div>None</div></td>
|
---|
1220 | </tr>
|
---|
1221 |
|
---|
1222 | <tr>
|
---|
1223 | <td>REMOTE_IDENT</td>
|
---|
1224 | <td class="code"><div>None</div></td>
|
---|
1225 | </tr>
|
---|
1226 |
|
---|
1227 | <tr>
|
---|
1228 | <td>REMOTE_USER</td>
|
---|
1229 | <td class="code"><div>None</div></td>
|
---|
1230 | </tr>
|
---|
1231 |
|
---|
1232 | <tr>
|
---|
1233 | <td>REQUEST_METHOD</td>
|
---|
1234 | <td class="code"><div>'GET'</div></td>
|
---|
1235 | </tr>
|
---|
1236 |
|
---|
1237 | <tr>
|
---|
1238 | <td>SCRIPT_NAME</td>
|
---|
1239 | <td class="code"><div>''</div></td>
|
---|
1240 | </tr>
|
---|
1241 |
|
---|
1242 | <tr>
|
---|
1243 | <td>SERVER_NAME</td>
|
---|
1244 | <td class="code"><div>'qa.openmicroscopy.org.uk'</div></td>
|
---|
1245 | </tr>
|
---|
1246 |
|
---|
1247 | <tr>
|
---|
1248 | <td>SERVER_PORT</td>
|
---|
1249 | <td class="code"><div>80</div></td>
|
---|
1250 | </tr>
|
---|
1251 |
|
---|
1252 | <tr>
|
---|
1253 | <td>SERVER_PROTOCOL</td>
|
---|
1254 | <td class="code"><div>'HTTP/1.1'</div></td>
|
---|
1255 | </tr>
|
---|
1256 |
|
---|
1257 | <tr>
|
---|
1258 | <td>SERVER_SOFTWARE</td>
|
---|
1259 | <td class="code"><div>'mod_python'</div></td>
|
---|
1260 | </tr>
|
---|
1261 |
|
---|
1262 | </tbody>
|
---|
1263 | </table>
|
---|
1264 |
|
---|
1265 | <h3 id="settings-info">Settings</h3>
|
---|
1266 | <h4>Using settings module <code>omero_qa.settings-prod</code></h4>
|
---|
1267 | <table class="req">
|
---|
1268 | <thead>
|
---|
1269 | <tr>
|
---|
1270 | <th>Setting</th>
|
---|
1271 | <th>Value</th>
|
---|
1272 | </tr>
|
---|
1273 | </thead>
|
---|
1274 | <tbody>
|
---|
1275 |
|
---|
1276 | <tr>
|
---|
1277 | <td>ABSOLUTE_URL_OVERRIDES</td>
|
---|
1278 | <td class="code"><div>{}</div></td>
|
---|
1279 | </tr>
|
---|
1280 |
|
---|
1281 | <tr>
|
---|
1282 | <td>AD</td>
|
---|
1283 | <td class="code"><div>False</div></td>
|
---|
1284 | </tr>
|
---|
1285 |
|
---|
1286 | <tr>
|
---|
1287 | <td>ADMINS</td>
|
---|
1288 | <td class="code"><div>(('Ola', 'a.tarkowska@dundee.ac.uk'),)</div></td>
|
---|
1289 | </tr>
|
---|
1290 |
|
---|
1291 | <tr>
|
---|
1292 | <td>ADMIN_FOR</td>
|
---|
1293 | <td class="code"><div>()</div></td>
|
---|
1294 | </tr>
|
---|
1295 |
|
---|
1296 | <tr>
|
---|
1297 | <td>ADMIN_MEDIA_PREFIX</td>
|
---|
1298 | <td class="code"><div>'/admin_static/'</div></td>
|
---|
1299 | </tr>
|
---|
1300 |
|
---|
1301 | <tr>
|
---|
1302 | <td>AD_DNS_NAME</td>
|
---|
1303 | <td class="code"><div>'ldap.lifesci.dundee.ac.uk'</div></td>
|
---|
1304 | </tr>
|
---|
1305 |
|
---|
1306 | <tr>
|
---|
1307 | <td>AD_LDAP_PORT</td>
|
---|
1308 | <td class="code"><div>389</div></td>
|
---|
1309 | </tr>
|
---|
1310 |
|
---|
1311 | <tr>
|
---|
1312 | <td>AD_LDAP_URL</td>
|
---|
1313 | <td class="code"><div>'ldap://ldap.lifesci.dundee.ac.uk:389'</div></td>
|
---|
1314 | </tr>
|
---|
1315 |
|
---|
1316 | <tr>
|
---|
1317 | <td>AD_NT4_DOMAIN</td>
|
---|
1318 | <td class="code"><div>'ou=edir,ou=people,ou=lifesci,o=dundee'</div></td>
|
---|
1319 | </tr>
|
---|
1320 |
|
---|
1321 | <tr>
|
---|
1322 | <td>AD_SEARCH_DN</td>
|
---|
1323 | <td class="code"><div>'ou=people,ou=lifesci,o=dundee'</div></td>
|
---|
1324 | </tr>
|
---|
1325 |
|
---|
1326 | <tr>
|
---|
1327 | <td>AD_SEARCH_FIELDS</td>
|
---|
1328 | <td class="code"><div>['cn', 'mail', 'givenName', 'sn']</div></td>
|
---|
1329 | </tr>
|
---|
1330 |
|
---|
1331 | <tr>
|
---|
1332 | <td>ALLOWED_INCLUDE_ROOTS</td>
|
---|
1333 | <td class="code"><div>()</div></td>
|
---|
1334 | </tr>
|
---|
1335 |
|
---|
1336 | <tr>
|
---|
1337 | <td>APPEND_SLASH</td>
|
---|
1338 | <td class="code"><div>True</div></td>
|
---|
1339 | </tr>
|
---|
1340 |
|
---|
1341 | <tr>
|
---|
1342 | <td>APPLICATION_HOST</td>
|
---|
1343 | <td class="code"><div>'http://qa.openmicroscopy.org.uk'</div></td>
|
---|
1344 | </tr>
|
---|
1345 |
|
---|
1346 | <tr>
|
---|
1347 | <td>AUTHENTICATION_BACKENDS</td>
|
---|
1348 | <td class="code"><div>('omero_qa.extlib.auth.ActiveDirectoryBackend',
|
---|
1349 | 'django.contrib.auth.backends.ModelBackend')</div></td>
|
---|
1350 | </tr>
|
---|
1351 |
|
---|
1352 | <tr>
|
---|
1353 | <td>BANNED_IPS</td>
|
---|
1354 | <td class="code"><div>()</div></td>
|
---|
1355 | </tr>
|
---|
1356 |
|
---|
1357 | <tr>
|
---|
1358 | <td>CACHE_BACKEND</td>
|
---|
1359 | <td class="code"><div>'locmem://'</div></td>
|
---|
1360 | </tr>
|
---|
1361 |
|
---|
1362 | <tr>
|
---|
1363 | <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
|
---|
1364 | <td class="code"><div>''</div></td>
|
---|
1365 | </tr>
|
---|
1366 |
|
---|
1367 | <tr>
|
---|
1368 | <td>CACHE_MIDDLEWARE_SECONDS</td>
|
---|
1369 | <td class="code"><div>600</div></td>
|
---|
1370 | </tr>
|
---|
1371 |
|
---|
1372 | <tr>
|
---|
1373 | <td>COMMENTS_ALLOW_PROFANITIES</td>
|
---|
1374 | <td class="code"><div>False</div></td>
|
---|
1375 | </tr>
|
---|
1376 |
|
---|
1377 | <tr>
|
---|
1378 | <td>COMMENTS_BANNED_USERS_GROUP</td>
|
---|
1379 | <td class="code"><div>None</div></td>
|
---|
1380 | </tr>
|
---|
1381 |
|
---|
1382 | <tr>
|
---|
1383 | <td>COMMENTS_FIRST_FEW</td>
|
---|
1384 | <td class="code"><div>0</div></td>
|
---|
1385 | </tr>
|
---|
1386 |
|
---|
1387 | <tr>
|
---|
1388 | <td>COMMENTS_MODERATORS_GROUP</td>
|
---|
1389 | <td class="code"><div>None</div></td>
|
---|
1390 | </tr>
|
---|
1391 |
|
---|
1392 | <tr>
|
---|
1393 | <td>COMMENTS_SKETCHY_USERS_GROUP</td>
|
---|
1394 | <td class="code"><div>None</div></td>
|
---|
1395 | </tr>
|
---|
1396 |
|
---|
1397 | <tr>
|
---|
1398 | <td>DATABASE_ENGINE</td>
|
---|
1399 | <td class="code"><div>'postgresql_psycopg2'</div></td>
|
---|
1400 | </tr>
|
---|
1401 |
|
---|
1402 | <tr>
|
---|
1403 | <td>DATABASE_HOST</td>
|
---|
1404 | <td class="code"><div>'localhost'</div></td>
|
---|
1405 | </tr>
|
---|
1406 |
|
---|
1407 | <tr>
|
---|
1408 | <td>DATABASE_NAME</td>
|
---|
1409 | <td class="code"><div>'feedback'</div></td>
|
---|
1410 | </tr>
|
---|
1411 |
|
---|
1412 | <tr>
|
---|
1413 | <td>DATABASE_OPTIONS</td>
|
---|
1414 | <td class="code"><div>{}</div></td>
|
---|
1415 | </tr>
|
---|
1416 |
|
---|
1417 | <tr>
|
---|
1418 | <td>DATABASE_PASSWORD</td>
|
---|
1419 | <td class="code"><div>'********************'</div></td>
|
---|
1420 | </tr>
|
---|
1421 |
|
---|
1422 | <tr>
|
---|
1423 | <td>DATABASE_PORT</td>
|
---|
1424 | <td class="code"><div>''</div></td>
|
---|
1425 | </tr>
|
---|
1426 |
|
---|
1427 | <tr>
|
---|
1428 | <td>DATABASE_USER</td>
|
---|
1429 | <td class="code"><div>'feedback'</div></td>
|
---|
1430 | </tr>
|
---|
1431 |
|
---|
1432 | <tr>
|
---|
1433 | <td>DATETIME_FORMAT</td>
|
---|
1434 | <td class="code"><div>'N j, Y, P'</div></td>
|
---|
1435 | </tr>
|
---|
1436 |
|
---|
1437 | <tr>
|
---|
1438 | <td>DATE_FORMAT</td>
|
---|
1439 | <td class="code"><div>'N j, Y'</div></td>
|
---|
1440 | </tr>
|
---|
1441 |
|
---|
1442 | <tr>
|
---|
1443 | <td>DEBUG</td>
|
---|
1444 | <td class="code"><div>False</div></td>
|
---|
1445 | </tr>
|
---|
1446 |
|
---|
1447 | <tr>
|
---|
1448 | <td>DEBUG_PROPAGATE_EXCEPTIONS</td>
|
---|
1449 | <td class="code"><div>False</div></td>
|
---|
1450 | </tr>
|
---|
1451 |
|
---|
1452 | <tr>
|
---|
1453 | <td>DEFAULT_CHARSET</td>
|
---|
1454 | <td class="code"><div>'utf-8'</div></td>
|
---|
1455 | </tr>
|
---|
1456 |
|
---|
1457 | <tr>
|
---|
1458 | <td>DEFAULT_CONTENT_TYPE</td>
|
---|
1459 | <td class="code"><div>'text/html'</div></td>
|
---|
1460 | </tr>
|
---|
1461 |
|
---|
1462 | <tr>
|
---|
1463 | <td>DEFAULT_FILE_STORAGE</td>
|
---|
1464 | <td class="code"><div>'django.core.files.storage.FileSystemStorage'</div></td>
|
---|
1465 | </tr>
|
---|
1466 |
|
---|
1467 | <tr>
|
---|
1468 | <td>DEFAULT_FROM_EMAIL</td>
|
---|
1469 | <td class="code"><div>'webmaster@localhost'</div></td>
|
---|
1470 | </tr>
|
---|
1471 |
|
---|
1472 | <tr>
|
---|
1473 | <td>DEFAULT_INDEX_TABLESPACE</td>
|
---|
1474 | <td class="code"><div>''</div></td>
|
---|
1475 | </tr>
|
---|
1476 |
|
---|
1477 | <tr>
|
---|
1478 | <td>DEFAULT_TABLESPACE</td>
|
---|
1479 | <td class="code"><div>''</div></td>
|
---|
1480 | </tr>
|
---|
1481 |
|
---|
1482 | <tr>
|
---|
1483 | <td>DISALLOWED_USER_AGENTS</td>
|
---|
1484 | <td class="code"><div>()</div></td>
|
---|
1485 | </tr>
|
---|
1486 |
|
---|
1487 | <tr>
|
---|
1488 | <td>EMAIL_HOST</td>
|
---|
1489 | <td class="code"><div>'localhost'</div></td>
|
---|
1490 | </tr>
|
---|
1491 |
|
---|
1492 | <tr>
|
---|
1493 | <td>EMAIL_HOST_PASSWORD</td>
|
---|
1494 | <td class="code"><div>'********************'</div></td>
|
---|
1495 | </tr>
|
---|
1496 |
|
---|
1497 | <tr>
|
---|
1498 | <td>EMAIL_HOST_USER</td>
|
---|
1499 | <td class="code"><div>''</div></td>
|
---|
1500 | </tr>
|
---|
1501 |
|
---|
1502 | <tr>
|
---|
1503 | <td>EMAIL_PORT</td>
|
---|
1504 | <td class="code"><div>25</div></td>
|
---|
1505 | </tr>
|
---|
1506 |
|
---|
1507 | <tr>
|
---|
1508 | <td>EMAIL_SUBJECT_PREFIX</td>
|
---|
1509 | <td class="code"><div>'[OMERO.qa] '</div></td>
|
---|
1510 | </tr>
|
---|
1511 |
|
---|
1512 | <tr>
|
---|
1513 | <td>EMAIL_USE_TLS</td>
|
---|
1514 | <td class="code"><div>False</div></td>
|
---|
1515 | </tr>
|
---|
1516 |
|
---|
1517 | <tr>
|
---|
1518 | <td>FEEDBACK_URL</td>
|
---|
1519 | <td class="code"><div>'qa.openmicroscopy.org.uk:80'</div></td>
|
---|
1520 | </tr>
|
---|
1521 |
|
---|
1522 | <tr>
|
---|
1523 | <td>FILE_CHARSET</td>
|
---|
1524 | <td class="code"><div>'utf-8'</div></td>
|
---|
1525 | </tr>
|
---|
1526 |
|
---|
1527 | <tr>
|
---|
1528 | <td>FILE_UPLOAD_HANDLERS</td>
|
---|
1529 | <td class="code"><div>('django.core.files.uploadhandler.MemoryFileUploadHandler',
|
---|
1530 | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')</div></td>
|
---|
1531 | </tr>
|
---|
1532 |
|
---|
1533 | <tr>
|
---|
1534 | <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
|
---|
1535 | <td class="code"><div>2621440</div></td>
|
---|
1536 | </tr>
|
---|
1537 |
|
---|
1538 | <tr>
|
---|
1539 | <td>FILE_UPLOAD_PERMISSIONS</td>
|
---|
1540 | <td class="code"><div>None</div></td>
|
---|
1541 | </tr>
|
---|
1542 |
|
---|
1543 | <tr>
|
---|
1544 | <td>FILE_UPLOAD_TEMP_DIR</td>
|
---|
1545 | <td class="code"><div>'/tmp'</div></td>
|
---|
1546 | </tr>
|
---|
1547 |
|
---|
1548 | <tr>
|
---|
1549 | <td>FIXTURE_DIRS</td>
|
---|
1550 | <td class="code"><div>()</div></td>
|
---|
1551 | </tr>
|
---|
1552 |
|
---|
1553 | <tr>
|
---|
1554 | <td>FORCE_SCRIPT_NAME</td>
|
---|
1555 | <td class="code"><div>None</div></td>
|
---|
1556 | </tr>
|
---|
1557 |
|
---|
1558 | <tr>
|
---|
1559 | <td>GEODAT</td>
|
---|
1560 | <td class="code"><div>'/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/GeoLiteCity.dat'</div></td>
|
---|
1561 | </tr>
|
---|
1562 |
|
---|
1563 | <tr>
|
---|
1564 | <td>GOOGLE_KEY</td>
|
---|
1565 | <td class="code"><div>'ABQIAAAAcRzATjAJdby3MFL9GQa0OhRqbsBcHxR9xxPqA8GjYogFnH1J4xSnQ9xYPWE39vtgyZ0wgekly9YXcA'</div></td>
|
---|
1566 | </tr>
|
---|
1567 |
|
---|
1568 | <tr>
|
---|
1569 | <td>GOOGLE_KEY2</td>
|
---|
1570 | <td class="code"><div>'ABQIAAAAcRzATjAJdby3MFL9GQa0OhSJ5mqXSVIaJQSCXsyOCg8XLmEJRBRcahPP7Q8U662olPAw_35hhwCPhQ'</div></td>
|
---|
1571 | </tr>
|
---|
1572 |
|
---|
1573 | <tr>
|
---|
1574 | <td>IGNORABLE_404_ENDS</td>
|
---|
1575 | <td class="code"><div>'*.ico'</div></td>
|
---|
1576 | </tr>
|
---|
1577 |
|
---|
1578 | <tr>
|
---|
1579 | <td>IGNORABLE_404_STARTS</td>
|
---|
1580 | <td class="code"><div>('/cgi-bin/', '/_vti_bin', '/_vti_inf')</div></td>
|
---|
1581 | </tr>
|
---|
1582 |
|
---|
1583 | <tr>
|
---|
1584 | <td>INSTALLED_APPS</td>
|
---|
1585 | <td class="code"><div>['django.contrib.admin',
|
---|
1586 | 'django.contrib.auth',
|
---|
1587 | 'django.contrib.contenttypes',
|
---|
1588 | 'django.contrib.markup',
|
---|
1589 | 'django.contrib.sessions',
|
---|
1590 | 'django.contrib.sites',
|
---|
1591 | 'omero_qa.qa',
|
---|
1592 | 'omero_qa.feedback',
|
---|
1593 | 'omero_qa.registry',
|
---|
1594 | 'omero_qa.validator']</div></td>
|
---|
1595 | </tr>
|
---|
1596 |
|
---|
1597 | <tr>
|
---|
1598 | <td>INTERNAL_IPS</td>
|
---|
1599 | <td class="code"><div>()</div></td>
|
---|
1600 | </tr>
|
---|
1601 |
|
---|
1602 | <tr>
|
---|
1603 | <td>JING_PATH</td>
|
---|
1604 | <td class="code"><div>'/usr/bin/jing'</div></td>
|
---|
1605 | </tr>
|
---|
1606 |
|
---|
1607 | <tr>
|
---|
1608 | <td>LANGUAGES</td>
|
---|
1609 | <td class="code"><div>(('ar', 'Arabic'),
|
---|
1610 | ('bn', 'Bengali'),
|
---|
1611 | ('bg', 'Bulgarian'),
|
---|
1612 | ('ca', 'Catalan'),
|
---|
1613 | ('cs', 'Czech'),
|
---|
1614 | ('cy', 'Welsh'),
|
---|
1615 | ('da', 'Danish'),
|
---|
1616 | ('de', 'German'),
|
---|
1617 | ('el', 'Greek'),
|
---|
1618 | ('en', 'English'),
|
---|
1619 | ('es', 'Spanish'),
|
---|
1620 | ('et', 'Estonian'),
|
---|
1621 | ('es-ar', 'Argentinean Spanish'),
|
---|
1622 | ('eu', 'Basque'),
|
---|
1623 | ('fa', 'Persian'),
|
---|
1624 | ('fi', 'Finnish'),
|
---|
1625 | ('fr', 'French'),
|
---|
1626 | ('ga', 'Irish'),
|
---|
1627 | ('gl', 'Galician'),
|
---|
1628 | ('hu', 'Hungarian'),
|
---|
1629 | ('he', 'Hebrew'),
|
---|
1630 | ('hi', 'Hindi'),
|
---|
1631 | ('hr', 'Croatian'),
|
---|
1632 | ('is', 'Icelandic'),
|
---|
1633 | ('it', 'Italian'),
|
---|
1634 | ('ja', 'Japanese'),
|
---|
1635 | ('ka', 'Georgian'),
|
---|
1636 | ('ko', 'Korean'),
|
---|
1637 | ('km', 'Khmer'),
|
---|
1638 | ('kn', 'Kannada'),
|
---|
1639 | ('lv', 'Latvian'),
|
---|
1640 | ('lt', 'Lithuanian'),
|
---|
1641 | ('mk', 'Macedonian'),
|
---|
1642 | ('nl', 'Dutch'),
|
---|
1643 | ('no', 'Norwegian'),
|
---|
1644 | ('pl', 'Polish'),
|
---|
1645 | ('pt', 'Portuguese'),
|
---|
1646 | ('pt-br', 'Brazilian Portuguese'),
|
---|
1647 | ('ro', 'Romanian'),
|
---|
1648 | ('ru', 'Russian'),
|
---|
1649 | ('sk', 'Slovak'),
|
---|
1650 | ('sl', 'Slovenian'),
|
---|
1651 | ('sr', 'Serbian'),
|
---|
1652 | ('sv', 'Swedish'),
|
---|
1653 | ('ta', 'Tamil'),
|
---|
1654 | ('te', 'Telugu'),
|
---|
1655 | ('th', 'Thai'),
|
---|
1656 | ('tr', 'Turkish'),
|
---|
1657 | ('uk', 'Ukrainian'),
|
---|
1658 | ('zh-cn', 'Simplified Chinese'),
|
---|
1659 | ('zh-tw', 'Traditional Chinese'))</div></td>
|
---|
1660 | </tr>
|
---|
1661 |
|
---|
1662 | <tr>
|
---|
1663 | <td>LANGUAGES_BIDI</td>
|
---|
1664 | <td class="code"><div>('he', 'ar', 'fa')</div></td>
|
---|
1665 | </tr>
|
---|
1666 |
|
---|
1667 | <tr>
|
---|
1668 | <td>LANGUAGE_CODE</td>
|
---|
1669 | <td class="code"><div>'en-gb'</div></td>
|
---|
1670 | </tr>
|
---|
1671 |
|
---|
1672 | <tr>
|
---|
1673 | <td>LANGUAGE_COOKIE_NAME</td>
|
---|
1674 | <td class="code"><div>'django_language'</div></td>
|
---|
1675 | </tr>
|
---|
1676 |
|
---|
1677 | <tr>
|
---|
1678 | <td>LEVEL</td>
|
---|
1679 | <td class="code"><div>20</div></td>
|
---|
1680 | </tr>
|
---|
1681 |
|
---|
1682 | <tr>
|
---|
1683 | <td>LOCALE_PATHS</td>
|
---|
1684 | <td class="code"><div>()</div></td>
|
---|
1685 | </tr>
|
---|
1686 |
|
---|
1687 | <tr>
|
---|
1688 | <td>LOGDIR</td>
|
---|
1689 | <td class="code"><div>'/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/log'</div></td>
|
---|
1690 | </tr>
|
---|
1691 |
|
---|
1692 | <tr>
|
---|
1693 | <td>LOGFILE</td>
|
---|
1694 | <td class="code"><div>'OMEROqa.log'</div></td>
|
---|
1695 | </tr>
|
---|
1696 |
|
---|
1697 | <tr>
|
---|
1698 | <td>LOGGING_LOG_SQL</td>
|
---|
1699 | <td class="code"><div>False</div></td>
|
---|
1700 | </tr>
|
---|
1701 |
|
---|
1702 | <tr>
|
---|
1703 | <td>LOGIN_REDIRECT_URL</td>
|
---|
1704 | <td class="code"><div>'/accounts/profile/'</div></td>
|
---|
1705 | </tr>
|
---|
1706 |
|
---|
1707 | <tr>
|
---|
1708 | <td>LOGIN_URL</td>
|
---|
1709 | <td class="code"><div>'/accounts/login/'</div></td>
|
---|
1710 | </tr>
|
---|
1711 |
|
---|
1712 | <tr>
|
---|
1713 | <td>LOGOUT_URL</td>
|
---|
1714 | <td class="code"><div>'/accounts/logout/'</div></td>
|
---|
1715 | </tr>
|
---|
1716 |
|
---|
1717 | <tr>
|
---|
1718 | <td>MANAGERS</td>
|
---|
1719 | <td class="code"><div>(('Ola', 'a.tarkowska@dundee.ac.uk'),)</div></td>
|
---|
1720 | </tr>
|
---|
1721 |
|
---|
1722 | <tr>
|
---|
1723 | <td>MEDIA_ROOT</td>
|
---|
1724 | <td class="code"><div>''</div></td>
|
---|
1725 | </tr>
|
---|
1726 |
|
---|
1727 | <tr>
|
---|
1728 | <td>MEDIA_URL</td>
|
---|
1729 | <td class="code"><div>''</div></td>
|
---|
1730 | </tr>
|
---|
1731 |
|
---|
1732 | <tr>
|
---|
1733 | <td>MIDDLEWARE_CLASSES</td>
|
---|
1734 | <td class="code"><div>('django.middleware.common.CommonMiddleware',
|
---|
1735 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
1736 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
1737 | 'djangologging.middleware.LoggingMiddleware',
|
---|
1738 | 'django.middleware.http.SetRemoteAddrFromForwardedFor')</div></td>
|
---|
1739 | </tr>
|
---|
1740 |
|
---|
1741 | <tr>
|
---|
1742 | <td>MONTH_DAY_FORMAT</td>
|
---|
1743 | <td class="code"><div>'F j'</div></td>
|
---|
1744 | </tr>
|
---|
1745 |
|
---|
1746 | <tr>
|
---|
1747 | <td>OME_HUDSON_PATH</td>
|
---|
1748 | <td class="code"><div>'/ome/hudson/jobs'</div></td>
|
---|
1749 | </tr>
|
---|
1750 |
|
---|
1751 | <tr>
|
---|
1752 | <td>PASSWORD_RESET_TIMEOUT_DAYS</td>
|
---|
1753 | <td class="code"><div>'********************'</div></td>
|
---|
1754 | </tr>
|
---|
1755 |
|
---|
1756 | <tr>
|
---|
1757 | <td>PERPAGE</td>
|
---|
1758 | <td class="code"><div>25</div></td>
|
---|
1759 | </tr>
|
---|
1760 |
|
---|
1761 | <tr>
|
---|
1762 | <td>PREPEND_WWW</td>
|
---|
1763 | <td class="code"><div>False</div></td>
|
---|
1764 | </tr>
|
---|
1765 |
|
---|
1766 | <tr>
|
---|
1767 | <td>PROFANITIES_LIST</td>
|
---|
1768 | <td class="code"><div>'********************'</div></td>
|
---|
1769 | </tr>
|
---|
1770 |
|
---|
1771 | <tr>
|
---|
1772 | <td>ROOT_URLCONF</td>
|
---|
1773 | <td class="code"><div>'omero_qa.urls'</div></td>
|
---|
1774 | </tr>
|
---|
1775 |
|
---|
1776 | <tr>
|
---|
1777 | <td>SECRET_KEY</td>
|
---|
1778 | <td class="code"><div>'********************'</div></td>
|
---|
1779 | </tr>
|
---|
1780 |
|
---|
1781 | <tr>
|
---|
1782 | <td>SEND_BROKEN_LINK_EMAILS</td>
|
---|
1783 | <td class="code"><div>False</div></td>
|
---|
1784 | </tr>
|
---|
1785 |
|
---|
1786 | <tr>
|
---|
1787 | <td>SERVER_EMAIL</td>
|
---|
1788 | <td class="code"><div>'qa@openmicroscopy.org.uk'</div></td>
|
---|
1789 | </tr>
|
---|
1790 |
|
---|
1791 | <tr>
|
---|
1792 | <td>SESSION_COOKIE_AGE</td>
|
---|
1793 | <td class="code"><div>86400</div></td>
|
---|
1794 | </tr>
|
---|
1795 |
|
---|
1796 | <tr>
|
---|
1797 | <td>SESSION_COOKIE_DOMAIN</td>
|
---|
1798 | <td class="code"><div>None</div></td>
|
---|
1799 | </tr>
|
---|
1800 |
|
---|
1801 | <tr>
|
---|
1802 | <td>SESSION_COOKIE_NAME</td>
|
---|
1803 | <td class="code"><div>'sessionid'</div></td>
|
---|
1804 | </tr>
|
---|
1805 |
|
---|
1806 | <tr>
|
---|
1807 | <td>SESSION_COOKIE_PATH</td>
|
---|
1808 | <td class="code"><div>'/'</div></td>
|
---|
1809 | </tr>
|
---|
1810 |
|
---|
1811 | <tr>
|
---|
1812 | <td>SESSION_COOKIE_SECURE</td>
|
---|
1813 | <td class="code"><div>False</div></td>
|
---|
1814 | </tr>
|
---|
1815 |
|
---|
1816 | <tr>
|
---|
1817 | <td>SESSION_ENGINE</td>
|
---|
1818 | <td class="code"><div>'django.contrib.sessions.backends.db'</div></td>
|
---|
1819 | </tr>
|
---|
1820 |
|
---|
1821 | <tr>
|
---|
1822 | <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
|
---|
1823 | <td class="code"><div>True</div></td>
|
---|
1824 | </tr>
|
---|
1825 |
|
---|
1826 | <tr>
|
---|
1827 | <td>SESSION_FILE_PATH</td>
|
---|
1828 | <td class="code"><div>None</div></td>
|
---|
1829 | </tr>
|
---|
1830 |
|
---|
1831 | <tr>
|
---|
1832 | <td>SESSION_SAVE_EVERY_REQUEST</td>
|
---|
1833 | <td class="code"><div>False</div></td>
|
---|
1834 | </tr>
|
---|
1835 |
|
---|
1836 | <tr>
|
---|
1837 | <td>SETTINGS_MODULE</td>
|
---|
1838 | <td class="code"><div>'omero_qa.settings-prod'</div></td>
|
---|
1839 | </tr>
|
---|
1840 |
|
---|
1841 | <tr>
|
---|
1842 | <td>SITE_ID</td>
|
---|
1843 | <td class="code"><div>1</div></td>
|
---|
1844 | </tr>
|
---|
1845 |
|
---|
1846 | <tr>
|
---|
1847 | <td>TEMPLATE_CONTEXT_PROCESSORS</td>
|
---|
1848 | <td class="code"><div>('django.core.context_processors.auth',
|
---|
1849 | 'django.core.context_processors.debug',
|
---|
1850 | 'django.core.context_processors.i18n',
|
---|
1851 | 'django.core.context_processors.media')</div></td>
|
---|
1852 | </tr>
|
---|
1853 |
|
---|
1854 | <tr>
|
---|
1855 | <td>TEMPLATE_DEBUG</td>
|
---|
1856 | <td class="code"><div>False</div></td>
|
---|
1857 | </tr>
|
---|
1858 |
|
---|
1859 | <tr>
|
---|
1860 | <td>TEMPLATE_DIRS</td>
|
---|
1861 | <td class="code"><div>('/var/www/qa.openmicroscopy.org.uk/OMERO.qa/djangologging/templates',
|
---|
1862 | '/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/feedback/templates',
|
---|
1863 | '/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/qa/templates',
|
---|
1864 | '/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/registry/templates',
|
---|
1865 | '/var/www/qa.openmicroscopy.org.uk/OMERO.qa/omero_qa/validator/templates')</div></td>
|
---|
1866 | </tr>
|
---|
1867 |
|
---|
1868 | <tr>
|
---|
1869 | <td>TEMPLATE_LOADERS</td>
|
---|
1870 | <td class="code"><div>('django.template.loaders.filesystem.load_template_source',
|
---|
1871 | 'django.template.loaders.app_directories.load_template_source')</div></td>
|
---|
1872 | </tr>
|
---|
1873 |
|
---|
1874 | <tr>
|
---|
1875 | <td>TEMPLATE_STRING_IF_INVALID</td>
|
---|
1876 | <td class="code"><div>''</div></td>
|
---|
1877 | </tr>
|
---|
1878 |
|
---|
1879 | <tr>
|
---|
1880 | <td>TESTNG_ROOT</td>
|
---|
1881 | <td class="code"><div>'/var/www/qa.openmicroscopy.org.uk/OMERO.qa/TestNG'</div></td>
|
---|
1882 | </tr>
|
---|
1883 |
|
---|
1884 | <tr>
|
---|
1885 | <td>TEST_DATABASE_CHARSET</td>
|
---|
1886 | <td class="code"><div>None</div></td>
|
---|
1887 | </tr>
|
---|
1888 |
|
---|
1889 | <tr>
|
---|
1890 | <td>TEST_DATABASE_COLLATION</td>
|
---|
1891 | <td class="code"><div>None</div></td>
|
---|
1892 | </tr>
|
---|
1893 |
|
---|
1894 | <tr>
|
---|
1895 | <td>TEST_DATABASE_NAME</td>
|
---|
1896 | <td class="code"><div>None</div></td>
|
---|
1897 | </tr>
|
---|
1898 |
|
---|
1899 | <tr>
|
---|
1900 | <td>TEST_RUNNER</td>
|
---|
1901 | <td class="code"><div>'django.test.simple.run_tests'</div></td>
|
---|
1902 | </tr>
|
---|
1903 |
|
---|
1904 | <tr>
|
---|
1905 | <td>TIME_FORMAT</td>
|
---|
1906 | <td class="code"><div>'P'</div></td>
|
---|
1907 | </tr>
|
---|
1908 |
|
---|
1909 | <tr>
|
---|
1910 | <td>TIME_ZONE</td>
|
---|
1911 | <td class="code"><div>'Europe/London'</div></td>
|
---|
1912 | </tr>
|
---|
1913 |
|
---|
1914 | <tr>
|
---|
1915 | <td>TRANSACTIONS_MANAGED</td>
|
---|
1916 | <td class="code"><div>False</div></td>
|
---|
1917 | </tr>
|
---|
1918 |
|
---|
1919 | <tr>
|
---|
1920 | <td>UPLOAD_ROOT</td>
|
---|
1921 | <td class="code"><div>'/var/www/qa.openmicroscopy.org.uk/OMERO.qa/FileStore'</div></td>
|
---|
1922 | </tr>
|
---|
1923 |
|
---|
1924 | <tr>
|
---|
1925 | <td>URL_VALIDATOR_USER_AGENT</td>
|
---|
1926 | <td class="code"><div>'Django/1.0.3 (http://www.djangoproject.com)'</div></td>
|
---|
1927 | </tr>
|
---|
1928 |
|
---|
1929 | <tr>
|
---|
1930 | <td>USE_ETAGS</td>
|
---|
1931 | <td class="code"><div>False</div></td>
|
---|
1932 | </tr>
|
---|
1933 |
|
---|
1934 | <tr>
|
---|
1935 | <td>USE_I18N</td>
|
---|
1936 | <td class="code"><div>True</div></td>
|
---|
1937 | </tr>
|
---|
1938 |
|
---|
1939 | <tr>
|
---|
1940 | <td>VALIDATOR_UPLOAD_ROOT</td>
|
---|
1941 | <td class="code"><div>'/var/www/qa.openmicroscopy.org.uk/OMERO.qa/Validator'</div></td>
|
---|
1942 | </tr>
|
---|
1943 |
|
---|
1944 | <tr>
|
---|
1945 | <td>YEAR_MONTH_FORMAT</td>
|
---|
1946 | <td class="code"><div>'F Y'</div></td>
|
---|
1947 | </tr>
|
---|
1948 |
|
---|
1949 | </tbody>
|
---|
1950 | </table>
|
---|
1951 |
|
---|
1952 | </div>
|
---|
1953 |
|
---|
1954 | <div id="explanation">
|
---|
1955 | <p>
|
---|
1956 | You're seeing this error because you have <code>DEBUG = True</code> in your
|
---|
1957 | Django settings file. Change that to <code>False</code>, and Django will
|
---|
1958 | display a standard 500 page.
|
---|
1959 | </p>
|
---|
1960 | </div>
|
---|
1961 | </body>
|
---|
1962 | </html>
|
---|