We're Hiring!

error comment shared data

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

error comment shared data

Postby LeroyAlex » Thu Nov 27, 2014 12:44 pm

Hi,

When i create a share on omero.web and try to add a comment, i get this error:

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>500 - Erreur interne au serveur.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Erreur de serveur</h1></div>
<div id="content">
<div class="content-container"><fieldset>
  <h2>500 - Erreur interne au serveur.</h2>
  <h3>La ressource que vous recherchez présente un problème, elle ne peut donc pas être affichée.</h3>
</fieldset></div>
</div>
</body>
</html>
AttributeError at /webclient/annotate_comment/
'NoneType' object has no attribute 'id'

Request Method: POST
Request URL: http://10.2.4.251/omero/webclient/annotate_comment/
Django Version: 1.6
Python Executable: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Python Version: 2.6.6
Python Path: ['c:\\OMERO.server\\lib\\python', 'C:\\Python26\\lib\\site-packages\\distribute-0.6.49-py2.6.egg', 'C:\\Python26\\lib\\site-packages\\pip-1.5.6-py2.6.egg', 'C:\\Program Files (x86)\\ZeroC\\Ice-3.4.2\\python', 'C:\\Windows\\SYSTEM32\\python26.zip', 'C:\\Python26\\Lib', 'C:\\Python26\\DLLs', 'C:\\Python26\\Lib\\lib-tk', 'C:\\Windows\\SysWOW64\\inetsrv', 'C:\\Python26', 'C:\\Python26\\lib\\site-packages', 'C:\\Python26\\lib\\site-packages\\win32', 'C:\\Python26\\lib\\site-packages\\win32\\lib', 'C:\\Python26\\lib\\site-packages\\Pythonwin', 'C:\\Python26\\lib\\site-packages\\setuptools-0.6c11-py2.6.egg-info', 'c:\\OMERO.server\\lib\\python', 'c:\\OMERO.server\\lib\\python\\omeroweb', 'c:\\OMERO.server\\lib\\python', 'c:\\OMERO.server\\lib\\python\\omeroweb']
Server time: Thu, 27 Nov 2014 13:19:43 +0100
Installed Applications:
('django.contrib.staticfiles',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'omeroweb.feedback',
'omeroweb.webadmin',
'omeroweb.webclient',
'omeroweb.webgateway',
'omeroweb.webtest',
'omeroweb.webredirect',
'omeroweb.webstart',
u'omeroweb.tagsearch',
u'omeroweb.autotag',
u'omeroweb.figure')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')

Traceback:
File "c:\OMERO.server\lib\python\django\core\handlers\base.py" in get_response
  114.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "c:\OMERO.server\lib\python\omeroweb\decorators.py" in wrapped
  387.             retval = f(request, *args, **kwargs)
File "c:\OMERO.server\lib\python\omeroweb\decorators.py" in wrapper
  434.             context = f(request, *args, **kwargs)
File "c:\OMERO.server\lib\python\omeroweb\webclient\views.py" in annotate_comment
  1255.             conn.SERVICE_OPTS.setOmeroGroup(obs[0].getDetails().group.id.val)

Exception Type: AttributeError at /webclient/annotate_comment/
Exception Value: 'NoneType' object has no attribute 'id'
Request information:
GET: No GET data

POST:
comment = u'hello'
share = u'1742'

FILES: No FILES data

COOKIES:
sessionid = 'f6qpfx1gjf75mn508p4snuu8z1my461v'

