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