272 | | <tr> |
273 | | <th>Exception Location:</th> |
274 | | <td>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero_api_IQuery_ice.py in findAllByQuery, line 213</td> |
275 | | </tr> |
276 | | |
277 | | <tr> |
278 | | <th>Python Executable:</th> |
279 | | <td>/usr/bin/python</td> |
280 | | </tr> |
281 | | <tr> |
282 | | <th>Python Version:</th> |
283 | | <td>2.7.3</td> |
284 | | </tr> |
285 | | <tr> |
286 | | <th>Python Path:</th> |
287 | | <td><pre>['/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb', |
288 | | '/usr/lib/pymodules/python2.6', |
289 | | '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python', |
290 | | '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/lib', |
291 | | '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/fallback', |
292 | | '/usr/lib/python2.7', |
293 | | '/usr/lib/python2.7/plat-linux2', |
294 | | '/usr/lib/python2.7/lib-tk', |
295 | | '/usr/lib/python2.7/lib-old', |
296 | | '/usr/lib/python2.7/lib-dynload', |
297 | | '/usr/local/lib/python2.7/dist-packages', |
298 | | '/usr/lib/python2.7/dist-packages', |
299 | | '/usr/lib/python2.7/dist-packages/PIL', |
300 | | '/usr/lib/python2.7/dist-packages/gst-0.10', |
301 | | '/usr/lib/python2.7/dist-packages/gtk-2.0', |
302 | | '/usr/lib/pymodules/python2.7', |
303 | | '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', |
304 | | '/usr/lib/python2.7/dist-packages/ubuntuone-client', |
305 | | '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', |
306 | | '/usr/lib/python2.7/dist-packages/ubuntuone-couch', |
307 | | '/usr/lib/python2.7/dist-packages/ubuntuone-installer', |
308 | | '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']</pre></td> |
309 | | </tr> |
310 | | <tr> |
311 | | <th>Server time:</th> |
312 | | <td>Mon, 27 May 2013 07:50:28 +0100</td> |
313 | | </tr> |
314 | | </table> |
315 | | </div> |
316 | | |
317 | | |
318 | | |
319 | | |
320 | | <div id="traceback"> |
321 | | <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2> |
322 | | |
323 | | <div id="browserTraceback"> |
324 | | <ul class="traceback"> |
325 | | |
326 | | <li class="frame"> |
327 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/django/core/handlers/base.py</code> in <code>get_response</code> |
328 | | |
329 | | |
330 | | <div class="context" id="c178929172"> |
331 | | |
332 | | <ol start="104" class="pre-context" id="pre178929172"><li onclick="toggle('pre178929172', 'post178929172')"><pre> for middleware_method in self._view_middleware:</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> if response:</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> break</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre></pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> if response is None:</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> try:</pre></li></ol> |
333 | | |
334 | | <ol start="111" class="context-line"><li onclick="toggle('pre178929172', 'post178929172')"><pre> response = callback(request, *callback_args, **callback_kwargs)</pre> <span>...</span></li></ol> |
335 | | |
336 | | <ol start='112' class="post-context" id="post178929172"><li onclick="toggle('pre178929172', 'post178929172')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> # If the view raised an exception, run it through exception</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> # middleware, and if the exception middleware returns a</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> # response, use that. Otherwise, reraise the exception.</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> for middleware_method in self._exception_middleware:</pre></li><li onclick="toggle('pre178929172', 'post178929172')"><pre> response = middleware_method(request, e)</pre></li></ol> |
337 | | |
338 | | </div> |
339 | | |
340 | | |
341 | | |
342 | | <div class="commands"> |
343 | | |
344 | | <a href="#" onclick="return varToggle(this, '178929172')"><span>▶</span> Local vars</a> |
345 | | |
346 | | </div> |
347 | | <table class="vars" id="v178929172"> |
348 | | <thead> |
349 | | <tr> |
350 | | <th>Variable</th> |
351 | | <th>Value</th> |
352 | | </tr> |
353 | | </thead> |
354 | | <tbody> |
355 | | |
356 | | <tr> |
357 | | <td>exceptions</td> |
358 | | <td class="code"><pre><module 'django.core.exceptions' from '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/django/core/exceptions.pyc'></pre></td> |
359 | | </tr> |
360 | | |
361 | | <tr> |
362 | | <td>e</td> |
363 | | <td class="code"><pre>exception ::omero::InternalException |
364 | | { |
365 | | serverStackTrace = ome.conditions.InternalException: No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
366 | | at ome.security.basic.CurrentDetails.applyContext(CurrentDetails.java:413) |
367 | | at ome.security.basic.BasicACLVoter.postProcess(BasicACLVoter.java:379) |
368 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:119) |
369 | | at ome.util.ContextFilter.filter(ContextFilter.java:160) |
370 | | at ome.util.ContextFilter.doFilter(ContextFilter.java:84) |
371 | | at ome.util.ContextFilter.filter(ContextFilter.java:121) |
372 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:166) |
373 | | at ome.util.ContextFilter.filter(ContextFilter.java:162) |
374 | | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:244) |
375 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
376 | | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) |
377 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
378 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
379 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
380 | | at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) |
381 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
382 | | at java.lang.reflect.Method.invoke(Method.java:616) |
383 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
384 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
385 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
386 | | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98) |
387 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
388 | | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) |
389 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
390 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
391 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
392 | | at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) |
393 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
394 | | at java.lang.reflect.Method.invoke(Method.java:616) |
395 | | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
396 | | at ome.services.throttling.Callback.run(Callback.java:56) |
397 | | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) |
398 | | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:150) |
399 | | at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:66) |
400 | | at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source) |
401 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
402 | | at java.lang.reflect.Method.invoke(Method.java:616) |
403 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
404 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
405 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
406 | | at omero.cmd.CallContext.invoke(CallContext.java:59) |
407 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
408 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
409 | | at sun.proxy.$Proxy76.findAllByQuery_async(Unknown Source) |
410 | | at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:101) |
411 | | at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:378) |
412 | | at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) |
413 | | at IceInternal.Incoming.invoke(Incoming.java:159) |
414 | | at Ice.ConnectionI.invokeAll(ConnectionI.java:2357) |
415 | | at Ice.ConnectionI.dispatch(ConnectionI.java:1208) |
416 | | at Ice.ConnectionI.message(ConnectionI.java:1163) |
417 | | at IceInternal.ThreadPool.run(ThreadPool.java:302) |
418 | | at IceInternal.ThreadPool.access$300(ThreadPool.java:12) |
419 | | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643) |
420 | | at java.lang.Thread.run(Thread.java:679) |
421 | | |
422 | | serverExceptionClass = ome.conditions.InternalException |
423 | | message = No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
424 | | }</pre></td> |
425 | | </tr> |
426 | | |
427 | | <tr> |
428 | | <td>callback_args</td> |
429 | | <td class="code"><pre>()</pre></td> |
430 | | </tr> |
431 | | |
432 | | <tr> |
433 | | <td>receivers</td> |
434 | | <td class="code"><pre>[(<function _rollback_on_exception at 0x9e2e95c>, None)]</pre></td> |
435 | | </tr> |
436 | | |
437 | | <tr> |
438 | | <td>middleware_method</td> |
439 | | <td class="code"><pre><bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x9ff420c>></pre></td> |
440 | | </tr> |
441 | | |
442 | | <tr> |
443 | | <td>self</td> |
444 | | <td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x9de3f2c></pre></td> |
445 | | </tr> |
446 | | |
447 | | <tr> |
448 | | <td>settings</td> |
449 | | <td class="code"><pre><django.conf.LazySettings object at 0x9afe68c></pre></td> |
450 | | </tr> |
451 | | |
452 | | <tr> |
453 | | <td>request</td> |
454 | | <td class="code"><pre><WSGIRequest |
455 | | GET:<QueryDict: {}>, |
456 | | POST:<QueryDict: {}>, |
457 | | COOKIES:{'sessionid': 'cb708b38a043f74b4c7dd3a3bb29f4de'}, |
458 | | META:{'CONTENT_LENGTH': '', |
459 | | 'CONTENT_TYPE': 'text/plain', |
460 | | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
461 | | 'GATEWAY_INTERFACE': 'CGI/1.1', |
462 | | 'HOME': '/home/user', |
463 | | 'HTTP_ACCEPT': 'text/html, */*; q=0.01', |
464 | | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', |
465 | | 'HTTP_ACCEPT_LANGUAGE': 'zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0.4', |
466 | | 'HTTP_CONNECTION': 'keep-alive', |
467 | | 'HTTP_COOKIE': 'sessionid=cb708b38a043f74b4c7dd3a3bb29f4de', |
468 | | 'HTTP_HOST': '172.16.253.186:4080', |
469 | | 'HTTP_REFERER': 'http://172.16.253.186:4080/webclient/userdata/', |
470 | | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36', |
471 | | 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', |
472 | | 'ICE_HOME': '/usr/share/Ice-3.3.1', |
473 | | 'JAVA_HOME': '/usr/lib/jvm/java-6-sun', |
474 | | 'LANG': 'en_US.UTF-8', |
475 | | 'LD_LIBRARY_PATH': '/usr/share/java:/usr/lib:', |
476 | | 'LESSCLOSE': '/usr/bin/lesspipe %s %s', |
477 | | 'LESSOPEN': '| /usr/bin/lesspipe %s', |
478 | | 'LOGNAME': 'user', |
479 | | 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', |
480 | | 'MAIL': '/var/mail/user', |
481 | | 'OLDPWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
482 | | 'OMERO_PREFIX': '/home/user/apps/OMERO/OMERO.server', |
483 | | 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun/bin:/usr/share/Ice-3.3.1:/usr/lib/postgresql/8.4/bin:/home/user/apps/OMERO/OMERO.server/bin', |
484 | | 'PATH_INFO': u'/webclient/metadata_details/image/206/', |
485 | | 'POSTGRES_HOME': '/usr/lib/postgresql/8.4', |
486 | | 'PWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
487 | | 'PYTHONPATH': '/usr/lib/pymodules/python2.6:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/lib:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/fallback', |
488 | | 'QUERY_STRING': '', |
489 | | 'REMOTE_ADDR': '172.16.253.118', |
490 | | 'REMOTE_HOST': '', |
491 | | 'REQUEST_METHOD': 'GET', |
492 | | 'SCRIPT_NAME': u'', |
493 | | 'SERVER_NAME': 'ns1', |
494 | | 'SERVER_PORT': '4080', |
495 | | 'SERVER_PROTOCOL': 'HTTP/1.1', |
496 | | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3', |
497 | | 'SHELL': '/bin/bash', |
498 | | 'SHLVL': '1', |
499 | | 'SSH_CLIENT': '172.16.253.118 4380 22', |
500 | | 'SSH_CONNECTION': '172.16.253.118 4380 172.16.253.186 22', |
501 | | 'SSH_TTY': '/dev/pts/6', |
502 | | 'TERM': 'xterm', |
503 | | 'TZ': 'Europe/London', |
504 | | 'USER': 'user', |
505 | | 'XDG_SESSION_COOKIE': '811afcc240d67ea6b1fa237a00000818-1369626181.70547-1526108026', |
506 | | '_': './start.sh', |
507 | | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb72ad0d0>, |
508 | | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
509 | | 'wsgi.input': <socket._fileobject object at 0xae1daec>, |
510 | | 'wsgi.multiprocess': False, |
511 | | 'wsgi.multithread': True, |
512 | | 'wsgi.run_once': False, |
513 | | 'wsgi.url_scheme': 'http', |
514 | | 'wsgi.version': (1, 0)}></pre></td> |
515 | | </tr> |
516 | | |
517 | | <tr> |
518 | | <td>callback</td> |
519 | | <td class="code"><pre><function load_metadata_details at 0xa2258ec></pre></td> |
520 | | </tr> |
521 | | |
522 | | <tr> |
523 | | <td>resolver</td> |
524 | | <td class="code"><pre><RegexURLResolver omeroweb.urls (None:None) ^/></pre></td> |
525 | | </tr> |
526 | | |
527 | | <tr> |
528 | | <td>urlresolvers</td> |
529 | | <td class="code"><pre><module 'django.core.urlresolvers' from '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/django/core/urlresolvers.pyc'></pre></td> |
530 | | </tr> |
531 | | |
532 | | <tr> |
533 | | <td>callback_kwargs</td> |
534 | | <td class="code"><pre>{'c_id': u'206', 'c_type': u'image', 'share_id': None}</pre></td> |
535 | | </tr> |
536 | | |
537 | | <tr> |
538 | | <td>response</td> |
539 | | <td class="code"><pre>None</pre></td> |
540 | | </tr> |
541 | | |
542 | | <tr> |
543 | | <td>urlconf</td> |
544 | | <td class="code"><pre>'omeroweb.urls'</pre></td> |
545 | | </tr> |
546 | | |
547 | | </tbody> |
548 | | </table> |
549 | | |
550 | | </li> |
551 | | |
552 | | <li class="frame"> |
553 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/decorators.py</code> in <code>wrapped</code> |
554 | | |
555 | | |
556 | | <div class="context" id="c178928572"> |
557 | | |
558 | | <ol start="370" class="pre-context" id="pre178928572"><li onclick="toggle('pre178928572', 'post178928572')"><pre> kwargs['conn'] = conn_share</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> else:</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> kwargs['conn'] = conn</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre></pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> #kwargs['error'] = request.REQUEST.get('error')</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> kwargs['url'] = url</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre></pre></li></ol> |
559 | | |
560 | | <ol start="377" class="context-line"><li onclick="toggle('pre178928572', 'post178928572')"><pre> retval = f(request, *args, **kwargs)</pre> <span>...</span></li></ol> |
561 | | |
562 | | <ol start='378' class="post-context" id="post178928572"><li onclick="toggle('pre178928572', 'post178928572')"><pre> try:</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> logger.debug('Doing connection cleanup? %s' % \</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> doConnectionCleanup)</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> if doConnectionCleanup:</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> if conn is not None and conn.c is not None:</pre></li><li onclick="toggle('pre178928572', 'post178928572')"><pre> for v in conn._proxies.values():</pre></li></ol> |
563 | | |
564 | | </div> |
565 | | |
566 | | |
567 | | |
568 | | <div class="commands"> |
569 | | |
570 | | <a href="#" onclick="return varToggle(this, '178928572')"><span>▶</span> Local vars</a> |
571 | | |
572 | | </div> |
573 | | <table class="vars" id="v178928572"> |
574 | | <thead> |
575 | | <tr> |
576 | | <th>Variable</th> |
577 | | <th>Value</th> |
578 | | </tr> |
579 | | </thead> |
580 | | <tbody> |
581 | | |
582 | | <tr> |
583 | | <td>server_id</td> |
584 | | <td class="code"><pre>None</pre></td> |
585 | | </tr> |
586 | | |
587 | | <tr> |
588 | | <td>share_id</td> |
589 | | <td class="code"><pre>None</pre></td> |
590 | | </tr> |
591 | | |
592 | | <tr> |
593 | | <td>conn_share</td> |
594 | | <td class="code"><pre>None</pre></td> |
595 | | </tr> |
596 | | |
597 | | <tr> |
598 | | <td>args</td> |
599 | | <td class="code"><pre>()</pre></td> |
600 | | </tr> |
601 | | |
602 | | <tr> |
603 | | <td>f</td> |
604 | | <td class="code"><pre><function load_metadata_details at 0xa2258b4></pre></td> |
605 | | </tr> |
606 | | |
607 | | <tr> |
608 | | <td>url</td> |
609 | | <td class="code"><pre>u'/webclient/metadata_details/image/206/'</pre></td> |
610 | | </tr> |
611 | | |
612 | | <tr> |
613 | | <td>ctx</td> |
614 | | <td class="code"><pre><omeroweb.webclient.decorators.login_required object at 0xa221cac></pre></td> |
615 | | </tr> |
616 | | |
617 | | <tr> |
618 | | <td>kwargs</td> |
619 | | <td class="code"><pre>{'c_id': u'206', |
620 | | 'c_type': u'image', |
621 | | 'conn': <omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x9c553ac>, |
622 | | 'share_id': None, |
623 | | 'url': u'/webclient/metadata_details/image/206/'}</pre></td> |
624 | | </tr> |
625 | | |
626 | | <tr> |
627 | | <td>request</td> |
628 | | <td class="code"><pre><WSGIRequest |
629 | | GET:<QueryDict: {}>, |
630 | | POST:<QueryDict: {}>, |
631 | | COOKIES:{'sessionid': 'cb708b38a043f74b4c7dd3a3bb29f4de'}, |
632 | | META:{'CONTENT_LENGTH': '', |
633 | | 'CONTENT_TYPE': 'text/plain', |
634 | | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
635 | | 'GATEWAY_INTERFACE': 'CGI/1.1', |
636 | | 'HOME': '/home/user', |
637 | | 'HTTP_ACCEPT': 'text/html, */*; q=0.01', |
638 | | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', |
639 | | 'HTTP_ACCEPT_LANGUAGE': 'zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0.4', |
640 | | 'HTTP_CONNECTION': 'keep-alive', |
641 | | 'HTTP_COOKIE': 'sessionid=cb708b38a043f74b4c7dd3a3bb29f4de', |
642 | | 'HTTP_HOST': '172.16.253.186:4080', |
643 | | 'HTTP_REFERER': 'http://172.16.253.186:4080/webclient/userdata/', |
644 | | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36', |
645 | | 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', |
646 | | 'ICE_HOME': '/usr/share/Ice-3.3.1', |
647 | | 'JAVA_HOME': '/usr/lib/jvm/java-6-sun', |
648 | | 'LANG': 'en_US.UTF-8', |
649 | | 'LD_LIBRARY_PATH': '/usr/share/java:/usr/lib:', |
650 | | 'LESSCLOSE': '/usr/bin/lesspipe %s %s', |
651 | | 'LESSOPEN': '| /usr/bin/lesspipe %s', |
652 | | 'LOGNAME': 'user', |
653 | | 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', |
654 | | 'MAIL': '/var/mail/user', |
655 | | 'OLDPWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
656 | | 'OMERO_PREFIX': '/home/user/apps/OMERO/OMERO.server', |
657 | | 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun/bin:/usr/share/Ice-3.3.1:/usr/lib/postgresql/8.4/bin:/home/user/apps/OMERO/OMERO.server/bin', |
658 | | 'PATH_INFO': u'/webclient/metadata_details/image/206/', |
659 | | 'POSTGRES_HOME': '/usr/lib/postgresql/8.4', |
660 | | 'PWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
661 | | 'PYTHONPATH': '/usr/lib/pymodules/python2.6:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/lib:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/fallback', |
662 | | 'QUERY_STRING': '', |
663 | | 'REMOTE_ADDR': '172.16.253.118', |
664 | | 'REMOTE_HOST': '', |
665 | | 'REQUEST_METHOD': 'GET', |
666 | | 'SCRIPT_NAME': u'', |
667 | | 'SERVER_NAME': 'ns1', |
668 | | 'SERVER_PORT': '4080', |
669 | | 'SERVER_PROTOCOL': 'HTTP/1.1', |
670 | | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3', |
671 | | 'SHELL': '/bin/bash', |
672 | | 'SHLVL': '1', |
673 | | 'SSH_CLIENT': '172.16.253.118 4380 22', |
674 | | 'SSH_CONNECTION': '172.16.253.118 4380 172.16.253.186 22', |
675 | | 'SSH_TTY': '/dev/pts/6', |
676 | | 'TERM': 'xterm', |
677 | | 'TZ': 'Europe/London', |
678 | | 'USER': 'user', |
679 | | 'XDG_SESSION_COOKIE': '811afcc240d67ea6b1fa237a00000818-1369626181.70547-1526108026', |
680 | | '_': './start.sh', |
681 | | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb72ad0d0>, |
682 | | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
683 | | 'wsgi.input': <socket._fileobject object at 0xae1daec>, |
684 | | 'wsgi.multiprocess': False, |
685 | | 'wsgi.multithread': True, |
686 | | 'wsgi.run_once': False, |
687 | | 'wsgi.url_scheme': 'http', |
688 | | 'wsgi.version': (1, 0)}></pre></td> |
689 | | </tr> |
690 | | |
691 | | <tr> |
692 | | <td>doConnectionCleanup</td> |
693 | | <td class="code"><pre>True</pre></td> |
694 | | </tr> |
695 | | |
696 | | <tr> |
697 | | <td>error</td> |
698 | | <td class="code"><pre>None</pre></td> |
699 | | </tr> |
700 | | |
701 | | <tr> |
702 | | <td>conn</td> |
703 | | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x9c553ac></pre></td> |
704 | | </tr> |
705 | | |
706 | | </tbody> |
707 | | </table> |
708 | | |
709 | | </li> |
710 | | |
711 | | <li class="frame"> |
712 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/decorators.py</code> in <code>wrapper</code> |
713 | | |
714 | | |
715 | | <div class="context" id="c178926892"> |
716 | | |
717 | | <ol start="407" class="pre-context" id="pre178926892"><li onclick="toggle('pre178926892', 'post178926892')"><pre> def __call__(ctx, f):</pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> """ Here we wrap the view method f and return the wrapped method """</pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre></pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> def wrapper(request, *args, **kwargs):</pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> """ Wrapper calls the view function, processes the result and returns HttpResponse """</pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre></pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> # call the view function itself...</pre></li></ol> |
718 | | |
719 | | <ol start="414" class="context-line"><li onclick="toggle('pre178926892', 'post178926892')"><pre> context = f(request, *args, **kwargs)</pre> <span>...</span></li></ol> |
720 | | |
721 | | <ol start='415' class="post-context" id="post178926892"><li onclick="toggle('pre178926892', 'post178926892')"><pre></pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> # if we happen to have a Response, return it</pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> if isinstance(context, HttpResponse):</pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> return context</pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre></pre></li><li onclick="toggle('pre178926892', 'post178926892')"><pre> # get template from view dict. Can be overridden from the **kwargs</pre></li></ol> |
722 | | |
723 | | </div> |
724 | | |
725 | | |
726 | | |
727 | | <div class="commands"> |
728 | | |
729 | | <a href="#" onclick="return varToggle(this, '178926892')"><span>▶</span> Local vars</a> |
730 | | |
731 | | </div> |
732 | | <table class="vars" id="v178926892"> |
733 | | <thead> |
734 | | <tr> |
735 | | <th>Variable</th> |
736 | | <th>Value</th> |
737 | | </tr> |
738 | | </thead> |
739 | | <tbody> |
740 | | |
741 | | <tr> |
742 | | <td>ctx</td> |
743 | | <td class="code"><pre><omeroweb.webclient.decorators.render_response object at 0xa221d2c></pre></td> |
744 | | </tr> |
745 | | |
746 | | <tr> |
747 | | <td>args</td> |
748 | | <td class="code"><pre>()</pre></td> |
749 | | </tr> |
750 | | |
751 | | <tr> |
752 | | <td>request</td> |
753 | | <td class="code"><pre><WSGIRequest |
754 | | GET:<QueryDict: {}>, |
755 | | POST:<QueryDict: {}>, |
756 | | COOKIES:{'sessionid': 'cb708b38a043f74b4c7dd3a3bb29f4de'}, |
757 | | META:{'CONTENT_LENGTH': '', |
758 | | 'CONTENT_TYPE': 'text/plain', |
759 | | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
760 | | 'GATEWAY_INTERFACE': 'CGI/1.1', |
761 | | 'HOME': '/home/user', |
762 | | 'HTTP_ACCEPT': 'text/html, */*; q=0.01', |
763 | | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', |
764 | | 'HTTP_ACCEPT_LANGUAGE': 'zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0.4', |
765 | | 'HTTP_CONNECTION': 'keep-alive', |
766 | | 'HTTP_COOKIE': 'sessionid=cb708b38a043f74b4c7dd3a3bb29f4de', |
767 | | 'HTTP_HOST': '172.16.253.186:4080', |
768 | | 'HTTP_REFERER': 'http://172.16.253.186:4080/webclient/userdata/', |
769 | | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36', |
770 | | 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', |
771 | | 'ICE_HOME': '/usr/share/Ice-3.3.1', |
772 | | 'JAVA_HOME': '/usr/lib/jvm/java-6-sun', |
773 | | 'LANG': 'en_US.UTF-8', |
774 | | 'LD_LIBRARY_PATH': '/usr/share/java:/usr/lib:', |
775 | | 'LESSCLOSE': '/usr/bin/lesspipe %s %s', |
776 | | 'LESSOPEN': '| /usr/bin/lesspipe %s', |
777 | | 'LOGNAME': 'user', |
778 | | 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', |
779 | | 'MAIL': '/var/mail/user', |
780 | | 'OLDPWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
781 | | 'OMERO_PREFIX': '/home/user/apps/OMERO/OMERO.server', |
782 | | 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun/bin:/usr/share/Ice-3.3.1:/usr/lib/postgresql/8.4/bin:/home/user/apps/OMERO/OMERO.server/bin', |
783 | | 'PATH_INFO': u'/webclient/metadata_details/image/206/', |
784 | | 'POSTGRES_HOME': '/usr/lib/postgresql/8.4', |
785 | | 'PWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
786 | | 'PYTHONPATH': '/usr/lib/pymodules/python2.6:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/lib:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/fallback', |
787 | | 'QUERY_STRING': '', |
788 | | 'REMOTE_ADDR': '172.16.253.118', |
789 | | 'REMOTE_HOST': '', |
790 | | 'REQUEST_METHOD': 'GET', |
791 | | 'SCRIPT_NAME': u'', |
792 | | 'SERVER_NAME': 'ns1', |
793 | | 'SERVER_PORT': '4080', |
794 | | 'SERVER_PROTOCOL': 'HTTP/1.1', |
795 | | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3', |
796 | | 'SHELL': '/bin/bash', |
797 | | 'SHLVL': '1', |
798 | | 'SSH_CLIENT': '172.16.253.118 4380 22', |
799 | | 'SSH_CONNECTION': '172.16.253.118 4380 172.16.253.186 22', |
800 | | 'SSH_TTY': '/dev/pts/6', |
801 | | 'TERM': 'xterm', |
802 | | 'TZ': 'Europe/London', |
803 | | 'USER': 'user', |
804 | | 'XDG_SESSION_COOKIE': '811afcc240d67ea6b1fa237a00000818-1369626181.70547-1526108026', |
805 | | '_': './start.sh', |
806 | | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb72ad0d0>, |
807 | | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
808 | | 'wsgi.input': <socket._fileobject object at 0xae1daec>, |
809 | | 'wsgi.multiprocess': False, |
810 | | 'wsgi.multithread': True, |
811 | | 'wsgi.run_once': False, |
812 | | 'wsgi.url_scheme': 'http', |
813 | | 'wsgi.version': (1, 0)}></pre></td> |
814 | | </tr> |
815 | | |
816 | | <tr> |
817 | | <td>f</td> |
818 | | <td class="code"><pre><function load_metadata_details at 0xa22587c></pre></td> |
819 | | </tr> |
820 | | |
821 | | <tr> |
822 | | <td>kwargs</td> |
823 | | <td class="code"><pre>{'c_id': u'206', |
824 | | 'c_type': u'image', |
825 | | 'conn': <omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x9c553ac>, |
826 | | 'share_id': None, |
827 | | 'url': u'/webclient/metadata_details/image/206/'}</pre></td> |
828 | | </tr> |
829 | | |
830 | | </tbody> |
831 | | </table> |
832 | | |
833 | | </li> |
834 | | |
835 | | <li class="frame"> |
836 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/webclient/views.py</code> in <code>load_metadata_details</code> |
837 | | |
838 | | |
839 | | <div class="context" id="c178926932"> |
840 | | |
841 | | <ol start="767" class="pre-context" id="pre178926932"><li onclick="toggle('pre178926932', 'post178926932')"><pre> The data and annotations are loaded by the manager. Display of appropriate data is handled by the template.</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> """</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre></pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> # the index of a field within a well</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> index = getIntOrDefault(request, 'index', 0)</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre></pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> # we only expect a single object, but forms can take multiple objects</pre></li></ol> |
842 | | |
843 | | <ol start="774" class="context-line"><li onclick="toggle('pre178926932', 'post178926932')"><pre> images = c_type == "image" and list(conn.getObjects("Image", [c_id])) or list()</pre> <span>...</span></li></ol> |
844 | | |
845 | | <ol start='775' class="post-context" id="post178926932"><li onclick="toggle('pre178926932', 'post178926932')"><pre> datasets = c_type == "dataset" and list(conn.getObjects("Dataset", [c_id])) or list()</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> projects = c_type == "project" and list(conn.getObjects("Project", [c_id])) or list()</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> screens = c_type == "screen" and list(conn.getObjects("Screen", [c_id])) or list()</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> plates = c_type == "plate" and list(conn.getObjects("Plate", [c_id])) or list()</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> acquisitions = c_type == "acquisition" and list(conn.getObjects("PlateAcquisition", [c_id])) or list()</pre></li><li onclick="toggle('pre178926932', 'post178926932')"><pre> shares = (c_type == "share" or c_type == "discussion") and [conn.getShare(c_id)] or list()</pre></li></ol> |
846 | | |
847 | | </div> |
848 | | |
849 | | |
850 | | |
851 | | <div class="commands"> |
852 | | |
853 | | <a href="#" onclick="return varToggle(this, '178926932')"><span>▶</span> Local vars</a> |
854 | | |
855 | | </div> |
856 | | <table class="vars" id="v178926932"> |
857 | | <thead> |
858 | | <tr> |
859 | | <th>Variable</th> |
860 | | <th>Value</th> |
861 | | </tr> |
862 | | </thead> |
863 | | <tbody> |
864 | | |
865 | | <tr> |
866 | | <td>c_type</td> |
867 | | <td class="code"><pre>u'image'</pre></td> |
868 | | </tr> |
869 | | |
870 | | <tr> |
871 | | <td>index</td> |
872 | | <td class="code"><pre>0</pre></td> |
873 | | </tr> |
874 | | |
875 | | <tr> |
876 | | <td>share_id</td> |
877 | | <td class="code"><pre>None</pre></td> |
878 | | </tr> |
879 | | |
880 | | <tr> |
881 | | <td>c_id</td> |
882 | | <td class="code"><pre>u'206'</pre></td> |
883 | | </tr> |
884 | | |
885 | | <tr> |
886 | | <td>request</td> |
887 | | <td class="code"><pre><WSGIRequest |
888 | | GET:<QueryDict: {}>, |
889 | | POST:<QueryDict: {}>, |
890 | | COOKIES:{'sessionid': 'cb708b38a043f74b4c7dd3a3bb29f4de'}, |
891 | | META:{'CONTENT_LENGTH': '', |
892 | | 'CONTENT_TYPE': 'text/plain', |
893 | | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
894 | | 'GATEWAY_INTERFACE': 'CGI/1.1', |
895 | | 'HOME': '/home/user', |
896 | | 'HTTP_ACCEPT': 'text/html, */*; q=0.01', |
897 | | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', |
898 | | 'HTTP_ACCEPT_LANGUAGE': 'zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0.4', |
899 | | 'HTTP_CONNECTION': 'keep-alive', |
900 | | 'HTTP_COOKIE': 'sessionid=cb708b38a043f74b4c7dd3a3bb29f4de', |
901 | | 'HTTP_HOST': '172.16.253.186:4080', |
902 | | 'HTTP_REFERER': 'http://172.16.253.186:4080/webclient/userdata/', |
903 | | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36', |
904 | | 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', |
905 | | 'ICE_HOME': '/usr/share/Ice-3.3.1', |
906 | | 'JAVA_HOME': '/usr/lib/jvm/java-6-sun', |
907 | | 'LANG': 'en_US.UTF-8', |
908 | | 'LD_LIBRARY_PATH': '/usr/share/java:/usr/lib:', |
909 | | 'LESSCLOSE': '/usr/bin/lesspipe %s %s', |
910 | | 'LESSOPEN': '| /usr/bin/lesspipe %s', |
911 | | 'LOGNAME': 'user', |
912 | | 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', |
913 | | 'MAIL': '/var/mail/user', |
914 | | 'OLDPWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
915 | | 'OMERO_PREFIX': '/home/user/apps/OMERO/OMERO.server', |
916 | | 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun/bin:/usr/share/Ice-3.3.1:/usr/lib/postgresql/8.4/bin:/home/user/apps/OMERO/OMERO.server/bin', |
917 | | 'PATH_INFO': u'/webclient/metadata_details/image/206/', |
918 | | 'POSTGRES_HOME': '/usr/lib/postgresql/8.4', |
919 | | 'PWD': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin', |
920 | | 'PYTHONPATH': '/usr/lib/pymodules/python2.6:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/lib:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/fallback', |
921 | | 'QUERY_STRING': '', |
922 | | 'REMOTE_ADDR': '172.16.253.118', |
923 | | 'REMOTE_HOST': '', |
924 | | 'REQUEST_METHOD': 'GET', |
925 | | 'SCRIPT_NAME': u'', |
926 | | 'SERVER_NAME': 'ns1', |
927 | | 'SERVER_PORT': '4080', |
928 | | 'SERVER_PROTOCOL': 'HTTP/1.1', |
929 | | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3', |
930 | | 'SHELL': '/bin/bash', |
931 | | 'SHLVL': '1', |
932 | | 'SSH_CLIENT': '172.16.253.118 4380 22', |
933 | | 'SSH_CONNECTION': '172.16.253.118 4380 172.16.253.186 22', |
934 | | 'SSH_TTY': '/dev/pts/6', |
935 | | 'TERM': 'xterm', |
936 | | 'TZ': 'Europe/London', |
937 | | 'USER': 'user', |
938 | | 'XDG_SESSION_COOKIE': '811afcc240d67ea6b1fa237a00000818-1369626181.70547-1526108026', |
939 | | '_': './start.sh', |
940 | | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb72ad0d0>, |
941 | | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
942 | | 'wsgi.input': <socket._fileobject object at 0xae1daec>, |
943 | | 'wsgi.multiprocess': False, |
944 | | 'wsgi.multithread': True, |
945 | | 'wsgi.run_once': False, |
946 | | 'wsgi.url_scheme': 'http', |
947 | | 'wsgi.version': (1, 0)}></pre></td> |
948 | | </tr> |
949 | | |
950 | | <tr> |
951 | | <td>kwargs</td> |
952 | | <td class="code"><pre>{'url': u'/webclient/metadata_details/image/206/'}</pre></td> |
953 | | </tr> |
954 | | |
955 | | <tr> |
956 | | <td>conn</td> |
957 | | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x9c553ac></pre></td> |
958 | | </tr> |
959 | | |
960 | | </tbody> |
961 | | </table> |
962 | | |
963 | | </li> |
964 | | |
965 | | <li class="frame"> |
966 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero/gateway/__init__.py</code> in <code>getObjects</code> |
967 | | |
968 | | |
969 | | <div class="context" id="c178928492"> |
970 | | |
971 | | <ol start="2508" class="pre-context" id="pre178928492"><li onclick="toggle('pre178928492', 'post178928492')"><pre> @param ids: object IDs</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> @type ids: List of Long</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> @param params: omero.sys.Parameters, can be used for pagination, filtering etc.</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> @param attributes: Map of key-value pairs to filter results by. Key must be attribute of obj_type. E.g. 'name', 'ns'</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> @return: Generator of L{BlitzObjectWrapper} subclasses</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> """</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> query, params, wrapper = self.buildQuery(obj_type, ids, params, attributes)</pre></li></ol> |
972 | | |
973 | | <ol start="2515" class="context-line"><li onclick="toggle('pre178928492', 'post178928492')"><pre> result = self.getQueryService().findAllByQuery(query, params, self.SERVICE_OPTS)</pre> <span>...</span></li></ol> |
974 | | |
975 | | <ol start='2516' class="post-context" id="post178928492"><li onclick="toggle('pre178928492', 'post178928492')"><pre> for r in result:</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> yield wrapper(self, r)</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre></pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> def buildQuery (self, obj_type, ids=None, params=None, attributes=None):</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> """</pre></li><li onclick="toggle('pre178928492', 'post178928492')"><pre> Prepares a query for iQuery. Also prepares params and determines appropriate wrapper for result</pre></li></ol> |
976 | | |
977 | | </div> |
978 | | |
979 | | |
980 | | |
981 | | <div class="commands"> |
982 | | |
983 | | <a href="#" onclick="return varToggle(this, '178928492')"><span>▶</span> Local vars</a> |
984 | | |
985 | | </div> |
986 | | <table class="vars" id="v178928492"> |
987 | | <thead> |
988 | | <tr> |
989 | | <th>Variable</th> |
990 | | <th>Value</th> |
991 | | </tr> |
992 | | </thead> |
993 | | <tbody> |
994 | | |
995 | | <tr> |
996 | | <td>obj_type</td> |
997 | | <td class="code"><pre>'Image'</pre></td> |
998 | | </tr> |
999 | | |
1000 | | <tr> |
1001 | | <td>self</td> |
1002 | | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x9c553ac></pre></td> |
1003 | | </tr> |
1004 | | |
1005 | | <tr> |
1006 | | <td>ids</td> |
1007 | | <td class="code"><pre>[u'206']</pre></td> |
1008 | | </tr> |
1009 | | |
1010 | | <tr> |
1011 | | <td>wrapper</td> |
1012 | | <td class="code"><pre><class 'omeroweb.webclient.webclient_gateway.ImageWrapper'></pre></td> |
1013 | | </tr> |
1014 | | |
1015 | | <tr> |
1016 | | <td>params</td> |
1017 | | <td class="code"><pre>object #0 (::omero::sys::Parameters) |
1018 | | { |
1019 | | map = |
1020 | | { |
1021 | | key = ids |
1022 | | value = object #1 (::omero::RList) |
1023 | | { |
1024 | | _val = |
1025 | | { |
1026 | | [0] = object #2 (::omero::RLong) |
1027 | | { |
1028 | | _val = 206 |
1029 | | } |
1030 | | } |
1031 | | } |
1032 | | } |
1033 | | theFilter = <nil> |
1034 | | theOptions = <nil> |
1035 | | }</pre></td> |
1036 | | </tr> |
1037 | | |
1038 | | <tr> |
1039 | | <td>attributes</td> |
1040 | | <td class="code"><pre>None</pre></td> |
1041 | | </tr> |
1042 | | |
1043 | | <tr> |
1044 | | <td>query</td> |
1045 | | <td class="code"><pre>'select obj from Image obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.id in (:ids)'</pre></td> |
1046 | | </tr> |
1047 | | |
1048 | | </tbody> |
1049 | | </table> |
1050 | | |
1051 | | </li> |
1052 | | |
1053 | | <li class="frame"> |
1054 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero/gateway/__init__.py</code> in <code>__call__</code> |
1055 | | |
1056 | | |
1057 | | <div class="context" id="c178928172"> |
1058 | | |
1059 | | <ol start="3422" class="pre-context" id="pre178928172"><li onclick="toggle('pre178928172', 'post178928172')"><pre> raise</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre></pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre> def __call__(self, *args, **kwargs):</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre> try:</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre> return self.f(*args, **kwargs)</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre> self.debug(e.__class__.__name__, args, kwargs)</pre></li></ol> |
1060 | | |
1061 | | <ol start="3429" class="context-line"><li onclick="toggle('pre178928172', 'post178928172')"><pre> return self.handle_exception(e, *args, **kwargs)</pre> <span>...</span></li></ol> |
1062 | | |
1063 | | <ol start='3430' class="post-context" id="post178928172"><li onclick="toggle('pre178928172', 'post178928172')"><pre></pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre># Extension point for API users who want to customise the semantics of</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre># safe call wrap. (See #6365)</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre>#</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre># Since: OMERO Beta-4.3.2 (Tue 2 Aug 2011 09:59:47 BST)</pre></li><li onclick="toggle('pre178928172', 'post178928172')"><pre>SafeCallWrapper = OmeroGatewaySafeCallWrapper</pre></li></ol> |
1064 | | |
1065 | | </div> |
1066 | | |
1067 | | |
1068 | | |
1069 | | <div class="commands"> |
1070 | | |
1071 | | <a href="#" onclick="return varToggle(this, '178928172')"><span>▶</span> Local vars</a> |
1072 | | |
1073 | | </div> |
1074 | | <table class="vars" id="v178928172"> |
1075 | | <thead> |
1076 | | <tr> |
1077 | | <th>Variable</th> |
1078 | | <th>Value</th> |
1079 | | </tr> |
1080 | | </thead> |
1081 | | <tbody> |
1082 | | |
1083 | | <tr> |
1084 | | <td>self</td> |
1085 | | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebSafeCallWrapper object at 0xa56910c></pre></td> |
1086 | | </tr> |
1087 | | |
1088 | | <tr> |
1089 | | <td>args</td> |
1090 | | <td class="code"><pre>('select obj from Image obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.id in (:ids)', |
1091 | | object #0 (::omero::sys::Parameters) |
1092 | | { |
1093 | | map = |
1094 | | { |
1095 | | key = ids |
1096 | | value = object #1 (::omero::RList) |
1097 | | { |
1098 | | _val = |
1099 | | { |
1100 | | [0] = object #2 (::omero::RLong) |
1101 | | { |
1102 | | _val = 206 |
1103 | | } |
1104 | | } |
1105 | | } |
1106 | | } |
1107 | | theFilter = <nil> |
1108 | | theOptions = <nil> |
1109 | | }, |
1110 | | <ServiceOptsDict: {'omero.session.uuid': '0d260318-251a-4531-a260-b0ee2939422e', 'omero.group': '-1', 'omero.client.uuid': 'f7003b75-a0ae-4f7d-b0b1-c47fe27850c1'}>)</pre></td> |
1111 | | </tr> |
1112 | | |
1113 | | <tr> |
1114 | | <td>e</td> |
1115 | | <td class="code"><pre>exception ::omero::InternalException |
1116 | | { |
1117 | | serverStackTrace = ome.conditions.InternalException: No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1118 | | at ome.security.basic.CurrentDetails.applyContext(CurrentDetails.java:413) |
1119 | | at ome.security.basic.BasicACLVoter.postProcess(BasicACLVoter.java:379) |
1120 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:119) |
1121 | | at ome.util.ContextFilter.filter(ContextFilter.java:160) |
1122 | | at ome.util.ContextFilter.doFilter(ContextFilter.java:84) |
1123 | | at ome.util.ContextFilter.filter(ContextFilter.java:121) |
1124 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:166) |
1125 | | at ome.util.ContextFilter.filter(ContextFilter.java:162) |
1126 | | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:244) |
1127 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1128 | | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) |
1129 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1130 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1131 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1132 | | at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) |
1133 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1134 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1135 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1136 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1137 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1138 | | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98) |
1139 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1140 | | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) |
1141 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1142 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1143 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1144 | | at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) |
1145 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1146 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1147 | | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
1148 | | at ome.services.throttling.Callback.run(Callback.java:56) |
1149 | | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) |
1150 | | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:150) |
1151 | | at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:66) |
1152 | | at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source) |
1153 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1154 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1155 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1156 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1157 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1158 | | at omero.cmd.CallContext.invoke(CallContext.java:59) |
1159 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1160 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1161 | | at sun.proxy.$Proxy76.findAllByQuery_async(Unknown Source) |
1162 | | at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:101) |
1163 | | at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:378) |
1164 | | at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) |
1165 | | at IceInternal.Incoming.invoke(Incoming.java:159) |
1166 | | at Ice.ConnectionI.invokeAll(ConnectionI.java:2357) |
1167 | | at Ice.ConnectionI.dispatch(ConnectionI.java:1208) |
1168 | | at Ice.ConnectionI.message(ConnectionI.java:1163) |
1169 | | at IceInternal.ThreadPool.run(ThreadPool.java:302) |
1170 | | at IceInternal.ThreadPool.access$300(ThreadPool.java:12) |
1171 | | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643) |
1172 | | at java.lang.Thread.run(Thread.java:679) |
1173 | | |
1174 | | serverExceptionClass = ome.conditions.InternalException |
1175 | | message = No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1176 | | }</pre></td> |
1177 | | </tr> |
1178 | | |
1179 | | <tr> |
1180 | | <td>kwargs</td> |
1181 | | <td class="code"><pre>{}</pre></td> |
1182 | | </tr> |
1183 | | |
1184 | | </tbody> |
1185 | | </table> |
1186 | | |
1187 | | </li> |
1188 | | |
1189 | | <li class="frame"> |
1190 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/webclient/webclient_gateway.py</code> in <code>handle_exception</code> |
1191 | | |
1192 | | |
1193 | | <div class="context" id="c178927292"> |
1194 | | |
1195 | | <ol start="1872" class="pre-context" id="pre178927292"><li onclick="toggle('pre178927292', 'post178927292')"><pre> func = getattr(self.proxyObjectWrapper._obj, self.attr)</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre> return func(*args, **kwargs)</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre> self.debug(e.__class__.__name__, args, kwargs)</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre> raise</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre> else:</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre> super(OmeroWebSafeCallWrapper, self).handle_exception(</pre></li></ol> |
1196 | | |
1197 | | <ol start="1879" class="context-line"><li onclick="toggle('pre178927292', 'post178927292')"><pre> e, *args, **kwargs)</pre> <span>...</span></li></ol> |
1198 | | |
1199 | | <ol start='1880' class="post-context" id="post178927292"><li onclick="toggle('pre178927292', 'post178927292')"><pre></pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre></pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre>omero.gateway.SafeCallWrapper = OmeroWebSafeCallWrapper</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre></pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre>class OmeroWebObjectWrapper (object):</pre></li><li onclick="toggle('pre178927292', 'post178927292')"><pre> </pre></li></ol> |
1200 | | |
1201 | | </div> |
1202 | | |
1203 | | |
1204 | | |
1205 | | <div class="commands"> |
1206 | | |
1207 | | <a href="#" onclick="return varToggle(this, '178927292')"><span>▶</span> Local vars</a> |
1208 | | |
1209 | | </div> |
1210 | | <table class="vars" id="v178927292"> |
1211 | | <thead> |
1212 | | <tr> |
1213 | | <th>Variable</th> |
1214 | | <th>Value</th> |
1215 | | </tr> |
1216 | | </thead> |
1217 | | <tbody> |
1218 | | |
1219 | | <tr> |
1220 | | <td>self</td> |
1221 | | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebSafeCallWrapper object at 0xa56910c></pre></td> |
1222 | | </tr> |
1223 | | |
1224 | | <tr> |
1225 | | <td>args</td> |
1226 | | <td class="code"><pre>('select obj from Image obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.id in (:ids)', |
1227 | | object #0 (::omero::sys::Parameters) |
1228 | | { |
1229 | | map = |
1230 | | { |
1231 | | key = ids |
1232 | | value = object #1 (::omero::RList) |
1233 | | { |
1234 | | _val = |
1235 | | { |
1236 | | [0] = object #2 (::omero::RLong) |
1237 | | { |
1238 | | _val = 206 |
1239 | | } |
1240 | | } |
1241 | | } |
1242 | | } |
1243 | | theFilter = <nil> |
1244 | | theOptions = <nil> |
1245 | | }, |
1246 | | <ServiceOptsDict: {'omero.session.uuid': '0d260318-251a-4531-a260-b0ee2939422e', 'omero.group': '-1', 'omero.client.uuid': 'f7003b75-a0ae-4f7d-b0b1-c47fe27850c1'}>)</pre></td> |
1247 | | </tr> |
1248 | | |
1249 | | <tr> |
1250 | | <td>e</td> |
1251 | | <td class="code"><pre>exception ::omero::InternalException |
1252 | | { |
1253 | | serverStackTrace = ome.conditions.InternalException: No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1254 | | at ome.security.basic.CurrentDetails.applyContext(CurrentDetails.java:413) |
1255 | | at ome.security.basic.BasicACLVoter.postProcess(BasicACLVoter.java:379) |
1256 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:119) |
1257 | | at ome.util.ContextFilter.filter(ContextFilter.java:160) |
1258 | | at ome.util.ContextFilter.doFilter(ContextFilter.java:84) |
1259 | | at ome.util.ContextFilter.filter(ContextFilter.java:121) |
1260 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:166) |
1261 | | at ome.util.ContextFilter.filter(ContextFilter.java:162) |
1262 | | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:244) |
1263 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1264 | | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) |
1265 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1266 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1267 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1268 | | at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) |
1269 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1270 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1271 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1272 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1273 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1274 | | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98) |
1275 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1276 | | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) |
1277 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1278 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1279 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1280 | | at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) |
1281 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1282 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1283 | | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
1284 | | at ome.services.throttling.Callback.run(Callback.java:56) |
1285 | | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) |
1286 | | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:150) |
1287 | | at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:66) |
1288 | | at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source) |
1289 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1290 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1291 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1292 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1293 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1294 | | at omero.cmd.CallContext.invoke(CallContext.java:59) |
1295 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1296 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1297 | | at sun.proxy.$Proxy76.findAllByQuery_async(Unknown Source) |
1298 | | at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:101) |
1299 | | at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:378) |
1300 | | at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) |
1301 | | at IceInternal.Incoming.invoke(Incoming.java:159) |
1302 | | at Ice.ConnectionI.invokeAll(ConnectionI.java:2357) |
1303 | | at Ice.ConnectionI.dispatch(ConnectionI.java:1208) |
1304 | | at Ice.ConnectionI.message(ConnectionI.java:1163) |
1305 | | at IceInternal.ThreadPool.run(ThreadPool.java:302) |
1306 | | at IceInternal.ThreadPool.access$300(ThreadPool.java:12) |
1307 | | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643) |
1308 | | at java.lang.Thread.run(Thread.java:679) |
1309 | | |
1310 | | serverExceptionClass = ome.conditions.InternalException |
1311 | | message = No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1312 | | }</pre></td> |
1313 | | </tr> |
1314 | | |
1315 | | <tr> |
1316 | | <td>kwargs</td> |
1317 | | <td class="code"><pre>{}</pre></td> |
1318 | | </tr> |
1319 | | |
1320 | | </tbody> |
1321 | | </table> |
1322 | | |
1323 | | </li> |
1324 | | |
1325 | | <li class="frame"> |
1326 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero/gateway/__init__.py</code> in <code>__call__</code> |
1327 | | |
1328 | | |
1329 | | <div class="context" id="c178928452"> |
1330 | | |
1331 | | <ol start="3419" class="pre-context" id="pre178928452"><li onclick="toggle('pre178928452', 'post178928452')"><pre> @param e: The exception that has already been raised.</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre> @type e: Exception</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre> """</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre> raise</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre></pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre> def __call__(self, *args, **kwargs):</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre> try:</pre></li></ol> |
1332 | | |
1333 | | <ol start="3426" class="context-line"><li onclick="toggle('pre178928452', 'post178928452')"><pre> return self.f(*args, **kwargs)</pre> <span>...</span></li></ol> |
1334 | | |
1335 | | <ol start='3427' class="post-context" id="post178928452"><li onclick="toggle('pre178928452', 'post178928452')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre> self.debug(e.__class__.__name__, args, kwargs)</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre> return self.handle_exception(e, *args, **kwargs)</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre></pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre># Extension point for API users who want to customise the semantics of</pre></li><li onclick="toggle('pre178928452', 'post178928452')"><pre># safe call wrap. (See #6365)</pre></li></ol> |
1336 | | |
1337 | | </div> |
1338 | | |
1339 | | |
1340 | | |
1341 | | <div class="commands"> |
1342 | | |
1343 | | <a href="#" onclick="return varToggle(this, '178928452')"><span>▶</span> Local vars</a> |
1344 | | |
1345 | | </div> |
1346 | | <table class="vars" id="v178928452"> |
1347 | | <thead> |
1348 | | <tr> |
1349 | | <th>Variable</th> |
1350 | | <th>Value</th> |
1351 | | </tr> |
1352 | | </thead> |
1353 | | <tbody> |
1354 | | |
1355 | | <tr> |
1356 | | <td>self</td> |
1357 | | <td class="code"><pre><omeroweb.webclient.webclient_gateway.OmeroWebSafeCallWrapper object at 0xa56910c></pre></td> |
1358 | | </tr> |
1359 | | |
1360 | | <tr> |
1361 | | <td>args</td> |
1362 | | <td class="code"><pre>('select obj from Image obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.id in (:ids)', |
1363 | | object #0 (::omero::sys::Parameters) |
1364 | | { |
1365 | | map = |
1366 | | { |
1367 | | key = ids |
1368 | | value = object #1 (::omero::RList) |
1369 | | { |
1370 | | _val = |
1371 | | { |
1372 | | [0] = object #2 (::omero::RLong) |
1373 | | { |
1374 | | _val = 206 |
1375 | | } |
1376 | | } |
1377 | | } |
1378 | | } |
1379 | | theFilter = <nil> |
1380 | | theOptions = <nil> |
1381 | | }, |
1382 | | <ServiceOptsDict: {'omero.session.uuid': '0d260318-251a-4531-a260-b0ee2939422e', 'omero.group': '-1', 'omero.client.uuid': 'f7003b75-a0ae-4f7d-b0b1-c47fe27850c1'}>)</pre></td> |
1383 | | </tr> |
1384 | | |
1385 | | <tr> |
1386 | | <td>e</td> |
1387 | | <td class="code"><pre>exception ::omero::InternalException |
1388 | | { |
1389 | | serverStackTrace = ome.conditions.InternalException: No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1390 | | at ome.security.basic.CurrentDetails.applyContext(CurrentDetails.java:413) |
1391 | | at ome.security.basic.BasicACLVoter.postProcess(BasicACLVoter.java:379) |
1392 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:119) |
1393 | | at ome.util.ContextFilter.filter(ContextFilter.java:160) |
1394 | | at ome.util.ContextFilter.doFilter(ContextFilter.java:84) |
1395 | | at ome.util.ContextFilter.filter(ContextFilter.java:121) |
1396 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:166) |
1397 | | at ome.util.ContextFilter.filter(ContextFilter.java:162) |
1398 | | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:244) |
1399 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1400 | | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) |
1401 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1402 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1403 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1404 | | at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) |
1405 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1406 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1407 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1408 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1409 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1410 | | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98) |
1411 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1412 | | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) |
1413 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1414 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1415 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1416 | | at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) |
1417 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1418 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1419 | | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
1420 | | at ome.services.throttling.Callback.run(Callback.java:56) |
1421 | | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) |
1422 | | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:150) |
1423 | | at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:66) |
1424 | | at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source) |
1425 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1426 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1427 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1428 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1429 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1430 | | at omero.cmd.CallContext.invoke(CallContext.java:59) |
1431 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1432 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1433 | | at sun.proxy.$Proxy76.findAllByQuery_async(Unknown Source) |
1434 | | at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:101) |
1435 | | at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:378) |
1436 | | at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) |
1437 | | at IceInternal.Incoming.invoke(Incoming.java:159) |
1438 | | at Ice.ConnectionI.invokeAll(ConnectionI.java:2357) |
1439 | | at Ice.ConnectionI.dispatch(ConnectionI.java:1208) |
1440 | | at Ice.ConnectionI.message(ConnectionI.java:1163) |
1441 | | at IceInternal.ThreadPool.run(ThreadPool.java:302) |
1442 | | at IceInternal.ThreadPool.access$300(ThreadPool.java:12) |
1443 | | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643) |
1444 | | at java.lang.Thread.run(Thread.java:679) |
1445 | | |
1446 | | serverExceptionClass = ome.conditions.InternalException |
1447 | | message = No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1448 | | }</pre></td> |
1449 | | </tr> |
1450 | | |
1451 | | <tr> |
1452 | | <td>kwargs</td> |
1453 | | <td class="code"><pre>{}</pre></td> |
1454 | | </tr> |
1455 | | |
1456 | | </tbody> |
1457 | | </table> |
1458 | | |
1459 | | </li> |
1460 | | |
1461 | | <li class="frame"> |
1462 | | <code>/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero_api_IQuery_ice.py</code> in <code>findAllByQuery</code> |
1463 | | |
1464 | | |
1465 | | <div class="context" id="c178928252"> |
1466 | | |
1467 | | <ol start="206" class="pre-context" id="pre178928252"><li onclick="toggle('pre178928252', 'post178928252')"><pre> def end_findByQuery(self, _r):</pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> return _M_omero.api.IQuery._op_findByQuery.end(self, _r)</pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre></pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> def findByQuery_async(self, _cb, query, params, _ctx=None):</pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> return _M_omero.api.IQuery._op_findByQuery.invokeAsync(self, (_cb, (query, params), _ctx))</pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre></pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> def findAllByQuery(self, query, params, _ctx=None):</pre></li></ol> |
1468 | | |
1469 | | <ol start="213" class="context-line"><li onclick="toggle('pre178928252', 'post178928252')"><pre> return _M_omero.api.IQuery._op_findAllByQuery.invoke(self, ((query, params), _ctx))</pre> <span>...</span></li></ol> |
1470 | | |
1471 | | <ol start='214' class="post-context" id="post178928252"><li onclick="toggle('pre178928252', 'post178928252')"><pre></pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> def begin_findAllByQuery(self, query, params, _response=None, _ex=None, _sent=None, _ctx=None):</pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> return _M_omero.api.IQuery._op_findAllByQuery.begin(self, ((query, params), _response, _ex, _sent, _ctx))</pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre></pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> def end_findAllByQuery(self, _r):</pre></li><li onclick="toggle('pre178928252', 'post178928252')"><pre> return _M_omero.api.IQuery._op_findAllByQuery.end(self, _r)</pre></li></ol> |
1472 | | |
1473 | | </div> |
1474 | | |
1475 | | |
1476 | | |
1477 | | <div class="commands"> |
1478 | | |
1479 | | <a href="#" onclick="return varToggle(this, '178928252')"><span>▶</span> Local vars</a> |
1480 | | |
1481 | | </div> |
1482 | | <table class="vars" id="v178928252"> |
1483 | | <thead> |
1484 | | <tr> |
1485 | | <th>Variable</th> |
1486 | | <th>Value</th> |
1487 | | </tr> |
1488 | | </thead> |
1489 | | <tbody> |
1490 | | |
1491 | | <tr> |
1492 | | <td>query</td> |
1493 | | <td class="code"><pre>'select obj from Image obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.id in (:ids)'</pre></td> |
1494 | | </tr> |
1495 | | |
1496 | | <tr> |
1497 | | <td>self</td> |
1498 | | <td class="code"><pre>0d260318-251a-4531-a260-b0ee2939422e/f7003b75-a0ae-4f7d-b0b1-c47fe27850c1omero.api.IQuery -t:tcp -h 172.16.253.186 -p 58670</pre></td> |
1499 | | </tr> |
1500 | | |
1501 | | <tr> |
1502 | | <td>params</td> |
1503 | | <td class="code"><pre>object #0 (::omero::sys::Parameters) |
1504 | | { |
1505 | | map = |
1506 | | { |
1507 | | key = ids |
1508 | | value = object #1 (::omero::RList) |
1509 | | { |
1510 | | _val = |
1511 | | { |
1512 | | [0] = object #2 (::omero::RLong) |
1513 | | { |
1514 | | _val = 206 |
1515 | | } |
1516 | | } |
1517 | | } |
1518 | | } |
1519 | | theFilter = <nil> |
1520 | | theOptions = <nil> |
1521 | | }</pre></td> |
1522 | | </tr> |
1523 | | |
1524 | | <tr> |
1525 | | <td>_ctx</td> |
1526 | | <td class="code"><pre><ServiceOptsDict: {'omero.session.uuid': '0d260318-251a-4531-a260-b0ee2939422e', 'omero.group': '-1', 'omero.client.uuid': 'f7003b75-a0ae-4f7d-b0b1-c47fe27850c1'}></pre></td> |
1527 | | </tr> |
1528 | | |
1529 | | </tbody> |
1530 | | </table> |
1531 | | |
1532 | | </li> |
1533 | | |
1534 | | </ul> |
1535 | | </div> |
1536 | | |
1537 | | <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> |
1538 | | |
1539 | | <div id="pastebinTraceback" class="pastebin"> |
1540 | | <input type="hidden" name="language" value="PythonConsole"> |
1541 | | <input type="hidden" name="title" value="InternalException at /webclient/metadata_details/image/206/"> |
1542 | | <input type="hidden" name="source" value="Django Dpaste Agent"> |
1543 | | <input type="hidden" name="poster" value="Django"> |
1544 | | <textarea name="content" id="traceback_area" cols="140" rows="25"> |
1545 | | Environment: |
1546 | | |
1547 | | |
1548 | | Request Method: GET |
1549 | | Request URL: http://172.16.253.186:4080/webclient/metadata_details/image/206/ |
1550 | | |
1551 | | Django Version: 1.3.1 |
1552 | | Python Version: 2.7.3 |
1553 | | Installed Applications: |
1554 | | ['django.contrib.staticfiles', |
1555 | | 'django.contrib.markup', |
1556 | | 'django.contrib.auth', |
1557 | | 'django.contrib.contenttypes', |
1558 | | 'django.contrib.sessions', |
1559 | | 'django.contrib.sites', |
1560 | | 'omeroweb.feedback', |
1561 | | 'omeroweb.webadmin', |
1562 | | 'omeroweb.webclient', |
1563 | | 'omeroweb.webgateway', |
1564 | | 'omeroweb.webtest', |
1565 | | 'omeroweb.webredirect', |
1566 | | 'omeroweb.webstart'] |
1567 | | Installed Middleware: |
1568 | | ('django.middleware.common.CommonMiddleware', |
1569 | | 'django.contrib.sessions.middleware.SessionMiddleware', |
1570 | | 'django.contrib.messages.middleware.MessageMiddleware') |
1571 | | |
1572 | | |
1573 | | Traceback: |
1574 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/django/core/handlers/base.py" in get_response |
1575 | | 111. response = callback(request, *callback_args, **callback_kwargs) |
1576 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/decorators.py" in wrapped |
1577 | | 377. retval = f(request, *args, **kwargs) |
1578 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/decorators.py" in wrapper |
1579 | | 414. context = f(request, *args, **kwargs) |
1580 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/webclient/views.py" in load_metadata_details |
1581 | | 774. images = c_type == "image" and list(conn.getObjects("Image", [c_id])) or list() |
1582 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero/gateway/__init__.py" in getObjects |
1583 | | 2515. result = self.getQueryService().findAllByQuery(query, params, self.SERVICE_OPTS) |
1584 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero/gateway/__init__.py" in __call__ |
1585 | | 3429. return self.handle_exception(e, *args, **kwargs) |
1586 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/webclient/webclient_gateway.py" in handle_exception |
1587 | | 1879. e, *args, **kwargs) |
1588 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero/gateway/__init__.py" in __call__ |
1589 | | 3426. return self.f(*args, **kwargs) |
1590 | | File "/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omero_api_IQuery_ice.py" in findAllByQuery |
1591 | | 213. return _M_omero.api.IQuery._op_findAllByQuery.invoke(self, ((query, params), _ctx)) |
1592 | | |
1593 | | Exception Type: InternalException at /webclient/metadata_details/image/206/ |
1594 | | Exception Value: exception ::omero::InternalException |
1595 | | { |
1596 | | serverStackTrace = ome.conditions.InternalException: No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1597 | | at ome.security.basic.CurrentDetails.applyContext(CurrentDetails.java:413) |
1598 | | at ome.security.basic.BasicACLVoter.postProcess(BasicACLVoter.java:379) |
1599 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:119) |
1600 | | at ome.util.ContextFilter.filter(ContextFilter.java:160) |
1601 | | at ome.util.ContextFilter.doFilter(ContextFilter.java:84) |
1602 | | at ome.util.ContextFilter.filter(ContextFilter.java:121) |
1603 | | at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:166) |
1604 | | at ome.util.ContextFilter.filter(ContextFilter.java:162) |
1605 | | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:244) |
1606 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1607 | | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) |
1608 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1609 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1610 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1611 | | at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) |
1612 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1613 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1614 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1615 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1616 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1617 | | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98) |
1618 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1619 | | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) |
1620 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1621 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1622 | | at sun.proxy.$Proxy75.findAllByQuery(Unknown Source) |
1623 | | at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) |
1624 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1625 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1626 | | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
1627 | | at ome.services.throttling.Callback.run(Callback.java:56) |
1628 | | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) |
1629 | | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:150) |
1630 | | at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:66) |
1631 | | at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source) |
1632 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
1633 | | at java.lang.reflect.Method.invoke(Method.java:616) |
1634 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
1635 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
1636 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
1637 | | at omero.cmd.CallContext.invoke(CallContext.java:59) |
1638 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
1639 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
1640 | | at sun.proxy.$Proxy76.findAllByQuery_async(Unknown Source) |
1641 | | at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:101) |
1642 | | at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:378) |
1643 | | at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) |
1644 | | at IceInternal.Incoming.invoke(Incoming.java:159) |
1645 | | at Ice.ConnectionI.invokeAll(ConnectionI.java:2357) |
1646 | | at Ice.ConnectionI.dispatch(ConnectionI.java:1208) |
1647 | | at Ice.ConnectionI.message(ConnectionI.java:1163) |
1648 | | at IceInternal.ThreadPool.run(ThreadPool.java:302) |
1649 | | at IceInternal.ThreadPool.access$300(ThreadPool.java:12) |
1650 | | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643) |
1651 | | at java.lang.Thread.run(Thread.java:679) |
1652 | | |
1653 | | serverExceptionClass = ome.conditions.InternalException |
1654 | | message = No permissions: Details:{;perm=rw----user=0;group=0;create=4683;update=4683} |
1655 | | } |
1656 | | </textarea> |
1657 | | <br><br> |
1658 | | <input type="submit" value="Share this traceback on a public Web site"> |
1659 | | </div> |
1660 | | </form> |
1661 | | </div> |
1662 | | |
1663 | | |
1664 | | |
1665 | | <div id="requestinfo"> |
1666 | | <h2>Request information</h2> |
1667 | | |
1668 | | |
1669 | | <h3 id="get-info">GET</h3> |
1670 | | |
1671 | | <p>No GET data</p> |
1672 | | |
1673 | | |
1674 | | <h3 id="post-info">POST</h3> |
1675 | | |
1676 | | <p>No POST data</p> |
1677 | | |
1678 | | <h3 id="files-info">FILES</h3> |
1679 | | |
1680 | | <p>No FILES data</p> |
1681 | | |
1682 | | |
1683 | | |
1684 | | <h3 id="cookie-info">COOKIES</h3> |
1685 | | |
1686 | | <table class="req"> |
1687 | | <thead> |
1688 | | <tr> |
1689 | | <th>Variable</th> |
1690 | | <th>Value</th> |
1691 | | </tr> |
1692 | | </thead> |
1693 | | <tbody> |
1694 | | |
1695 | | <tr> |
1696 | | <td>sessionid</td> |
1697 | | <td class="code"><pre>'cb708b38a043f74b4c7dd3a3bb29f4de'</pre></td> |
1698 | | </tr> |
1699 | | |
1700 | | </tbody> |
1701 | | </table> |
1702 | | |
1703 | | |
1704 | | <h3 id="meta-info">META</h3> |
1705 | | <table class="req"> |
1706 | | <thead> |
1707 | | <tr> |
1708 | | <th>Variable</th> |
1709 | | <th>Value</th> |
1710 | | </tr> |
1711 | | </thead> |
1712 | | <tbody> |
1713 | | |
1714 | | <tr> |
1715 | | <td>wsgi.version</td> |
1716 | | <td class="code"><pre>(1, 0)</pre></td> |
1717 | | </tr> |
1718 | | |
1719 | | <tr> |
1720 | | <td>HTTP_REFERER</td> |
1721 | | <td class="code"><pre>'http://172.16.253.186:4080/webclient/userdata/'</pre></td> |
1722 | | </tr> |
1723 | | |
1724 | | <tr> |
1725 | | <td>SERVER_PROTOCOL</td> |
1726 | | <td class="code"><pre>'HTTP/1.1'</pre></td> |
1727 | | </tr> |
1728 | | |
1729 | | <tr> |
1730 | | <td>SERVER_SOFTWARE</td> |
1731 | | <td class="code"><pre>'WSGIServer/0.1 Python/2.7.3'</pre></td> |
1732 | | </tr> |
1733 | | |
1734 | | <tr> |
1735 | | <td>SCRIPT_NAME</td> |
1736 | | <td class="code"><pre>u''</pre></td> |
1737 | | </tr> |
1738 | | |
1739 | | <tr> |
1740 | | <td>LESSOPEN</td> |
1741 | | <td class="code"><pre>'| /usr/bin/lesspipe %s'</pre></td> |
1742 | | </tr> |
1743 | | |
1744 | | <tr> |
1745 | | <td>SSH_CLIENT</td> |
1746 | | <td class="code"><pre>'172.16.253.118 4380 22'</pre></td> |
1747 | | </tr> |
1748 | | |
1749 | | <tr> |
1750 | | <td>REQUEST_METHOD</td> |
1751 | | <td class="code"><pre>'GET'</pre></td> |
1752 | | </tr> |
1753 | | |
1754 | | <tr> |
1755 | | <td>LOGNAME</td> |
1756 | | <td class="code"><pre>'user'</pre></td> |
1757 | | </tr> |
1758 | | |
1759 | | <tr> |
1760 | | <td>USER</td> |
1761 | | <td class="code"><pre>'user'</pre></td> |
1762 | | </tr> |
1763 | | |
1764 | | <tr> |
1765 | | <td>PATH</td> |
1766 | | <td class="code"><pre>'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun/bin:/usr/share/Ice-3.3.1:/usr/lib/postgresql/8.4/bin:/home/user/apps/OMERO/OMERO.server/bin'</pre></td> |
1767 | | </tr> |
1768 | | |
1769 | | <tr> |
1770 | | <td>QUERY_STRING</td> |
1771 | | <td class="code"><pre>''</pre></td> |
1772 | | </tr> |
1773 | | |
1774 | | <tr> |
1775 | | <td>HOME</td> |
1776 | | <td class="code"><pre>'/home/user'</pre></td> |
1777 | | </tr> |
1778 | | |
1779 | | <tr> |
1780 | | <td>LD_LIBRARY_PATH</td> |
1781 | | <td class="code"><pre>'/usr/share/java:/usr/lib:'</pre></td> |
1782 | | </tr> |
1783 | | |
1784 | | <tr> |
1785 | | <td>LANG</td> |
1786 | | <td class="code"><pre>'en_US.UTF-8'</pre></td> |
1787 | | </tr> |
1788 | | |
1789 | | <tr> |
1790 | | <td>TERM</td> |
1791 | | <td class="code"><pre>'xterm'</pre></td> |
1792 | | </tr> |
1793 | | |
1794 | | <tr> |
1795 | | <td>SHELL</td> |
1796 | | <td class="code"><pre>'/bin/bash'</pre></td> |
1797 | | </tr> |
1798 | | |
1799 | | <tr> |
1800 | | <td>TZ</td> |
1801 | | <td class="code"><pre>'Europe/London'</pre></td> |
1802 | | </tr> |
1803 | | |
1804 | | <tr> |
1805 | | <td>XDG_SESSION_COOKIE</td> |
1806 | | <td class="code"><pre>'811afcc240d67ea6b1fa237a00000818-1369626181.70547-1526108026'</pre></td> |
1807 | | </tr> |
1808 | | |
1809 | | <tr> |
1810 | | <td>SERVER_NAME</td> |
1811 | | <td class="code"><pre>'ns1'</pre></td> |
1812 | | </tr> |
1813 | | |
1814 | | <tr> |
1815 | | <td>REMOTE_ADDR</td> |
1816 | | <td class="code"><pre>'172.16.253.118'</pre></td> |
1817 | | </tr> |
1818 | | |
1819 | | <tr> |
1820 | | <td>SHLVL</td> |
1821 | | <td class="code"><pre>'1'</pre></td> |
1822 | | </tr> |
1823 | | |
1824 | | <tr> |
1825 | | <td>OMERO_PREFIX</td> |
1826 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server'</pre></td> |
1827 | | </tr> |
1828 | | |
1829 | | <tr> |
1830 | | <td>wsgi.url_scheme</td> |
1831 | | <td class="code"><pre>'http'</pre></td> |
1832 | | </tr> |
1833 | | |
1834 | | <tr> |
1835 | | <td>SERVER_PORT</td> |
1836 | | <td class="code"><pre>'4080'</pre></td> |
1837 | | </tr> |
1838 | | |
1839 | | <tr> |
1840 | | <td>JAVA_HOME</td> |
1841 | | <td class="code"><pre>'/usr/lib/jvm/java-6-sun'</pre></td> |
1842 | | </tr> |
1843 | | |
1844 | | <tr> |
1845 | | <td>CONTENT_LENGTH</td> |
1846 | | <td class="code"><pre>''</pre></td> |
1847 | | </tr> |
1848 | | |
1849 | | <tr> |
1850 | | <td>HTTP_X_REQUESTED_WITH</td> |
1851 | | <td class="code"><pre>'XMLHttpRequest'</pre></td> |
1852 | | </tr> |
1853 | | |
1854 | | <tr> |
1855 | | <td>wsgi.file_wrapper</td> |
1856 | | <td class="code"><pre>''</pre></td> |
1857 | | </tr> |
1858 | | |
1859 | | <tr> |
1860 | | <td>POSTGRES_HOME</td> |
1861 | | <td class="code"><pre>'/usr/lib/postgresql/8.4'</pre></td> |
1862 | | </tr> |
1863 | | |
1864 | | <tr> |
1865 | | <td>PYTHONPATH</td> |
1866 | | <td class="code"><pre>'/usr/lib/pymodules/python2.6:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/lib:/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/fallback'</pre></td> |
1867 | | </tr> |
1868 | | |
1869 | | <tr> |
1870 | | <td>ICE_HOME</td> |
1871 | | <td class="code"><pre>'/usr/share/Ice-3.3.1'</pre></td> |
1872 | | </tr> |
1873 | | |
1874 | | <tr> |
1875 | | <td>wsgi.input</td> |
1876 | | <td class="code"><pre><socket._fileobject object at 0xae1daec></pre></td> |
1877 | | </tr> |
1878 | | |
1879 | | <tr> |
1880 | | <td>HTTP_USER_AGENT</td> |
1881 | | <td class="code"><pre>'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36'</pre></td> |
1882 | | </tr> |
1883 | | |
1884 | | <tr> |
1885 | | <td>HTTP_HOST</td> |
1886 | | <td class="code"><pre>'172.16.253.186:4080'</pre></td> |
1887 | | </tr> |
1888 | | |
1889 | | <tr> |
1890 | | <td>wsgi.multithread</td> |
1891 | | <td class="code"><pre>True</pre></td> |
1892 | | </tr> |
1893 | | |
1894 | | <tr> |
1895 | | <td>HTTP_CONNECTION</td> |
1896 | | <td class="code"><pre>'keep-alive'</pre></td> |
1897 | | </tr> |
1898 | | |
1899 | | <tr> |
1900 | | <td>_</td> |
1901 | | <td class="code"><pre>'./start.sh'</pre></td> |
1902 | | </tr> |
1903 | | |
1904 | | <tr> |
1905 | | <td>HTTP_ACCEPT</td> |
1906 | | <td class="code"><pre>'text/html, */*; q=0.01'</pre></td> |
1907 | | </tr> |
1908 | | |
1909 | | <tr> |
1910 | | <td>SSH_CONNECTION</td> |
1911 | | <td class="code"><pre>'172.16.253.118 4380 172.16.253.186 22'</pre></td> |
1912 | | </tr> |
1913 | | |
1914 | | <tr> |
1915 | | <td>LESSCLOSE</td> |
1916 | | <td class="code"><pre>'/usr/bin/lesspipe %s %s'</pre></td> |
1917 | | </tr> |
1918 | | |
1919 | | <tr> |
1920 | | <td>GATEWAY_INTERFACE</td> |
1921 | | <td class="code"><pre>'CGI/1.1'</pre></td> |
1922 | | </tr> |
1923 | | |
1924 | | <tr> |
1925 | | <td>wsgi.run_once</td> |
1926 | | <td class="code"><pre>False</pre></td> |
1927 | | </tr> |
1928 | | |
1929 | | <tr> |
1930 | | <td>SSH_TTY</td> |
1931 | | <td class="code"><pre>'/dev/pts/6'</pre></td> |
1932 | | </tr> |
1933 | | |
1934 | | <tr> |
1935 | | <td>OLDPWD</td> |
1936 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin'</pre></td> |
1937 | | </tr> |
1938 | | |
1939 | | <tr> |
1940 | | <td>wsgi.multiprocess</td> |
1941 | | <td class="code"><pre>False</pre></td> |
1942 | | </tr> |
1943 | | |
1944 | | <tr> |
1945 | | <td>HTTP_ACCEPT_LANGUAGE</td> |
1946 | | <td class="code"><pre>'zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0.4'</pre></td> |
1947 | | </tr> |
1948 | | |
1949 | | <tr> |
1950 | | <td>wsgi.errors</td> |
1951 | | <td class="code"><pre><open file '<stderr>', mode 'w' at 0xb72ad0d0></pre></td> |
1952 | | </tr> |
1953 | | |
1954 | | <tr> |
1955 | | <td>PWD</td> |
1956 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/bin'</pre></td> |
1957 | | </tr> |
1958 | | |
1959 | | <tr> |
1960 | | <td>DJANGO_SETTINGS_MODULE</td> |
1961 | | <td class="code"><pre>'omeroweb.settings'</pre></td> |
1962 | | </tr> |
1963 | | |
1964 | | <tr> |
1965 | | <td>CONTENT_TYPE</td> |
1966 | | <td class="code"><pre>'text/plain'</pre></td> |
1967 | | </tr> |
1968 | | |
1969 | | <tr> |
1970 | | <td>MAIL</td> |
1971 | | <td class="code"><pre>'/var/mail/user'</pre></td> |
1972 | | </tr> |
1973 | | |
1974 | | <tr> |
1975 | | <td>LS_COLORS</td> |
1976 | | <td class="code"><pre>'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'</pre></td> |
1977 | | </tr> |
1978 | | |
1979 | | <tr> |
1980 | | <td>REMOTE_HOST</td> |
1981 | | <td class="code"><pre>''</pre></td> |
1982 | | </tr> |
1983 | | |
1984 | | <tr> |
1985 | | <td>HTTP_ACCEPT_ENCODING</td> |
1986 | | <td class="code"><pre>'gzip,deflate,sdch'</pre></td> |
1987 | | </tr> |
1988 | | |
1989 | | <tr> |
1990 | | <td>HTTP_COOKIE</td> |
1991 | | <td class="code"><pre>'sessionid=cb708b38a043f74b4c7dd3a3bb29f4de'</pre></td> |
1992 | | </tr> |
1993 | | |
1994 | | <tr> |
1995 | | <td>PATH_INFO</td> |
1996 | | <td class="code"><pre>u'/webclient/metadata_details/image/206/'</pre></td> |
1997 | | </tr> |
1998 | | |
1999 | | </tbody> |
2000 | | </table> |
2001 | | |
2002 | | |
2003 | | <h3 id="settings-info">Settings</h3> |
2004 | | <h4>Using settings module <code>omeroweb.settings</code></h4> |
2005 | | <table class="req"> |
2006 | | <thead> |
2007 | | <tr> |
2008 | | <th>Setting</th> |
2009 | | <th>Value</th> |
2010 | | </tr> |
2011 | | </thead> |
2012 | | <tbody> |
2013 | | |
2014 | | <tr> |
2015 | | <td>YEAR_MONTH_FORMAT</td> |
2016 | | <td class="code"><pre>'F Y'</pre></td> |
2017 | | </tr> |
2018 | | |
2019 | | <tr> |
2020 | | <td>USE_L10N</td> |
2021 | | <td class="code"><pre>False</pre></td> |
2022 | | </tr> |
2023 | | |
2024 | | <tr> |
2025 | | <td>USE_THOUSAND_SEPARATOR</td> |
2026 | | <td class="code"><pre>False</pre></td> |
2027 | | </tr> |
2028 | | |
2029 | | <tr> |
2030 | | <td>CENTER_PLUGINS</td> |
2031 | | <td class="code"><pre>[]</pre></td> |
2032 | | </tr> |
2033 | | |
2034 | | <tr> |
2035 | | <td>WEBSTART_HEAP</td> |
2036 | | <td class="code"><pre>'1024m'</pre></td> |
2037 | | </tr> |
2038 | | |
2039 | | <tr> |
2040 | | <td>LANGUAGE_CODE</td> |
2041 | | <td class="code"><pre>'en-gb'</pre></td> |
2042 | | </tr> |
2043 | | |
2044 | | <tr> |
2045 | | <td>ROOT_URLCONF</td> |
2046 | | <td class="code"><pre>'omeroweb.urls'</pre></td> |
2047 | | </tr> |
2048 | | |
2049 | | <tr> |
2050 | | <td>MANAGERS</td> |
2051 | | <td class="code"><pre>[]</pre></td> |
2052 | | </tr> |
2053 | | |
2054 | | <tr> |
2055 | | <td>OPEN_ASTEX_MAX_VOXELS</td> |
2056 | | <td class="code"><pre>27000000</pre></td> |
2057 | | </tr> |
2058 | | |
2059 | | <tr> |
2060 | | <td>DEFAULT_CHARSET</td> |
2061 | | <td class="code"><pre>'utf-8'</pre></td> |
2062 | | </tr> |
2063 | | |
2064 | | <tr> |
2065 | | <td>NANOXML_JAR</td> |
2066 | | <td class="code"><pre>'nanoxml.jar'</pre></td> |
2067 | | </tr> |
2068 | | |
2069 | | <tr> |
2070 | | <td>PING_INTERVAL</td> |
2071 | | <td class="code"><pre>60000</pre></td> |
2072 | | </tr> |
2073 | | |
2074 | | <tr> |
2075 | | <td>STATIC_ROOT</td> |
2076 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/static'</pre></td> |
2077 | | </tr> |
2078 | | |
2079 | | <tr> |
2080 | | <td>TEST_DATABASE_CHARSET</td> |
2081 | | <td class="code"><pre>None</pre></td> |
2082 | | </tr> |
2083 | | |
2084 | | <tr> |
2085 | | <td>APPLICATION_SERVER_HOST</td> |
2086 | | <td class="code"><pre>'0.0.0.0'</pre></td> |
2087 | | </tr> |
2088 | | |
2089 | | <tr> |
2090 | | <td>OMERO_HOME</td> |
2091 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102'</pre></td> |
2092 | | </tr> |
2093 | | |
2094 | | <tr> |
2095 | | <td>MESSAGE_STORAGE</td> |
2096 | | <td class="code"><pre>'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'</pre></td> |
2097 | | </tr> |
2098 | | |
2099 | | <tr> |
2100 | | <td>DATABASE_HOST</td> |
2101 | | <td class="code"><pre>''</pre></td> |
2102 | | </tr> |
2103 | | |
2104 | | <tr> |
2105 | | <td>IGNORABLE_404_STARTS</td> |
2106 | | <td class="code"><pre>('/cgi-bin/', '/_vti_bin', '/_vti_inf')</pre></td> |
2107 | | </tr> |
2108 | | |
2109 | | <tr> |
2110 | | <td>SEND_BROKEN_LINK_EMAILS</td> |
2111 | | <td class="code"><pre>True</pre></td> |
2112 | | </tr> |
2113 | | |
2114 | | <tr> |
2115 | | <td>URL_VALIDATOR_USER_AGENT</td> |
2116 | | <td class="code"><pre>'Django/1.3.1 (http://www.djangoproject.com)'</pre></td> |
2117 | | </tr> |
2118 | | |
2119 | | <tr> |
2120 | | <td>OPEN_ASTEX_MAX_SIDE</td> |
2121 | | <td class="code"><pre>400</pre></td> |
2122 | | </tr> |
2123 | | |
2124 | | <tr> |
2125 | | <td>SESSION_COOKIE_DOMAIN</td> |
2126 | | <td class="code"><pre>None</pre></td> |
2127 | | </tr> |
2128 | | |
2129 | | <tr> |
2130 | | <td>SESSION_COOKIE_NAME</td> |
2131 | | <td class="code"><pre>'sessionid'</pre></td> |
2132 | | </tr> |
2133 | | |
2134 | | <tr> |
2135 | | <td>VIEWER_INITIAL_ZOOM_LEVEL</td> |
2136 | | <td class="code"><pre>-1</pre></td> |
2137 | | </tr> |
2138 | | |
2139 | | <tr> |
2140 | | <td>PUBLIC_URL_FILTER</td> |
2141 | | <td class="code"><pre><_sre.SRE_Pattern object at 0x98448a8></pre></td> |
2142 | | </tr> |
2143 | | |
2144 | | <tr> |
2145 | | <td>ADMIN_FOR</td> |
2146 | | <td class="code"><pre>()</pre></td> |
2147 | | </tr> |
2148 | | |
2149 | | <tr> |
2150 | | <td>TIME_INPUT_FORMATS</td> |
2151 | | <td class="code"><pre>('%H:%M:%S', '%H:%M')</pre></td> |
2152 | | </tr> |
2153 | | |
2154 | | <tr> |
2155 | | <td>DATABASES</td> |
2156 | | <td class="code"><pre>{'default': {'ENGINE': 'django.db.backends.dummy', |
2157 | | 'HOST': '', |
2158 | | 'NAME': '', |
2159 | | 'OPTIONS': {}, |
2160 | | 'PASSWORD': '********************', |
2161 | | 'PORT': '', |
2162 | | 'TEST_CHARSET': None, |
2163 | | 'TEST_COLLATION': None, |
2164 | | 'TEST_MIRROR': None, |
2165 | | 'TEST_NAME': None, |
2166 | | 'TIME_ZONE': 'Europe/London', |
2167 | | 'USER': ''}}</pre></td> |
2168 | | </tr> |
2169 | | |
2170 | | <tr> |
2171 | | <td>TEST_DATABASE_NAME</td> |
2172 | | <td class="code"><pre>None</pre></td> |
2173 | | </tr> |
2174 | | |
2175 | | <tr> |
2176 | | <td>FILE_UPLOAD_PERMISSIONS</td> |
2177 | | <td class="code"><pre>None</pre></td> |
2178 | | </tr> |
2179 | | |
2180 | | <tr> |
2181 | | <td>WEBSTART_PORT</td> |
2182 | | <td class="code"><pre>'4064'</pre></td> |
2183 | | </tr> |
2184 | | |
2185 | | <tr> |
2186 | | <td>FILE_UPLOAD_HANDLERS</td> |
2187 | | <td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler', |
2188 | | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td> |
2189 | | </tr> |
2190 | | |
2191 | | <tr> |
2192 | | <td>PUBLIC_ENABLED</td> |
2193 | | <td class="code"><pre>False</pre></td> |
2194 | | </tr> |
2195 | | |
2196 | | <tr> |
2197 | | <td>DEFAULT_CONTENT_TYPE</td> |
2198 | | <td class="code"><pre>'text/html'</pre></td> |
2199 | | </tr> |
2200 | | |
2201 | | <tr> |
2202 | | <td>TEST_RUNNER</td> |
2203 | | <td class="code"><pre>'django.test.simple.DjangoTestSuiteRunner'</pre></td> |
2204 | | </tr> |
2205 | | |
2206 | | <tr> |
2207 | | <td>APPEND_SLASH</td> |
2208 | | <td class="code"><pre>True</pre></td> |
2209 | | </tr> |
2210 | | |
2211 | | <tr> |
2212 | | <td>FIRST_DAY_OF_WEEK</td> |
2213 | | <td class="code"><pre>0</pre></td> |
2214 | | </tr> |
2215 | | |
2216 | | <tr> |
2217 | | <td>DATABASE_ROUTERS</td> |
2218 | | <td class="code"><pre>[]</pre></td> |
2219 | | </tr> |
2220 | | |
2221 | | <tr> |
2222 | | <td>WEBSTART_TITLE</td> |
2223 | | <td class="code"><pre>'OMERO.insight'</pre></td> |
2224 | | </tr> |
2225 | | |
2226 | | <tr> |
2227 | | <td>TEST_DATABASE_COLLATION</td> |
2228 | | <td class="code"><pre>None</pre></td> |
2229 | | </tr> |
2230 | | |
2231 | | <tr> |
2232 | | <td>DEFAULT_IMG</td> |
2233 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/webgateway/static/webgateway/img/image128.png'</pre></td> |
2234 | | </tr> |
2235 | | |
2236 | | <tr> |
2237 | | <td>STATICFILES_STORAGE</td> |
2238 | | <td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td> |
2239 | | </tr> |
2240 | | |
2241 | | <tr> |
2242 | | <td>CACHES</td> |
2243 | | <td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', |
2244 | | 'LOCATION': ''}}</pre></td> |
2245 | | </tr> |
2246 | | |
2247 | | <tr> |
2248 | | <td>SERVER_EMAIL</td> |
2249 | | <td class="code"><pre>None</pre></td> |
2250 | | </tr> |
2251 | | |
2252 | | <tr> |
2253 | | <td>FASTCGI_TYPES</td> |
2254 | | <td class="code"><pre>('fastcgi', 'fastcgi-tcp')</pre></td> |
2255 | | </tr> |
2256 | | |
2257 | | <tr> |
2258 | | <td>CACHE_BACKEND</td> |
2259 | | <td class="code"><pre>'locmem://'</pre></td> |
2260 | | </tr> |
2261 | | |
2262 | | <tr> |
2263 | | <td>IGNORABLE_404_ENDS</td> |
2264 | | <td class="code"><pre>('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')</pre></td> |
2265 | | </tr> |
2266 | | |
2267 | | <tr> |
2268 | | <td>CUSTOM_SETTINGS</td> |
2269 | | <td class="code"><pre>{'omero.config.version': '4.2.1', |
2270 | | 'omero.data.dir': '/home/user/apps/OMERO/OMERO.data', |
2271 | | 'omero.db.name': 'omero_database', |
2272 | | 'omero.db.pass': 'db_password', |
2273 | | 'omero.db.user': 'db_user', |
2274 | | 'omero.web.application_server': 'development', |
2275 | | 'omero.web.debug': 'True'}</pre></td> |
2276 | | </tr> |
2277 | | |
2278 | | <tr> |
2279 | | <td>LOGIN_VIEW</td> |
2280 | | <td class="code"><pre>'weblogin'</pre></td> |
2281 | | </tr> |
2282 | | |
2283 | | <tr> |
2284 | | <td>USE_I18N</td> |
2285 | | <td class="code"><pre>True</pre></td> |
2286 | | </tr> |
2287 | | |
2288 | | <tr> |
2289 | | <td>THOUSAND_SEPARATOR</td> |
2290 | | <td class="code"><pre>','</pre></td> |
2291 | | </tr> |
2292 | | |
2293 | | <tr> |
2294 | | <td>SECRET_KEY</td> |
2295 | | <td class="code"><pre>'********************'</pre></td> |
2296 | | </tr> |
2297 | | |
2298 | | <tr> |
2299 | | <td>LANGUAGE_COOKIE_NAME</td> |
2300 | | <td class="code"><pre>'django_language'</pre></td> |
2301 | | </tr> |
2302 | | |
2303 | | <tr> |
2304 | | <td>FILE_UPLOAD_TEMP_DIR</td> |
2305 | | <td class="code"><pre>'/tmp'</pre></td> |
2306 | | </tr> |
2307 | | |
2308 | | <tr> |
2309 | | <td>EMAIL_TEMPLATES</td> |
2310 | | <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>', |
2311 | | 'text_content': 'New comment is available on share %s?server=%i.'}, |
2312 | | '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>', |
2313 | | 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, |
2314 | | '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>', |
2315 | | 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, |
2316 | | '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>', |
2317 | | 'text_content': 'You were removed from the share %s?server=%i. This share is no longer available for you.'}}</pre></td> |
2318 | | </tr> |
2319 | | |
2320 | | <tr> |
2321 | | <td>TRANSACTIONS_MANAGED</td> |
2322 | | <td class="code"><pre>False</pre></td> |
2323 | | </tr> |
2324 | | |
2325 | | <tr> |
2326 | | <td>LOGGING_CONFIG</td> |
2327 | | <td class="code"><pre>'django.utils.log.dictConfig'</pre></td> |
2328 | | </tr> |
2329 | | |
2330 | | <tr> |
2331 | | <td>TEMPLATE_LOADERS</td> |
2332 | | <td class="code"><pre>('django.template.loaders.filesystem.Loader', |
2333 | | 'django.template.loaders.app_directories.Loader')</pre></td> |
2334 | | </tr> |
2335 | | |
2336 | | <tr> |
2337 | | <td>TEMPLATE_DEBUG</td> |
2338 | | <td class="code"><pre>True</pre></td> |
2339 | | </tr> |
2340 | | |
2341 | | <tr> |
2342 | | <td>CSRF_COOKIE_NAME</td> |
2343 | | <td class="code"><pre>'csrftoken'</pre></td> |
2344 | | </tr> |
2345 | | |
2346 | | <tr> |
2347 | | <td>PUBLIC_CACHE_ENABLED</td> |
2348 | | <td class="code"><pre>False</pre></td> |
2349 | | </tr> |
2350 | | |
2351 | | <tr> |
2352 | | <td>LOGDIR</td> |
2353 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/log'</pre></td> |
2354 | | </tr> |
2355 | | |
2356 | | <tr> |
2357 | | <td>FORCE_SCRIPT_NAME</td> |
2358 | | <td class="code"><pre>None</pre></td> |
2359 | | </tr> |
2360 | | |
2361 | | <tr> |
2362 | | <td>CONFIG_XML</td> |
2363 | | <td class="code"><pre><omero.config.ConfigXml object at 0x9cfea6c></pre></td> |
2364 | | </tr> |
2365 | | |
2366 | | <tr> |
2367 | | <td>USE_ETAGS</td> |
2368 | | <td class="code"><pre>False</pre></td> |
2369 | | </tr> |
2370 | | |
2371 | | <tr> |
2372 | | <td>TOP_LINKS</td> |
2373 | | <td class="code"><pre>[]</pre></td> |
2374 | | </tr> |
2375 | | |
2376 | | <tr> |
2377 | | <td>USE_X_FORWARDED_HOST</td> |
2378 | | <td class="code"><pre>False</pre></td> |
2379 | | </tr> |
2380 | | |
2381 | | <tr> |
2382 | | <td>SESSION_COOKIE_SECURE</td> |
2383 | | <td class="code"><pre>False</pre></td> |
2384 | | </tr> |
2385 | | |
2386 | | <tr> |
2387 | | <td>WEBSTART_CLASS</td> |
2388 | | <td class="code"><pre>'org.openmicroscopy.shoola.Main'</pre></td> |
2389 | | </tr> |
2390 | | |
2391 | | <tr> |
2392 | | <td>CSRF_COOKIE_DOMAIN</td> |
2393 | | <td class="code"><pre>None</pre></td> |
2394 | | </tr> |
2395 | | |
2396 | | <tr> |
2397 | | <td>FILE_CHARSET</td> |
2398 | | <td class="code"><pre>'utf-8'</pre></td> |
2399 | | </tr> |
2400 | | |
2401 | | <tr> |
2402 | | <td>DEBUG</td> |
2403 | | <td class="code"><pre>True</pre></td> |
2404 | | </tr> |
2405 | | |
2406 | | <tr> |
2407 | | <td>SESSION_FILE_PATH</td> |
2408 | | <td class="code"><pre>'/tmp'</pre></td> |
2409 | | </tr> |
2410 | | |
2411 | | <tr> |
2412 | | <td>FASTCGI</td> |
2413 | | <td class="code"><pre>'fastcgi'</pre></td> |
2414 | | </tr> |
2415 | | |
2416 | | <tr> |
2417 | | <td>INSTALLED_APPS</td> |
2418 | | <td class="code"><pre>['django.contrib.staticfiles', |
2419 | | 'django.contrib.markup', |
2420 | | 'django.contrib.auth', |
2421 | | 'django.contrib.contenttypes', |
2422 | | 'django.contrib.sessions', |
2423 | | 'django.contrib.sites', |
2424 | | 'omeroweb.feedback', |
2425 | | 'omeroweb.webadmin', |
2426 | | 'omeroweb.webclient', |
2427 | | 'omeroweb.webgateway', |
2428 | | 'omeroweb.webtest', |
2429 | | 'omeroweb.webredirect', |
2430 | | 'omeroweb.webstart']</pre></td> |
2431 | | </tr> |
2432 | | |
2433 | | <tr> |
2434 | | <td>LANGUAGES_BIDI</td> |
2435 | | <td class="code"><pre>('he', 'ar', 'fa')</pre></td> |
2436 | | </tr> |
2437 | | |
2438 | | <tr> |
2439 | | <td>DATABASE_ENGINE</td> |
2440 | | <td class="code"><pre>''</pre></td> |
2441 | | </tr> |
2442 | | |
2443 | | <tr> |
2444 | | <td>SERVER_LIST</td> |
2445 | | <td class="code"><pre>[['localhost', 4064, 'omero']]</pre></td> |
2446 | | </tr> |
2447 | | |
2448 | | <tr> |
2449 | | <td>STATICFILES_DIRS</td> |
2450 | | <td class="code"><pre>[('webstart/jars', |
2451 | | '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/insight')]</pre></td> |
2452 | | </tr> |
2453 | | |
2454 | | <tr> |
2455 | | <td>DATABASE_NAME</td> |
2456 | | <td class="code"><pre>''</pre></td> |
2457 | | </tr> |
2458 | | |
2459 | | <tr> |
2460 | | <td>COMMENTS_FIRST_FEW</td> |
2461 | | <td class="code"><pre>0</pre></td> |
2462 | | </tr> |
2463 | | |
2464 | | <tr> |
2465 | | <td>PREPEND_WWW</td> |
2466 | | <td class="code"><pre>False</pre></td> |
2467 | | </tr> |
2468 | | |
2469 | | <tr> |
2470 | | <td>ADDITIONAL_APPS</td> |
2471 | | <td class="code"><pre>[]</pre></td> |
2472 | | </tr> |
2473 | | |
2474 | | <tr> |
2475 | | <td>SESSION_COOKIE_HTTPONLY</td> |
2476 | | <td class="code"><pre>False</pre></td> |
2477 | | </tr> |
2478 | | |
2479 | | <tr> |
2480 | | <td>DATABASE_PORT</td> |
2481 | | <td class="code"><pre>''</pre></td> |
2482 | | </tr> |
2483 | | |
2484 | | <tr> |
2485 | | <td>DEBUG_PROPAGATE_EXCEPTIONS</td> |
2486 | | <td class="code"><pre>False</pre></td> |
2487 | | </tr> |
2488 | | |
2489 | | <tr> |
2490 | | <td>MEDIA_URL</td> |
2491 | | <td class="code"><pre>''</pre></td> |
2492 | | </tr> |
2493 | | |
2494 | | <tr> |
2495 | | <td>WEBSTART</td> |
2496 | | <td class="code"><pre>True</pre></td> |
2497 | | </tr> |
2498 | | |
2499 | | <tr> |
2500 | | <td>MONTH_DAY_FORMAT</td> |
2501 | | <td class="code"><pre>'F j'</pre></td> |
2502 | | </tr> |
2503 | | |
2504 | | <tr> |
2505 | | <td>LOGIN_URL</td> |
2506 | | <td class="code"><pre>'/accounts/login/'</pre></td> |
2507 | | </tr> |
2508 | | |
2509 | | <tr> |
2510 | | <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> |
2511 | | <td class="code"><pre>True</pre></td> |
2512 | | </tr> |
2513 | | |
2514 | | <tr> |
2515 | | <td>INDEX_TEMPLATE</td> |
2516 | | <td class="code"><pre>None</pre></td> |
2517 | | </tr> |
2518 | | |
2519 | | <tr> |
2520 | | <td>DEFAULT_SESSION_ENGINE</td> |
2521 | | <td class="code"><pre>'django.contrib.sessions.backends.file'</pre></td> |
2522 | | </tr> |
2523 | | |
2524 | | <tr> |
2525 | | <td>TIME_FORMAT</td> |
2526 | | <td class="code"><pre>'P'</pre></td> |
2527 | | </tr> |
2528 | | |
2529 | | <tr> |
2530 | | <td>DATE_INPUT_FORMATS</td> |
2531 | | <td class="code"><pre>('%Y-%m-%d', |
2532 | | '%m/%d/%Y', |
2533 | | '%m/%d/%y', |
2534 | | '%b %d %Y', |
2535 | | '%b %d, %Y', |
2536 | | '%d %b %Y', |
2537 | | '%d %b, %Y', |
2538 | | '%B %d %Y', |
2539 | | '%B %d, %Y', |
2540 | | '%d %B %Y', |
2541 | | '%d %B, %Y')</pre></td> |
2542 | | </tr> |
2543 | | |
2544 | | <tr> |
2545 | | <td>WEBSTART_VENDOR</td> |
2546 | | <td class="code"><pre>'The Open Microscopy Environment'</pre></td> |
2547 | | </tr> |
2548 | | |
2549 | | <tr> |
2550 | | <td>AUTHENTICATION_BACKENDS</td> |
2551 | | <td class="code"><pre>('django.contrib.auth.backends.ModelBackend',)</pre></td> |
2552 | | </tr> |
2553 | | |
2554 | | <tr> |
2555 | | <td>EMAIL_HOST_PASSWORD</td> |
2556 | | <td class="code"><pre>'********************'</pre></td> |
2557 | | </tr> |
2558 | | |
2559 | | <tr> |
2560 | | <td>PASSWORD_RESET_TIMEOUT_DAYS</td> |
2561 | | <td class="code"><pre>'********************'</pre></td> |
2562 | | </tr> |
2563 | | |
2564 | | <tr> |
2565 | | <td>CACHE_MIDDLEWARE_ALIAS</td> |
2566 | | <td class="code"><pre>'default'</pre></td> |
2567 | | </tr> |
2568 | | |
2569 | | <tr> |
2570 | | <td>SESSION_SAVE_EVERY_REQUEST</td> |
2571 | | <td class="code"><pre>False</pre></td> |
2572 | | </tr> |
2573 | | |
2574 | | <tr> |
2575 | | <td>ADMIN_MEDIA_PREFIX</td> |
2576 | | <td class="code"><pre>'/static/admin/'</pre></td> |
2577 | | </tr> |
2578 | | |
2579 | | <tr> |
2580 | | <td>NUMBER_GROUPING</td> |
2581 | | <td class="code"><pre>0</pre></td> |
2582 | | </tr> |
2583 | | |
2584 | | <tr> |
2585 | | <td>APPLICATION_SERVER</td> |
2586 | | <td class="code"><pre>'development'</pre></td> |
2587 | | </tr> |
2588 | | |
2589 | | <tr> |
2590 | | <td>SESSION_ENGINE</td> |
2591 | | <td class="code"><pre>'django.contrib.sessions.backends.file'</pre></td> |
2592 | | </tr> |
2593 | | |
2594 | | <tr> |
2595 | | <td>DEFAULT_FILE_STORAGE</td> |
2596 | | <td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td> |
2597 | | </tr> |
2598 | | |
2599 | | <tr> |
2600 | | <td>CSRF_FAILURE_VIEW</td> |
2601 | | <td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td> |
2602 | | </tr> |
2603 | | |
2604 | | <tr> |
2605 | | <td>COMMENTS_SKETCHY_USERS_GROUP</td> |
2606 | | <td class="code"><pre>None</pre></td> |
2607 | | </tr> |
2608 | | |
2609 | | <tr> |
2610 | | <td>LOGIN_REDIRECT_URL</td> |
2611 | | <td class="code"><pre>'/accounts/profile/'</pre></td> |
2612 | | </tr> |
2613 | | |
2614 | | <tr> |
2615 | | <td>SESSION_COOKIE_PATH</td> |
2616 | | <td class="code"><pre>'/'</pre></td> |
2617 | | </tr> |
2618 | | |
2619 | | <tr> |
2620 | | <td>FASTCGITCP</td> |
2621 | | <td class="code"><pre>'fastcgi-tcp'</pre></td> |
2622 | | </tr> |
2623 | | |
2624 | | <tr> |
2625 | | <td>WEBSTART_HOMEPAGE</td> |
2626 | | <td class="code"><pre>'http://www.openmicroscopy.org'</pre></td> |
2627 | | </tr> |
2628 | | |
2629 | | <tr> |
2630 | | <td>DECIMAL_SEPARATOR</td> |
2631 | | <td class="code"><pre>'.'</pre></td> |
2632 | | </tr> |
2633 | | |
2634 | | <tr> |
2635 | | <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> |
2636 | | <td class="code"><pre>''</pre></td> |
2637 | | </tr> |
2638 | | |
2639 | | <tr> |
2640 | | <td>LOCALE_PATHS</td> |
2641 | | <td class="code"><pre>()</pre></td> |
2642 | | </tr> |
2643 | | |
2644 | | <tr> |
2645 | | <td>TEMPLATE_STRING_IF_INVALID</td> |
2646 | | <td class="code"><pre>''</pre></td> |
2647 | | </tr> |
2648 | | |
2649 | | <tr> |
2650 | | <td>COMMENTS_ALLOW_PROFANITIES</td> |
2651 | | <td class="code"><pre>False</pre></td> |
2652 | | </tr> |
2653 | | |
2654 | | <tr> |
2655 | | <td>LOGOUT_URL</td> |
2656 | | <td class="code"><pre>'/accounts/logout/'</pre></td> |
2657 | | </tr> |
2658 | | |
2659 | | <tr> |
2660 | | <td>EMAIL_USE_TLS</td> |
2661 | | <td class="code"><pre>False</pre></td> |
2662 | | </tr> |
2663 | | |
2664 | | <tr> |
2665 | | <td>TEMPLATE_DIRS</td> |
2666 | | <td class="code"><pre>()</pre></td> |
2667 | | </tr> |
2668 | | |
2669 | | <tr> |
2670 | | <td>FIXTURE_DIRS</td> |
2671 | | <td class="code"><pre>()</pre></td> |
2672 | | </tr> |
2673 | | |
2674 | | <tr> |
2675 | | <td>EMAIL_HOST</td> |
2676 | | <td class="code"><pre>None</pre></td> |
2677 | | </tr> |
2678 | | |
2679 | | <tr> |
2680 | | <td>DATE_FORMAT</td> |
2681 | | <td class="code"><pre>'N j, Y'</pre></td> |
2682 | | </tr> |
2683 | | |
2684 | | <tr> |
2685 | | <td>MEDIA_ROOT</td> |
2686 | | <td class="code"><pre>''</pre></td> |
2687 | | </tr> |
2688 | | |
2689 | | <tr> |
2690 | | <td>FEEDBACK_URL</td> |
2691 | | <td class="code"><pre>'qa.openmicroscopy.org.uk:80'</pre></td> |
2692 | | </tr> |
2693 | | |
2694 | | <tr> |
2695 | | <td>ADMINS</td> |
2696 | | <td class="code"><pre>[]</pre></td> |
2697 | | </tr> |
2698 | | |
2699 | | <tr> |
2700 | | <td>FORMAT_MODULE_PATH</td> |
2701 | | <td class="code"><pre>None</pre></td> |
2702 | | </tr> |
2703 | | |
2704 | | <tr> |
2705 | | <td>DEFAULT_FROM_EMAIL</td> |
2706 | | <td class="code"><pre>'webmaster@localhost'</pre></td> |
2707 | | </tr> |
2708 | | |
2709 | | <tr> |
2710 | | <td>CUSTOM_SETTINGS_MAPPINGS</td> |
2711 | | <td class="code"><pre>{'omero.web.admins': ['ADMINS', '[]', <function loads at 0x9aae9cc>, True], |
2712 | | 'omero.web.application_server': ['APPLICATION_SERVER', |
2713 | | 'fastcgi-tcp', |
2714 | | <function check_server_type at 0x9d071b4>, |
2715 | | False], |
2716 | | 'omero.web.application_server.host': ['APPLICATION_SERVER_HOST', |
2717 | | '0.0.0.0', |
2718 | | <type 'str'>, |
2719 | | True], |
2720 | | 'omero.web.application_server.max_requests': ['APPLICATION_SERVER_MAX_REQUESTS', |
2721 | | 400, |
2722 | | <type 'int'>, |
2723 | | True], |
2724 | | 'omero.web.application_server.port': ['APPLICATION_SERVER_PORT', |
2725 | | '4080', |
2726 | | <type 'str'>, |
2727 | | True], |
2728 | | 'omero.web.apps': ['ADDITIONAL_APPS', |
2729 | | '[]', |
2730 | | <function loads at 0x9aae9cc>, |
2731 | | True], |
2732 | | 'omero.web.caches': ['CACHES', '{}', <function loads at 0x9aae9cc>, True], |
2733 | | 'omero.web.databases': ['DATABASES', |
2734 | | '{}', |
2735 | | <function loads at 0x9aae9cc>, |
2736 | | True], |
2737 | | 'omero.web.debug': ['DEBUG', |
2738 | | 'false', |
2739 | | <function parse_boolean at 0x9d07144>, |
2740 | | False], |
2741 | | 'omero.web.email_host': ['EMAIL_HOST', |
2742 | | None, |
2743 | | <function identity at 0x9d07224>, |
2744 | | True], |
2745 | | 'omero.web.email_host_password': ['EMAIL_HOST_PASSWORD', |
2746 | | None, |
2747 | | <function identity at 0x9d07224>, |
2748 | | True], |
2749 | | 'omero.web.email_host_user': ['EMAIL_HOST_USER', |
2750 | | None, |
2751 | | <function identity at 0x9d07224>, |
2752 | | True], |
2753 | | 'omero.web.email_port': ['EMAIL_PORT', |
2754 | | None, |
2755 | | <function identity at 0x9d07224>, |
2756 | | True], |
2757 | | 'omero.web.email_subject_prefix': ['EMAIL_SUBJECT_PREFIX', |
2758 | | '[OMERO.web] ', |
2759 | | <type 'str'>, |
2760 | | True], |
2761 | | 'omero.web.email_use_tls': ['EMAIL_USE_TLS', |
2762 | | 'false', |
2763 | | <function parse_boolean at 0x9d07144>, |
2764 | | True], |
2765 | | 'omero.web.index_template': ['INDEX_TEMPLATE', |
2766 | | None, |
2767 | | <function identity at 0x9d07224>, |
2768 | | True], |
2769 | | 'omero.web.logdir': ['LOGDIR', |
2770 | | '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/log', |
2771 | | <type 'str'>, |
2772 | | True], |
2773 | | 'omero.web.login_view': ['LOGIN_VIEW', 'weblogin', <type 'str'>, True], |
2774 | | 'omero.web.nanoxml_jar': ['NANOXML_JAR', 'nanoxml.jar', <type 'str'>, True], |
2775 | | 'omero.web.open_astex_max_side': ['OPEN_ASTEX_MAX_SIDE', |
2776 | | 400, |
2777 | | <type 'int'>, |
2778 | | True], |
2779 | | 'omero.web.open_astex_max_voxels': ['OPEN_ASTEX_MAX_VOXELS', |
2780 | | 27000000, |
2781 | | <type 'int'>, |
2782 | | True], |
2783 | | 'omero.web.open_astex_min_side': ['OPEN_ASTEX_MIN_SIDE', |
2784 | | 20, |
2785 | | <type 'int'>, |
2786 | | True], |
2787 | | 'omero.web.ping_interval': ['PING_INTERVAL', 60000, <type 'int'>, True], |
2788 | | 'omero.web.public.cache.enabled': ['PUBLIC_CACHE_ENABLED', |
2789 | | 'false', |
2790 | | <function parse_boolean at 0x9d07144>, |
2791 | | True], |
2792 | | 'omero.web.public.cache.key': ['PUBLIC_CACHE_KEY', |
2793 | | 'omero.web.public.cache.key', |
2794 | | <type 'str'>, |
2795 | | True], |
2796 | | 'omero.web.public.cache.timeout': ['PUBLIC_CACHE_TIMEOUT', |
2797 | | 86400, |
2798 | | <type 'int'>, |
2799 | | True], |
2800 | | 'omero.web.public.enabled': ['PUBLIC_ENABLED', |
2801 | | 'false', |
2802 | | <function parse_boolean at 0x9d07144>, |
2803 | | True], |
2804 | | 'omero.web.public.password': ['PUBLIC_PASSWORD', |
2805 | | None, |
2806 | | <function leave_none_unset at 0x9d07294>, |
2807 | | True], |
2808 | | 'omero.web.public.server_id': ['PUBLIC_SERVER_ID', 1, <type 'int'>, True], |
2809 | | 'omero.web.public.url_filter': ['PUBLIC_URL_FILTER', |
2810 | | '^/(?!webadmin)', |
2811 | | <function compile at 0xb7209304>, |
2812 | | True], |
2813 | | 'omero.web.public.user': ['PUBLIC_USER', |
2814 | | None, |
2815 | | <function leave_none_unset at 0x9d07294>, |
2816 | | True], |
2817 | | 'omero.web.scripts_to_ignore': ['SCRIPTS_TO_IGNORE', |
2818 | | '["/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"]', |
2819 | | <function parse_paths at 0x9d0717c>, |
2820 | | True], |
2821 | | 'omero.web.send_broken_link_emails': ['SEND_BROKEN_LINK_EMAILS', |
2822 | | 'true', |
2823 | | <function parse_boolean at 0x9d07144>, |
2824 | | True], |
2825 | | 'omero.web.server_email': ['SERVER_EMAIL', |
2826 | | None, |
2827 | | <function identity at 0x9d07224>, |
2828 | | True], |
2829 | | 'omero.web.server_list': ['SERVER_LIST', |
2830 | | '[["localhost", 4064, "omero"]]', |
2831 | | <function loads at 0x9aae9cc>, |
2832 | | True], |
2833 | | 'omero.web.session_engine': ['SESSION_ENGINE', |
2834 | | 'django.contrib.sessions.backends.file', |
2835 | | <function check_session_engine at 0x9d071ec>, |
2836 | | True], |
2837 | | 'omero.web.static_url': ['STATIC_URL', '/static/', <type 'str'>, True], |
2838 | | 'omero.web.staticfile_dirs': ['STATICFILES_DIRS', |
2839 | | '[]', |
2840 | | <function loads at 0x9aae9cc>, |
2841 | | True], |
2842 | | 'omero.web.ui.center_plugins': ['CENTER_PLUGINS', |
2843 | | '[]', |
2844 | | <function loads at 0x9aae9cc>, |
2845 | | True], |
2846 | | 'omero.web.ui.right_plugins': ['RIGHT_PLUGINS', |
2847 | | '[["Acquisition", "webclient/data/includes/right_plugin.acquisition.js.html", "metadata_tab"],["Preview", "webclient/data/includes/right_plugin.preview.js.html", "preview_tab"]]', |
2848 | | <function loads at 0x9aae9cc>, |
2849 | | True], |
2850 | | 'omero.web.ui.top_links': ['TOP_LINKS', |
2851 | | '[]', |
2852 | | <function loads at 0x9aae9cc>, |
2853 | | True], |
2854 | | 'omero.web.viewer.initial_zoom_level': ['VIEWER_INITIAL_ZOOM_LEVEL', |
2855 | | -1, |
2856 | | <type 'int'>, |
2857 | | True], |
2858 | | 'omero.web.webgateway_cache': ['WEBGATEWAY_CACHE', |
2859 | | None, |
2860 | | <function leave_none_unset at 0x9d07294>, |
2861 | | True], |
2862 | | 'omero.web.webstart_class': ['WEBSTART_CLASS', |
2863 | | 'org.openmicroscopy.shoola.Main', |
2864 | | <type 'str'>, |
2865 | | True], |
2866 | | 'omero.web.webstart_heap': ['WEBSTART_HEAP', '1024m', <type 'str'>, True], |
2867 | | 'omero.web.webstart_homepage': ['WEBSTART_HOMEPAGE', |
2868 | | 'http://www.openmicroscopy.org', |
2869 | | <type 'str'>, |
2870 | | True], |
2871 | | 'omero.web.webstart_host': ['WEBSTART_HOST', 'localhost', <type 'str'>, True], |
2872 | | 'omero.web.webstart_icon': ['WEBSTART_ICON', |
2873 | | 'webstart/img/icon-omero-insight.png', |
2874 | | <type 'str'>, |
2875 | | True], |
2876 | | 'omero.web.webstart_jar': ['WEBSTART_JAR', |
2877 | | 'omero.insight.jar', |
2878 | | <type 'str'>, |
2879 | | True], |
2880 | | 'omero.web.webstart_port': ['WEBSTART_PORT', '4064', <type 'str'>, True], |
2881 | | 'omero.web.webstart_title': ['WEBSTART_TITLE', |
2882 | | 'OMERO.insight', |
2883 | | <type 'str'>, |
2884 | | True], |
2885 | | 'omero.web.webstart_vendor': ['WEBSTART_VENDOR', |
2886 | | 'The Open Microscopy Environment', |
2887 | | <type 'str'>, |
2888 | | True]}</pre></td> |
2889 | | </tr> |
2890 | | |
2891 | | <tr> |
2892 | | <td>WEBSTART_JAR</td> |
2893 | | <td class="code"><pre>'omero.insight.jar'</pre></td> |
2894 | | </tr> |
2895 | | |
2896 | | <tr> |
2897 | | <td>SCRIPTS_TO_IGNORE</td> |
2898 | | <td class="code"><pre>['/omero/figure_scripts/Movie_Figure.py', |
2899 | | '/omero/figure_scripts/Split_View_Figure.py', |
2900 | | '/omero/figure_scripts/Thumbnail_Figure.py', |
2901 | | '/omero/figure_scripts/ROI_Split_Figure.py', |
2902 | | '/omero/export_scripts/Make_Movie.py']</pre></td> |
2903 | | </tr> |
2904 | | |
2905 | | <tr> |
2906 | | <td>PAGE</td> |
2907 | | <td class="code"><pre>200</pre></td> |
2908 | | </tr> |
2909 | | |
2910 | | <tr> |
2911 | | <td>DEFAULT_USER</td> |
2912 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/python/omeroweb/webgateway/static/webgateway/img/personal32.png'</pre></td> |
2913 | | </tr> |
2914 | | |
2915 | | <tr> |
2916 | | <td>DATETIME_FORMAT</td> |
2917 | | <td class="code"><pre>'N j, Y, P'</pre></td> |
2918 | | </tr> |
2919 | | |
2920 | | <tr> |
2921 | | <td>EMAIL_SUBJECT_PREFIX</td> |
2922 | | <td class="code"><pre>'[OMERO.web] '</pre></td> |
2923 | | </tr> |
2924 | | |
2925 | | <tr> |
2926 | | <td>PUBLIC_CACHE_TIMEOUT</td> |
2927 | | <td class="code"><pre>86400</pre></td> |
2928 | | </tr> |
2929 | | |
2930 | | <tr> |
2931 | | <td>MIDDLEWARE_CLASSES</td> |
2932 | | <td class="code"><pre>('django.middleware.common.CommonMiddleware', |
2933 | | 'django.contrib.sessions.middleware.SessionMiddleware', |
2934 | | 'django.contrib.messages.middleware.MessageMiddleware')</pre></td> |
2935 | | </tr> |
2936 | | |
2937 | | <tr> |
2938 | | <td>SITE_ID</td> |
2939 | | <td class="code"><pre>1</pre></td> |
2940 | | </tr> |
2941 | | |
2942 | | <tr> |
2943 | | <td>DISALLOWED_USER_AGENTS</td> |
2944 | | <td class="code"><pre>()</pre></td> |
2945 | | </tr> |
2946 | | |
2947 | | <tr> |
2948 | | <td>ALLOWED_INCLUDE_ROOTS</td> |
2949 | | <td class="code"><pre>()</pre></td> |
2950 | | </tr> |
2951 | | |
2952 | | <tr> |
2953 | | <td>WEBSTART_ICON</td> |
2954 | | <td class="code"><pre>'webstart/img/icon-omero-insight.png'</pre></td> |
2955 | | </tr> |
2956 | | |
2957 | | <tr> |
2958 | | <td>PUBLIC_CACHE_KEY</td> |
2959 | | <td class="code"><pre>'omero.web.public.cache.key'</pre></td> |
2960 | | </tr> |
2961 | | |
2962 | | <tr> |
2963 | | <td>LOGGING</td> |
2964 | | <td class="code"><pre>{'disable_existing_loggers': True, |
2965 | | 'formatters': {'standard': {'format': '%(asctime)s %(levelname)5.5s [%(name)40.40s] (proc.%(process)5.5d) %(funcName)s:%(lineno)d %(message)s'}}, |
2966 | | 'handlers': {'console': {'class': 'logging.StreamHandler', |
2967 | | 'formatter': 'standard', |
2968 | | 'level': 'DEBUG'}, |
2969 | | 'default': {'backupCount': 5, |
2970 | | 'class': 'logging.handlers.RotatingFileHandler', |
2971 | | 'filename': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/log/OMEROweb.log', |
2972 | | 'formatter': 'standard', |
2973 | | 'level': 'DEBUG', |
2974 | | 'maxBytes': 5242880}, |
2975 | | 'null': {'class': 'django.utils.log.NullHandler', |
2976 | | 'level': 'DEBUG'}, |
2977 | | 'request_handler': {'backupCount': 5, |
2978 | | 'class': 'logging.handlers.RotatingFileHandler', |
2979 | | 'filename': '/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/var/log/OMEROweb_request.log', |
2980 | | 'formatter': 'standard', |
2981 | | 'level': 'DEBUG', |
2982 | | 'maxBytes': 5242880}}, |
2983 | | 'loggers': {'': {'handlers': ['default'], |
2984 | | 'level': 'DEBUG', |
2985 | | 'propagate': True}, |
2986 | | 'django': {'handlers': ['null'], |
2987 | | 'level': 'DEBUG', |
2988 | | 'propagate': True}, |
2989 | | 'django.request': {'handlers': ['request_handler'], |
2990 | | 'level': 'DEBUG', |
2991 | | 'propagate': False}}, |
2992 | | 'version': 1}</pre></td> |
2993 | | </tr> |
2994 | | |
2995 | | <tr> |
2996 | | <td>SHORT_DATE_FORMAT</td> |
2997 | | <td class="code"><pre>'m/d/Y'</pre></td> |
2998 | | </tr> |
2999 | | |
3000 | | <tr> |
3001 | | <td>APPLICATION_SERVER_PORT</td> |
3002 | | <td class="code"><pre>'4080'</pre></td> |
3003 | | </tr> |
3004 | | |
3005 | | <tr> |
3006 | | <td>DATABASE_USER</td> |
3007 | | <td class="code"><pre>''</pre></td> |
3008 | | </tr> |
3009 | | |
3010 | | <tr> |
3011 | | <td>SESSION_ENGINE_VALUES</td> |
3012 | | <td class="code"><pre>('django.contrib.sessions.backends.db', |
3013 | | 'django.contrib.sessions.backends.file', |
3014 | | 'django.contrib.sessions.backends.cache', |
3015 | | 'django.contrib.sessions.backends.cached_db')</pre></td> |
3016 | | </tr> |
3017 | | |
3018 | | <tr> |
3019 | | <td>OPEN_ASTEX_MIN_SIDE</td> |
3020 | | <td class="code"><pre>20</pre></td> |
3021 | | </tr> |
3022 | | |
3023 | | <tr> |
3024 | | <td>STATICFILES_FINDERS</td> |
3025 | | <td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder', |
3026 | | 'django.contrib.staticfiles.finders.AppDirectoriesFinder')</pre></td> |
3027 | | </tr> |
3028 | | |
3029 | | <tr> |
3030 | | <td>TIME_ZONE</td> |
3031 | | <td class="code"><pre>'Europe/London'</pre></td> |
3032 | | </tr> |
3033 | | |
3034 | | <tr> |
3035 | | <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> |
3036 | | <td class="code"><pre>2621440</pre></td> |
3037 | | </tr> |
3038 | | |
3039 | | <tr> |
3040 | | <td>EMAIL_BACKEND</td> |
3041 | | <td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td> |
3042 | | </tr> |
3043 | | |
3044 | | <tr> |
3045 | | <td>INSIGHT_JARS</td> |
3046 | | <td class="code"><pre>'/home/user/apps/OMERO/OMERO.server-4.4.6-ice34-b102/lib/insight'</pre></td> |
3047 | | </tr> |
3048 | | |
3049 | | <tr> |
3050 | | <td>WEBSTART_HOST</td> |
3051 | | <td class="code"><pre>'localhost'</pre></td> |
3052 | | </tr> |
3053 | | |
3054 | | <tr> |
3055 | | <td>APPLICATION_SERVER_MAX_REQUESTS</td> |
3056 | | <td class="code"><pre>400</pre></td> |
3057 | | </tr> |
3058 | | |
3059 | | <tr> |
3060 | | <td>DEFAULT_TABLESPACE</td> |
3061 | | <td class="code"><pre>''</pre></td> |
3062 | | </tr> |
3063 | | |
3064 | | <tr> |
3065 | | <td>TEMPLATE_CONTEXT_PROCESSORS</td> |
3066 | | <td class="code"><pre>('django.core.context_processors.debug', |
3067 | | 'django.core.context_processors.i18n', |
3068 | | 'django.core.context_processors.media', |
3069 | | 'django.core.context_processors.static', |
3070 | | 'django.contrib.messages.context_processors.messages')</pre></td> |
3071 | | </tr> |
3072 | | |
3073 | | <tr> |
3074 | | <td>ALL_SERVER_TYPES</td> |
3075 | | <td class="code"><pre>('fastcgi-tcp', 'fastcgi', 'development')</pre></td> |
3076 | | </tr> |
3077 | | |
3078 | | <tr> |
3079 | | <td>SESSION_COOKIE_AGE</td> |
3080 | | <td class="code"><pre>86400</pre></td> |
3081 | | </tr> |
3082 | | |
3083 | | <tr> |
3084 | | <td>SETTINGS_MODULE</td> |
3085 | | <td class="code"><pre>'omeroweb.settings'</pre></td> |
3086 | | </tr> |
3087 | | |
3088 | | <tr> |
3089 | | <td>RIGHT_PLUGINS</td> |
3090 | | <td class="code"><pre>[['Acquisition', |
3091 | | 'webclient/data/includes/right_plugin.acquisition.js.html', |
3092 | | 'metadata_tab'], |
3093 | | ['Preview', |
3094 | | 'webclient/data/includes/right_plugin.preview.js.html', |
3095 | | 'preview_tab']]</pre></td> |
3096 | | </tr> |
3097 | | |
3098 | | <tr> |
3099 | | <td>DEFAULT_SERVER_TYPE</td> |
3100 | | <td class="code"><pre>'fastcgi-tcp'</pre></td> |
3101 | | </tr> |
3102 | | |
3103 | | <tr> |
3104 | | <td>LANGUAGES</td> |
3105 | | <td class="code"><pre>(('ar', 'Arabic'), |
3106 | | ('az', 'Azerbaijani'), |
3107 | | ('bg', 'Bulgarian'), |
3108 | | ('bn', 'Bengali'), |
3109 | | ('bs', 'Bosnian'), |
3110 | | ('ca', 'Catalan'), |
3111 | | ('cs', 'Czech'), |
3112 | | ('cy', 'Welsh'), |
3113 | | ('da', 'Danish'), |
3114 | | ('de', 'German'), |
3115 | | ('el', 'Greek'), |
3116 | | ('en', 'English'), |
3117 | | ('en-gb', 'British English'), |
3118 | | ('es', 'Spanish'), |
3119 | | ('es-ar', 'Argentinian Spanish'), |
3120 | | ('es-mx', 'Mexican Spanish'), |
3121 | | ('es-ni', 'Nicaraguan Spanish'), |
3122 | | ('et', 'Estonian'), |
3123 | | ('eu', 'Basque'), |
3124 | | ('fa', 'Persian'), |
3125 | | ('fi', 'Finnish'), |
3126 | | ('fr', 'French'), |
3127 | | ('fy-nl', 'Frisian'), |
3128 | | ('ga', 'Irish'), |
3129 | | ('gl', 'Galician'), |
3130 | | ('he', 'Hebrew'), |
3131 | | ('hi', 'Hindi'), |
3132 | | ('hr', 'Croatian'), |
3133 | | ('hu', 'Hungarian'), |
3134 | | ('id', 'Indonesian'), |
3135 | | ('is', 'Icelandic'), |
3136 | | ('it', 'Italian'), |
3137 | | ('ja', 'Japanese'), |
3138 | | ('ka', 'Georgian'), |
3139 | | ('km', 'Khmer'), |
3140 | | ('kn', 'Kannada'), |
3141 | | ('ko', 'Korean'), |
3142 | | ('lt', 'Lithuanian'), |
3143 | | ('lv', 'Latvian'), |
3144 | | ('mk', 'Macedonian'), |
3145 | | ('ml', 'Malayalam'), |
3146 | | ('mn', 'Mongolian'), |
3147 | | ('nl', 'Dutch'), |
3148 | | ('no', 'Norwegian'), |
3149 | | ('nb', 'Norwegian Bokmal'), |
3150 | | ('nn', 'Norwegian Nynorsk'), |
3151 | | ('pa', 'Punjabi'), |
3152 | | ('pl', 'Polish'), |
3153 | | ('pt', 'Portuguese'), |
3154 | | ('pt-br', 'Brazilian Portuguese'), |
3155 | | ('ro', 'Romanian'), |
3156 | | ('ru', 'Russian'), |
3157 | | ('sk', 'Slovak'), |
3158 | | ('sl', 'Slovenian'), |
3159 | | ('sq', 'Albanian'), |
3160 | | ('sr', 'Serbian'), |
3161 | | ('sr-latn', 'Serbian Latin'), |
3162 | | ('sv', 'Swedish'), |
3163 | | ('ta', 'Tamil'), |
3164 | | ('te', 'Telugu'), |
3165 | | ('th', 'Thai'), |
3166 | | ('tr', 'Turkish'), |
3167 | | ('uk', 'Ukrainian'), |
3168 | | ('ur', 'Urdu'), |
3169 | | ('vi', 'Vietnamese'), |
3170 | | ('zh-cn', 'Simplified Chinese'), |
3171 | | ('zh-tw', 'Traditional Chinese'))</pre></td> |
3172 | | </tr> |
3173 | | |
3174 | | <tr> |
3175 | | <td>DEFAULT_INDEX_TABLESPACE</td> |
3176 | | <td class="code"><pre>''</pre></td> |
3177 | | </tr> |
3178 | | |
3179 | | <tr> |
3180 | | <td>INTERNAL_IPS</td> |
3181 | | <td class="code"><pre>()</pre></td> |
3182 | | </tr> |
3183 | | |
3184 | | <tr> |
3185 | | <td>STATIC_URL</td> |
3186 | | <td class="code"><pre>'/static/'</pre></td> |
3187 | | </tr> |
3188 | | |
3189 | | <tr> |
3190 | | <td>EMAIL_PORT</td> |
3191 | | <td class="code"><pre>None</pre></td> |
3192 | | </tr> |
3193 | | |
3194 | | <tr> |
3195 | | <td>SHORT_DATETIME_FORMAT</td> |
3196 | | <td class="code"><pre>'m/d/Y P'</pre></td> |
3197 | | </tr> |
3198 | | |
3199 | | <tr> |
3200 | | <td>DEVELOPMENT</td> |
3201 | | <td class="code"><pre>'development'</pre></td> |
3202 | | </tr> |
3203 | | |
3204 | | <tr> |
3205 | | <td>ABSOLUTE_URL_OVERRIDES</td> |
3206 | | <td class="code"><pre>{}</pre></td> |
3207 | | </tr> |
3208 | | |
3209 | | <tr> |
3210 | | <td>DATABASE_OPTIONS</td> |
3211 | | <td class="code"><pre>{}</pre></td> |
3212 | | </tr> |
3213 | | |
3214 | | <tr> |
3215 | | <td>PUBLIC_SERVER_ID</td> |
3216 | | <td class="code"><pre>1</pre></td> |
3217 | | </tr> |
3218 | | |
3219 | | <tr> |
3220 | | <td>CACHE_MIDDLEWARE_SECONDS</td> |
3221 | | <td class="code"><pre>600</pre></td> |
3222 | | </tr> |
3223 | | |
3224 | | <tr> |
3225 | | <td>BANNED_IPS</td> |
3226 | | <td class="code"><pre>()</pre></td> |
3227 | | </tr> |
3228 | | |
3229 | | <tr> |
3230 | | <td>DATETIME_INPUT_FORMATS</td> |
3231 | | <td class="code"><pre>('%Y-%m-%d %H:%M:%S', |
3232 | | '%Y-%m-%d %H:%M', |
3233 | | '%Y-%m-%d', |
3234 | | '%m/%d/%Y %H:%M:%S', |
3235 | | '%m/%d/%Y %H:%M', |
3236 | | '%m/%d/%Y', |
3237 | | '%m/%d/%y %H:%M:%S', |
3238 | | '%m/%d/%y %H:%M', |
3239 | | '%m/%d/%y')</pre></td> |
3240 | | </tr> |
3241 | | |
3242 | | <tr> |
3243 | | <td>DATABASE_PASSWORD</td> |
3244 | | <td class="code"><pre>'********************'</pre></td> |
3245 | | </tr> |
3246 | | |
3247 | | <tr> |
3248 | | <td>COMMENTS_MODERATORS_GROUP</td> |
3249 | | <td class="code"><pre>None</pre></td> |
3250 | | </tr> |
3251 | | |
3252 | | <tr> |
3253 | | <td>PROFANITIES_LIST</td> |
3254 | | <td class="code"><pre>'********************'</pre></td> |
3255 | | </tr> |
3256 | | |
3257 | | <tr> |
3258 | | <td>EMAIL_HOST_USER</td> |
3259 | | <td class="code"><pre>None</pre></td> |
3260 | | </tr> |
3261 | | |
3262 | | <tr> |
3263 | | <td>COMMENTS_BANNED_USERS_GROUP</td> |
3264 | | <td class="code"><pre>None</pre></td> |
3265 | | </tr> |
3266 | | |
3267 | | </tbody> |
3268 | | </table> |
3269 | | |
3270 | | </div> |
3271 | | |
3272 | | <div id="explanation"> |
3273 | | <p> |
3274 | | You're seeing this error because you have <code>DEBUG = True</code> in your |
3275 | | Django settings file. Change that to <code>False</code>, and Django will |
3276 | | display a standard 500 page. |
3277 | | </p> |
3278 | | </div> |
3279 | | |
3280 | | </body> |
3281 | | </html> |
3282 | | |