META:
TMP = 'C:\\Windows\\TEMP'
COMPUTERNAME = 'OMERO'
HTTP_REFERER = 'http://10.2.4.251/omero/webclient/public/'
USERDOMAIN = 'IBDM'
SCRIPT_NAME = u'/omero'
COMMONPROGRAMFILES = 'C:\\Program Files (x86)\\Common Files'
REQUEST_METHOD = 'POST'
HTTP_ORIGIN = 'http://10.2.4.251'
SERVER_PROTOCOL = 'HTTP/1.1'
SYSTEMROOT = 'C:\\Windows'
CONTENT_LENGTH = '24'
TK_LIBRARY = 'C:\\Python26\\tcl\\tk8.5'
PROCESSOR_ARCHITECTURE = 'x86'
ALLUSERSPROFILE = 'C:\\ProgramData'
APP_POOL_ID = 'DefaultAppPool'
SERVER_PORT = '80'
PROGRAMW6432 = 'C:\\Program Files'
USERNAME = 'OMERO$'
COMSPEC = 'C:\\Windows\\system32\\cmd.exe'
HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
PYTHONPATH = 'C:\\Program Files (x86)\\ZeroC\\Ice-3.4.2\\python'
HTTP_HOST = '10.2.4.251'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HTTP_CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=UTF-8'
HTTP_ACCEPT = '*/*'
WINDIR = 'C:\\Windows'
wsgi.version =
APP_POOL_CONFIG = 'C:\\inetpub\\temp\\apppools\\DefaultAppPool\\DefaultAppPool.config'
SYSTEMDRIVE = 'C:'
wsgi.multiprocess = False
HTTP_ACCEPT_LANGUAGE = 'fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4'
wsgi.errors = <PyTraceObject object at 0x02FB7EA0>
NUMBER_OF_PROCESSORS = '1'
wsgi.run_once = False
PROCESSOR_LEVEL = '6'
HTTP_CONTENT_LENGTH = '24'
PROCESSOR_ARCHITEW6432 = 'AMD64'
OS = 'Windows_NT'
PUBLIC = 'C:\\Users\\Public'
USERPROFILE = 'C:\\Windows\\system32\\config\\systemprofile'
PSMODULEPATH = 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\'
HTTP_COOKIE = 'sessionid=f6qpfx1gjf75mn508p4snuu8z1my461v'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 62 Stepping 4, GenuineIntel'
PROGRAMFILES = 'C:\\Program Files (x86)'
PROCESSOR_REVISION = '3e04'
PATH_INFO = u'/webclient/annotate_comment/'
QUERY_STRING = ''
PATH = 'C:\\Python26;C:\\Python26\\Scripts;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ZeroC\\Ice-3.4.2\\bin;C:\\Program Files\\Java\\jdk1.7.0_71\\bin;'
wsgi.url_scheme = 'http'
PROGRAMFILES(X86) = 'C:\\Program Files (x86)'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36'
HTTP_CONNECTION = 'keep-alive'
TEMP = 'C:\\Windows\\TEMP'
REMOTE_ADDR = '10.2.6.206'
COMMONPROGRAMFILES(X86) = 'C:\\Program Files (x86)\\Common Files'
TIX_LIBRARY = 'C:\\Python26\\tcl\\tix8.4.3'
LOCALAPPDATA = 'C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local'
isapi.ecb = <EXTENSION_CONTROL_BLOCK object at 0x0347BCD8>
PROGRAMDATA = 'C:\\ProgramData'
TCL_LIBRARY = 'C:\\Python26\\tcl\\tcl8.5'
wsgi.input = <isapi_wsgi.ISAPIInputWrapper instance at 0x03E5DC88>
REMOTE_USER = ''
HTTPS = 'off'
wsgi.multithread = False
FP_NO_HOST_CHECK = 'NO'
wsgi.file_wrapper = ''
SERVER_NAME = '10.2.4.251'
APPDATA = 'C:\\Windows\\system32\\config\\systemprofile\\AppData\\Roaming'
IIS_EXTENSION_PATH = '/omero'
DJANGO_SETTINGS_MODULE = 'omeroweb.settings'
CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=UTF-8'
COMMONPROGRAMW6432 = 'C:\\Program Files\\Common Files'
HTTP_ACCEPT_ENCODING = 'gzip, deflate'

