[ome-users] Newbie question re Public Private content in OMEROInsight and shares in web Client
Chris Allan
callan at blackcat.ca
Wed Sep 23 18:40:39 BST 2009
Hi Mike,
I'm afraid that in OMERO.insight the simplest answer is that you
cannot. You are restricted to using the sharing functionality to get
what you want right now. I'm sure someone else can have a look at the
error you're having while making a share and figure out what's gone
wrong. Have you been able to make any progress yourself?
-Chris
On 11 Sep 2009, at 15:57, Mike Stout wrote:
> Hi there,
> I'm new to OMERO and my administrator has installed the server.
>
> When I load content via the OMERO importer this worked fine.
> However, when I view the files in OMERO insight -- the public/
> private radio buttons are greyed out.
> Likewise in the Web client, when I make a share I get a server error
> (below).
> Please can someone explain, how to make my images available to other
> users in my group?
>
> Thanks
> Mike Stout
>
>
>
>
>
>
>
>
>
>
> Server Error. (500)
> There's been an error. Please give us feedback to help to improve
> the OMERO applications. Thanks for your patience.
>
>
>
> Content-Type: text/html
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> MailScanner has detected a possible fraud attempt from "www.w3.org"
> claiming to be "http://www.w3.org/TR/html4/loose.dtd">
> <html lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8">
> <meta name="robots" content="NONE,NOARCHIVE">
> <title>KeyError at /webclient/share/create/</title>
> <style type="text/css">
> html * { padding:0; margin:0; }
> body * { padding:10px 20px; }
> body * * { padding:0; }
> body { font:small sans-serif; }
> body>div { border-bottom:1px solid #ddd; }
> h1 { font-weight:normal; }
> h2 { margin-bottom:.8em; }
> h2 span { font-size:80%; color:#666; font-weight:normal; }
> h3 { margin:1em 0 .5em 0; }
> h4 { margin:0 0 .5em 0; font-weight: normal; }
> table { border:1px solid #ccc; border-collapse: collapse; width:
> 100%; background:white; }
> tbody td, tbody th { vertical-align:top; padding:2px 3px; }
> thead th { padding:1px 6px 1px 3px; background:#fefefe; text-
> align:left; font-weight:normal; font-size:11px; border:1px solid
> #ddd; }
> tbody th { width:12em; text-align:right; color:#666; padding-
> right:.5em; }
> table.vars { margin:5px 0 2px 40px; }
> table.vars td, table.req td { font-family:monospace; }
> table td.code { width:100%; }
> table td.code div { overflow:hidden; }
> table.source th { color:#666; }
> table.source td { font-family:monospace; white-space:pre; border-
> bottom:1px solid #eee; }
> ul.traceback { list-style-type:none; }
> ul.traceback li.frame { margin-bottom:1em; }
> div.context { margin: 10px 0; }
> div.context ol { padding-left:30px; margin:0 10px; list-style-
> position: inside; }
> div.context ol li { font-family:monospace; white-space:pre;
> color:#666; cursor:pointer; }
> div.context ol.context-line li { color:black; background-
> color:#ccc; }
> div.context ol.context-line li span { float: right; }
> div.commands { margin-left: 40px; }
> div.commands a { color:black; text-decoration:none; }
> #summary { background: #ffc; }
> #summary h2 { font-weight: normal; color: #666; }
> #explanation { background:#eee; }
> #template, #template-not-exist { background:#f6f6f6; }
> #template-not-exist ul { margin: 0 0 0 20px; }
> #unicode-hint { background:#eee; }
> #traceback { background:#eee; }
> #requestinfo { background:#f6f6f6; padding-left:120px; }
> #summary table { border:none; background:transparent; }
> #requestinfo h2, #requestinfo h3 { position:relative; margin-
> left:-100px; }
> #requestinfo h3 { margin-bottom:-1em; }
> .error { background: #ffc; }
> .specific { color:#cc3300; font-weight:bold; }
> h2 span.commands { font-size:.7em;}
> span.commands a:link {color:#5E5694;}
> pre.exception_value { font-family: sans-serif; color: #666; font-
> size: 1.5em; margin: 10px 0 10px 0; }
> </style>
> <script type="text/javascript">
> //<!--
> function getElementsByClassName(oElm, strTagName, strClassName){
> // Written by Jonathan Snook, http://www.snook.ca/jon; Add-
> ons by Robert Nyman, http://www.robertnyman.com
> var arrElements = (strTagName == "*" && document.all)?
> document.all :
> oElm.getElementsByTagName(strTagName);
> var arrReturnElements = new Array();
> strClassName = strClassName.replace(/\-/g, "\-");
> var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
> var oElement;
> for(var i=0; i<arrElements.length; i++){
> oElement = arrElements[i];
> if(oRegExp.test(oElement.className)){
> arrReturnElements.push(oElement);
> }
> }
> return (arrReturnElements)
> }
> function hideAll(elems) {
> for (var e = 0; e < elems.length; e++) {
> elems[e].style.display = 'none';
> }
> }
> window.onload = function() {
> hideAll(getElementsByClassName(document, 'table', 'vars'));
> hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
> hideAll(getElementsByClassName(document, 'ol', 'post-context'));
> hideAll(getElementsByClassName(document, 'div', 'pastebin'));
> }
> function toggle() {
> for (var i = 0; i < arguments.length; i++) {
> var e = document.getElementById(arguments[i]);
> if (e) {
> e.style.display = e.style.display == 'none' ? 'block' :
> 'none';
> }
> }
> return false;
> }
> function varToggle(link, id) {
> toggle('v' + id);
> var s = link.getElementsByTagName('span')[0];
> var uarr = String.fromCharCode(0x25b6);
> var darr = String.fromCharCode(0x25bc);
> s.innerHTML = s.innerHTML == uarr ? darr : uarr;
> return false;
> }
> function switchPastebinFriendly(link) {
> s1 = "Switch to copy-and-paste view";
> s2 = "Switch back to interactive view";
> link.innerHTML = link.innerHTML == s1 ? s2 : s1;
> toggle('browserTraceback', 'pastebinTraceback');
> return false;
> }
> //-->
> </script>
> </head>
> <body>
> <div id="summary">
> <h1>KeyError at /webclient/share/create/</h1>
> <pre class="exception_value">'wsgi.url_scheme'</pre>
> <table class="meta">
> <tr>
> <th>Request Method:</th>
> <td>POST</td>
> </tr>
> <tr>
> <th>Request URL:</th>
> <td>http://psbtb03.nottingham.ac.uk/webclient/share/create/</td>
> </tr>
> <tr>
> <th>Exception Type:</th>
> <td>KeyError</td>
> </tr>
> <tr>
> <th>Exception Value:</th>
> <td><pre>'wsgi.url_scheme'<pre></td>
> </tr>
> <tr>
> <th>Exception Location:</th>
> <td>/home/omero/omero_dist/lib/python/omeroweb/webclient/
> views.py in manage_share, line 2402</td>
> </tr>
> <tr>
> <th>Python Executable:</th>
> <td>/usr/bin/python</td>
> </tr>
> <tr>
> <th>Python Version:</th>
> <td>2.4.3</td>
> </tr>
> <tr>
> <th>Python Path:</th>
> <td>['/home/omero/omero_dist/lib/python', '/home/
> omero/omero_dist/lib/python/omeroweb', '/usr/lib64/
> python24.zip', '/usr/lib64/python2.4', '/usr/lib64/
> python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk',
> '/usr/lib64/python2.4/lib-dynload', '/usr/lib64/
> python2.4/site-packages', '/usr/lib64/python2.4/site-
> packages/Numeric', '/usr/lib64/python2.4/site-packages/
> PIL', '/usr/lib64/python2.4/site-packages/Ice', '/
> usr/lib64/python2.4/site-packages/gtk-2.0', '/usr/lib/
> python2.4/site-packages', 'icepy', 'lib']</td>
> </tr>
> <tr>
> <th>Server time:</th>
> <td>Mon, 13 Jul 2009 10:34:37 +0000</td>
> </tr>
> </table>
> </div>
>
>
>
> <div id="traceback">
> <h2>Traceback <span class="commands"><a href="#" onclick="return
> switchPastebinFriendly(this);">Switch to copy-and-paste view</a></
> span></h2>
>
> <div id="browserTraceback">
> <ul class="traceback">
>
> <li class="frame">
> <code>/home/omero/omero_dist/lib/python/django/core/
> handlers/base.py</code> in <code>get_response</code>
>
>
> <div class="context" id="c47051378095744">
>
> <ol start="79" class="pre-context"
> id="pre47051378095744"><li onclick="toggle('pre47051378095744',
> 'post47051378095744')"> # Apply view middleware</li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> for middleware_method in
> self._view_middleware:</li><li onclick="toggle('pre47051378095744',
> 'post47051378095744')"> response =
> middleware_method(request, callback, callback_args,
> callback_kwargs)</li><li onclick="toggle('pre47051378095744',
> 'post47051378095744')"> if response:</li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> return response</li><li
> onclick="toggle('pre47051378095744', 'post47051378095744')"></li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> try:</li></ol>
>
> <ol start="86" class="context-line"><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> response = callback(request,
> *callback_args, **callback_kwargs) <span>...</span></li></ol>
>
> <ol start='87' class="post-context"
> id="post47051378095744"><li onclick="toggle('pre47051378095744',
> 'post47051378095744')"> except Exception, e:</li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> # If the view raised an
> exception, run it through exception</li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> # middleware, and if the
> exception middleware returns a</li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> # response, use that.
> Otherwise, reraise the exception.</li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> for middleware_method in
> self._exception_middleware:</li><li
> onclick="toggle('pre47051378095744',
> 'post47051378095744')"> response =
> middleware_method(request, e)</li></ol>
>
> </div>
>
>
>
> <div class="commands">
> <a href="#" onclick="return varToggle(this,
> '47051378095744')"><span>▶</span> Local vars</a>
> </div>
> <table class="vars" id="v47051378095744">
> <thead>
> <tr>
> <th>Variable</th>
> <th>Value</th>
> </tr>
> </thead>
> <tbody>
>
> <tr>
> <td>callback</td>
> <td class="code"><div><function wrapped at
> 0x2acb00966230></div></td>
> </tr>
>
> <tr>
> <td>callback_args</td>
> <td class="code"><div>(u'create',)</
> div></td>
> </tr>
>
> <tr>
> <td>callback_kwargs</td>
> <td class="code"><div>{}</div></td>
> </tr>
>
> <tr>
> <td>e</td>
> <td class="code"><div><exceptions.KeyError
> instance at 0x2acb00ad7638></div></td>
> </tr>
>
> <tr>
> <td>exc_info</td>
> <td class="code"><div>(<class
> exceptions.KeyError at 0x2acafab7d950>,
> <exceptions.KeyError instance at 0x2acb00ad7638>,
> <traceback object at 0x2acb00ad7680>)</div></td>
> </tr>
>
> <tr>
> <td>exceptions</td>
> <td class="code"><div><module
> 'django.core.exceptions' from '/home/omero/omero_dist/
> lib/python/django/core/exceptions.pyc'></div></td>
> </tr>
>
> <tr>
> <td>middleware_method</td>
> <td class="code"><div><bound method
> XViewMiddleware.process_view of
> <django.middleware.doc.XViewMiddleware object at
> 0x2acb00a3a390>></div></td>
> </tr>
>
> <tr>
> <td>receivers</td>
> <td class="code"><div>[(<function
> _rollback_on_exception at 0x2acafdb7ab18>, None)]</div></td>
> </tr>
>
> <tr>
> <td>request</td>
> <td class="code"><div><ModPythonRequest
> path:/webclient/share/create/,
> GET:<QueryDict: {}>,
> POST:<QueryDict: {u'message': [u'umag'],
> u'enable': [u'on'], u'expiration':
> [u'2009-07-25'], u'members': [u'2']}>,
> COOKIES:{'__utma':
> '161534627.2637444165755721000.1232702964.1246267942.1247230076.11
> ',
> '__utmz': '161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral',
> 'sessionid': '3bed24487944040721be8dff14b28b65'},
> META:{'AUTH_TYPE': None,
> 'CONTENT_LENGTH': 0L,
> 'CONTENT_TYPE': None,
> 'GATEWAY_INTERFACE': 'CGI/1.1',
> 'HTTP_ACCEPT': 'text/html,application/xhtml
> +xml,application/xml;q=0.9,*/*;q=0.8',
> 'HTTP_ACCEPT_CHARSET':
> 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
> 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',
> 'HTTP_CACHE_CONTROL': 'max-age=259200',
> 'HTTP_CONNECTION': 'keep-alive',
> 'HTTP_CONTENT_LENGTH': '54',
> 'HTTP_CONTENT_TYPE': 'application/x-www-form-
> urlencoded',
> 'HTTP_COOKIE':
> '
> ;__utma
> =161534627.2637444165755721000.1232702964.1246267942.1247230076.11;
> __utmz=161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral; sessionid=3bed24487944040721be8dff14b28b65',
> 'HTTP_HOST': 'psbtb03.nottingham.ac.uk',
> 'HTTP_KEEP_ALIVE': '300',
> 'HTTP_REFERER': 'http://psbtb03.nottingham.ac.uk/webclient/basket/toshare/'
> ;,
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-GB; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR
> 3.5.30729)',
> 'HTTP_VIA': '1.1 franc.cs.nott.ac.uk:3128 (squid/
> 2.6.STABLE6)',
> 'HTTP_X_FORWARDED_FOR': '128.243.80.234',
> 'PATH_INFO': u'/webclient/share/create/',
> 'PATH_TRANSLATED': None,
> 'QUERY_STRING': None,
> 'REMOTE_ADDR': '128.243.21.224',
> 'REMOTE_HOST': None,
> 'REMOTE_IDENT': None,
> 'REMOTE_USER': None,
> 'REQUEST_METHOD': 'POST',
> 'SCRIPT_NAME': '',
> 'SERVER_NAME': 'psbtb03.nottingham.ac.uk',
> 'SERVER_PORT': 0,
> 'SERVER_PROTOCOL': 'HTTP/1.0',
> 'SERVER_SOFTWARE': 'mod_python'}></div></td>
> </tr>
>
> <tr>
> <td>resolver</td>
> <td class="code"><div><RegexURLResolver
> omeroweb.urls ^/></div></td>
> </tr>
>
> <tr>
> <td>response</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>self</td>
> <td
> class
> ="code"><div><django.core.handlers.modpython.ModPythonHandler
> object at 0x2acb00a0de10></div></td>
> </tr>
>
> <tr>
> <td>settings</td>
> <td
> class="code"><div><django.conf.LazySettings object at
> 0x2acafc8ad250></div></td>
> </tr>
>
> <tr>
> <td>urlconf</td>
> <td class="code"><div>'omeroweb.urls'</
> div></td>
> </tr>
>
> <tr>
> <td>urlresolvers</td>
> <td class="code"><div><module
> 'django.core.urlresolvers' from '/home/omero/omero_dist/
> lib/python/django/core/urlresolvers.pyc'></div></td>
> </tr>
>
> </tbody>
> </table>
>
> </li>
>
> <li class="frame">
> <code>/home/omero/omero_dist/lib/python/omeroweb/webclient/
> views.py</code> in <code>wrapped</code>
>
>
> <div class="context" id="c47051378130096">
>
> <ol start="320" class="pre-context"
> id="pre47051378130096"><li onclick="toggle('pre47051378130096',
> 'post47051378130096')"> return
> HttpResponseRedirect("/%s/login/?error=%s&url=%s" %
> (settings.WEBCLIENT_ROOT_BASE, x.__class__.__name__, url))</li><li
> onclick="toggle('pre47051378130096', 'post47051378130096')">
> if conn is None:</li><li onclick="toggle('pre47051378130096',
> 'post47051378130096')"> return
> HttpResponseRedirect("/%s/login/?url=%s" %
> (settings.WEBCLIENT_ROOT_BASE, url))</li><li
> onclick="toggle('pre47051378130096', 'post47051378130096')">
> </li><li onclick="toggle('pre47051378130096',
> 'post47051378130096')"> sessionHelper(request)</li><li
> onclick="toggle('pre47051378130096', 'post47051378130096')">
> kwargs["conn"] = conn</li><li
> onclick="toggle('pre47051378130096', 'post47051378130096')">
> kwargs["url"] = url</li></ol>
>
> <ol start="327" class="context-line"><li
> onclick="toggle('pre47051378130096', 'post47051378130096')">
> return f(request, *args, **kwargs) <span>...</span></li></ol>
>
> <ol start='328' class="post-context"
> id="post47051378130096"><li onclick="toggle('pre47051378130096',
> 'post47051378130096')"> </li><li
> onclick="toggle('pre47051378130096', 'post47051378130096')">
> return wrapped</li><li onclick="toggle('pre47051378130096',
> 'post47051378130096')"></li><li onclick="toggle('pre47051378130096',
> 'post47051378130096')">def sessionHelper(request):</li><li
> onclick="toggle('pre47051378130096', 'post47051378130096')">
> try:</li><li onclick="toggle('pre47051378130096',
> 'post47051378130096')"> if
> request.session['clipboard']:</li></ol>
>
> </div>
>
>
>
> <div class="commands">
> <a href="#" onclick="return varToggle(this,
> '47051378130096')"><span>▶</span> Local vars</a>
> </div>
> <table class="vars" id="v47051378130096">
> <thead>
> <tr>
> <th>Variable</th>
> <th>Value</th>
> </tr>
> </thead>
> <tbody>
>
> <tr>
> <td>args</td>
> <td class="code"><div>(u'create',)</
> div></td>
> </tr>
>
> <tr>
> <td>conn</td>
> <td class="code"><div><BlitzGateway(Thread-5,
> started daemon)></div></td>
> </tr>
>
> <tr>
> <td>f</td>
> <td class="code"><div><function manage_share
> at 0x2acb009661b8></div></td>
> </tr>
>
> <tr>
> <td>kwargs</td>
> <td class="code"><div>{'conn':
> <BlitzGateway(Thread-5, started daemon)>,
> 'url': u'/webclient/share/create/'}</div></td>
> </tr>
>
> <tr>
> <td>request</td>
> <td class="code"><div><ModPythonRequest
> path:/webclient/share/create/,
> GET:<QueryDict: {}>,
> POST:<QueryDict: {u'message': [u'umag'],
> u'enable': [u'on'], u'expiration':
> [u'2009-07-25'], u'members': [u'2']}>,
> COOKIES:{'__utma':
> '161534627.2637444165755721000.1232702964.1246267942.1247230076.11
> ',
> '__utmz': '161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral',
> 'sessionid': '3bed24487944040721be8dff14b28b65'},
> META:{'AUTH_TYPE': None,
> 'CONTENT_LENGTH': 0L,
> 'CONTENT_TYPE': None,
> 'GATEWAY_INTERFACE': 'CGI/1.1',
> 'HTTP_ACCEPT': 'text/html,application/xhtml
> +xml,application/xml;q=0.9,*/*;q=0.8',
> 'HTTP_ACCEPT_CHARSET':
> 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
> 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',
> 'HTTP_CACHE_CONTROL': 'max-age=259200',
> 'HTTP_CONNECTION': 'keep-alive',
> 'HTTP_CONTENT_LENGTH': '54',
> 'HTTP_CONTENT_TYPE': 'application/x-www-form-
> urlencoded',
> 'HTTP_COOKIE':
> '
> ;__utma
> =161534627.2637444165755721000.1232702964.1246267942.1247230076.11;
> __utmz=161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral; sessionid=3bed24487944040721be8dff14b28b65',
> 'HTTP_HOST': 'psbtb03.nottingham.ac.uk',
> 'HTTP_KEEP_ALIVE': '300',
> 'HTTP_REFERER': 'http://psbtb03.nottingham.ac.uk/webclient/basket/toshare/'
> ;,
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-GB; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR
> 3.5.30729)',
> 'HTTP_VIA': '1.1 franc.cs.nott.ac.uk:3128 (squid/
> 2.6.STABLE6)',
> 'HTTP_X_FORWARDED_FOR': '128.243.80.234',
> 'PATH_INFO': u'/webclient/share/create/',
> 'PATH_TRANSLATED': None,
> 'QUERY_STRING': None,
> 'REMOTE_ADDR': '128.243.21.224',
> 'REMOTE_HOST': None,
> 'REMOTE_IDENT': None,
> 'REMOTE_USER': None,
> 'REQUEST_METHOD': 'POST',
> 'SCRIPT_NAME': '',
> 'SERVER_NAME': 'psbtb03.nottingham.ac.uk',
> 'SERVER_PORT': 0,
> 'SERVER_PROTOCOL': 'HTTP/1.0',
> 'SERVER_SOFTWARE': 'mod_python'}></div></td>
> </tr>
>
> <tr>
> <td>url</td>
> <td class="code"><div>u'/webclient/share/
> create/'</div></td>
> </tr>
>
> </tbody>
> </table>
>
> </li>
>
> <li class="frame">
> <code>/home/omero/omero_dist/lib/python/omeroweb/webclient/
> views.py</code> in <code>manage_share</code>
>
>
> <div class="context" id="c47051378110264">
>
> <ol start="2395" class="pre-context"
> id="pre47051378110264"><li onclick="toggle('pre47051378110264',
> 'post47051378110264')"> if
> request.REQUEST['enable']: enable = True</li><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> except:</li><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> pass</li><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> </li><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> try:</li><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> host = '%s/%s' %
> (settings.APPLICATION_HOST, settings.WEBCLIENT_ROOT_BASE)</li><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> except:</li></ol>
>
> <ol start="2402" class="context-line"><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> host = '%s://%s:%s/
> %s' % (request.META['wsgi.url_scheme'],
> request.META['SERVER_NAME'],
> request.META['SERVER_PORT'], settings.WEBCLIENT_ROOT_BASE)
> <span>...</span></li></ol>
>
> <ol start='2403' class="post-context"
> id="post47051378110264"><li onclick="toggle('pre47051378110264',
> 'post47051378110264')"> share.createShare(host,
> request.session['server'],
> request.session['imageInBasket'], message, members, enable,
> expiration)</li><li onclick="toggle('pre47051378110264',
> 'post47051378110264')"> return
> HttpResponseRedirect("/%s/share/" %
> (settings.WEBCLIENT_ROOT_BASE))</li><li
> onclick="toggle('pre47051378110264', 'post47051378110264')">
> else:</li><li onclick="toggle('pre47051378110264',
> 'post47051378110264')"> basket = BaseBasket(conn)</li><li
> onclick="toggle('pre47051378110264',
> 'post47051378110264')"> basket.load_basket(request)</
> li><li onclick="toggle('pre47051378110264',
> 'post47051378110264')"> form_active_group =
> ActiveGroupForm
> (initial
> ={'activeGroup':basket.eContext['context'].groupId,
> 'mygroups': basket.eContext['allGroups']})</li></ol>
>
> </div>
>
>
>
> <div class="commands">
> <a href="#" onclick="return varToggle(this,
> '47051378110264')"><span>▶</span> Local vars</a>
> </div>
> <table class="vars" id="v47051378110264">
> <thead>
> <tr>
> <th>Variable</th>
> <th>Value</th>
> </tr>
> </thead>
> <tbody>
>
> <tr>
> <td>action</td>
> <td class="code"><div>u'create'</div></td>
> </tr>
>
> <tr>
> <td>conn</td>
> <td class="code"><div><BlitzGateway(Thread-5,
> started daemon)></div></td>
> </tr>
>
> <tr>
> <td>context</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>enable</td>
> <td class="code"><div>True</div></td>
> </tr>
>
> <tr>
> <td>experimenters</td>
> <td
> class="code"><div>[<extlib.gateway.ExperimenterWrapper object at
> 0x2acb00ab39d0>,
> <extlib.gateway.ExperimenterWrapper object at 0x2acb00ab37d0>,
> <extlib.gateway.ExperimenterWrapper object at 0x2acb00ab3650>,
> <extlib.gateway.ExperimenterWrapper object at
> 0x2acb00ab3a10>]</div></td>
> </tr>
>
> <tr>
> <td>expiration</td>
> <td class="code"><div>'2009-07-25'</
> div></td>
> </tr>
>
> <tr>
> <td>form</td>
> <td
> class="code"><div><omeroweb.webclient.models.ShareForm object at
> 0x2acb00a0ed10></div></td>
> </tr>
>
> <tr>
> <td>form_active_group</td>
> <td
> class="code"><div><omeroweb.webclient.models.ActiveGroupForm
> object at 0x2acb009ec110></div></td>
> </tr>
>
> <tr>
> <td>kwargs</td>
> <td class="code"><div>{'conn':
> <BlitzGateway(Thread-5, started daemon)>,
> 'url': u'/webclient/share/create/'}</div></td>
> </tr>
>
> <tr>
> <td>members</td>
> <td class="code"><div>[u'2']</div></td>
> </tr>
>
> <tr>
> <td>message</td>
> <td class="code"><div>'umag'</div></td>
> </tr>
>
> <tr>
> <td>oid</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>request</td>
> <td class="code"><div><ModPythonRequest
> path:/webclient/share/create/,
> GET:<QueryDict: {}>,
> POST:<QueryDict: {u'message': [u'umag'],
> u'enable': [u'on'], u'expiration':
> [u'2009-07-25'], u'members': [u'2']}>,
> COOKIES:{'__utma':
> '161534627.2637444165755721000.1232702964.1246267942.1247230076.11
> ',
> '__utmz': '161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral',
> 'sessionid': '3bed24487944040721be8dff14b28b65'},
> META:{'AUTH_TYPE': None,
> 'CONTENT_LENGTH': 0L,
> 'CONTENT_TYPE': None,
> 'GATEWAY_INTERFACE': 'CGI/1.1',
> 'HTTP_ACCEPT': 'text/html,application/xhtml
> +xml,application/xml;q=0.9,*/*;q=0.8',
> 'HTTP_ACCEPT_CHARSET':
> 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
> 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',
> 'HTTP_CACHE_CONTROL': 'max-age=259200',
> 'HTTP_CONNECTION': 'keep-alive',
> 'HTTP_CONTENT_LENGTH': '54',
> 'HTTP_CONTENT_TYPE': 'application/x-www-form-
> urlencoded',
> 'HTTP_COOKIE':
> '
> ;__utma
> =161534627.2637444165755721000.1232702964.1246267942.1247230076.11;
> __utmz=161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral; sessionid=3bed24487944040721be8dff14b28b65',
> 'HTTP_HOST': 'psbtb03.nottingham.ac.uk',
> 'HTTP_KEEP_ALIVE': '300',
> 'HTTP_REFERER': 'http://psbtb03.nottingham.ac.uk/webclient/basket/toshare/'
> ;,
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-GB; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR
> 3.5.30729)',
> 'HTTP_VIA': '1.1 franc.cs.nott.ac.uk:3128 (squid/
> 2.6.STABLE6)',
> 'HTTP_X_FORWARDED_FOR': '128.243.80.234',
> 'PATH_INFO': u'/webclient/share/create/',
> 'PATH_TRANSLATED': None,
> 'QUERY_STRING': None,
> 'REMOTE_ADDR': '128.243.21.224',
> 'REMOTE_HOST': None,
> 'REMOTE_IDENT': None,
> 'REMOTE_USER': None,
> 'REQUEST_METHOD': 'POST',
> 'SCRIPT_NAME': '',
> 'SERVER_NAME': 'psbtb03.nottingham.ac.uk',
> 'SERVER_PORT': 0,
> 'SERVER_PROTOCOL': 'HTTP/1.0',
> 'SERVER_SOFTWARE': 'mod_python'}></div></td>
> </tr>
>
> <tr>
> <td>share</td>
> <td
> class="code"><div><omeroweb.webclient.controller.share.BaseShare
> object at 0x2acb009ec0d0></div></td>
> </tr>
>
> <tr>
> <td>template</td>
> <td class="code"><div>'omeroweb/
> basket_share_action.html'</div></td>
> </tr>
>
> <tr>
> <td>url</td>
> <td class="code"><div>u'/webclient/share/
> create/'</div></td>
> </tr>
>
> </tbody>
> </table>
>
> </li>
>
> </ul>
> </div>
>
> <form action=MailScanner has detected a possible fraud attempt
> from "dpaste.com" claiming to be "http://dpaste.com/"
> name="pasteform" id="pasteform" method="post">
> <div id="pastebinTraceback" class="pastebin">
> <input type="hidden" name="language" value="PythonConsole">
> <input type="hidden" name="title" value="KeyError at /webclient/
> share/create/">
> <input type="hidden" name="source" value="Django Dpaste Agent">
> <input type="hidden" name="poster" value="Django">
> <textarea name="content" id="traceback_area" cols="140" rows="25">
> Environment:
>
> Request Method: POST
> Request URL: http://psbtb03.nottingham.ac.uk/webclient/share/create/
> Django Version: 1.0-final-SVN-unknown
> Python Version: 2.4.3
> Installed Applications:
> ['django.contrib.admin',
> 'django.contrib.markup',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.sites',
> 'omeroweb.webadmin',
> 'omeroweb.webclient']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.middleware.doc.XViewMiddleware')
>
>
> Traceback:
> File "/home/omero/omero_dist/lib/python/django/core/handlers/
> base.py" in get_response
> 86. response = callback(request, *callback_args,
> **callback_kwargs)
> File "/home/omero/omero_dist/lib/python/omeroweb/webclient/views.py"
> in wrapped
> 327. return f(request, *args, **kwargs)
> File "/home/omero/omero_dist/lib/python/omeroweb/webclient/views.py"
> in manage_share
> 2402. host = '%s://%s:%s/%s' %
> (request.META['wsgi.url_scheme'],
> request.META['SERVER_NAME'],
> request.META['SERVER_PORT'], settings.WEBCLIENT_ROOT_BASE)
>
> Exception Type: KeyError at /webclient/share/create/
> Exception Value: 'wsgi.url_scheme'
> </textarea>
> <br><br>
> <input type="submit" value="Share this traceback on a public Web
> site">
> </div>
> </form>
> </div>
>
> <div id="requestinfo">
> <h2>Request information</h2>
>
> <h3 id="get-info">GET</h3>
>
> <p>No GET data</p>
>
>
> <h3 id="post-info">POST</h3>
>
> <table class="req">
> <thead>
> <tr>
> <th>Variable</th>
> <th>Value</th>
> </tr>
> </thead>
> <tbody>
>
> <tr>
> <td>message</td>
> <td class="code"><div>u'umag'</div></td>
> </tr>
>
> <tr>
> <td>enable</td>
> <td class="code"><div>u'on'</div></td>
> </tr>
>
> <tr>
> <td>expiration</td>
> <td class="code"><div>u'2009-07-25'</div></td>
> </tr>
>
> <tr>
> <td>members</td>
> <td class="code"><div>u'2'</div></td>
> </tr>
>
> </tbody>
> </table>
>
>
> <h3 id="cookie-info">COOKIES</h3>
>
> <table class="req">
> <thead>
> <tr>
> <th>Variable</th>
> <th>Value</th>
> </tr>
> </thead>
> <tbody>
>
> <tr>
> <td>__utma</td>
> <td
> class
> =
> "code
> ">
> <
> div
> >
> '161534627.2637444165755721000.1232702964.1246267942.1247230076.11
> '</div></td>
> </tr>
>
> <tr>
> <td>__utmz</td>
> <td
> class="code"><div>'161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral'</div></td>
> </tr>
>
> <tr>
> <td>sessionid</td>
> <td
> class="code"><div>'3bed24487944040721be8dff14b28b65'</div></
> td>
> </tr>
>
> </tbody>
> </table>
>
>
> <h3 id="meta-info">META</h3>
> <table class="req">
> <thead>
> <tr>
> <th>Variable</th>
> <th>Value</th>
> </tr>
> </thead>
> <tbody>
>
> <tr>
> <td>AUTH_TYPE</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>CONTENT_LENGTH</td>
> <td class="code"><div>0L</div></td>
> </tr>
>
> <tr>
> <td>CONTENT_TYPE</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>GATEWAY_INTERFACE</td>
> <td class="code"><div>'CGI/1.1'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_ACCEPT</td>
> <td class="code"><div>'text/html,application/xhtml
> +xml,application/xml;q=0.9,*/*;q=0.8'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_ACCEPT_CHARSET</td>
> <td
> class="code"><div>'ISO-8859-1,utf-8;q=0.7,*;q=0.7'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_ACCEPT_ENCODING</td>
> <td class="code"><div>'gzip,deflate'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_ACCEPT_LANGUAGE</td>
> <td class="code"><div>'en-gb,en;q=0.5'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_CACHE_CONTROL</td>
> <td class="code"><div>'max-age=259200'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_CONNECTION</td>
> <td class="code"><div>'keep-alive'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_CONTENT_LENGTH</td>
> <td class="code"><div>'54'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_CONTENT_TYPE</td>
> <td class="code"><div>'application/x-www-form-
> urlencoded'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_COOKIE</td>
> <td
> class
> =
> "code
> ">
> <
> div
> >
> '
> ;__utma
> =161534627.2637444165755721000.1232702964.1246267942.1247230076.11;
> __utmz=161534627.1247230076.11.8.utmccn=(referral)|
> utmcsr=comp.chem.nottingham.ac.uk|utmcct=/members/index.html|
> utmcmd=referral; sessionid=3bed24487944040721be8dff14b28b65'</
> div></td>
> </tr>
>
> <tr>
> <td>HTTP_HOST</td>
> <td class="code"><div>'psbtb03.nottingham.ac.uk'</
> div></td>
> </tr>
>
> <tr>
> <td>HTTP_KEEP_ALIVE</td>
> <td class="code"><div>'300'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_REFERER</td>
> <td class="code"><div>'http://psbtb03.nottingham.ac.uk/webclient/basket/toshare/'
> ;</div></td>
> </tr>
>
> <tr>
> <td>HTTP_USER_AGENT</td>
> <td class="code"><div>'Mozilla/5.0 (Windows; U;
> Windows NT 5.1; en-GB; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11
> (.NET CLR 3.5.30729)'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_VIA</td>
> <td class="code"><div>'1.1 franc.cs.nott.ac.uk:3128
> (squid/2.6.STABLE6)'</div></td>
> </tr>
>
> <tr>
> <td>HTTP_X_FORWARDED_FOR</td>
> <td class="code"><div>'128.243.80.234'</div></td>
> </tr>
>
> <tr>
> <td>PATH_INFO</td>
> <td class="code"><div>u'/webclient/share/create/'</
> div></td>
> </tr>
>
> <tr>
> <td>PATH_TRANSLATED</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>QUERY_STRING</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>REMOTE_ADDR</td>
> <td class="code"><div>'128.243.21.224'</div></td>
> </tr>
>
> <tr>
> <td>REMOTE_HOST</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>REMOTE_IDENT</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>REMOTE_USER</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>REQUEST_METHOD</td>
> <td class="code"><div>'POST'</div></td>
> </tr>
>
> <tr>
> <td>SCRIPT_NAME</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>SERVER_NAME</td>
> <td class="code"><div>'psbtb03.nottingham.ac.uk'</
> div></td>
> </tr>
>
> <tr>
> <td>SERVER_PORT</td>
> <td class="code"><div>0</div></td>
> </tr>
>
> <tr>
> <td>SERVER_PROTOCOL</td>
> <td class="code"><div>'HTTP/1.0'</div></td>
> </tr>
>
> <tr>
> <td>SERVER_SOFTWARE</td>
> <td class="code"><div>'mod_python'</div></td>
> </tr>
>
> </tbody>
> </table>
>
> <h3 id="settings-info">Settings</h3>
> <h4>Using settings module <code>omeroweb.settings</code></h4>
> <table class="req">
> <thead>
> <tr>
> <th>Setting</th>
> <th>Value</th>
> </tr>
> </thead>
> <tbody>
>
> <tr>
> <td>ABSOLUTE_URL_OVERRIDES</td>
> <td class="code"><div>{}</div></td>
> </tr>
>
> <tr>
> <td>ADMINS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>ADMIN_FOR</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>ADMIN_MEDIA_PREFIX</td>
> <td class="code"><div>'/media/'</div></td>
> </tr>
>
> <tr>
> <td>ALLOWED_INCLUDE_ROOTS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>APPEND_SLASH</td>
> <td class="code"><div>True</div></td>
> </tr>
>
> <tr>
> <td>AUTHENTICATION_BACKENDS</td>
> <td
> class
> ="code"><div>('django.contrib.auth.backends.ModelBackend',)</
> div></td>
> </tr>
>
> <tr>
> <td>BANNED_IPS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>CACHE_BACKEND</td>
> <td class="code"><div>'locmem://'</div></td>
> </tr>
>
> <tr>
> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>CACHE_MIDDLEWARE_SECONDS</td>
> <td class="code"><div>600</div></td>
> </tr>
>
> <tr>
> <td>COMMENTS_ALLOW_PROFANITIES</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>COMMENTS_BANNED_USERS_GROUP</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>COMMENTS_FIRST_FEW</td>
> <td class="code"><div>0</div></td>
> </tr>
>
> <tr>
> <td>COMMENTS_MODERATORS_GROUP</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>COMMENTS_SKETCHY_USERS_GROUP</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>DATABASE_ENGINE</td>
> <td class="code"><div>'sqlite3'</div></td>
> </tr>
>
> <tr>
> <td>DATABASE_HOST</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>DATABASE_NAME</td>
> <td class="code"><div>'/home/omero/webdb/
> db.sqlite3'</div></td>
> </tr>
>
> <tr>
> <td>DATABASE_OPTIONS</td>
> <td class="code"><div>{}</div></td>
> </tr>
>
> <tr>
> <td>DATABASE_PASSWORD</td>
> <td class="code"><div>'********************'</
> div></td>
> </tr>
>
> <tr>
> <td>DATABASE_PORT</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>DATABASE_USER</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>DATETIME_FORMAT</td>
> <td class="code"><div>'N j, Y, P'</div></td>
> </tr>
>
> <tr>
> <td>DATE_FORMAT</td>
> <td class="code"><div>'N j, Y'</div></td>
> </tr>
>
> <tr>
> <td>DEBUG</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>DEBUG_PROPAGATE_EXCEPTIONS</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>DEFAULT_CHARSET</td>
> <td class="code"><div>'utf-8'</div></td>
> </tr>
>
> <tr>
> <td>DEFAULT_CONTENT_TYPE</td>
> <td class="code"><div>'text/html'</div></td>
> </tr>
>
> <tr>
> <td>DEFAULT_FILE_STORAGE</td>
> <td
> class
> ="code"><div>'django.core.files.storage.FileSystemStorage'</
> div></td>
> </tr>
>
> <tr>
> <td>DEFAULT_FROM_EMAIL</td>
> <td class="code"><div>'webmaster at localhost'</div></
> td>
> </tr>
>
> <tr>
> <td>DEFAULT_IMG</td>
> <td class="code"><div>'/home/omero/omero_dist/lib/
> python/omeroweb/webclient/media/images/image128.png'</div></td>
> </tr>
>
> <tr>
> <td>DEFAULT_INDEX_TABLESPACE</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>DEFAULT_TABLESPACE</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>DEFAULT_USER</td>
> <td class="code"><div>'/home/omero/omero_dist/lib/
> python/omeroweb/webclient/media/images/personal32.png'</div></td>
> </tr>
>
> <tr>
> <td>DISALLOWED_USER_AGENTS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_HOST</td>
> <td class="code"><div>'localhost'</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_HOST_PASSWORD</td>
> <td class="code"><div>'********************'</
> div></td>
> </tr>
>
> <tr>
> <td>EMAIL_HOST_USER</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_NOTIFICATION</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_PORT</td>
> <td class="code"><div>25</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_SENDER_ADDRESS</td>
> <td class="code"><div>'sender at domain'</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_SMTP_SERVER</td>
> <td class="code"><div>'smtp.domain'</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_SUBJECT_PREFIX</td>
> <td class="code"><div>'[Django] '</div></td>
> </tr>
>
> <tr>
> <td>EMAIL_USE_TLS</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>ERROR2EMAIL_NOTIFICATION</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>FILE_CHARSET</td>
> <td class="code"><div>'utf-8'</div></td>
> </tr>
>
> <tr>
> <td>FILE_UPLOAD_HANDLERS</td>
> <td
> class
> =
> "code
> ">
> <
> div
> >('django.core.files.uploadhandler.MemoryFileUploadHandler',
>
> '
> ;django.core.files.uploadhandler.TemporaryFileUploadHandler')</
> div></td>
> </tr>
>
> <tr>
> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
> <td class="code"><div>2621440</div></td>
> </tr>
>
> <tr>
> <td>FILE_UPLOAD_PERMISSIONS</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>FILE_UPLOAD_TEMP_DIR</td>
> <td class="code"><div>'/tmp'</div></td>
> </tr>
>
> <tr>
> <td>FIRST_DAY_OF_WEEK</td>
> <td class="code"><div>0</div></td>
> </tr>
>
> <tr>
> <td>FIXTURE_DIRS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>FORCE_SCRIPT_NAME</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>IGNORABLE_404_ENDS</td>
> <td class="code"><div>('mail.pl',
> 'mailform.pl', 'mail.cgi', 'mailform.cgi',
> 'favicon.ico', '.php')</div></td>
> </tr>
>
> <tr>
> <td>IGNORABLE_404_STARTS</td>
> <td class="code"><div>('/cgi-bin/', '/
> _vti_bin', '/_vti_inf')</div></td>
> </tr>
>
> <tr>
> <td>INSTALLED_APPS</td>
> <td class="code"><div>['django.contrib.admin',
> 'django.contrib.markup',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.sites',
> 'omeroweb.webadmin',
> 'omeroweb.webclient']</div></td>
> </tr>
>
> <tr>
> <td>INTERNAL_IPS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>JING_PATH</td>
> <td class="code"><div>'/usr/bin/jing'</div></td>
> </tr>
>
> <tr>
> <td>LANGUAGES</td>
> <td class="code"><div>(('ar', 'Arabic'),
> ('bn', 'Bengali'),
> ('bg', 'Bulgarian'),
> ('ca', 'Catalan'),
> ('cs', 'Czech'),
> ('cy', 'Welsh'),
> ('da', 'Danish'),
> ('de', 'German'),
> ('el', 'Greek'),
> ('en', 'English'),
> ('es', 'Spanish'),
> ('et', 'Estonian'),
> ('es-ar', 'Argentinean Spanish'),
> ('eu', 'Basque'),
> ('fa', 'Persian'),
> ('fi', 'Finnish'),
> ('fr', 'French'),
> ('ga', 'Irish'),
> ('gl', 'Galician'),
> ('hu', 'Hungarian'),
> ('he', 'Hebrew'),
> ('hr', 'Croatian'),
> ('is', 'Icelandic'),
> ('it', 'Italian'),
> ('ja', 'Japanese'),
> ('ka', 'Georgian'),
> ('ko', 'Korean'),
> ('km', 'Khmer'),
> ('kn', 'Kannada'),
> ('lv', 'Latvian'),
> ('lt', 'Lithuanian'),
> ('mk', 'Macedonian'),
> ('nl', 'Dutch'),
> ('no', 'Norwegian'),
> ('pl', 'Polish'),
> ('pt', 'Portugese'),
> ('pt-br', 'Brazilian Portuguese'),
> ('ro', 'Romanian'),
> ('ru', 'Russian'),
> ('sk', 'Slovak'),
> ('sl', 'Slovenian'),
> ('sr', 'Serbian'),
> ('sv', 'Swedish'),
> ('ta', 'Tamil'),
> ('te', 'Telugu'),
> ('tr', 'Turkish'),
> ('uk', 'Ukrainian'),
> ('zh-cn', 'Simplified Chinese'),
> ('zh-tw', 'Traditional Chinese'))</div></td>
> </tr>
>
> <tr>
> <td>LANGUAGES_BIDI</td>
> <td class="code"><div>('he', 'ar',
> 'fa')</div></td>
> </tr>
>
> <tr>
> <td>LANGUAGE_CODE</td>
> <td class="code"><div>'en-gb'</div></td>
> </tr>
>
> <tr>
> <td>LANGUAGE_COOKIE_NAME</td>
> <td class="code"><div>'django_language'</div></td>
> </tr>
>
> <tr>
> <td>LOCALE_PATHS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>LOGDIR</td>
> <td class="code"><div>'/home/omero/weblog/'</div></
> td>
> </tr>
>
> <tr>
> <td>LOGIN_REDIRECT_URL</td>
> <td class="code"><div>'/accounts/profile/'</div></
> td>
> </tr>
>
> <tr>
> <td>LOGIN_URL</td>
> <td class="code"><div>'/accounts/login/'</div></td>
> </tr>
>
> <tr>
> <td>LOGOUT_URL</td>
> <td class="code"><div>'/accounts/logout/'</div></td>
> </tr>
>
> <tr>
> <td>MANAGERS</td>
> <td class="code"><div>()</div></td>
> </tr>
>
> <tr>
> <td>MEDIA_ROOT</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>MEDIA_URL</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>MIDDLEWARE_CLASSES</td>
> <td
> class
> ="code"><div>('django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.middleware.doc.XViewMiddleware')</div></td>
> </tr>
>
> <tr>
> <td>MONTH_DAY_FORMAT</td>
> <td class="code"><div>'F j'</div></td>
> </tr>
>
> <tr>
> <td>PASSWORD_RESET_TIMEOUT_DAYS</td>
> <td class="code"><div>'********************'</
> div></td>
> </tr>
>
> <tr>
> <td>PREPEND_WWW</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>PROFANITIES_LIST</td>
> <td class="code"><div>'********************'</
> div></td>
> </tr>
>
> <tr>
> <td>ROOT_URLCONF</td>
> <td class="code"><div>'omeroweb.urls'</div></td>
> </tr>
>
> <tr>
> <td>SECRET_KEY</td>
> <td class="code"><div>'********************'</
> div></td>
> </tr>
>
> <tr>
> <td>SEND_BROKEN_LINK_EMAILS</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>SERVER_EMAIL</td>
> <td class="code"><div>'root at localhost'</div></td>
> </tr>
>
> <tr>
> <td>SESSION_COOKIE_AGE</td>
> <td class="code"><div>86400</div></td>
> </tr>
>
> <tr>
> <td>SESSION_COOKIE_DOMAIN</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>SESSION_COOKIE_NAME</td>
> <td class="code"><div>'sessionid'</div></td>
> </tr>
>
> <tr>
> <td>SESSION_COOKIE_PATH</td>
> <td class="code"><div>'/'</div></td>
> </tr>
>
> <tr>
> <td>SESSION_COOKIE_SECURE</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>SESSION_ENGINE</td>
> <td
> class="code"><div>'django.contrib.sessions.backends.db'</
> div></td>
> </tr>
>
> <tr>
> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
> <td class="code"><div>True</div></td>
> </tr>
>
> <tr>
> <td>SESSION_FILE_PATH</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>SESSION_SAVE_EVERY_REQUEST</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>SETTINGS_MODULE</td>
> <td class="code"><div>'omeroweb.settings'</div></td>
> </tr>
>
> <tr>
> <td>SITE_ID</td>
> <td class="code"><div>1</div></td>
> </tr>
>
> <tr>
> <td>STATIC_LOGO</td>
> <td class="code"><div>'/home/omero/omero_dist/lib/
> python/omeroweb/webclient/media/images/logo.png'</div></td>
> </tr>
>
> <tr>
> <td>TEMPLATE_CONTEXT_PROCESSORS</td>
> <td
> class="code"><div>('django.core.context_processors.auth',
> 'django.core.context_processors.debug',
> 'django.core.context_processors.i18n',
> 'django.core.context_processors.media')</div></td>
> </tr>
>
> <tr>
> <td>TEMPLATE_DEBUG</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>TEMPLATE_DIRS</td>
> <td class="code"><div>('/home/omero/omero_dist/lib/
> python/omeroweb/feedback/templates',
> '/home/omero/omero_dist/lib/python/omeroweb/webadmin/
> templates',
> '/home/omero/omero_dist/lib/python/omeroweb/webclient/
> templates')</div></td>
> </tr>
>
> <tr>
> <td>TEMPLATE_LOADERS</td>
> <td
> class
> =
> "code
> ">
> <
> div
> >('django.template.loaders.filesystem.load_template_source',
>
> '
> ;django.template.loaders.app_directories.load_template_source')</
> div></td>
> </tr>
>
> <tr>
> <td>TEMPLATE_STRING_IF_INVALID</td>
> <td class="code"><div>''</div></td>
> </tr>
>
> <tr>
> <td>TEST_DATABASE_CHARSET</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>TEST_DATABASE_COLLATION</td>
> <td class="code"><div>None</div></td>
> </tr>
>
> <tr>
> <td>TEST_DATABASE_NAME</td>
> <td class="code"><div>'test-db.sqlite3'</div></td>
> </tr>
>
> <tr>
> <td>TEST_RUNNER</td>
> <td
> class="code"><div>'django.test.simple.run_tests'</div></td>
> </tr>
>
> <tr>
> <td>TIME_FORMAT</td>
> <td class="code"><div>'P'</div></td>
> </tr>
>
> <tr>
> <td>TIME_ZONE</td>
> <td class="code"><div>'Europe/London GB GB-Eire'</
> div></td>
> </tr>
>
> <tr>
> <td>TRANSACTIONS_MANAGED</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>URL_VALIDATOR_USER_AGENT</td>
> <td class="code"><div>u'Django/1.0-final-SVN-unknown (http://www.djangoproject.com
> )'</div></td>
> </tr>
>
> <tr>
> <td>USE_ETAGS</td>
> <td class="code"><div>False</div></td>
> </tr>
>
> <tr>
> <td>USE_I18N</td>
> <td class="code"><div>True</div></td>
> </tr>
>
> <tr>
> <td>WEBADMIN_ROOT_BASE</td>
> <td class="code"><div>'webadmin'</div></td>
> </tr>
>
> <tr>
> <td>WEBCLIENT_ROOT_BASE</td>
> <td class="code"><div>'webclient'</div></td>
> </tr>
>
> <tr>
> <td>YEAR_MONTH_FORMAT</td>
> <td class="code"><div>'F Y'</div></td>
> </tr>
>
> </tbody>
> </table>
>
> </div>
>
> <div id="explanation">
> <p>
> You're seeing this error because you have <code>DEBUG = True</
> code> in your
> Django settings file. Change that to <code>False</code>, and
> Django will
> display a standard 500 page.
> </p>
> </div>
> </body>
> </html>
>
>
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses, which could damage
> your computer system: you are advised to perform your own checks.
> Email communications with the University of Nottingham may be
> monitored as permitted by UK legislation.
>
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
More information about the ome-users
mailing list