526 | | |
527 | | <div class="commands"> |
528 | | |
529 | | <a href="#" onclick="return varToggle(this, '4403692968')"><span>▶</span> Local vars</a> |
530 | | |
531 | | </div> |
532 | | <table class="vars" id="v4403692968"> |
533 | | <thead> |
534 | | <tr> |
535 | | <th>Variable</th> |
536 | | <th>Value</th> |
537 | | </tr> |
538 | | </thead> |
539 | | <tbody> |
540 | | |
541 | | <tr> |
542 | | <td>server_id</td> |
543 | | <td class="code"><pre>None</pre></td> |
544 | | </tr> |
545 | | |
546 | | <tr> |
547 | | <td>share_id</td> |
548 | | <td class="code"><pre>u'2435'</pre></td> |
549 | | </tr> |
550 | | |
551 | | <tr> |
552 | | <td>conn_share</td> |
553 | | <td class="code"><pre>None</pre></td> |
554 | | </tr> |
555 | | |
556 | | <tr> |
557 | | <td>args</td> |
558 | | <td class="code"><pre>()</pre></td> |
559 | | </tr> |
560 | | |
561 | | <tr> |
562 | | <td>f</td> |
563 | | <td class="code"><pre><function load_public at 0x1061ca7d0></pre></td> |
564 | | </tr> |
565 | | |
566 | | <tr> |
567 | | <td>url</td> |
568 | | <td class="code"><pre>u'/webclient/load_public/2435/?view=icon'</pre></td> |
569 | | </tr> |
570 | | |
571 | | <tr> |
572 | | <td>ctx</td> |
573 | | <td class="code"><pre><omeroweb.webclient.decorators.login_required object at 0x1061c7d10></pre></td> |
574 | | </tr> |
575 | | |
576 | | <tr> |
577 | | <td>kwargs</td> |
578 | | <td class="code"><pre>{'conn': <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>, |
579 | | 'share_id': u'2435', |
580 | | 'url': u'/webclient/load_public/2435/?view=icon'}</pre></td> |
581 | | </tr> |
582 | | |
583 | | <tr> |
584 | | <td>request</td> |
585 | | <td class="code"><pre><WSGIRequest |
586 | | GET:<QueryDict: {u'view': [u'icon']}>, |
587 | | POST:<QueryDict: {}>, |
588 | | COOKIES:{'sessionid': 'e962dc994331e82380150a86ef555ca5'}, |
589 | | META:{'Apple_PubSub_Socket_Render': '/tmp/launch-xuQHg3/Render', |
590 | | 'BREW_DIR': '/usr/local', |
591 | | 'COMMAND_MODE': 'unix2003', |
592 | | 'CONTENT_LENGTH': '', |
593 | | 'CONTENT_TYPE': 'text/plain', |
594 | | 'DISPLAY': '/tmp/launch-2FqvS3/org.x:0', |
595 | | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
596 | | 'DYLD_LIBRARY_PATH': '/usr/local/Cellar/zeroc-ice33/3.3/lib:/usr/local/Cellar/zeroc-ice33/3.3/python:', |
597 | | 'GATEWAY_INTERFACE': 'CGI/1.1', |
598 | | 'HOME': '/Users/rkferguson', |
599 | | 'HTTP_ACCEPT': 'text/html, */*; q=0.01', |
600 | | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', |
601 | | 'HTTP_ACCEPT_LANGUAGE': 'en-gb', |
602 | | 'HTTP_CONNECTION': 'Keep-Alive', |
603 | | 'HTTP_COOKIE': 'sessionid=e962dc994331e82380150a86ef555ca5', |
604 | | 'HTTP_HOST': '10.34.2.150:8000', |
605 | | 'HTTP_REFERER': 'http://10.34.2.150:8000/webclient/public/?experimenter=7', |
606 | | 'HTTP_UA_CPU': 'AMD64', |
607 | | 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0; BOIE9;ENGB)', |
608 | | 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', |
609 | | 'ICE_HOME': '/usr/local/Cellar/zeroc-ice33/3.3', |
610 | | 'LANG': 'en_GB.UTF-8', |
611 | | 'LOGNAME': 'rkferguson', |
612 | | 'OLDPWD': '/Users/rkferguson', |
613 | | 'OMERO_HOME': '/Users/rkferguson/Documents/openmicroscopy/dist/', |
614 | | 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/local/lib/node_modules:/usr/local/Cellar/zeroc-ice33/3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/munki:/usr/X11/bin', |
615 | | 'PATH_INFO': u'/webclient/load_public/2435/', |
616 | | 'PWD': '/Users/rkferguson/Documents/openmicroscopy', |
617 | | 'PYTHONPATH': '/usr/local/Cellar/zeroc-ice33/3.3/python:dist/lib/python:components/tools/OmeroWeb', |
618 | | 'QUERY_STRING': 'view=icon', |
619 | | 'REMOTE_ADDR': '10.34.2.150', |
620 | | 'REMOTE_HOST': '', |
621 | | 'REQUEST_METHOD': 'GET', |
622 | | 'RUN_MAIN': 'true', |
623 | | 'SCRIPT_NAME': u'', |
624 | | 'SECURITYSESSIONID': '500c04', |
625 | | 'SERVER_NAME': 'LS25532.local', |
626 | | 'SERVER_PORT': '8000', |
627 | | 'SERVER_PROTOCOL': 'HTTP/1.1', |
628 | | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.1', |
629 | | 'SHELL': '/bin/bash', |
630 | | 'SHLVL': '1', |
631 | | 'SSH_AUTH_SOCK': '/tmp/launch-cPFaiq/Listeners', |
632 | | 'TERM': 'xterm-color', |
633 | | 'TERM_PROGRAM': 'Apple_Terminal', |
634 | | 'TERM_PROGRAM_VERSION': '273.1', |
635 | | 'TMPDIR': '/var/folders/FN/FNlxIw58GfunXmFak+bdxU+++TI/-Tmp-/', |
636 | | 'TZ': 'Europe/London', |
637 | | 'USER': 'rkferguson', |
638 | | 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', |
639 | | 'VERSIONER_PYTHON_VERSION': '2.6', |
640 | | '_': '/usr/local/bin/python', |
641 | | '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', |
642 | | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x100416140>, |
643 | | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
644 | | 'wsgi.input': <socket._fileobject object at 0x107dde488>, |
645 | | 'wsgi.multiprocess': False, |
646 | | 'wsgi.multithread': True, |
647 | | 'wsgi.run_once': False, |
648 | | 'wsgi.url_scheme': 'http', |
649 | | 'wsgi.version': (1, 0)}></pre></td> |
650 | | </tr> |
651 | | |
652 | | <tr> |
653 | | <td>error</td> |
654 | | <td class="code"><pre>None</pre></td> |
655 | | </tr> |
656 | | |
657 | | <tr> |
658 | | <td>conn</td> |
659 | | <td class="code"><pre><webclient.webclient_gateway.OmeroWebGateway object at 0x101153110></pre></td> |
660 | | </tr> |
661 | | |
662 | | </tbody> |
663 | | </table> |
664 | | |
665 | | </li> |
666 | | |
667 | | <li class="frame"> |
668 | | <code>/Users/rkferguson/Documents/openmicroscopy/components/tools/OmeroWeb/omeroweb/decorators.py</code> in <code>wrapper</code> |
669 | | |
670 | | |
671 | | <div class="context" id="c4403691744"> |
672 | | |
673 | | <ol start="358" class="pre-context" id="pre4403691744"><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> json_data = simplejson.dumps(context)</pre></li><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> return HttpResponse(json_data, mimetype='application/javascript')</pre></li><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> else:</pre></li><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> # allow additional processing of context dict</pre></li><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> ctx.prepare_context(request, context, *args, **kwargs)</pre></li><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> t = template_loader.get_template(template)</pre></li><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> c = RequestContext(request, context)</pre></li></ol> |
674 | | |
675 | | <ol start="365" class="context-line"><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> return HttpResponse(t.render(c))</pre> <span>...</span></li></ol> |
676 | | |
677 | | <ol start='366' class="post-context" id="post4403691744"><li onclick="toggle('pre4403691744', 'post4403691744')"><pre> return wraps(f)(wrapper)</pre></li></ol> |
678 | | |
679 | | </div> |
680 | | |
681 | | |
682 | | |
683 | | <div class="commands"> |
684 | | |
685 | | <a href="#" onclick="return varToggle(this, '4403691744')"><span>▶</span> Local vars</a> |
686 | | |
687 | | </div> |
688 | | <table class="vars" id="v4403691744"> |
689 | | <thead> |
690 | | <tr> |
691 | | <th>Variable</th> |
692 | | <th>Value</th> |
693 | | </tr> |
694 | | </thead> |
695 | | <tbody> |
696 | | |
697 | | <tr> |
698 | | <td>c</td> |
699 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
700 | | </tr> |
701 | | |
702 | | <tr> |
703 | | <td>template</td> |
704 | | <td class="code"><pre>'webclient/public/share_content_icon.html'</pre></td> |
705 | | </tr> |
706 | | |
707 | | <tr> |
708 | | <td>f</td> |
709 | | <td class="code"><pre><function load_public at 0x1061ca758></pre></td> |
710 | | </tr> |
711 | | |
712 | | <tr> |
713 | | <td>ctx</td> |
714 | | <td class="code"><pre><omeroweb.webclient.decorators.render_response object at 0x1061c7d90></pre></td> |
715 | | </tr> |
716 | | |
717 | | <tr> |
718 | | <td>args</td> |
719 | | <td class="code"><pre>()</pre></td> |
720 | | </tr> |
721 | | |
722 | | <tr> |
723 | | <td>request</td> |
724 | | <td class="code"><pre><WSGIRequest |
725 | | GET:<QueryDict: {u'view': [u'icon']}>, |
726 | | POST:<QueryDict: {}>, |
727 | | COOKIES:{'sessionid': 'e962dc994331e82380150a86ef555ca5'}, |
728 | | META:{'Apple_PubSub_Socket_Render': '/tmp/launch-xuQHg3/Render', |
729 | | 'BREW_DIR': '/usr/local', |
730 | | 'COMMAND_MODE': 'unix2003', |
731 | | 'CONTENT_LENGTH': '', |
732 | | 'CONTENT_TYPE': 'text/plain', |
733 | | 'DISPLAY': '/tmp/launch-2FqvS3/org.x:0', |
734 | | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
735 | | 'DYLD_LIBRARY_PATH': '/usr/local/Cellar/zeroc-ice33/3.3/lib:/usr/local/Cellar/zeroc-ice33/3.3/python:', |
736 | | 'GATEWAY_INTERFACE': 'CGI/1.1', |
737 | | 'HOME': '/Users/rkferguson', |
738 | | 'HTTP_ACCEPT': 'text/html, */*; q=0.01', |
739 | | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', |
740 | | 'HTTP_ACCEPT_LANGUAGE': 'en-gb', |
741 | | 'HTTP_CONNECTION': 'Keep-Alive', |
742 | | 'HTTP_COOKIE': 'sessionid=e962dc994331e82380150a86ef555ca5', |
743 | | 'HTTP_HOST': '10.34.2.150:8000', |
744 | | 'HTTP_REFERER': 'http://10.34.2.150:8000/webclient/public/?experimenter=7', |
745 | | 'HTTP_UA_CPU': 'AMD64', |
746 | | 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0; BOIE9;ENGB)', |
747 | | 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', |
748 | | 'ICE_HOME': '/usr/local/Cellar/zeroc-ice33/3.3', |
749 | | 'LANG': 'en_GB.UTF-8', |
750 | | 'LOGNAME': 'rkferguson', |
751 | | 'OLDPWD': '/Users/rkferguson', |
752 | | 'OMERO_HOME': '/Users/rkferguson/Documents/openmicroscopy/dist/', |
753 | | 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/local/lib/node_modules:/usr/local/Cellar/zeroc-ice33/3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/munki:/usr/X11/bin', |
754 | | 'PATH_INFO': u'/webclient/load_public/2435/', |
755 | | 'PWD': '/Users/rkferguson/Documents/openmicroscopy', |
756 | | 'PYTHONPATH': '/usr/local/Cellar/zeroc-ice33/3.3/python:dist/lib/python:components/tools/OmeroWeb', |
757 | | 'QUERY_STRING': 'view=icon', |
758 | | 'REMOTE_ADDR': '10.34.2.150', |
759 | | 'REMOTE_HOST': '', |
760 | | 'REQUEST_METHOD': 'GET', |
761 | | 'RUN_MAIN': 'true', |
762 | | 'SCRIPT_NAME': u'', |
763 | | 'SECURITYSESSIONID': '500c04', |
764 | | 'SERVER_NAME': 'LS25532.local', |
765 | | 'SERVER_PORT': '8000', |
766 | | 'SERVER_PROTOCOL': 'HTTP/1.1', |
767 | | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.1', |
768 | | 'SHELL': '/bin/bash', |
769 | | 'SHLVL': '1', |
770 | | 'SSH_AUTH_SOCK': '/tmp/launch-cPFaiq/Listeners', |
771 | | 'TERM': 'xterm-color', |
772 | | 'TERM_PROGRAM': 'Apple_Terminal', |
773 | | 'TERM_PROGRAM_VERSION': '273.1', |
774 | | 'TMPDIR': '/var/folders/FN/FNlxIw58GfunXmFak+bdxU+++TI/-Tmp-/', |
775 | | 'TZ': 'Europe/London', |
776 | | 'USER': 'rkferguson', |
777 | | 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', |
778 | | 'VERSIONER_PYTHON_VERSION': '2.6', |
779 | | '_': '/usr/local/bin/python', |
780 | | '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', |
781 | | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x100416140>, |
782 | | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
783 | | 'wsgi.input': <socket._fileobject object at 0x107dde488>, |
784 | | 'wsgi.multiprocess': False, |
785 | | 'wsgi.multithread': True, |
786 | | 'wsgi.run_once': False, |
787 | | 'wsgi.url_scheme': 'http', |
788 | | 'wsgi.version': (1, 0)}></pre></td> |
789 | | </tr> |
790 | | |
791 | | <tr> |
792 | | <td>t</td> |
793 | | <td class="code"><pre><django.template.base.Template object at 0x10b8294d0></pre></td> |
794 | | </tr> |
795 | | |
796 | | <tr> |
797 | | <td>context</td> |
798 | | <td class="code"><pre>{'isLeader': False, |
799 | | 'ome': {'basket_counter': 0, |
800 | | 'center_plugins': [{'include': u'webclient/data/includes/center_plugin.table.js.html', |
801 | | 'label': u'Table', |
802 | | 'plugin_id': u'image_table'}, |
803 | | {'include': u'webclient/data/includes/center_plugin.splitview.js.html', |
804 | | 'label': u'Split-view', |
805 | | 'plugin_id': u'split_view_panel'}], |
806 | | 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, |
807 | | 'group_id': 0, |
808 | | 'right_plugins': [{'include': u'webclient/data/includes/right_plugin.acquisition.js.html', |
809 | | 'label': u'Acquisition', |
810 | | 'plugin_id': u'metadata_tab'}, |
811 | | {'include': u'webclient/data/includes/right_plugin.preview.js.html', |
812 | | 'label': u'Preview', |
813 | | 'plugin_id': u'preview_tab'}], |
814 | | 'top_links': [], |
815 | | 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, |
816 | | 'user_id': 7L}, |
817 | | 'ping_interval': 60000, |
818 | | 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, |
819 | | 'template': 'webclient/public/share_content_icon.html'}</pre></td> |
820 | | </tr> |
821 | | |
822 | | <tr> |
823 | | <td>kwargs</td> |
824 | | <td class="code"><pre>{'conn': <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>, |
825 | | 'share_id': u'2435', |
826 | | 'url': u'/webclient/load_public/2435/?view=icon'}</pre></td> |
827 | | </tr> |
828 | | |
829 | | </tbody> |
830 | | </table> |
831 | | |
832 | | </li> |
833 | | |
834 | | <li class="frame"> |
835 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>render</code> |
836 | | |
837 | | |
838 | | <div class="context" id="c4403692320"> |
839 | | |
840 | | <ol start="116" class="pre-context" id="pre4403692320"><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> def _render(self, context):</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> return self.nodelist.render(context)</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre></pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> try:</pre></li></ol> |
841 | | |
842 | | <ol start="123" class="context-line"><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> return self._render(context)</pre> <span>...</span></li></ol> |
843 | | |
844 | | <ol start='124' class="post-context" id="post4403692320"><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> finally:</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> context.render_context.pop()</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre></pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre>def compile_string(template_string, origin):</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> "Compiles template_string into NodeList ready for rendering"</pre></li><li onclick="toggle('pre4403692320', 'post4403692320')"><pre> if settings.TEMPLATE_DEBUG:</pre></li></ol> |
845 | | |
846 | | </div> |
847 | | |
848 | | |
849 | | |
850 | | <div class="commands"> |
851 | | |
852 | | <a href="#" onclick="return varToggle(this, '4403692320')"><span>▶</span> Local vars</a> |
853 | | |
854 | | </div> |
855 | | <table class="vars" id="v4403692320"> |
856 | | <thead> |
857 | | <tr> |
858 | | <th>Variable</th> |
859 | | <th>Value</th> |
860 | | </tr> |
861 | | </thead> |
862 | | <tbody> |
863 | | |
864 | | <tr> |
865 | | <td>self</td> |
866 | | <td class="code"><pre><django.template.base.Template object at 0x10b8294d0></pre></td> |
867 | | </tr> |
868 | | |
869 | | <tr> |
870 | | <td>context</td> |
871 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
872 | | </tr> |
873 | | |
874 | | </tbody> |
875 | | </table> |
876 | | |
877 | | </li> |
878 | | |
879 | | <li class="frame"> |
880 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>_render</code> |
881 | | |
882 | | |
883 | | <div class="context" id="c4403692752"> |
884 | | |
885 | | <ol start="110" class="pre-context" id="pre4403692752"><li onclick="toggle('pre4403692752', 'post4403692752')"><pre></pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> for node in self.nodelist:</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> for subnode in node:</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> yield subnode</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre></pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> def _render(self, context):</pre></li></ol> |
886 | | |
887 | | <ol start="117" class="context-line"><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> return self.nodelist.render(context)</pre> <span>...</span></li></ol> |
888 | | |
889 | | <ol start='118' class="post-context" id="post4403692752"><li onclick="toggle('pre4403692752', 'post4403692752')"><pre></pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> try:</pre></li><li onclick="toggle('pre4403692752', 'post4403692752')"><pre> return self._render(context)</pre></li></ol> |
890 | | |
891 | | </div> |
892 | | |
893 | | |
894 | | |
895 | | <div class="commands"> |
896 | | |
897 | | <a href="#" onclick="return varToggle(this, '4403692752')"><span>▶</span> Local vars</a> |
898 | | |
899 | | </div> |
900 | | <table class="vars" id="v4403692752"> |
901 | | <thead> |
902 | | <tr> |
903 | | <th>Variable</th> |
904 | | <th>Value</th> |
905 | | </tr> |
906 | | </thead> |
907 | | <tbody> |
908 | | |
909 | | <tr> |
910 | | <td>self</td> |
911 | | <td class="code"><pre><django.template.base.Template object at 0x10b8294d0></pre></td> |
912 | | </tr> |
913 | | |
914 | | <tr> |
915 | | <td>context</td> |
916 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
917 | | </tr> |
918 | | |
919 | | </tbody> |
920 | | </table> |
921 | | |
922 | | </li> |
923 | | |
924 | | <li class="frame"> |
925 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>render</code> |
926 | | |
927 | | |
928 | | <div class="context" id="c4403695344"> |
929 | | |
930 | | <ol start="737" class="pre-context" id="pre4403695344"><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre></pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> bits = []</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> for node in self:</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> if isinstance(node, Node):</pre></li></ol> |
931 | | |
932 | | <ol start="744" class="context-line"><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> bits.append(self.render_node(node, context))</pre> <span>...</span></li></ol> |
933 | | |
934 | | <ol start='745' class="post-context" id="post4403695344"><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> else:</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> bits.append(node)</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> return mark_safe(''.join([force_unicode(b) for b in bits]))</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre></pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> def get_nodes_by_type(self, nodetype):</pre></li><li onclick="toggle('pre4403695344', 'post4403695344')"><pre> "Return a list of all nodes of the given type"</pre></li></ol> |
935 | | |
936 | | </div> |
937 | | |
938 | | |
939 | | |
940 | | <div class="commands"> |
941 | | |
942 | | <a href="#" onclick="return varToggle(this, '4403695344')"><span>▶</span> Local vars</a> |
943 | | |
944 | | </div> |
945 | | <table class="vars" id="v4403695344"> |
946 | | <thead> |
947 | | <tr> |
948 | | <th>Variable</th> |
949 | | <th>Value</th> |
950 | | </tr> |
951 | | </thead> |
952 | | <tbody> |
953 | | |
954 | | <tr> |
955 | | <td>node</td> |
956 | | <td class="code"><pre><If node></pre></td> |
957 | | </tr> |
958 | | |
959 | | <tr> |
960 | | <td>self</td> |
961 | | <td class="code"><pre>[<django.template.defaulttags.LoadNode object at 0x10ab3fa10>, |
962 | | <Text Node: ' |
963 | | |
964 | | |
965 | | '>, |
966 | | <django.template.defaulttags.CommentNode object at 0x10b829f90>, |
967 | | <Text Node: ' |
968 | | |
969 | | <script type="text/'>, |
970 | | <django.template.defaulttags.URLNode object at 0x10b8297d0>, |
971 | | <Text Node: '".replace('0', parseInt( '>, |
972 | | <If node>, |
973 | | <Text Node: ' |
974 | | |
975 | | |
976 | | '>]</pre></td> |
977 | | </tr> |
978 | | |
979 | | <tr> |
980 | | <td>bits</td> |
981 | | <td class="code"><pre>['', |
982 | | u'\n\n\n', |
983 | | '', |
984 | | u'\n\n <script type="text/javascript">\n $(document).ready(function(){\n\n var datatree = $.jstree._focused();\n\n // double-click handler on image - launches image viewer\n $("#dataIcons img").dblclick(function(event) {\n openPopup("', |
985 | | '/webgateway/img_detail/0/', |
986 | | u'".replace(\'0\', parseInt( $(this).attr(\'id\') )));\n });\n \n // single click handler on image (container). Selection then update toolbar & metadata pane\n $("#dataIcons li").click(function(event) {\n handleClickSelection(event);\n });\n\n // handles selection for \'clicks\' (not drags) including multi-select for shift and meta keys\n var handleClickSelection = function(event) {\n \n var $clickedImage = $(event.target);\n \n var thumbs = $("#dataIcons img");\n var selIndex = thumbs.index(event.target);\n\n datatree.deselect_all();\n thumbs.parent().removeClass("ui-selected");\n \n var branch = datatree._get_children(\'#\'+$(\'#content_details\').attr(\'rel\'))\n var selectee = $(branch[selIndex]);\n $clickedImage.parent().addClass("ui-selected");\n if(!datatree.is_selected(selectee)) datatree.select_node(selectee);\n primaryIndex = selIndex;\n }\n\n });\n\n </script>\n\n']</pre></td> |
987 | | </tr> |
988 | | |
989 | | <tr> |
990 | | <td>context</td> |
991 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
992 | | </tr> |
993 | | |
994 | | </tbody> |
995 | | </table> |
996 | | |
997 | | </li> |
998 | | |
999 | | <li class="frame"> |
1000 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py</code> in <code>render_node</code> |
1001 | | |
1002 | | |
1003 | | <div class="context" id="c4403695056"> |
1004 | | |
1005 | | <ol start="66" class="pre-context" id="pre4403695056"><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> if not hasattr(e, 'source'):</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> e.source = token.source</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre></pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> try:</pre></li></ol> |
1006 | | |
1007 | | <ol start="73" class="context-line"><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> result = node.render(context)</pre> <span>...</span></li></ol> |
1008 | | |
1009 | | <ol start='74' class="post-context" id="post4403695056"><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> except TemplateSyntaxError, e:</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> if not hasattr(e, 'source'):</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> e.source = node.source</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> raise</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre4403695056', 'post4403695056')"><pre> from sys import exc_info</pre></li></ol> |
1010 | | |
1011 | | </div> |
1012 | | |
1013 | | |
1014 | | |
1015 | | <div class="commands"> |
1016 | | |
1017 | | <a href="#" onclick="return varToggle(this, '4403695056')"><span>▶</span> Local vars</a> |
1018 | | |
1019 | | </div> |
1020 | | <table class="vars" id="v4403695056"> |
1021 | | <thead> |
1022 | | <tr> |
1023 | | <th>Variable</th> |
1024 | | <th>Value</th> |
1025 | | </tr> |
1026 | | </thead> |
1027 | | <tbody> |
1028 | | |
1029 | | <tr> |
1030 | | <td>node</td> |
1031 | | <td class="code"><pre><If node></pre></td> |
1032 | | </tr> |
1033 | | |
1034 | | <tr> |
1035 | | <td>self</td> |
1036 | | <td class="code"><pre>[<django.template.defaulttags.LoadNode object at 0x10ab3fa10>, |
1037 | | <Text Node: ' |
1038 | | |
1039 | | |
1040 | | '>, |
1041 | | <django.template.defaulttags.CommentNode object at 0x10b829f90>, |
1042 | | <Text Node: ' |
1043 | | |
1044 | | <script type="text/'>, |
1045 | | <django.template.defaulttags.URLNode object at 0x10b8297d0>, |
1046 | | <Text Node: '".replace('0', parseInt( '>, |
1047 | | <If node>, |
1048 | | <Text Node: ' |
1049 | | |
1050 | | |
1051 | | '>]</pre></td> |
1052 | | </tr> |
1053 | | |
1054 | | <tr> |
1055 | | <td>e</td> |
1056 | | <td class="code"><pre>TemplateSyntaxError(u"Caught AttributeError while rendering: 'NoneType' object has no attribute 'getOwner'",)</pre></td> |
1057 | | </tr> |
1058 | | |
1059 | | <tr> |
1060 | | <td>context</td> |
1061 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1062 | | </tr> |
1063 | | |
1064 | | </tbody> |
1065 | | </table> |
1066 | | |
1067 | | </li> |
1068 | | |
1069 | | <li class="frame"> |
1070 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/defaulttags.py</code> in <code>render</code> |
1071 | | |
1072 | | |
1073 | | <div class="context" id="c4403694408"> |
1074 | | |
1075 | | <ol start="304" class="pre-context" id="pre4403694408"><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> try:</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> var = self.var.eval(context)</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> except VariableDoesNotExist:</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> var = None</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre></pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> if var:</pre></li></ol> |
1076 | | |
1077 | | <ol start="311" class="context-line"><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> return self.nodelist_true.render(context)</pre> <span>...</span></li></ol> |
1078 | | |
1079 | | <ol start='312' class="post-context" id="post4403694408"><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> else:</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> return self.nodelist_false.render(context)</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre></pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre>class RegroupNode(Node):</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> def __init__(self, target, expression, var_name):</pre></li><li onclick="toggle('pre4403694408', 'post4403694408')"><pre> self.target, self.expression = target, expression</pre></li></ol> |
1080 | | |
1081 | | </div> |
1082 | | |
1083 | | |
1084 | | |
1085 | | <div class="commands"> |
1086 | | |
1087 | | <a href="#" onclick="return varToggle(this, '4403694408')"><span>▶</span> Local vars</a> |
1088 | | |
1089 | | </div> |
1090 | | <table class="vars" id="v4403694408"> |
1091 | | <thead> |
1092 | | <tr> |
1093 | | <th>Variable</th> |
1094 | | <th>Value</th> |
1095 | | </tr> |
1096 | | </thead> |
1097 | | <tbody> |
1098 | | |
1099 | | <tr> |
1100 | | <td>var</td> |
1101 | | <td class="code"><pre>1</pre></td> |
1102 | | </tr> |
1103 | | |
1104 | | <tr> |
1105 | | <td>self</td> |
1106 | | <td class="code"><pre><If node></pre></td> |
1107 | | </tr> |
1108 | | |
1109 | | <tr> |
1110 | | <td>context</td> |
1111 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1112 | | </tr> |
1113 | | |
1114 | | </tbody> |
1115 | | </table> |
1116 | | |
1117 | | </li> |
1118 | | |
1119 | | <li class="frame"> |
1120 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>render</code> |
1121 | | |
1122 | | |
1123 | | <div class="context" id="c4403695560"> |
1124 | | |
1125 | | <ol start="737" class="pre-context" id="pre4403695560"><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre></pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> bits = []</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> for node in self:</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> if isinstance(node, Node):</pre></li></ol> |
1126 | | |
1127 | | <ol start="744" class="context-line"><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> bits.append(self.render_node(node, context))</pre> <span>...</span></li></ol> |
1128 | | |
1129 | | <ol start='745' class="post-context" id="post4403695560"><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> else:</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> bits.append(node)</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> return mark_safe(''.join([force_unicode(b) for b in bits]))</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre></pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> def get_nodes_by_type(self, nodetype):</pre></li><li onclick="toggle('pre4403695560', 'post4403695560')"><pre> "Return a list of all nodes of the given type"</pre></li></ol> |
1130 | | |
1131 | | </div> |
1132 | | |
1133 | | |
1134 | | |
1135 | | <div class="commands"> |
1136 | | |
1137 | | <a href="#" onclick="return varToggle(this, '4403695560')"><span>▶</span> Local vars</a> |
1138 | | |
1139 | | </div> |
1140 | | <table class="vars" id="v4403695560"> |
1141 | | <thead> |
1142 | | <tr> |
1143 | | <th>Variable</th> |
1144 | | <th>Value</th> |
1145 | | </tr> |
1146 | | </thead> |
1147 | | <tbody> |
1148 | | |
1149 | | <tr> |
1150 | | <td>node</td> |
1151 | | <td class="code"><pre><For Node: for c in share.imageInShare, tail_len: 9></pre></td> |
1152 | | </tr> |
1153 | | |
1154 | | <tr> |
1155 | | <td>self</td> |
1156 | | <td class="code"><pre>[<Text Node: ' |
1157 | | |
1158 | | <div id="toolbar" c'>, |
1159 | | <For Node: for c in share.imageInShare, tail_len: 9>, |
1160 | | <Text Node: ' |
1161 | | </ul> |
1162 | | |
1163 | | '>]</pre></td> |
1164 | | </tr> |
1165 | | |
1166 | | <tr> |
1167 | | <td>bits</td> |
1168 | | <td class="code"><pre>[u'\n\n <div id="toolbar" class="toolbar_noborder"></div>\n <div class="clear"> </div>\n \n <ul id="dataIcons">\n ']</pre></td> |
1169 | | </tr> |
1170 | | |
1171 | | <tr> |
1172 | | <td>context</td> |
1173 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1174 | | </tr> |
1175 | | |
1176 | | </tbody> |
1177 | | </table> |
1178 | | |
1179 | | </li> |
1180 | | |
1181 | | <li class="frame"> |
1182 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py</code> in <code>render_node</code> |
1183 | | |
1184 | | |
1185 | | <div class="context" id="c4403693976"> |
1186 | | |
1187 | | <ol start="66" class="pre-context" id="pre4403693976"><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> if not hasattr(e, 'source'):</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> e.source = token.source</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre></pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> try:</pre></li></ol> |
1188 | | |
1189 | | <ol start="73" class="context-line"><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> result = node.render(context)</pre> <span>...</span></li></ol> |
1190 | | |
1191 | | <ol start='74' class="post-context" id="post4403693976"><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> except TemplateSyntaxError, e:</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> if not hasattr(e, 'source'):</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> e.source = node.source</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> raise</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre4403693976', 'post4403693976')"><pre> from sys import exc_info</pre></li></ol> |
1192 | | |
1193 | | </div> |
1194 | | |
1195 | | |
1196 | | |
1197 | | <div class="commands"> |
1198 | | |
1199 | | <a href="#" onclick="return varToggle(this, '4403693976')"><span>▶</span> Local vars</a> |
1200 | | |
1201 | | </div> |
1202 | | <table class="vars" id="v4403693976"> |
1203 | | <thead> |
1204 | | <tr> |
1205 | | <th>Variable</th> |
1206 | | <th>Value</th> |
1207 | | </tr> |
1208 | | </thead> |
1209 | | <tbody> |
1210 | | |
1211 | | <tr> |
1212 | | <td>node</td> |
1213 | | <td class="code"><pre><For Node: for c in share.imageInShare, tail_len: 9></pre></td> |
1214 | | </tr> |
1215 | | |
1216 | | <tr> |
1217 | | <td>self</td> |
1218 | | <td class="code"><pre>[<Text Node: ' |
1219 | | |
1220 | | <div id="toolbar" c'>, |
1221 | | <For Node: for c in share.imageInShare, tail_len: 9>, |
1222 | | <Text Node: ' |
1223 | | </ul> |
1224 | | |
1225 | | '>]</pre></td> |
1226 | | </tr> |
1227 | | |
1228 | | <tr> |
1229 | | <td>e</td> |
1230 | | <td class="code"><pre>TemplateSyntaxError(u"Caught AttributeError while rendering: 'NoneType' object has no attribute 'getOwner'",)</pre></td> |
1231 | | </tr> |
1232 | | |
1233 | | <tr> |
1234 | | <td>context</td> |
1235 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1236 | | </tr> |
1237 | | |
1238 | | </tbody> |
1239 | | </table> |
1240 | | |
1241 | | </li> |
1242 | | |
1243 | | <li class="frame"> |
1244 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/defaulttags.py</code> in <code>render</code> |
1245 | | |
1246 | | |
1247 | | <div class="context" id="c4403694120"> |
1248 | | |
1249 | | <ol start="220" class="pre-context" id="pre4403694120"><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> pass</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> else:</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> pop_context = True</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> context.update(unpacked_vars)</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> else:</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> context[self.loopvars[0]] = item</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> for node in self.nodelist_loop:</pre></li></ol> |
1250 | | |
1251 | | <ol start="227" class="context-line"><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> nodelist.append(node.render(context))</pre> <span>...</span></li></ol> |
1252 | | |
1253 | | <ol start='228' class="post-context" id="post4403694120"><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> if pop_context:</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> # The loop variables were pushed on to the context so pop them</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> # off again. This is necessary because the tag lets the length</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> # of loopvars differ to the length of each set of items and we</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> # don't want to leave any vars from the previous loop on the</pre></li><li onclick="toggle('pre4403694120', 'post4403694120')"><pre> # context.</pre></li></ol> |
1254 | | |
1255 | | </div> |
1256 | | |
1257 | | |
1258 | | |
1259 | | <div class="commands"> |
1260 | | |
1261 | | <a href="#" onclick="return varToggle(this, '4403694120')"><span>▶</span> Local vars</a> |
1262 | | |
1263 | | </div> |
1264 | | <table class="vars" id="v4403694120"> |
1265 | | <thead> |
1266 | | <tr> |
1267 | | <th>Variable</th> |
1268 | | <th>Value</th> |
1269 | | </tr> |
1270 | | </thead> |
1271 | | <tbody> |
1272 | | |
1273 | | <tr> |
1274 | | <td>node</td> |
1275 | | <td class="code"><pre><If node></pre></td> |
1276 | | </tr> |
1277 | | |
1278 | | <tr> |
1279 | | <td>parentloop</td> |
1280 | | <td class="code"><pre>{}</pre></td> |
1281 | | </tr> |
1282 | | |
1283 | | <tr> |
1284 | | <td>pop_context</td> |
1285 | | <td class="code"><pre>False</pre></td> |
1286 | | </tr> |
1287 | | |
1288 | | <tr> |
1289 | | <td>nodelist</td> |
1290 | | <td class="code"><pre>[u'\n <li id="image_icon-', |
1291 | | u'3693', |
1292 | | u'" title="', |
1293 | | u'None', |
1294 | | u'" ', |
1295 | | u'class="readonly"', |
1296 | | u'>\n ']</pre></td> |
1297 | | </tr> |
1298 | | |
1299 | | <tr> |
1300 | | <td>i</td> |
1301 | | <td class="code"><pre>0</pre></td> |
1302 | | </tr> |
1303 | | |
1304 | | <tr> |
1305 | | <td>loop_dict</td> |
1306 | | <td class="code"><pre>{'counter': 1, |
1307 | | 'counter0': 0, |
1308 | | 'first': True, |
1309 | | 'last': True, |
1310 | | 'parentloop': {}, |
1311 | | 'revcounter': 1, |
1312 | | 'revcounter0': 0}</pre></td> |
1313 | | </tr> |
1314 | | |
1315 | | <tr> |
1316 | | <td>self</td> |
1317 | | <td class="code"><pre><For Node: for c in share.imageInShare, tail_len: 9></pre></td> |
1318 | | </tr> |
1319 | | |
1320 | | <tr> |
1321 | | <td>len_values</td> |
1322 | | <td class="code"><pre>1</pre></td> |
1323 | | </tr> |
1324 | | |
1325 | | <tr> |
1326 | | <td>item</td> |
1327 | | <td class="code"><pre><omero.gateway.BlitzObjectWrapper object at 0x10b829390></pre></td> |
1328 | | </tr> |
1329 | | |
1330 | | <tr> |
1331 | | <td>values</td> |
1332 | | <td class="code"><pre>[<omero.gateway.BlitzObjectWrapper object at 0x10b829390>]</pre></td> |
1333 | | </tr> |
1334 | | |
1335 | | <tr> |
1336 | | <td>context</td> |
1337 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1338 | | </tr> |
1339 | | |
1340 | | <tr> |
1341 | | <td>unpack</td> |
1342 | | <td class="code"><pre>False</pre></td> |
1343 | | </tr> |
1344 | | |
1345 | | </tbody> |
1346 | | </table> |
1347 | | |
1348 | | </li> |
1349 | | |
1350 | | <li class="frame"> |
1351 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/defaulttags.py</code> in <code>render</code> |
1352 | | |
1353 | | |
1354 | | <div class="context" id="c4403693184"> |
1355 | | |
1356 | | <ol start="304" class="pre-context" id="pre4403693184"><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> try:</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> var = self.var.eval(context)</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> except VariableDoesNotExist:</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> var = None</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre></pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> if var:</pre></li></ol> |
1357 | | |
1358 | | <ol start="311" class="context-line"><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> return self.nodelist_true.render(context)</pre> <span>...</span></li></ol> |
1359 | | |
1360 | | <ol start='312' class="post-context" id="post4403693184"><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> else:</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> return self.nodelist_false.render(context)</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre></pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre>class RegroupNode(Node):</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> def __init__(self, target, expression, var_name):</pre></li><li onclick="toggle('pre4403693184', 'post4403693184')"><pre> self.target, self.expression = target, expression</pre></li></ol> |
1361 | | |
1362 | | </div> |
1363 | | |
1364 | | |
1365 | | |
1366 | | <div class="commands"> |
1367 | | |
1368 | | <a href="#" onclick="return varToggle(this, '4403693184')"><span>▶</span> Local vars</a> |
1369 | | |
1370 | | </div> |
1371 | | <table class="vars" id="v4403693184"> |
1372 | | <thead> |
1373 | | <tr> |
1374 | | <th>Variable</th> |
1375 | | <th>Value</th> |
1376 | | </tr> |
1377 | | </thead> |
1378 | | <tbody> |
1379 | | |
1380 | | <tr> |
1381 | | <td>var</td> |
1382 | | <td class="code"><pre>True</pre></td> |
1383 | | </tr> |
1384 | | |
1385 | | <tr> |
1386 | | <td>self</td> |
1387 | | <td class="code"><pre><If node></pre></td> |
1388 | | </tr> |
1389 | | |
1390 | | <tr> |
1391 | | <td>context</td> |
1392 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1393 | | </tr> |
1394 | | |
1395 | | </tbody> |
1396 | | </table> |
1397 | | |
1398 | | </li> |
1399 | | |
1400 | | <li class="frame"> |
1401 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>render</code> |
1402 | | |
1403 | | |
1404 | | <div class="context" id="c4403694264"> |
1405 | | |
1406 | | <ol start="737" class="pre-context" id="pre4403694264"><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre></pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> bits = []</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> for node in self:</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> if isinstance(node, Node):</pre></li></ol> |
1407 | | |
1408 | | <ol start="744" class="context-line"><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> bits.append(self.render_node(node, context))</pre> <span>...</span></li></ol> |
1409 | | |
1410 | | <ol start='745' class="post-context" id="post4403694264"><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> else:</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> bits.append(node)</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> return mark_safe(''.join([force_unicode(b) for b in bits]))</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre></pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> def get_nodes_by_type(self, nodetype):</pre></li><li onclick="toggle('pre4403694264', 'post4403694264')"><pre> "Return a list of all nodes of the given type"</pre></li></ol> |
1411 | | |
1412 | | </div> |
1413 | | |
1414 | | |
1415 | | |
1416 | | <div class="commands"> |
1417 | | |
1418 | | <a href="#" onclick="return varToggle(this, '4403694264')"><span>▶</span> Local vars</a> |
1419 | | |
1420 | | </div> |
1421 | | <table class="vars" id="v4403694264"> |
1422 | | <thead> |
1423 | | <tr> |
1424 | | <th>Variable</th> |
1425 | | <th>Value</th> |
1426 | | </tr> |
1427 | | </thead> |
1428 | | <tbody> |
1429 | | |
1430 | | <tr> |
1431 | | <td>node</td> |
1432 | | <td class="code"><pre><Variable Node: c.getOwner.getNameWithInitial></pre></td> |
1433 | | </tr> |
1434 | | |
1435 | | <tr> |
1436 | | <td>self</td> |
1437 | | <td class="code"><pre>[<Text Node: ' |
1438 | | <img id="'>, |
1439 | | <Variable Node: c.id>, |
1440 | | <Text Node: '" src="'>, |
1441 | | <django.template.defaulttags.URLNode object at 0x10ab3f0d0>, |
1442 | | <Text Node: '" alt="image" title="'>, |
1443 | | <Variable Node: c.name>, |
1444 | | <Text Node: ', owned by '>, |
1445 | | <Variable Node: c.getOwner.getNameWithInitial>, |
1446 | | <Text Node: '"/> |
1447 | | '>]</pre></td> |
1448 | | </tr> |
1449 | | |
1450 | | <tr> |
1451 | | <td>bits</td> |
1452 | | <td class="code"><pre>[u'\n <img id="', |
1453 | | u'3693', |
1454 | | u'" src="', |
1455 | | '/webclient/render_thumbnail/3693/', |
1456 | | u'" alt="image" title="', |
1457 | | u'None', |
1458 | | u', owned by ']</pre></td> |
1459 | | </tr> |
1460 | | |
1461 | | <tr> |
1462 | | <td>context</td> |
1463 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1464 | | </tr> |
1465 | | |
1466 | | </tbody> |
1467 | | </table> |
1468 | | |
1469 | | </li> |
1470 | | |
1471 | | <li class="frame"> |
1472 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py</code> in <code>render_node</code> |
1473 | | |
1474 | | |
1475 | | <div class="context" id="c4403694480"> |
1476 | | |
1477 | | <ol start="66" class="pre-context" id="pre4403694480"><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> if not hasattr(e, 'source'):</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> e.source = token.source</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre></pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> try:</pre></li></ol> |
1478 | | |
1479 | | <ol start="73" class="context-line"><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> result = node.render(context)</pre> <span>...</span></li></ol> |
1480 | | |
1481 | | <ol start='74' class="post-context" id="post4403694480"><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> except TemplateSyntaxError, e:</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> if not hasattr(e, 'source'):</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> e.source = node.source</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> raise</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre4403694480', 'post4403694480')"><pre> from sys import exc_info</pre></li></ol> |
1482 | | |
1483 | | </div> |
1484 | | |
1485 | | |
1486 | | |
1487 | | <div class="commands"> |
1488 | | |
1489 | | <a href="#" onclick="return varToggle(this, '4403694480')"><span>▶</span> Local vars</a> |
1490 | | |
1491 | | </div> |
1492 | | <table class="vars" id="v4403694480"> |
1493 | | <thead> |
1494 | | <tr> |
1495 | | <th>Variable</th> |
1496 | | <th>Value</th> |
1497 | | </tr> |
1498 | | </thead> |
1499 | | <tbody> |
1500 | | |
1501 | | <tr> |
1502 | | <td>node</td> |
1503 | | <td class="code"><pre><Variable Node: c.getOwner.getNameWithInitial></pre></td> |
1504 | | </tr> |
1505 | | |
1506 | | <tr> |
1507 | | <td>e</td> |
1508 | | <td class="code"><pre>AttributeError("'NoneType' object has no attribute 'getOwner'",)</pre></td> |
1509 | | </tr> |
1510 | | |
1511 | | <tr> |
1512 | | <td>self</td> |
1513 | | <td class="code"><pre>[<Text Node: ' |
1514 | | <img id="'>, |
1515 | | <Variable Node: c.id>, |
1516 | | <Text Node: '" src="'>, |
1517 | | <django.template.defaulttags.URLNode object at 0x10ab3f0d0>, |
1518 | | <Text Node: '" alt="image" title="'>, |
1519 | | <Variable Node: c.name>, |
1520 | | <Text Node: ', owned by '>, |
1521 | | <Variable Node: c.getOwner.getNameWithInitial>, |
1522 | | <Text Node: '"/> |
1523 | | '>]</pre></td> |
1524 | | </tr> |
1525 | | |
1526 | | <tr> |
1527 | | <td>context</td> |
1528 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1529 | | </tr> |
1530 | | |
1531 | | <tr> |
1532 | | <td>wrapped</td> |
1533 | | <td class="code"><pre>TemplateSyntaxError(u"Caught AttributeError while rendering: 'NoneType' object has no attribute 'getOwner'",)</pre></td> |
1534 | | </tr> |
1535 | | |
1536 | | <tr> |
1537 | | <td>exc_info</td> |
1538 | | <td class="code"><pre><built-in function exc_info></pre></td> |
1539 | | </tr> |
1540 | | |
1541 | | </tbody> |
1542 | | </table> |
1543 | | |
1544 | | </li> |
1545 | | |
1546 | | <li class="frame"> |
1547 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py</code> in <code>render</code> |
1548 | | |
1549 | | |
1550 | | <div class="context" id="c4403693544"> |
1551 | | |
1552 | | <ol start="83" class="pre-context" id="pre4403693544"><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> wrapped.exc_info = exc_info()</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> raise wrapped, None, wrapped.exc_info[2]</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> return result</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre></pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre>class DebugVariableNode(VariableNode):</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> try:</pre></li></ol> |
1553 | | |
1554 | | <ol start="90" class="context-line"><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> output = self.filter_expression.resolve(context)</pre> <span>...</span></li></ol> |
1555 | | |
1556 | | <ol start='91' class="post-context" id="post4403693544"><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> output = localize(output, use_l10n=context.use_l10n)</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> output = force_unicode(output)</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> except TemplateSyntaxError, e:</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> if not hasattr(e, 'source'):</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> e.source = self.source</pre></li><li onclick="toggle('pre4403693544', 'post4403693544')"><pre> raise</pre></li></ol> |
1557 | | |
1558 | | </div> |
1559 | | |
1560 | | |
1561 | | |
1562 | | <div class="commands"> |
1563 | | |
1564 | | <a href="#" onclick="return varToggle(this, '4403693544')"><span>▶</span> Local vars</a> |
1565 | | |
1566 | | </div> |
1567 | | <table class="vars" id="v4403693544"> |
1568 | | <thead> |
1569 | | <tr> |
1570 | | <th>Variable</th> |
1571 | | <th>Value</th> |
1572 | | </tr> |
1573 | | </thead> |
1574 | | <tbody> |
1575 | | |
1576 | | <tr> |
1577 | | <td>self</td> |
1578 | | <td class="code"><pre><Variable Node: c.getOwner.getNameWithInitial></pre></td> |
1579 | | </tr> |
1580 | | |
1581 | | <tr> |
1582 | | <td>context</td> |
1583 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1584 | | </tr> |
1585 | | |
1586 | | </tbody> |
1587 | | </table> |
1588 | | |
1589 | | </li> |
1590 | | |
1591 | | <li class="frame"> |
1592 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>resolve</code> |
1593 | | |
1594 | | |
1595 | | <div class="context" id="c4400083600"> |
1596 | | |
1597 | | <ol start="503" class="pre-context" id="pre4400083600"><li onclick="toggle('pre4400083600', 'post4400083600')"><pre></pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> self.filters = filters</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> self.var = var_obj</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre></pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> def resolve(self, context, ignore_failures=False):</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> if isinstance(self.var, Variable):</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> try:</pre></li></ol> |
1598 | | |
1599 | | <ol start="510" class="context-line"><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> obj = self.var.resolve(context)</pre> <span>...</span></li></ol> |
1600 | | |
1601 | | <ol start='511' class="post-context" id="post4400083600"><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> except VariableDoesNotExist:</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> if ignore_failures:</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> obj = None</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> else:</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> if settings.TEMPLATE_STRING_IF_INVALID:</pre></li><li onclick="toggle('pre4400083600', 'post4400083600')"><pre> global invalid_var_format_string</pre></li></ol> |
1602 | | |
1603 | | </div> |
1604 | | |
1605 | | |
1606 | | |
1607 | | <div class="commands"> |
1608 | | |
1609 | | <a href="#" onclick="return varToggle(this, '4400083600')"><span>▶</span> Local vars</a> |
1610 | | |
1611 | | </div> |
1612 | | <table class="vars" id="v4400083600"> |
1613 | | <thead> |
1614 | | <tr> |
1615 | | <th>Variable</th> |
1616 | | <th>Value</th> |
1617 | | </tr> |
1618 | | </thead> |
1619 | | <tbody> |
1620 | | |
1621 | | <tr> |
1622 | | <td>self</td> |
1623 | | <td class="code"><pre><django.template.base.FilterExpression object at 0x10ab3f890></pre></td> |
1624 | | </tr> |
1625 | | |
1626 | | <tr> |
1627 | | <td>ignore_failures</td> |
1628 | | <td class="code"><pre>False</pre></td> |
1629 | | </tr> |
1630 | | |
1631 | | <tr> |
1632 | | <td>context</td> |
1633 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1634 | | </tr> |
1635 | | |
1636 | | </tbody> |
1637 | | </table> |
1638 | | |
1639 | | </li> |
1640 | | |
1641 | | <li class="frame"> |
1642 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>resolve</code> |
1643 | | |
1644 | | |
1645 | | <div class="context" id="c4340715176"> |
1646 | | |
1647 | | <ol start="646" class="pre-context" id="pre4340715176"><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> raise TemplateSyntaxError("Variables and attributes may not begin with underscores: '%s'" % var)</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre></pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> def resolve(self, context):</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> """Resolve this variable against a given context."""</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> if self.lookups is not None:</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> # We're dealing with a variable that needs to be resolved</pre></li></ol> |
1648 | | |
1649 | | <ol start="653" class="context-line"><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> value = self._resolve_lookup(context)</pre> <span>...</span></li></ol> |
1650 | | |
1651 | | <ol start='654' class="post-context" id="post4340715176"><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> else:</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> # We're dealing with a literal, so it's already been "resolved"</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> value = self.literal</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> if self.translate:</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> return ugettext_lazy(value)</pre></li><li onclick="toggle('pre4340715176', 'post4340715176')"><pre> return value</pre></li></ol> |
1652 | | |
1653 | | </div> |
1654 | | |
1655 | | |
1656 | | |
1657 | | <div class="commands"> |
1658 | | |
1659 | | <a href="#" onclick="return varToggle(this, '4340715176')"><span>▶</span> Local vars</a> |
1660 | | |
1661 | | </div> |
1662 | | <table class="vars" id="v4340715176"> |
1663 | | <thead> |
1664 | | <tr> |
1665 | | <th>Variable</th> |
1666 | | <th>Value</th> |
1667 | | </tr> |
1668 | | </thead> |
1669 | | <tbody> |
1670 | | |
1671 | | <tr> |
1672 | | <td>self</td> |
1673 | | <td class="code"><pre><Variable: u'c.getOwner.getNameWithInitial'></pre></td> |
1674 | | </tr> |
1675 | | |
1676 | | <tr> |
1677 | | <td>context</td> |
1678 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1679 | | </tr> |
1680 | | |
1681 | | </tbody> |
1682 | | </table> |
1683 | | |
1684 | | </li> |
1685 | | |
1686 | | <li class="frame"> |
1687 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py</code> in <code>_resolve_lookup</code> |
1688 | | |
1689 | | |
1690 | | <div class="context" id="c4403693400"> |
1691 | | |
1692 | | <ol start="691" class="pre-context" id="pre4403693400"><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> ):</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bit, current)) # missing attribute</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> if callable(current):</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> if getattr(current, 'alters_data', False):</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> current = settings.TEMPLATE_STRING_IF_INVALID</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> else:</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> try: # method call (assuming no args required)</pre></li></ol> |
1693 | | |
1694 | | <ol start="698" class="context-line"><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> current = current()</pre> <span>...</span></li></ol> |
1695 | | |
1696 | | <ol start='699' class="post-context" id="post4403693400"><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> except TypeError: # arguments *were* required</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> # GOTCHA: This will also catch any TypeError</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> # raised in the function itself.</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> current = settings.TEMPLATE_STRING_IF_INVALID # invalid method call</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre4403693400', 'post4403693400')"><pre> if getattr(e, 'silent_variable_failure', False):</pre></li></ol> |
1697 | | |
1698 | | </div> |
1699 | | |
1700 | | |
1701 | | |
1702 | | <div class="commands"> |
1703 | | |
1704 | | <a href="#" onclick="return varToggle(this, '4403693400')"><span>▶</span> Local vars</a> |
1705 | | |
1706 | | </div> |
1707 | | <table class="vars" id="v4403693400"> |
1708 | | <thead> |
1709 | | <tr> |
1710 | | <th>Variable</th> |
1711 | | <th>Value</th> |
1712 | | </tr> |
1713 | | </thead> |
1714 | | <tbody> |
1715 | | |
1716 | | <tr> |
1717 | | <td>current</td> |
1718 | | <td class="code"><pre><bound method BlitzObjectWrapper.getOwner of <omero.gateway.BlitzObjectWrapper object at 0x10b829390>></pre></td> |
1719 | | </tr> |
1720 | | |
1721 | | <tr> |
1722 | | <td>bit</td> |
1723 | | <td class="code"><pre>u'getOwner'</pre></td> |
1724 | | </tr> |
1725 | | |
1726 | | <tr> |
1727 | | <td>e</td> |
1728 | | <td class="code"><pre>AttributeError("'NoneType' object has no attribute 'getOwner'",)</pre></td> |
1729 | | </tr> |
1730 | | |
1731 | | <tr> |
1732 | | <td>self</td> |
1733 | | <td class="code"><pre><Variable: u'c.getOwner.getNameWithInitial'></pre></td> |
1734 | | </tr> |
1735 | | |
1736 | | <tr> |
1737 | | <td>context</td> |
1738 | | <td class="code"><pre>[{'isLeader': False, 'share': <omeroweb.webclient.controller.share.BaseShare object at 0x107deb310>, 'ome': {'user_id': 7L, 'eventContext': <bound method OmeroWebGateway.getEventContext of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>, 'top_links': [], 'center_plugins': [{'plugin_id': u'image_table', 'include': u'webclient/data/includes/center_plugin.table.js.html', 'label': u'Table'}, {'plugin_id': u'split_view_panel', 'include': u'webclient/data/includes/center_plugin.splitview.js.html', 'label': u'Split-view'}], 'right_plugins': [{'plugin_id': u'metadata_tab', 'include': u'webclient/data/includes/right_plugin.acquisition.js.html', 'label': u'Acquisition'}, {'plugin_id': u'preview_tab', 'include': u'webclient/data/includes/right_plugin.preview.js.html', 'label': u'Preview'}], 'basket_counter': 0, 'group_id': 0, 'user': <bound method OmeroWebGateway.getUser of <webclient.webclient_gateway.OmeroWebGateway object at 0x101153110>>}, 'template': 'webclient/public/share_content_icon.html', 'ping_interval': 60000}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x10ab3f490>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {'MEDIA_URL': ''}, {'STATIC_URL': '/static/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x10642ced0>}, {'forloop': {'revcounter0': 0, 'last': True, 'counter': 1, 'parentloop': {}, 'revcounter': 1, 'counter0': 0, 'first': True}, u'c': <omero.gateway.BlitzObjectWrapper object at 0x10b829390>}]</pre></td> |
1739 | | </tr> |
1740 | | |
1741 | | </tbody> |
1742 | | </table> |
1743 | | |
1744 | | </li> |
1745 | | |
1746 | | <li class="frame"> |
1747 | | <code>/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/omero/gateway/__init__.py</code> in <code>getOwner</code> |
1748 | | |
1749 | | |
1750 | | <div class="context" id="c4400083024"> |
1751 | | |
1752 | | <ol start="1140" class="pre-context" id="pre4400083024"><li onclick="toggle('pre4400083024', 'post4400083024')"><pre></pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> def getOwner (self):</pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> """</pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> Gets user who is the owner of this object.</pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> </pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> @return: _ExperimenterWrapper</pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> """</pre></li></ol> |
1753 | | |
1754 | | <ol start="1147" class="context-line"><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> return self.getDetails().getOwner()</pre> <span>...</span></li></ol> |
1755 | | |
1756 | | <ol start='1148' class="post-context" id="post4400083024"><li onclick="toggle('pre4400083024', 'post4400083024')"><pre></pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> def getOwnerFullName (self):</pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> """</pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> Gets full name of the owner of this object.</pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> </pre></li><li onclick="toggle('pre4400083024', 'post4400083024')"><pre> @return: String or None</pre></li></ol> |
1757 | | |
1758 | | </div> |
1759 | | |
1760 | | |
1761 | | |
1762 | | <div class="commands"> |
1763 | | |
1764 | | <a href="#" onclick="return varToggle(this, '4400083024')"><span>▶</span> Local vars</a> |
1765 | | |
1766 | | </div> |
1767 | | <table class="vars" id="v4400083024"> |
1768 | | <thead> |
1769 | | <tr> |
1770 | | <th>Variable</th> |
1771 | | <th>Value</th> |
1772 | | </tr> |
1773 | | </thead> |
1774 | | <tbody> |
1775 | | |
1776 | | <tr> |
1777 | | <td>self</td> |
1778 | | <td class="code"><pre><omero.gateway.BlitzObjectWrapper object at 0x10b829390></pre></td> |
1779 | | </tr> |
1780 | | |
1781 | | </tbody> |
1782 | | </table> |
1783 | | |
1784 | | </li> |
1785 | | |
1786 | | </ul> |
1787 | | </div> |
1788 | | |
1789 | | <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> |
1790 | | |
1791 | | <div id="pastebinTraceback" class="pastebin"> |
1792 | | <input type="hidden" name="language" value="PythonConsole"> |
1793 | | <input type="hidden" name="title" value="TemplateSyntaxError at /webclient/load_public/2435/"> |
1794 | | <input type="hidden" name="source" value="Django Dpaste Agent"> |
1795 | | <input type="hidden" name="poster" value="Django"> |
1796 | | <textarea name="content" id="traceback_area" cols="140" rows="25"> |
1797 | | Environment: |
1798 | | |
1799 | | |
1800 | | Request Method: GET |
1801 | | Request URL: http://10.34.2.150:8000/webclient/load_public/2435/?view=icon |
1802 | | |
1803 | | Django Version: 1.3.1 |
1804 | | Python Version: 2.6.1 |
1805 | | Installed Applications: |
1806 | | ['django.contrib.staticfiles', |
1807 | | 'django.contrib.markup', |
1808 | | 'django.contrib.auth', |
1809 | | 'django.contrib.contenttypes', |
1810 | | 'django.contrib.sessions', |
1811 | | 'django.contrib.sites', |
1812 | | 'omeroweb.feedback', |
1813 | | 'omeroweb.webadmin', |
1814 | | 'omeroweb.webclient', |
1815 | | 'omeroweb.webgateway', |
1816 | | 'omeroweb.webtest', |
1817 | | 'omeroweb.webredirect'] |
1818 | | Installed Middleware: |
1819 | | ('django.middleware.common.CommonMiddleware', |
1820 | | 'django.contrib.sessions.middleware.SessionMiddleware', |
1821 | | 'django.contrib.messages.middleware.MessageMiddleware') |
1822 | | |
1823 | | |
1824 | | Template error: |
1825 | | In template /Users/rkferguson/Documents/openmicroscopy/components/tools/OmeroWeb/omeroweb/webclient/templates/webclient/public/share_content_icon.html, error at line 70 |
1826 | | Caught AttributeError while rendering: 'NoneType' object has no attribute 'getOwner' |
1827 | | 60 : |
1828 | | |
1829 | | |
1830 | | 61 : {% if share.imgSize %} |
1831 | | |
1832 | | |
1833 | | 62 : |
1834 | | |
1835 | | |
1836 | | 63 : <div id="toolbar" class="toolbar_noborder"></div> |
1837 | | |
1838 | | |
1839 | | 64 : <div class="clear"> </div> |
1840 | | |
1841 | | |
1842 | | 65 : |
1843 | | |
1844 | | |
1845 | | 66 : <ul id="dataIcons"> |
1846 | | |
1847 | | |
1848 | | 67 : {% for c in share.imageInShare %} |
1849 | | |
1850 | | |
1851 | | 68 : <li id="image_icon-{{ c.id }}" title="{{ c.name }}" {% if not c.canEdit %}class="editonly"{% else %}class="readonly"{% endif %}> |
1852 | | |
1853 | | |
1854 | | 69 : {% if share.share.isOwned %} |
1855 | | |
1856 | | |
1857 | | 70 : <img id="{{ c.id }}" src="{% url render_thumbnail c.id %}" alt="image" title="{{ c.name }}, owned by {{ c.getOwner.getNameWithInitial }} "/> |
1858 | | |
1859 | | |
1860 | | 71 : {% else %} |
1861 | | |
1862 | | |
1863 | | 72 : <img id="{{ c.id }}" src="{% url render_thumbnail c.id share.share.id %}" alt="image" title="{{ c.name }}, owned by {{ c.getOwner.getNameWithInitial }}"/> |
1864 | | |
1865 | | |
1866 | | 73 : {% endif %} |
1867 | | |
1868 | | |
1869 | | 74 : </li> |
1870 | | |
1871 | | |
1872 | | 75 : {% endfor %} |
1873 | | |
1874 | | |
1875 | | 76 : </ul> |
1876 | | |
1877 | | |
1878 | | 77 : |
1879 | | |
1880 | | |
1881 | | 78 : {% else %} |
1882 | | |
1883 | | |
1884 | | 79 : <p>{% trans "No data." %}</p> |
1885 | | |
1886 | | |
1887 | | 80 : {% endif %} |
1888 | | |
1889 | | |
1890 | | Traceback: |
1891 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/core/handlers/base.py" in get_response |
1892 | | 111. response = callback(request, *callback_args, **callback_kwargs) |
1893 | | File "/Users/rkferguson/Documents/openmicroscopy/components/tools/OmeroWeb/omeroweb/decorators.py" in wrapped |
1894 | | 311. retval = f(request, *args, **kwargs) |
1895 | | File "/Users/rkferguson/Documents/openmicroscopy/components/tools/OmeroWeb/omeroweb/decorators.py" in wrapper |
1896 | | 365. return HttpResponse(t.render(c)) |
1897 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in render |
1898 | | 123. return self._render(context) |
1899 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in _render |
1900 | | 117. return self.nodelist.render(context) |
1901 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in render |
1902 | | 744. bits.append(self.render_node(node, context)) |
1903 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py" in render_node |
1904 | | 73. result = node.render(context) |
1905 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/defaulttags.py" in render |
1906 | | 311. return self.nodelist_true.render(context) |
1907 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in render |
1908 | | 744. bits.append(self.render_node(node, context)) |
1909 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py" in render_node |
1910 | | 73. result = node.render(context) |
1911 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/defaulttags.py" in render |
1912 | | 227. nodelist.append(node.render(context)) |
1913 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/defaulttags.py" in render |
1914 | | 311. return self.nodelist_true.render(context) |
1915 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in render |
1916 | | 744. bits.append(self.render_node(node, context)) |
1917 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py" in render_node |
1918 | | 73. result = node.render(context) |
1919 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/debug.py" in render |
1920 | | 90. output = self.filter_expression.resolve(context) |
1921 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in resolve |
1922 | | 510. obj = self.var.resolve(context) |
1923 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in resolve |
1924 | | 653. value = self._resolve_lookup(context) |
1925 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/django/template/base.py" in _resolve_lookup |
1926 | | 698. current = current() |
1927 | | File "/Users/rkferguson/Documents/openmicroscopy/dist/lib/python/omero/gateway/__init__.py" in getOwner |
1928 | | 1147. return self.getDetails().getOwner() |
1929 | | |
1930 | | Exception Type: TemplateSyntaxError at /webclient/load_public/2435/ |
1931 | | Exception Value: Caught AttributeError while rendering: 'NoneType' object has no attribute 'getOwner' |
1932 | | </textarea> |
1933 | | <br><br> |
1934 | | <input type="submit" value="Share this traceback on a public Web site"> |
1935 | | </div> |
1936 | | </form> |
1937 | | </div> |
| 94 | try: |
2314 | | <h3 id="settings-info">Settings</h3> |
2315 | | <h4>Using settings module <code>omeroweb.settings</code></h4> |
2316 | | <table class="req"> |
2317 | | <thead> |
2318 | | <tr> |
2319 | | <th>Setting</th> |
2320 | | <th>Value</th> |
2321 | | </tr> |
2322 | | </thead> |
2323 | | <tbody> |
2324 | | |
2325 | | <tr> |
2326 | | <td>YEAR_MONTH_FORMAT</td> |
2327 | | <td class="code"><pre>'F Y'</pre></td> |
2328 | | </tr> |
2329 | | |
2330 | | <tr> |
2331 | | <td>USE_L10N</td> |
2332 | | <td class="code"><pre>False</pre></td> |
2333 | | </tr> |
2334 | | |
2335 | | <tr> |
2336 | | <td>USE_THOUSAND_SEPARATOR</td> |
2337 | | <td class="code"><pre>False</pre></td> |
2338 | | </tr> |
2339 | | |
2340 | | <tr> |
2341 | | <td>CENTER_PLUGINS</td> |
2342 | | <td class="code"><pre>[[u'Table', |
2343 | | u'webclient/data/includes/center_plugin.table.js.html', |
2344 | | u'image_table'], |
2345 | | [u'Split-view', |
2346 | | u'webclient/data/includes/center_plugin.splitview.js.html', |
2347 | | u'split_view_panel']]</pre></td> |
2348 | | </tr> |
2349 | | |
2350 | | <tr> |
2351 | | <td>LANGUAGE_CODE</td> |
2352 | | <td class="code"><pre>'en-gb'</pre></td> |
2353 | | </tr> |
2354 | | |
2355 | | <tr> |
2356 | | <td>ROOT_URLCONF</td> |
2357 | | <td class="code"><pre>'omeroweb.urls'</pre></td> |
2358 | | </tr> |
2359 | | |
2360 | | <tr> |
2361 | | <td>MANAGERS</td> |
2362 | | <td class="code"><pre>[]</pre></td> |
2363 | | </tr> |
2364 | | |
2365 | | <tr> |
2366 | | <td>OPEN_ASTEX_MAX_VOXELS</td> |
2367 | | <td class="code"><pre>27000000</pre></td> |
2368 | | </tr> |
2369 | | |
2370 | | <tr> |
2371 | | <td>DEFAULT_CHARSET</td> |
2372 | | <td class="code"><pre>'utf-8'</pre></td> |
2373 | | </tr> |
2374 | | |
2375 | | <tr> |
2376 | | <td>PING_INTERVAL</td> |
2377 | | <td class="code"><pre>60000</pre></td> |
2378 | | </tr> |
2379 | | |
2380 | | <tr> |
2381 | | <td>STATIC_ROOT</td> |
2382 | | <td class="code"><pre>'/Users/rkferguson/Documents/openmicroscopy/components/tools/OmeroWeb/omeroweb/static'</pre></td> |
2383 | | </tr> |
2384 | | |
2385 | | <tr> |
2386 | | <td>TEST_DATABASE_CHARSET</td> |
2387 | | <td class="code"><pre>None</pre></td> |
2388 | | </tr> |
2389 | | |
2390 | | <tr> |
2391 | | <td>APPLICATION_SERVER_HOST</td> |
2392 | | <td class="code"><pre>'0.0.0.0'</pre></td> |
2393 | | </tr> |
2394 | | |
2395 | | <tr> |
2396 | | <td>OMERO_HOME</td> |
2397 | | <td class="code"><pre>'/Users/rkferguson/Documents/openmicroscopy/dist/'</pre></td> |
2398 | | </tr> |
2399 | | |
2400 | | <tr> |
2401 | | <td>MESSAGE_STORAGE</td> |
2402 | | <td class="code"><pre>'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'</pre></td> |
2403 | | </tr> |
2404 | | |
2405 | | <tr> |
2406 | | <td>DATABASE_HOST</td> |
2407 | | <td class="code"><pre>''</pre></td> |
2408 | | </tr> |
2409 | | |
2410 | | <tr> |
2411 | | <td>IGNORABLE_404_STARTS</td> |
2412 | | <td class="code"><pre>('/cgi-bin/', '/_vti_bin', '/_vti_inf')</pre></td> |
2413 | | </tr> |
2414 | | |
2415 | | <tr> |
2416 | | <td>SEND_BROKEN_LINK_EMAILS</td> |
2417 | | <td class="code"><pre>True</pre></td> |
2418 | | </tr> |
2419 | | |
2420 | | <tr> |
2421 | | <td>URL_VALIDATOR_USER_AGENT</td> |
2422 | | <td class="code"><pre>'Django/1.3.1 (http://www.djangoproject.com)'</pre></td> |
2423 | | </tr> |
2424 | | |
2425 | | <tr> |
2426 | | <td>OPEN_ASTEX_MAX_SIDE</td> |
2427 | | <td class="code"><pre>400</pre></td> |
2428 | | </tr> |
2429 | | |
2430 | | <tr> |
2431 | | <td>SESSION_COOKIE_DOMAIN</td> |
2432 | | <td class="code"><pre>None</pre></td> |
2433 | | </tr> |
2434 | | |
2435 | | <tr> |
2436 | | <td>SESSION_COOKIE_NAME</td> |
2437 | | <td class="code"><pre>'sessionid'</pre></td> |
2438 | | </tr> |
2439 | | |
2440 | | <tr> |
2441 | | <td>PUBLIC_URL_FILTER</td> |
2442 | | <td class="code"><pre><_sre.SRE_Pattern object at 0x102694e70></pre></td> |
2443 | | </tr> |
2444 | | |
2445 | | <tr> |
2446 | | <td>ADMIN_FOR</td> |
2447 | | <td class="code"><pre>()</pre></td> |
2448 | | </tr> |
2449 | | |
2450 | | <tr> |
2451 | | <td>TIME_INPUT_FORMATS</td> |
2452 | | <td class="code"><pre>('%H:%M:%S', '%H:%M')</pre></td> |
2453 | | </tr> |
2454 | | |
2455 | | <tr> |
2456 | | <td>DATABASES</td> |
2457 | | <td class="code"><pre>{'default': {'ENGINE': 'django.db.backends.dummy', |
2458 | | 'HOST': '', |
2459 | | 'NAME': '', |
2460 | | 'OPTIONS': {}, |
2461 | | 'PASSWORD': '********************', |
2462 | | 'PORT': '', |
2463 | | 'TEST_CHARSET': None, |
2464 | | 'TEST_COLLATION': None, |
2465 | | 'TEST_MIRROR': None, |
2466 | | 'TEST_NAME': None, |
2467 | | 'TIME_ZONE': 'Europe/London', |
2468 | | 'USER': ''}}</pre></td> |
2469 | | </tr> |
2470 | | |
2471 | | <tr> |
2472 | | <td>TEST_DATABASE_NAME</td> |
2473 | | <td class="code"><pre>None</pre></td> |
2474 | | </tr> |
2475 | | |
2476 | | <tr> |
2477 | | <td>FILE_UPLOAD_PERMISSIONS</td> |
2478 | | <td class="code"><pre>None</pre></td> |
2479 | | </tr> |
2480 | | |
2481 | | <tr> |
2482 | | <td>FILE_UPLOAD_HANDLERS</td> |
2483 | | <td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler', |
2484 | | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td> |
2485 | | </tr> |
2486 | | |
2487 | | <tr> |
2488 | | <td>PUBLIC_ENABLED</td> |
2489 | | <td class="code"><pre>False</pre></td> |
2490 | | </tr> |
2491 | | |
2492 | | <tr> |
2493 | | <td>DEFAULT_CONTENT_TYPE</td> |
2494 | | <td class="code"><pre>'text/html'</pre></td> |
2495 | | </tr> |
2496 | | |
2497 | | <tr> |
2498 | | <td>TEST_RUNNER</td> |
2499 | | <td class="code"><pre>'django.test.simple.DjangoTestSuiteRunner'</pre></td> |
2500 | | </tr> |
2501 | | |
2502 | | <tr> |
2503 | | <td>APPEND_SLASH</td> |
2504 | | <td class="code"><pre>True</pre></td> |
2505 | | </tr> |
2506 | | |
2507 | | <tr> |
2508 | | <td>FIRST_DAY_OF_WEEK</td> |
2509 | | <td class="code"><pre>0</pre></td> |
2510 | | </tr> |
2511 | | |
2512 | | <tr> |
2513 | | <td>DATABASE_ROUTERS</td> |
2514 | | <td class="code"><pre>[]</pre></td> |
2515 | | </tr> |
2516 | | |
2517 | | <tr> |
2518 | | <td>TEST_DATABASE_COLLATION</td> |
2519 | | <td class="code"><pre>None</pre></td> |
2520 | | </tr> |
2521 | | |
2522 | | <tr> |
2523 | | <td>DEFAULT_IMG</td> |
2524 | | <td class="code"><pre>'/Users/rkferguson/Documents/openmicroscopy/components/tools/OmeroWeb/omeroweb/webgateway/static/webgateway/img/image128.png'</pre></td> |
2525 | | </tr> |
2526 | | |
2527 | | <tr> |
2528 | | <td>STATICFILES_STORAGE</td> |
2529 | | <td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td> |
2530 | | </tr> |
2531 | | |
2532 | | <tr> |
2533 | | <td>CACHES</td> |
2534 | | <td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', |
2535 | | 'LOCATION': ''}}</pre></td> |
2536 | | </tr> |
2537 | | |
2538 | | <tr> |
2539 | | <td>SERVER_EMAIL</td> |
2540 | | <td class="code"><pre>None</pre></td> |
2541 | | </tr> |
2542 | | |
2543 | | <tr> |
2544 | | <td>FASTCGI_TYPES</td> |
2545 | | <td class="code"><pre>('fastcgi', 'fastcgi-tcp')</pre></td> |
2546 | | </tr> |
2547 | | |
2548 | | <tr> |
2549 | | <td>CACHE_BACKEND</td> |
2550 | | <td class="code"><pre>'locmem://'</pre></td> |
2551 | | </tr> |
2552 | | |
2553 | | <tr> |
2554 | | <td>IGNORABLE_404_ENDS</td> |
2555 | | <td class="code"><pre>('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')</pre></td> |
2556 | | </tr> |
2557 | | |
2558 | | <tr> |
2559 | | <td>CUSTOM_SETTINGS</td> |
2560 | | <td class="code"><pre>{'omero.config.version': '4.2.1', |
2561 | | 'omero.web.debug': 'True', |
2562 | | 'omero.web.server_list': '[["gretzky.openmicroscopy.org.uk", 4064, "gretzky"]]'}</pre></td> |
2563 | | </tr> |
2564 | | |
2565 | | <tr> |
2566 | | <td>MIDDLEWARE_CLASSES</td> |
2567 | | <td class="code"><pre>('django.middleware.common.CommonMiddleware', |
2568 | | 'django.contrib.sessions.middleware.SessionMiddleware', |
2569 | | 'django.contrib.messages.middleware.MessageMiddleware')</pre></td> |
2570 | | </tr> |
2571 | | |
2572 | | <tr> |
2573 | | <td>USE_I18N</td> |
2574 | | <td class="code"><pre>True</pre></td> |
2575 | | </tr> |
2576 | | |
2577 | | <tr> |
2578 | | <td>THOUSAND_SEPARATOR</td> |
2579 | | <td class="code"><pre>','</pre></td> |
2580 | | </tr> |
2581 | | |
2582 | | <tr> |
2583 | | <td>SECRET_KEY</td> |
2584 | | <td class="code"><pre>'********************'</pre></td> |
2585 | | </tr> |
2586 | | |
2587 | | <tr> |
2588 | | <td>LANGUAGE_COOKIE_NAME</td> |
2589 | | <td class="code"><pre>'django_language'</pre></td> |
2590 | | </tr> |
2591 | | |
2592 | | <tr> |
2593 | | <td>FILE_UPLOAD_TEMP_DIR</td> |
2594 | | <td class="code"><pre>'/var/folders/FN/FNlxIw58GfunXmFak+bdxU+++TI/-Tmp-'</pre></td> |
2595 | | </tr> |
2596 | | |
2597 | | <tr> |
2598 | | <td>EMAIL_TEMPLATES</td> |
2599 | | <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>', |
2600 | | 'text_content': 'New comment is available on share %s?server=%i.'}, |
2601 | | '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>', |
2602 | | 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, |
2603 | | '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>', |
2604 | | 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, |
2605 | | '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>', |
2606 | | 'text_content': 'You were removed from the share %s?server=%i. This share is no longer available for you.'}}</pre></td> |
2607 | | </tr> |
2608 | | |
2609 | | <tr> |
2610 | | <td>TRANSACTIONS_MANAGED</td> |
2611 | | <td class="code"><pre>False</pre></td> |
2612 | | </tr> |
2613 | | |
2614 | | <tr> |
2615 | | <td>LOGGING_CONFIG</td> |
2616 | | <td class="code"><pre>'django.utils.log.dictConfig'</pre></td> |
2617 | | </tr> |
2618 | | |
2619 | | <tr> |
2620 | | <td>TEMPLATE_LOADERS</td> |
2621 | | <td class="code"><pre>('django.template.loaders.filesystem.Loader', |
2622 | | 'django.template.loaders.app_directories.Loader')</pre></td> |
2623 | | </tr> |
2624 | | |
2625 | | <tr> |
2626 | | <td>TEMPLATE_DEBUG</td> |
2627 | | <td class="code"><pre>True</pre></td> |
2628 | | </tr> |
2629 | | |
2630 | | <tr> |
2631 | | <td>CSRF_COOKIE_NAME</td> |
2632 | | <td class="code"><pre>'csrftoken'</pre></td> |
2633 | | </tr> |
2634 | | |
2635 | | <tr> |
2636 | | <td>LOGDIR</td> |
2637 | | <td class="code"><pre>'/Users/rkferguson/Documents/openmicroscopy/dist/var/log'</pre></td> |
2638 | | </tr> |
2639 | | |
2640 | | <tr> |
2641 | | <td>FORCE_SCRIPT_NAME</td> |
2642 | | <td class="code"><pre>None</pre></td> |
2643 | | </tr> |
2644 | | |
2645 | | <tr> |
2646 | | <td>CONFIG_XML</td> |
2647 | | <td class="code"><pre><omero.config.ConfigXml object at 0x102ad2250></pre></td> |
2648 | | </tr> |
2649 | | |
2650 | | <tr> |
2651 | | <td>USE_ETAGS</td> |
2652 | | <td class="code"><pre>False</pre></td> |
2653 | | </tr> |
2654 | | |
2655 | | <tr> |
2656 | | <td>TOP_LINKS</td> |
2657 | | <td class="code"><pre>[]</pre></td> |
2658 | | </tr> |
2659 | | |
2660 | | <tr> |
2661 | | <td>USE_X_FORWARDED_HOST</td> |
2662 | | <td class="code"><pre>False</pre></td> |
2663 | | </tr> |
2664 | | |
2665 | | <tr> |
2666 | | <td>SESSION_COOKIE_SECURE</td> |
2667 | | <td class="code"><pre>False</pre></td> |
2668 | | </tr> |
2669 | | |
2670 | | <tr> |
2671 | | <td>CSRF_COOKIE_DOMAIN</td> |
2672 | | <td class="code"><pre>None</pre></td> |
2673 | | </tr> |
2674 | | |
2675 | | <tr> |
2676 | | <td>FILE_CHARSET</td> |
2677 | | <td class="code"><pre>'utf-8'</pre></td> |
2678 | | </tr> |
2679 | | |
2680 | | <tr> |
2681 | | <td>DEBUG</td> |
2682 | | <td class="code"><pre>True</pre></td> |
2683 | | </tr> |
2684 | | |
2685 | | <tr> |
2686 | | <td>SESSION_FILE_PATH</td> |
2687 | | <td class="code"><pre>'/var/folders/FN/FNlxIw58GfunXmFak+bdxU+++TI/-Tmp-'</pre></td> |
2688 | | </tr> |
2689 | | |
2690 | | <tr> |
2691 | | <td>FASTCGI</td> |
2692 | | <td class="code"><pre>'fastcgi'</pre></td> |
2693 | | </tr> |
2694 | | |
2695 | | <tr> |
2696 | | <td>INSTALLED_APPS</td> |
2697 | | <td class="code"><pre>['django.contrib.staticfiles', |
2698 | | 'django.contrib.markup', |
2699 | | 'django.contrib.auth', |
2700 | | 'django.contrib.contenttypes', |
2701 | | 'django.contrib.sessions', |
2702 | | 'django.contrib.sites', |
2703 | | 'omeroweb.feedback', |
2704 | | 'omeroweb.webadmin', |
2705 | | 'omeroweb.webclient', |
2706 | | 'omeroweb.webgateway', |
2707 | | 'omeroweb.webtest', |
2708 | | 'omeroweb.webredirect']</pre></td> |
2709 | | </tr> |
2710 | | |
2711 | | <tr> |
2712 | | <td>LANGUAGES</td> |
2713 | | <td class="code"><pre>(('ar', 'Arabic'), |
2714 | | ('az', 'Azerbaijani'), |
2715 | | ('bg', 'Bulgarian'), |
2716 | | ('bn', 'Bengali'), |
2717 | | ('bs', 'Bosnian'), |
2718 | | ('ca', 'Catalan'), |
2719 | | ('cs', 'Czech'), |
2720 | | ('cy', 'Welsh'), |
2721 | | ('da', 'Danish'), |
2722 | | ('de', 'German'), |
2723 | | ('el', 'Greek'), |
2724 | | ('en', 'English'), |
2725 | | ('en-gb', 'British English'), |
2726 | | ('es', 'Spanish'), |
2727 | | ('es-ar', 'Argentinian Spanish'), |
2728 | | ('es-mx', 'Mexican Spanish'), |
2729 | | ('es-ni', 'Nicaraguan Spanish'), |
2730 | | ('et', 'Estonian'), |
2731 | | ('eu', 'Basque'), |
2732 | | ('fa', 'Persian'), |
2733 | | ('fi', 'Finnish'), |
2734 | | ('fr', 'French'), |
2735 | | ('fy-nl', 'Frisian'), |
2736 | | ('ga', 'Irish'), |
2737 | | ('gl', 'Galician'), |
2738 | | ('he', 'Hebrew'), |
2739 | | ('hi', 'Hindi'), |
2740 | | ('hr', 'Croatian'), |
2741 | | ('hu', 'Hungarian'), |
2742 | | ('id', 'Indonesian'), |
2743 | | ('is', 'Icelandic'), |
2744 | | ('it', 'Italian'), |
2745 | | ('ja', 'Japanese'), |
2746 | | ('ka', 'Georgian'), |
2747 | | ('km', 'Khmer'), |
2748 | | ('kn', 'Kannada'), |
2749 | | ('ko', 'Korean'), |
2750 | | ('lt', 'Lithuanian'), |
2751 | | ('lv', 'Latvian'), |
2752 | | ('mk', 'Macedonian'), |
2753 | | ('ml', 'Malayalam'), |
2754 | | ('mn', 'Mongolian'), |
2755 | | ('nl', 'Dutch'), |
2756 | | ('no', 'Norwegian'), |
2757 | | ('nb', 'Norwegian Bokmal'), |
2758 | | ('nn', 'Norwegian Nynorsk'), |
2759 | | ('pa', 'Punjabi'), |
2760 | | ('pl', 'Polish'), |
2761 | | ('pt', 'Portuguese'), |
2762 | | ('pt-br', 'Brazilian Portuguese'), |
2763 | | ('ro', 'Romanian'), |
2764 | | ('ru', 'Russian'), |
2765 | | ('sk', 'Slovak'), |
2766 | | ('sl', 'Slovenian'), |
2767 | | ('sq', 'Albanian'), |
2768 | | ('sr', 'Serbian'), |
2769 | | ('sr-latn', 'Serbian Latin'), |
2770 | | ('sv', 'Swedish'), |
2771 | | ('ta', 'Tamil'), |
2772 | | ('te', 'Telugu'), |
2773 | | ('th', 'Thai'), |
2774 | | ('tr', 'Turkish'), |
2775 | | ('uk', 'Ukrainian'), |
2776 | | ('ur', 'Urdu'), |
2777 | | ('vi', 'Vietnamese'), |
2778 | | ('zh-cn', 'Simplified Chinese'), |
2779 | | ('zh-tw', 'Traditional Chinese'))</pre></td> |
2780 | | </tr> |
2781 | | |
2782 | | <tr> |
2783 | | <td>DATABASE_ENGINE</td> |
2784 | | <td class="code"><pre>''</pre></td> |
2785 | | </tr> |
2786 | | |
2787 | | <tr> |
2788 | | <td>SERVER_LIST</td> |
2789 | | <td class="code"><pre>[[u'gretzky.openmicroscopy.org.uk', 4064, u'gretzky']]</pre></td> |
2790 | | </tr> |
2791 | | |
2792 | | <tr> |
2793 | | <td>DATABASE_NAME</td> |
2794 | | <td class="code"><pre>''</pre></td> |
2795 | | </tr> |
2796 | | |
2797 | | <tr> |
2798 | | <td>COMMENTS_FIRST_FEW</td> |
2799 | | <td class="code"><pre>0</pre></td> |
2800 | | </tr> |
2801 | | |
2802 | | <tr> |
2803 | | <td>PREPEND_WWW</td> |
2804 | | <td class="code"><pre>False</pre></td> |
2805 | | </tr> |
2806 | | |
2807 | | <tr> |
2808 | | <td>ADDITIONAL_APPS</td> |
2809 | | <td class="code"><pre>[]</pre></td> |
2810 | | </tr> |
2811 | | |
2812 | | <tr> |
2813 | | <td>SESSION_COOKIE_HTTPONLY</td> |
2814 | | <td class="code"><pre>False</pre></td> |
2815 | | </tr> |
2816 | | |
2817 | | <tr> |
2818 | | <td>DATABASE_PORT</td> |
2819 | | <td class="code"><pre>''</pre></td> |
2820 | | </tr> |
2821 | | |
2822 | | <tr> |
2823 | | <td>DEBUG_PROPAGATE_EXCEPTIONS</td> |
2824 | | <td class="code"><pre>False</pre></td> |
2825 | | </tr> |
2826 | | |
2827 | | <tr> |
2828 | | <td>MEDIA_URL</td> |
2829 | | <td class="code"><pre>''</pre></td> |
2830 | | </tr> |
2831 | | |
2832 | | <tr> |
2833 | | <td>MONTH_DAY_FORMAT</td> |
2834 | | <td class="code"><pre>'F j'</pre></td> |
2835 | | </tr> |
2836 | | |
2837 | | <tr> |
2838 | | <td>LOGIN_URL</td> |
2839 | | <td class="code"><pre>'/accounts/login/'</pre></td> |
2840 | | </tr> |
2841 | | |
2842 | | <tr> |
2843 | | <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> |
2844 | | <td class="code"><pre>True</pre></td> |
2845 | | </tr> |
2846 | | |
2847 | | <tr> |
2848 | | <td>DEFAULT_SESSION_ENGINE</td> |
2849 | | <td class="code"><pre>'django.contrib.sessions.backends.file'</pre></td> |
2850 | | </tr> |
2851 | | |
2852 | | <tr> |
2853 | | <td>TIME_FORMAT</td> |
2854 | | <td class="code"><pre>'P'</pre></td> |
2855 | | </tr> |
2856 | | |
2857 | | <tr> |
2858 | | <td>DATE_INPUT_FORMATS</td> |
2859 | | <td class="code"><pre>('%Y-%m-%d', |
2860 | | '%m/%d/%Y', |
2861 | | '%m/%d/%y', |
2862 | | '%b %d %Y', |
2863 | | '%b %d, %Y', |
2864 | | '%d %b %Y', |
2865 | | '%d %b, %Y', |
2866 | | '%B %d %Y', |
2867 | | '%B %d, %Y', |
2868 | | '%d %B %Y', |
2869 | | '%d %B, %Y')</pre></td> |
2870 | | </tr> |
2871 | | |
2872 | | <tr> |
2873 | | <td>AUTHENTICATION_BACKENDS</td> |
2874 | | <td class="code"><pre>('django.contrib.auth.backends.ModelBackend',)</pre></td> |
2875 | | </tr> |
2876 | | |
2877 | | <tr> |
2878 | | <td>EMAIL_HOST_PASSWORD</td> |
2879 | | <td class="code"><pre>'********************'</pre></td> |
2880 | | </tr> |
2881 | | |
2882 | | <tr> |
2883 | | <td>PASSWORD_RESET_TIMEOUT_DAYS</td> |
2884 | | <td class="code"><pre>'********************'</pre></td> |
2885 | | </tr> |
2886 | | |
2887 | | <tr> |
2888 | | <td>CACHE_MIDDLEWARE_ALIAS</td> |
2889 | | <td class="code"><pre>'default'</pre></td> |
2890 | | </tr> |
2891 | | |
2892 | | <tr> |
2893 | | <td>SESSION_SAVE_EVERY_REQUEST</td> |
2894 | | <td class="code"><pre>False</pre></td> |
2895 | | </tr> |
2896 | | |
2897 | | <tr> |
2898 | | <td>ADMIN_MEDIA_PREFIX</td> |
2899 | | <td class="code"><pre>'/static/admin/'</pre></td> |
2900 | | </tr> |
2901 | | |
2902 | | <tr> |
2903 | | <td>NUMBER_GROUPING</td> |
2904 | | <td class="code"><pre>0</pre></td> |
2905 | | </tr> |
2906 | | |
2907 | | <tr> |
2908 | | <td>APPLICATION_SERVER</td> |
2909 | | <td class="code"><pre>'fastcgi-tcp'</pre></td> |
2910 | | </tr> |
2911 | | |
2912 | | <tr> |
2913 | | <td>SESSION_ENGINE</td> |
2914 | | <td class="code"><pre>'django.contrib.sessions.backends.file'</pre></td> |
2915 | | </tr> |
2916 | | |
2917 | | <tr> |
2918 | | <td>DEFAULT_FILE_STORAGE</td> |
2919 | | <td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td> |
2920 | | </tr> |
2921 | | |
2922 | | <tr> |
2923 | | <td>CSRF_FAILURE_VIEW</td> |
2924 | | <td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td> |
2925 | | </tr> |
2926 | | |
2927 | | <tr> |
2928 | | <td>COMMENTS_SKETCHY_USERS_GROUP</td> |
2929 | | <td class="code"><pre>None</pre></td> |
2930 | | </tr> |
2931 | | |
2932 | | <tr> |
2933 | | <td>LOGIN_REDIRECT_URL</td> |
2934 | | <td class="code"><pre>'/accounts/profile/'</pre></td> |
2935 | | </tr> |
2936 | | |
2937 | | <tr> |
2938 | | <td>SESSION_COOKIE_PATH</td> |
2939 | | <td class="code"><pre>'/'</pre></td> |
2940 | | </tr> |
2941 | | |
2942 | | <tr> |
2943 | | <td>FASTCGITCP</td> |
2944 | | <td class="code"><pre>'fastcgi-tcp'</pre></td> |
2945 | | </tr> |
2946 | | |
2947 | | <tr> |
2948 | | <td>DECIMAL_SEPARATOR</td> |
2949 | | <td class="code"><pre>'.'</pre></td> |
2950 | | </tr> |
2951 | | |
2952 | | <tr> |
2953 | | <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> |
2954 | | <td class="code"><pre>''</pre></td> |
2955 | | </tr> |
2956 | | |
2957 | | <tr> |
2958 | | <td>LOCALE_PATHS</td> |
2959 | | <td class="code"><pre>()</pre></td> |
2960 | | </tr> |
2961 | | |
2962 | | <tr> |
2963 | | <td>TEMPLATE_STRING_IF_INVALID</td> |
2964 | | <td class="code"><pre>''</pre></td> |
2965 | | </tr> |
2966 | | |
2967 | | <tr> |
2968 | | <td>COMMENTS_ALLOW_PROFANITIES</td> |
2969 | | <td class="code"><pre>False</pre></td> |
2970 | | </tr> |
2971 | | |
2972 | | <tr> |
2973 | | <td>LOGOUT_URL</td> |
2974 | | <td class="code"><pre>'/accounts/logout/'</pre></td> |
2975 | | </tr> |
2976 | | |
2977 | | <tr> |
2978 | | <td>EMAIL_USE_TLS</td> |
2979 | | <td class="code"><pre>False</pre></td> |
2980 | | </tr> |
2981 | | |
2982 | | <tr> |
2983 | | <td>TEMPLATE_DIRS</td> |
2984 | | <td class="code"><pre>()</pre></td> |
2985 | | </tr> |
2986 | | |
2987 | | <tr> |
2988 | | <td>FIXTURE_DIRS</td> |
2989 | | <td class="code"><pre>()</pre></td> |
2990 | | </tr> |
2991 | | |
2992 | | <tr> |
2993 | | <td>EMAIL_HOST</td> |
2994 | | <td class="code"><pre>None</pre></td> |
2995 | | </tr> |
2996 | | |
2997 | | <tr> |
2998 | | <td>DATE_FORMAT</td> |
2999 | | <td class="code"><pre>'N j, Y'</pre></td> |
3000 | | </tr> |
3001 | | |
3002 | | <tr> |
3003 | | <td>MEDIA_ROOT</td> |
3004 | | <td class="code"><pre>''</pre></td> |
3005 | | </tr> |
3006 | | |
3007 | | <tr> |
3008 | | <td>FEEDBACK_URL</td> |
3009 | | <td class="code"><pre>'qa.openmicroscopy.org.uk:80'</pre></td> |
3010 | | </tr> |
3011 | | |
3012 | | <tr> |
3013 | | <td>ADMINS</td> |
3014 | | <td class="code"><pre>[]</pre></td> |
3015 | | </tr> |
3016 | | |
3017 | | <tr> |
3018 | | <td>FORMAT_MODULE_PATH</td> |
3019 | | <td class="code"><pre>None</pre></td> |
3020 | | </tr> |
3021 | | |
3022 | | <tr> |
3023 | | <td>DEFAULT_FROM_EMAIL</td> |
3024 | | <td class="code"><pre>'webmaster@localhost'</pre></td> |
3025 | | </tr> |
3026 | | |
3027 | | <tr> |
3028 | | <td>CUSTOM_SETTINGS_MAPPINGS</td> |
3029 | | <td class="code"><pre>{'omero.web.admins': ['ADMINS', '[]', <function loads at 0x10295f5f0>, True], |
3030 | | 'omero.web.application_server': ['APPLICATION_SERVER', |
3031 | | 'fastcgi-tcp', |
3032 | | <function check_server_type at 0x102ad07d0>, |
3033 | | True], |
3034 | | 'omero.web.application_server.host': ['APPLICATION_SERVER_HOST', |
3035 | | '0.0.0.0', |
3036 | | <type 'str'>, |
3037 | | True], |
3038 | | 'omero.web.application_server.port': ['APPLICATION_SERVER_PORT', |
3039 | | '4080', |
3040 | | <type 'str'>, |
3041 | | True], |
3042 | | 'omero.web.apps': ['ADDITIONAL_APPS', |
3043 | | '[]', |
3044 | | <function loads at 0x10295f5f0>, |
3045 | | True], |
3046 | | 'omero.web.caches': ['CACHES', '{}', <function loads at 0x10295f5f0>, True], |
3047 | | 'omero.web.databases': ['DATABASES', |
3048 | | '{}', |
3049 | | <function loads at 0x10295f5f0>, |
3050 | | True], |
3051 | | 'omero.web.debug': ['DEBUG', |
3052 | | 'false', |
3053 | | <function parse_boolean at 0x102ad06e0>, |
3054 | | False], |
3055 | | 'omero.web.email_host': ['EMAIL_HOST', |
3056 | | None, |
3057 | | <function identity at 0x102ad08c0>, |
3058 | | True], |
3059 | | 'omero.web.email_host_password': ['EMAIL_HOST_PASSWORD', |
3060 | | None, |
3061 | | <function identity at 0x102ad08c0>, |
3062 | | True], |
3063 | | 'omero.web.email_host_user': ['EMAIL_HOST_USER', |
3064 | | None, |
3065 | | <function identity at 0x102ad08c0>, |
3066 | | True], |
3067 | | 'omero.web.email_port': ['EMAIL_PORT', |
3068 | | None, |
3069 | | <function identity at 0x102ad08c0>, |
3070 | | True], |
3071 | | 'omero.web.email_subject_prefix': ['EMAIL_SUBJECT_PREFIX', |
3072 | | '[OMERO.web] ', |
3073 | | <type 'str'>, |
3074 | | True], |
3075 | | 'omero.web.email_use_tls': ['EMAIL_USE_TLS', |
3076 | | 'false', |
3077 | | <function parse_boolean at 0x102ad06e0>, |
3078 | | True], |
3079 | | 'omero.web.logdir': ['LOGDIR', |
3080 | | '/Users/rkferguson/Documents/openmicroscopy/dist/var/log', |
3081 | | <type 'str'>, |
3082 | | True], |
3083 | | 'omero.web.open_astex_max_side': ['OPEN_ASTEX_MAX_SIDE', |
3084 | | 400, |
3085 | | <type 'int'>, |
3086 | | True], |
3087 | | 'omero.web.open_astex_max_voxels': ['OPEN_ASTEX_MAX_VOXELS', |
3088 | | 27000000, |
3089 | | <type 'int'>, |
3090 | | True], |
3091 | | 'omero.web.open_astex_min_side': ['OPEN_ASTEX_MIN_SIDE', |
3092 | | 20, |
3093 | | <type 'int'>, |
3094 | | True], |
3095 | | 'omero.web.ping_interval': ['PING_INTERVAL', 60000, <type 'int'>, True], |
3096 | | 'omero.web.public.enabled': ['PUBLIC_ENABLED', |
3097 | | 'false', |
3098 | | <function parse_boolean at 0x102ad06e0>, |
3099 | | True], |
3100 | | 'omero.web.public.password': ['PUBLIC_PASSWORD', |
3101 | | None, |
3102 | | <function leave_none_unset at 0x102ad09b0>, |
3103 | | True], |
3104 | | 'omero.web.public.server_id': ['PUBLIC_SERVER_ID', 1, <type 'int'>, True], |
3105 | | 'omero.web.public.url_filter': ['PUBLIC_URL_FILTER', |
3106 | | '^/(?!webadmin)', |
3107 | | <function compile at 0x100509320>, |
3108 | | True], |
3109 | | 'omero.web.public.user': ['PUBLIC_USER', |
3110 | | None, |
3111 | | <function leave_none_unset at 0x102ad09b0>, |
3112 | | True], |
3113 | | 'omero.web.scripts_to_ignore': ['SCRIPTS_TO_IGNORE', |
3114 | | '["/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"]', |
3115 | | <function parse_paths at 0x102ad0758>, |
3116 | | True], |
3117 | | 'omero.web.send_broken_link_emails': ['SEND_BROKEN_LINK_EMAILS', |
3118 | | 'true', |
3119 | | <function parse_boolean at 0x102ad06e0>, |
3120 | | True], |
3121 | | 'omero.web.server_email': ['SERVER_EMAIL', |
3122 | | None, |
3123 | | <function identity at 0x102ad08c0>, |
3124 | | True], |
3125 | | 'omero.web.server_list': ['SERVER_LIST', |
3126 | | '[["localhost", 4064, "omero"]]', |
3127 | | <function loads at 0x10295f5f0>, |
3128 | | False], |
3129 | | 'omero.web.session_engine': ['SESSION_ENGINE', |
3130 | | 'django.contrib.sessions.backends.file', |
3131 | | <function check_session_engine at 0x102ad0848>, |
3132 | | True], |
3133 | | 'omero.web.static_url': ['STATIC_URL', '/static/', <type 'str'>, True], |
3134 | | 'omero.web.staticfile_dirs': ['STATICFILES_DIRS', |
3135 | | '[]', |
3136 | | <function loads at 0x10295f5f0>, |
3137 | | True], |
3138 | | 'omero.web.ui.center_plugins': ['CENTER_PLUGINS', |
3139 | | '[["Table", "webclient/data/includes/center_plugin.table.js.html", "image_table"],["Split-view", "webclient/data/includes/center_plugin.splitview.js.html", "split_view_panel"]]', |
3140 | | <function loads at 0x10295f5f0>, |
3141 | | True], |
3142 | | 'omero.web.ui.right_plugins': ['RIGHT_PLUGINS', |
3143 | | '[["Acquisition", "webclient/data/includes/right_plugin.acquisition.js.html", "metadata_tab"],["Preview", "webclient/data/includes/right_plugin.preview.js.html", "preview_tab"]]', |
3144 | | <function loads at 0x10295f5f0>, |
3145 | | True], |
3146 | | 'omero.web.ui.top_links': ['TOP_LINKS', |
3147 | | '[]', |
3148 | | <function loads at 0x10295f5f0>, |
3149 | | True], |
3150 | | 'omero.web.webgateway_cache': ['WEBGATEWAY_CACHE', |
3151 | | None, |
3152 | | <function leave_none_unset at 0x102ad09b0>, |
3153 | | True]}</pre></td> |
3154 | | </tr> |
3155 | | |
3156 | | <tr> |
3157 | | <td>SCRIPTS_TO_IGNORE</td> |
3158 | | <td class="code"><pre>[u'/omero/figure_scripts/Movie_Figure.py', |
3159 | | u'/omero/figure_scripts/Split_View_Figure.py', |
3160 | | u'/omero/figure_scripts/Thumbnail_Figure.py', |
3161 | | u'/omero/figure_scripts/ROI_Split_Figure.py', |
3162 | | u'/omero/export_scripts/Make_Movie.py']</pre></td> |
3163 | | </tr> |
3164 | | |
3165 | | <tr> |
3166 | | <td>PAGE</td> |
3167 | | <td class="code"><pre>200</pre></td> |
3168 | | </tr> |
3169 | | |
3170 | | <tr> |
3171 | | <td>DEFAULT_USER</td> |
3172 | | <td class="code"><pre>'/Users/rkferguson/Documents/openmicroscopy/components/tools/OmeroWeb/omeroweb/webgateway/static/webgateway/img/personal32.png'</pre></td> |
3173 | | </tr> |
3174 | | |
3175 | | <tr> |
3176 | | <td>DATETIME_FORMAT</td> |
3177 | | <td class="code"><pre>'N j, Y, P'</pre></td> |
3178 | | </tr> |
3179 | | |
3180 | | <tr> |
3181 | | <td>EMAIL_SUBJECT_PREFIX</td> |
3182 | | <td class="code"><pre>'[OMERO.web] '</pre></td> |
3183 | | </tr> |
3184 | | |
3185 | | <tr> |
3186 | | <td>SITE_ID</td> |
3187 | | <td class="code"><pre>1</pre></td> |
3188 | | </tr> |
3189 | | |
3190 | | <tr> |
3191 | | <td>DISALLOWED_USER_AGENTS</td> |
3192 | | <td class="code"><pre>()</pre></td> |
3193 | | </tr> |
3194 | | |
3195 | | <tr> |
3196 | | <td>ALLOWED_INCLUDE_ROOTS</td> |
3197 | | <td class="code"><pre>()</pre></td> |
3198 | | </tr> |
3199 | | |
3200 | | <tr> |
3201 | | <td>LOGGING</td> |
3202 | | <td class="code"><pre>{'disable_existing_loggers': True, |
3203 | | 'formatters': {'standard': {'format': '%(asctime)s %(levelname)5.5s [%(name)40.40s] (proc.%(process)5.5d) %(funcName)s:%(lineno)d %(message)s'}}, |
3204 | | 'handlers': {'console': {'class': 'logging.StreamHandler', |
3205 | | 'formatter': 'standard', |
3206 | | 'level': 'DEBUG'}, |
3207 | | 'default': {'backupCount': 5, |
3208 | | 'class': 'logging.handlers.RotatingFileHandler', |
3209 | | 'filename': '/Users/rkferguson/Documents/openmicroscopy/dist/var/log/OMEROweb.log', |
3210 | | 'formatter': 'standard', |
3211 | | 'level': 'DEBUG', |
3212 | | 'maxBytes': 5242880}, |
3213 | | 'null': {'class': 'django.utils.log.NullHandler', |
3214 | | 'level': 'DEBUG'}, |
3215 | | 'request_handler': {'backupCount': 5, |
3216 | | 'class': 'logging.handlers.RotatingFileHandler', |
3217 | | 'filename': '/Users/rkferguson/Documents/openmicroscopy/dist/var/log/OMEROweb_request.log', |
3218 | | 'formatter': 'standard', |
3219 | | 'level': 'DEBUG', |
3220 | | 'maxBytes': 5242880}}, |
3221 | | 'loggers': {'': {'handlers': ['default'], |
3222 | | 'level': 'DEBUG', |
3223 | | 'propagate': True}, |
3224 | | 'django': {'handlers': ['null'], |
3225 | | 'level': 'DEBUG', |
3226 | | 'propagate': True}, |
3227 | | 'django.request': {'handlers': ['request_handler'], |
3228 | | 'level': 'DEBUG', |
3229 | | 'propagate': False}}, |
3230 | | 'version': 1}</pre></td> |
3231 | | </tr> |
3232 | | |
3233 | | <tr> |
3234 | | <td>SHORT_DATE_FORMAT</td> |
3235 | | <td class="code"><pre>'m/d/Y'</pre></td> |
3236 | | </tr> |
3237 | | |
3238 | | <tr> |
3239 | | <td>APPLICATION_SERVER_PORT</td> |
3240 | | <td class="code"><pre>'4080'</pre></td> |
3241 | | </tr> |
3242 | | |
3243 | | <tr> |
3244 | | <td>DATABASE_USER</td> |
3245 | | <td class="code"><pre>''</pre></td> |
3246 | | </tr> |
3247 | | |
3248 | | <tr> |
3249 | | <td>SESSION_ENGINE_VALUES</td> |
3250 | | <td class="code"><pre>('django.contrib.sessions.backends.db', |
3251 | | 'django.contrib.sessions.backends.file', |
3252 | | 'django.contrib.sessions.backends.cache', |
3253 | | 'django.contrib.sessions.backends.cached_db')</pre></td> |
3254 | | </tr> |
3255 | | |
3256 | | <tr> |
3257 | | <td>OPEN_ASTEX_MIN_SIDE</td> |
3258 | | <td class="code"><pre>20</pre></td> |
3259 | | </tr> |
3260 | | |
3261 | | <tr> |
3262 | | <td>STATICFILES_FINDERS</td> |
3263 | | <td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder', |
3264 | | 'django.contrib.staticfiles.finders.AppDirectoriesFinder')</pre></td> |
3265 | | </tr> |
3266 | | |
3267 | | <tr> |
3268 | | <td>TIME_ZONE</td> |
3269 | | <td class="code"><pre>'Europe/London'</pre></td> |
3270 | | </tr> |
3271 | | |
3272 | | <tr> |
3273 | | <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> |
3274 | | <td class="code"><pre>2621440</pre></td> |
3275 | | </tr> |
3276 | | |
3277 | | <tr> |
3278 | | <td>EMAIL_BACKEND</td> |
3279 | | <td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td> |
3280 | | </tr> |
3281 | | |
3282 | | <tr> |
3283 | | <td>STATICFILES_DIRS</td> |
3284 | | <td class="code"><pre>[]</pre></td> |
3285 | | </tr> |
3286 | | |
3287 | | <tr> |
3288 | | <td>DEFAULT_TABLESPACE</td> |
3289 | | <td class="code"><pre>''</pre></td> |
3290 | | </tr> |
3291 | | |
3292 | | <tr> |
3293 | | <td>TEMPLATE_CONTEXT_PROCESSORS</td> |
3294 | | <td class="code"><pre>('django.core.context_processors.debug', |
3295 | | 'django.core.context_processors.i18n', |
3296 | | 'django.core.context_processors.media', |
3297 | | 'django.core.context_processors.static', |
3298 | | 'django.contrib.messages.context_processors.messages')</pre></td> |
3299 | | </tr> |
3300 | | |
3301 | | <tr> |
3302 | | <td>ALL_SERVER_TYPES</td> |
3303 | | <td class="code"><pre>('fastcgi-tcp', 'fastcgi', 'development')</pre></td> |
3304 | | </tr> |
3305 | | |
3306 | | <tr> |
3307 | | <td>SESSION_COOKIE_AGE</td> |
3308 | | <td class="code"><pre>86400</pre></td> |
3309 | | </tr> |
3310 | | |
3311 | | <tr> |
3312 | | <td>SETTINGS_MODULE</td> |
3313 | | <td class="code"><pre>'omeroweb.settings'</pre></td> |
3314 | | </tr> |
3315 | | |
3316 | | <tr> |
3317 | | <td>RIGHT_PLUGINS</td> |
3318 | | <td class="code"><pre>[[u'Acquisition', |
3319 | | u'webclient/data/includes/right_plugin.acquisition.js.html', |
3320 | | u'metadata_tab'], |
3321 | | [u'Preview', |
3322 | | u'webclient/data/includes/right_plugin.preview.js.html', |
3323 | | u'preview_tab']]</pre></td> |
3324 | | </tr> |
3325 | | |
3326 | | <tr> |
3327 | | <td>DEFAULT_SERVER_TYPE</td> |
3328 | | <td class="code"><pre>'fastcgi-tcp'</pre></td> |
3329 | | </tr> |
3330 | | |
3331 | | <tr> |
3332 | | <td>LANGUAGES_BIDI</td> |
3333 | | <td class="code"><pre>('he', 'ar', 'fa')</pre></td> |
3334 | | </tr> |
3335 | | |
3336 | | <tr> |
3337 | | <td>DEFAULT_INDEX_TABLESPACE</td> |
3338 | | <td class="code"><pre>''</pre></td> |
3339 | | </tr> |
3340 | | |
3341 | | <tr> |
3342 | | <td>INTERNAL_IPS</td> |
3343 | | <td class="code"><pre>()</pre></td> |
3344 | | </tr> |
3345 | | |
3346 | | <tr> |
3347 | | <td>STATIC_URL</td> |
3348 | | <td class="code"><pre>'/static/'</pre></td> |
3349 | | </tr> |
3350 | | |
3351 | | <tr> |
3352 | | <td>EMAIL_PORT</td> |
3353 | | <td class="code"><pre>None</pre></td> |
3354 | | </tr> |
3355 | | |
3356 | | <tr> |
3357 | | <td>SHORT_DATETIME_FORMAT</td> |
3358 | | <td class="code"><pre>'m/d/Y P'</pre></td> |
3359 | | </tr> |
3360 | | |
3361 | | <tr> |
3362 | | <td>DEVELOPMENT</td> |
3363 | | <td class="code"><pre>'development'</pre></td> |
3364 | | </tr> |
3365 | | |
3366 | | <tr> |
3367 | | <td>ABSOLUTE_URL_OVERRIDES</td> |
3368 | | <td class="code"><pre>{}</pre></td> |
3369 | | </tr> |
3370 | | |
3371 | | <tr> |
3372 | | <td>DATABASE_OPTIONS</td> |
3373 | | <td class="code"><pre>{}</pre></td> |
3374 | | </tr> |
3375 | | |
3376 | | <tr> |
3377 | | <td>PUBLIC_SERVER_ID</td> |
3378 | | <td class="code"><pre>1</pre></td> |
3379 | | </tr> |
3380 | | |
3381 | | <tr> |
3382 | | <td>CACHE_MIDDLEWARE_SECONDS</td> |
3383 | | <td class="code"><pre>600</pre></td> |
3384 | | </tr> |
3385 | | |
3386 | | <tr> |
3387 | | <td>BANNED_IPS</td> |
3388 | | <td class="code"><pre>()</pre></td> |
3389 | | </tr> |
3390 | | |
3391 | | <tr> |
3392 | | <td>DATETIME_INPUT_FORMATS</td> |
3393 | | <td class="code"><pre>('%Y-%m-%d %H:%M:%S', |
3394 | | '%Y-%m-%d %H:%M', |
3395 | | '%Y-%m-%d', |
3396 | | '%m/%d/%Y %H:%M:%S', |
3397 | | '%m/%d/%Y %H:%M', |
3398 | | '%m/%d/%Y', |
3399 | | '%m/%d/%y %H:%M:%S', |
3400 | | '%m/%d/%y %H:%M', |
3401 | | '%m/%d/%y')</pre></td> |
3402 | | </tr> |
3403 | | |
3404 | | <tr> |
3405 | | <td>DATABASE_PASSWORD</td> |
3406 | | <td class="code"><pre>'********************'</pre></td> |
3407 | | </tr> |
3408 | | |
3409 | | <tr> |
3410 | | <td>COMMENTS_MODERATORS_GROUP</td> |
3411 | | <td class="code"><pre>None</pre></td> |
3412 | | </tr> |
3413 | | |
3414 | | <tr> |
3415 | | <td>PROFANITIES_LIST</td> |
3416 | | <td class="code"><pre>'********************'</pre></td> |
3417 | | </tr> |
3418 | | |
3419 | | <tr> |
3420 | | <td>EMAIL_HOST_USER</td> |
3421 | | <td class="code"><pre>None</pre></td> |
3422 | | </tr> |
3423 | | |
3424 | | <tr> |
3425 | | <td>COMMENTS_BANNED_USERS_GROUP</td> |
3426 | | <td class="code"><pre>None</pre></td> |
3427 | | </tr> |
3428 | | |
3429 | | </tbody> |
3430 | | </table> |
3431 | | |
3432 | | </div> |
3433 | | |
3434 | | <div id="explanation"> |
3435 | | <p> |
3436 | | You're seeing this error because you have <code>DEBUG = True</code> in your |
3437 | | Django settings file. Change that to <code>False</code>, and Django will |
3438 | | display a standard 500 page. |
3439 | | </p> |
3440 | | </div> |
3441 | | |
3442 | | </body> |
3443 | | </html> |
3444 | | |
| 114 | response = middleware_method(request, e) |