Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #3206 (closed)

Opened 14 years ago

Closed 14 years ago

BUG: Web ; Inactive share exception

Reported by: cxallan Owned by: atarkowska
Priority: minor Milestone: OMERO-Beta4.2.1
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-11-11 (19)

Description

When a member visits a share that is inactive he/she gets an exception that the share is inactive. This probably shouldn't be shown to the user.

Change History (4)

comment:1 Changed 14 years ago by atarkowska

Could you please show me exactly what the exception is? screenshot, or so

comment:2 Changed 14 years ago by cxallan

Traceback (most recent call last):

  File "/home/jboss/OMERO.server-4.2.1-DEV-r8486-trunk1191/lib/python/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/views.py", line 185, in wrapped
    return f(request, *args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/views.py", line 1614, in load_public
    controller = BaseShare(conn, conn_share, share_id)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/controller/share.py", line 61, in __init__
    raise AttributeError("%s is not active and cannot be visible. Please contact the user you think might own this share for more information." % self.share.getShareType())

AttributeError: Share is not active and cannot be visible. Please contact the user you think might own this share for more information.


<WSGIRequest
GET:<QueryDict: {u'view': [u'icon']}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '265d5970adfcc9d36e4facbf4a271299'},
META:{'DOCUMENT_ROOT': '/var/www/localhost/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html, */*',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=265d5970adfcc9d36e4facbf4a271299',
 'HTTP_HOST': 'nightshade.openmicroscopy.org.uk',
 'HTTP_KEEP_ALIVE': '115',
 'HTTP_REFERER': 'http://nightshade.openmicroscopy.org.uk/webclient/public/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin',
 'PATH_INFO': u'/webclient/load_public/36621/',
 'PATH_TRANSLATED': '/var/www/localhost/htdocs/omero.fcgi/webclient/load_public/36621/',
 'QUERY_STRING': 'view=icon',
 'REMOTE_ADDR': '10.12.0.121',
 'REMOTE_PORT': '57429',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/webclient/load_public/36621/?view=icon',
 'SCRIPT_FILENAME': '/var/www/localhost/htdocs/omero.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '134.36.65.51',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'nightshade.openmicroscopy.org.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache Server at nightshade.openmicroscopy.org.uk Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache',
 'UNIQUE_ID': 'TNKUUoYkQTMAADHr9KEAAAAG',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x2830d90>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x260c910>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

comment:3 Changed 14 years ago by atarkowska

  • Status changed from new to assigned

comment:4 Changed 14 years ago by atarkowska

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [8509]) this fixes #3206

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.75616 sec.)

We're Hiring!