Settings:
Using settings module omeroweb.settings
USE_L10N = False
USE_THOUSAND_SEPARATOR = False
CENTER_PLUGINS = [[u'Auto Tag', u'autotag/auto_tag_init.js.html', u'auto_tag_panel']]
WEBSTART_HEAP = '1024m'
CSRF_COOKIE_SECURE = False
LANGUAGE_CODE = 'en-gb'
ROOT_URLCONF = 'omeroweb.urls'
MANAGERS = []
OPEN_ASTEX_MAX_VOXELS = 27000000
DEFAULT_CHARSET = 'utf-8'
NANOXML_JAR = 'nanoxml.jar'
PING_INTERVAL = 60000
STATIC_ROOT = 'c:/OMERO.server/lib/python/omeroweb/static'
APPLICATION_SERVER_HOST = '0.0.0.0'
OMERO_HOME = 'c:\\OMERO.server'
ALLOWED_HOSTS = [u'*']
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_SUBJECT_PREFIX = '[OMERO.web] '
SEND_BROKEN_LINK_EMAILS = True
OPEN_ASTEX_MAX_SIDE = 400
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_NAME = 'sessionid'
PUBLIC_URL_FILTER = <_sre.SRE_Pattern object at 0x02E780F0>
ADMIN_FOR =
TIME_INPUT_FORMATS =
DATABASES = {}
FILE_UPLOAD_PERMISSIONS = None
WEBSTART_PORT = '4064'
FILE_UPLOAD_HANDLERS =
PUBLIC_ENABLED = False
DEFAULT_CONTENT_TYPE = 'text/html'
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
APPEND_SLASH = True
FIRST_DAY_OF_WEEK = 0
DATABASE_ROUTERS = []
WEBSTART_TITLE = 'OMERO.insight'
YEAR_MONTH_FORMAT = 'F Y'
DEFAULT_IMG = 'c:/OMERO.server/lib/python/omeroweb/webgateway/static/webgateway/img/image128.png'
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES = {u'default': {u'BACKEND': u'django.core.cache.backends.dummy.DummyCache'}}
SERVER_EMAIL = None
FASTCGI_TYPES =
USE_X_FORWARDED_HOST = False
CUSTOM_SETTINGS = {'omero.ldap.base': 'OU=IBDML,DC=IBDM,DC=univ-mrs,DC=fr', 'omero.db.pass': 'mr2014;', 'omero.ldap.config': 'true', 'opmero.web.server_list': '[["10.2.4.251", 4064, "prod"], ["10.2.4.251", 4064, "dev"]]', 'omero.data.dir': 'E:\\\\Omero-data\\\\OMERO', 'omero.web.apps': '["tagsearch", "autotag", "figure"]', 'omero.web.debug': 'True', 'omero.web.ui.top_links': '[["Tag Search", "tagsearch"], ["Figure", "figure_index"]]', 'omero.db.user': 'ibdm_omero_db_user', 'omero.web.ui.center_plugins': '[["Auto Tag", "autotag/auto_tag_init.js.html", "auto_tag_panel"]]', 'omero.db.name': 'ibdm_omero_database', 'omero.config.version': '4.2.1', 'omero.ldap.urls': 'ldap://10.2.4.2:389', 'omero.web.application_server': 'development'}
LOGIN_VIEW = 'weblogin'
USE_I18N = True
THOUSAND_SEPARATOR = ','
SECRET_KEY = u'********************'
LANGUAGE_COOKIE_NAME = 'django_language'
DEFAULT_INDEX_TABLESPACE = ''
EMAIL_TEMPLATES = {'create_share': {'html_content': '<p>Hi,</p><p>I would like to share some of my data with you.<br/>Please find it on the <a href="%s?server=%i">%s?server=%i</a>.</p><p>%s</p>', 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, 'remove_member_from_share': {'html_content': '<p>You were removed from the share <a href="%s?server=%i">%s?server=%i</a>. This share is no longer available for you.</p>', 'text_content': 'You were removed from the share %s?server=%i. This share is no longer available for you.'}, 'add_member_to_share': {'html_content': '<p>Hi,</p><p>I would like to share some of my data with you.<br/>Please find it on the <a href="%s?server=%i">%s?server=%i</a>.</p><p>%s</p>', 'text_content': 'Hi, I would like to share some of my data with you. Please find it on the %s?server=%i. /n %s'}, 'add_comment_to_share': {'html_content': '<p>New comment is available on share <a href="%s?server=%i">%s?server=%i</a>.</p>', 'text_content': 'New comment is available on share %s?server=%i.'}}
TRANSACTIONS_MANAGED = False
LOGGING_CONFIG = 'django.utils.log.dictConfig'
WEBSTART_TEMPLATE = None
TEMPLATE_LOADERS =
WSGI_APPLICATION = None
TEMPLATE_DEBUG = True
X_FRAME_OPTIONS = 'SAMEORIGIN'
CSRF_COOKIE_NAME = 'csrftoken'
PUBLIC_CACHE_ENABLED = False
DEFAULT_FROM_EMAIL = 'webmaster@localhost'
FORCE_SCRIPT_NAME = None
CONFIG_XML = <omero.config.ConfigXml object at 0x02E76E50>
TOP_LINKS = [[u'Tag Search', u'tagsearch'], [u'Figure', u'figure_index']]
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SESSION_COOKIE_SECURE = False
WEBSTART_CLASS = 'org.openmicroscopy.shoola.Main'
CSRF_COOKIE_DOMAIN = None
FILE_CHARSET = 'utf-8'
DEBUG = True
SESSION_FILE_PATH = 'c:\\windows\\temp'
FEEDBACK_APP = 6
FASTCGI = 'fastcgi'
INSTALLED_APPS =
LANGUAGES_BIDI =
COMMENTS_ALLOW_PROFANITIES = False
SERVER_LIST = [[u'localhost', 4064, u'omero']]
UI_MENU_DROPDOWN = {u'ALL': u'All members', u'COLLEAGUES': u'Members', u'LEADERS': u'Owners'}
STATICFILES_DIRS = [('webstart/jars', 'c:/OMERO.server/lib/insight')]
PUBLIC_CACHE_TIMEOUT = 86400
PREPEND_WWW = False
SECURE_PROXY_SSL_HEADER = None
ADDITIONAL_APPS = [u'tagsearch', u'autotag', u'figure']
SESSION_COOKIE_HTTPONLY = True
DEBUG_PROPAGATE_EXCEPTIONS = False
MEDIA_URL = ''
WEBSTART = True
MONTH_DAY_FORMAT = 'F j'
LOGIN_URL = '/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
INDEX_TEMPLATE = None
DEFAULT_SESSION_ENGINE = 'omeroweb.filesessionstore'
TIME_FORMAT = 'P'
AUTH_USER_MODEL = 'auth.User'
DATE_INPUT_FORMATS =
WEBSTART_VENDOR = 'The Open Microscopy Environment'
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
AUTHENTICATION_BACKENDS = 'django.contrib.auth.backends.ModelBackend'
EMAIL_HOST_PASSWORD = u'********************'
PASSWORD_RESET_TIMEOUT_DAYS = u'********************'
CACHE_MIDDLEWARE_ALIAS = 'default'
SESSION_SAVE_EVERY_REQUEST = False
RIGHT_PLUGINS = [[u'Acquisition', u'webclient/data/includes/right_plugin.acquisition.js.html', u'metadata_tab'], [u'Preview', u'webclient/data/includes/right_plugin.preview.js.html', u'preview_tab']]
NUMBER_GROUPING = 0
APPLICATION_SERVER = 'development'
SESSION_ENGINE = 'omeroweb.filesessionstore'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH = '/'
LOGIN_REDIRECT_URL = '/accounts/profile/'
SESSION_COOKIE_PATH = '/'
FASTCGITCP = 'fastcgi-tcp'
WEBSTART_HOMEPAGE = 'http://www.openmicroscopy.org'
DECIMAL_SEPARATOR = '.'
IGNORABLE_404_URLS =
LOCALE_PATHS =
TEMPLATE_STRING_IF_INVALID = ''
LOGOUT_URL = '/accounts/logout/'
EMAIL_USE_TLS = False
FIXTURE_DIRS =
EMAIL_HOST = None
DATE_FORMAT = 'N j, Y'
MEDIA_ROOT = ''
FEEDBACK_URL = 'http://qa.openmicroscopy.org.uk'
DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
ADMINS = []
FORMAT_MODULE_PATH = None
LOGDIR = 'c:/OMERO.server/var/log'
CUSTOM_SETTINGS_MAPPINGS = {'omero.web.allowed_hosts': ['ALLOWED_HOSTS', '["*"]', <function loads at 0x018B4170>, True], 'omero.web.ui.top_links': ['TOP_LINKS', '[]', <function loads at 0x018B4170>, False], 'omero.web.apps': ['ADDITIONAL_APPS', '[]', <function loads at 0x018B4170>, False], 'omero.web.public.server_id': ['PUBLIC_SERVER_ID', 1, <type 'int'>, True], 'omero.web.session_engine': ['SESSION_ENGINE', 'omeroweb.filesessionstore', <function check_session_engine at 0x02E7F270>, True], 'omero.web.debug': ['DEBUG', 'false', <function parse_boolean at 0x02E7F070>, False], 'omero.web.index_template': ['INDEX_TEMPLATE', None, <function identity at 0x02E7F2B0>, True], 'omero.web.send_broken_link_emails': ['SEND_BROKEN_LINK_EMAILS', 'true', <function parse_boolean at 0x02E7F070>, True], 'omero.web.session_cookie_age': ['SESSION_COOKIE_AGE', 86400, <type 'int'>, True], 'omero.web.staticfile_dirs': ['STATICFILES_DIRS', '[]', <function loads at 0x018B4170>, True], 'omero.web.email_host': ['EMAIL_HOST', None, <function identity at 0x02E7F2B0>, True], 'omero.web.static_url': ['STATIC_URL', '/static/', <type 'str'>, True], 'omero.web.scripts_to_ignore': ['SCRIPTS_TO_IGNORE', '["/omero/figure_scripts/Movie_Figure.py", "/omero/figure_scripts/Split_View_Figure.py", "/omero/figure_scripts/Thumbnail_Figure.py", "/omero/figure_scripts/ROI_Split_Figure.py", "/omero/export_scripts/Make_Movie.py","/omero/setup_scripts/FLIM_initialise.py", "/omero/import_scripts/Populate_ROI.py"]', <function parse_paths at 0x02E7F030>, True], 'omero.web.public.user': ['PUBLIC_USER', None, <function leave_none_unset at 0x02E7F330>, True], 'omero.web.caches': ['CACHES', '{"default": {"BACKEND": "django.core.cache.backends.dummy.DummyCache"}}', <function loads at 0x018B4170>, True], 'omero.web.login_view': ['LOGIN_VIEW', 'weblogin', <type 'str'>, True], 'omero.web.template_dirs': ['TEMPLATE_DIRS', '[]', <function loads at 0x018B4170>, True], 'omero.web.open_astex_max_voxels': ['OPEN_ASTEX_MAX_VOXELS', 27000000, <type 'int'>, True], 'omero.web.webstart_title': ['WEBSTART_TITLE', 'OMERO.insight', <type 'str'>, True], 'omero.web.ping_interval': ['PING_INTERVAL', 60000, <type 'int'>, True], 'omero.web.webstart_icon': ['WEBSTART_ICON', 'webstart/img/icon-omero-insight.png', <type 'str'>, True], 'omero.web.viewer.initial_zoom_level': ['VIEWER_INITIAL_ZOOM_LEVEL', None, <function leave_none_unset_int at 0x02E7F370>, True], 'omero.web.public.cache.enabled': ['PUBLIC_CACHE_ENABLED', 'false', <function parse_boolean at 0x02E7F070>, True], 'omero.web.logdir': ['LOGDIR', 'c:/OMERO.server/var/log', <type 'str'>, True], 'omero.web.open_astex_min_side': ['OPEN_ASTEX_MIN_SIDE', 20, <type 'int'>, True], 'omero.web.webstart_jar': ['WEBSTART_JAR', 'omero.insight.jar', <type 'str'>, True], 'omero.upgrades.url': ['UPGRADES_URL', 'http://upgrade.openmicroscopy.org.uk/', <type 'str'>, True], 'omero.web.application_server.max_requests': ['APPLICATION_SERVER_MAX_REQUESTS', 400, <type 'int'>, True], 'omero.web.application_server.host': ['APPLICATION_SERVER_HOST', '0.0.0.0', <type 'str'>, True], 'omero.web.webstart_port': ['WEBSTART_PORT', '4064', <type 'str'>, True], 'omero.web.public.url_filter': ['PUBLIC_URL_FILTER', '^/(?!webadmin)', <function compile at 0x01674A30>, True], 'omero.web.email_use_tls': ['EMAIL_USE_TLS', 'false', <function parse_boolean at 0x02E7F070>, True], 'omero.web.email_host_password': ['EMAIL_HOST_PASSWORD', None, <function identity at 0x02E7F2B0>, True], 'omero.web.force_script_name': ['FORCE_SCRIPT_NAME', None, <function leave_none_unset at 0x02E7F330>, True], 'omero.web.admins': ['ADMINS', '[]', <function loads at 0x018B4170>, True], 'omero.web.webgateway_cache': ['WEBGATEWAY_CACHE', None, <function leave_none_unset at 0x02E7F330>, True], 'omero.web.webstart_class': ['WEBSTART_CLASS', 'org.openmicroscopy.shoola.Main', <type 'str'>, True], 'omero.web.ui.center_plugins': ['CENTER_PLUGINS', '[]', <function loads at 0x018B4170>, False], 'omero.web.webstart_homepage': ['WEBSTART_HOMEPAGE', 'http://www.openmicroscopy.org', <type 'str'>, True], 'omero.web.login_logo': ['LOGIN_LOGO', None, <function leave_none_unset at 0x02E7F330>, True], 'omero.web.webstart_template': ['WEBSTART_TEMPLATE', None, <function identity at 0x02E7F2B0>, True], 'omero.web.public.enabled': ['PUBLIC_ENABLED', 'false', <function parse_boolean at 0x02E7F070>, True], 'omero.web.public.cache.timeout': ['PUBLIC_CACHE_TIMEOUT', 86400, <type 'int'>, True], 'omero.web.email_host_user': ['EMAIL_HOST_USER', None, <function identity at 0x02E7F2B0>, True], 'omero.web.email_subject_prefix': ['EMAIL_SUBJECT_PREFIX', '[OMERO.web] ', <type 'str'>, True], 'omero.web.public.cache.key': ['PUBLIC_CACHE_KEY', 'omero.web.public.cache.key', <type 'str'>, True], 'omero.web.ui.menu.dropdown': ['UI_MENU_DROPDOWN', '{"LEADERS": "Owners", "COLLEAGUES": "Members", "ALL": "All members"}', <function loads at 0x018B4170>, True], 'omero.web.webstart_heap': ['WEBSTART_HEAP', '1024m', <type 'str'>, True], 'omero.web.public.password': ['PUBLIC_PASSWORD', None, <function leave_none_unset at 0x02E7F330>, True], 'omero.web.email_port': ['EMAIL_PORT', None, <function identity at 0x02E7F2B0>, True], 'omero.web.application_server.port': ['APPLICATION_SERVER_PORT', '4080', <type 'str'>, True], 'omero.web.databases': ['DATABASES', '{}', <function loads at 0x018B4170>, True], 'omero.web.webstart_vendor': ['WEBSTART_VENDOR', 'The Open Microscopy Environment', <type 'str'>, True], 'omero.web.application_server': ['APPLICATION_SERVER', 'fastcgi-tcp', <function check_server_type at 0x02E7F230>, False], 'omero.web.nanoxml_jar': ['NANOXML_JAR', 'nanoxml.jar', <type 'str'>, True], 'omero.web.open_astex_max_side': ['OPEN_ASTEX_MAX_SIDE', 400, <type 'int'>, True], 'omero.web.ui.right_plugins': ['RIGHT_PLUGINS', '[["Acquisition", "webclient/data/includes/right_plugin.acquisition.js.html", "metadata_tab"],["Preview", "webclient/data/includes/right_plugin.preview.js.html", "preview_tab"]]', <function loads at 0x018B4170>, True], 'omero.web.server_email': ['SERVER_EMAIL', None, <function identity at 0x02E7F2B0>, True], 'omero.web.session_expire_at_browser_close': ['SESSION_EXPIRE_AT_BROWSER_CLOSE', 'true', <function parse_boolean at 0x02E7F070>, True], 'omero.web.webstart_host': ['WEBSTART_HOST', 'localhost', <type 'str'>, True], 'omero.web.server_list': ['SERVER_LIST', '[["localhost", 4064, "omero"]]', <function loads at 0x018B4170>, True]}
WEBSTART_JAR = 'omero.insight.jar'
SCRIPTS_TO_IGNORE = [u'\\omero\\figure_scripts\\Movie_Figure.py', u'\\omero\\figure_scripts\\Split_View_Figure.py', u'\\omero\\figure_scripts\\Thumbnail_Figure.py', u'\\omero\\figure_scripts\\ROI_Split_Figure.py', u'\\omero\\export_scripts\\Make_Movie.py', u'\\omero\\setup_scripts\\FLIM_initialise.py', u'\\omero\\import_scripts\\Populate_ROI.py']
PAGE = 200
DEFAULT_USER = 'c:/OMERO.server/lib/python/omeroweb/webgateway/static/webgateway/img/personal32.png'
DATETIME_FORMAT = 'N j, Y, P'
TEMPLATE_DIRS = []
UPGRADES_URL = 'http://upgrade.openmicroscopy.org.uk/'
MIDDLEWARE_CLASSES =
SITE_ID = 1
DISALLOWED_USER_AGENTS =
ALLOWED_INCLUDE_ROOTS =
WEBSTART_ICON = 'webstart/img/icon-omero-insight.png'
PUBLIC_CACHE_KEY = u'********************'
LOGGING = {'loggers': {'': {'handlers': ['default'], 'propagate': True, 'level': 'DEBUG'}, 'django.request': {'handlers': ['request_handler'], 'propagate': False, 'level': 'DEBUG'}, 'django': {'handlers': ['null'], 'propagate': True, 'level': 'DEBUG'}}, 'version': 1, 'formatters': {'standard': {'format': '%(asctime)s %(levelname)5.5s [%(name)40.40s] (proc.%(process)5.5d) %(funcName)s:%(lineno)d %(message)s'}}, 'disable_existing_loggers': False, 'handlers': {'default': {'backupCount': 5, 'level': 'DEBUG', 'filename': 'c:/OMERO.server/var/log/OMEROweb.log', 'formatter': 'standard', 'class': 'logging.handlers.RotatingFileHandler', 'maxBytes': 5242880}, 'request_handler': {'backupCount': 5, 'level': 'DEBUG', 'filename': 'c:/OMERO.server/var/log/OMEROweb_request.log', 'formatter': 'standard', 'class': 'logging.handlers.RotatingFileHandler', 'maxBytes': 5242880}, 'null': {'class': 'django.utils.log.NullHandler', 'level': 'DEBUG'}, 'console': {'formatter': 'standard', 'class': 'logging.StreamHandler', 'level': 'DEBUG'}}}
SHORT_DATE_FORMAT = 'm/d/Y'
APPLICATION_SERVER_PORT = '4080'
SESSION_ENGINE_VALUES =
OPEN_ASTEX_MIN_SIDE = 20
STATICFILES_FINDERS =
CACHE_MIDDLEWARE_KEY_PREFIX = u'********************'
TIME_ZONE = 'Europe/London'
FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
INSIGHT_JARS = 'c:/OMERO.server/lib/insight'
WEBSTART_HOST = 'localhost'
APPLICATION_SERVER_MAX_REQUESTS = 400
DEFAULT_TABLESPACE = ''
TEMPLATE_CONTEXT_PROCESSORS =
ALL_SERVER_TYPES =
SESSION_COOKIE_AGE = 86400
SETTINGS_MODULE = 'omeroweb.settings'
USE_ETAGS = False
DEFAULT_SERVER_TYPE = 'fastcgi-tcp'
LANGUAGES =
FILE_UPLOAD_TEMP_DIR = 'c:\\windows\\temp'
INTERNAL_IPS =
STATIC_URL = '/static/'
EMAIL_PORT = None
USE_TZ = False
SHORT_DATETIME_FORMAT = 'm/d/Y P'
DEVELOPMENT = 'development'
PASSWORD_HASHERS = u'********************'
ABSOLUTE_URL_OVERRIDES = {}
PUBLIC_SERVER_ID = 1
CACHE_MIDDLEWARE_SECONDS = 600
CSRF_COOKIE_HTTPONLY = False
DATETIME_INPUT_FORMATS =
EMAIL_HOST_USER = None
PROFANITIES_LIST = u'********************'

You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard 500 page.


Moreover, i tried the expiration date option and it doesn't quite work in my point of view. Although, once it expired i can't add any new comment i can still open the image which i thought would not be the case since this is the point of an expiring share.
Same goes for the share in itself, i still see the share in my public tree and can't remove it when i d like to since it s supposed to be expired...

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: error comment shared data

Postby atarkowska » Fri Nov 28, 2014 1:12 pm

Hi Alex,

That issue was fixed in 5.0.6. Could you please upgrade as you are not using the latest version.

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: error comment shared data

Postby LeroyAlex » Fri Nov 28, 2014 2:16 pm

Hi,

I'm actually using omero 5.0.5... and if i understood well, the 5.0.6 patch note only fixes security issues.

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: error comment shared data

Postby atarkowska » Fri Nov 28, 2014 3:12 pm

It is certainly fixing security issues and also few bugs. Sorry it wasn't mentioned.

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: error comment shared data

Postby LeroyAlex » Fri Nov 28, 2014 3:20 pm

Hi,

Ok, does it also solve the expiration date issue i mentioned or just comment option?

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: error comment shared data

Postby atarkowska » Fri Nov 28, 2014 3:39 pm

There were no changes to the expiration date. I will add delete button. Thanks for reporting that

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: error comment shared data

Postby LeroyAlex » Mon Dec 01, 2014 8:34 am

Hi,

I do not want to bother you but i will ask you again cause i don't know if we're talking about the same thing when i say expiration date. I didn't mean the date option in itself, but are the images still available even when the date is expired?

Thank you again for your answer and i will update to v5.0.6 asap.

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: error comment shared data

Postby atarkowska » Mon Dec 01, 2014 10:38 am

Hi Alex,

You can still see images when share expires. Expired share has blocked comments but owner can always edit that. What exactly is your usecase?

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: error comment shared data

Postby LeroyAlex » Mon Dec 01, 2014 10:46 am

Hi,

My case is exactly what you said. I just wanted to be sure we understood each other^^

Thx

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: error comment shared data

Postby LeroyAlex » Fri Dec 05, 2014 10:28 am

Hi,

It s still related to shared images.
I noticed that when you create a share, the one included in the share does not receive any notifications about and has not other choices to check his public tree everytime.

Is this also fixed in 5.0.6?if not, it'd be nice to add it.

Best,
Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Next

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest