Task #8957 (closed)
Opened 7 years ago
Closed 7 years ago
BUG: Dataset not found
| Reported by: | omero-qa | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-4.4 |
| Component: | Web | Version: | n.a. |
| Keywords: | testing,phase1 | Cc: | web-team@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2012-07-03 (18) |
Description
http://qa.openmicroscopy.org.uk/qa/feedback/4416/
Comment: I was testing batch annotation on images so I had the tree expanded as user-6 in group read-annotate.
Traceback (most recent call last):
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/decorators.py", line 311, in wrapped
retval = f(request, *args, **kwargs)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/decorators.py", line 345, in wrapper
context = f(request, *args, **kwargs)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/views.py", line 714, in load_metadata_details
manager = BaseContainer(conn, index=index, **{str(c_type): long(c_id)})
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/controller/container.py", line 73, in __init__
raise AttributeError("We are sorry, but that dataset (id:%s) does not exist, or if it does, you have no permission to see it. Contact the user you think might share that data with you." % str(dataset))
AttributeError: We are sorry, but that dataset (id:231) does not exist, or if it does, you have no permission to see it. Contact the user you think might share that data with you.
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '8239980b9bf1e9fbef3ffb7b9274c3ae'},
META:{'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html, */*; q=0.01',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-GB,en-US;q=0.8,en;q=0.6',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=8239980b9bf1e9fbef3ffb7b9274c3ae',
'HTTP_HOST': 'gretzky.openmicroscopy.org.uk',
'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webclient/userdata/?experimenter=7',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 5.2; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5',
'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/webclient/metadata_details/dataset/231/',
'PATH_TRANSLATED': '/home/omero/OMERO-CURRENT/var/omero.fcgi/webclient/metadata_details/dataset/231/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.0.21.6',
'REMOTE_PORT': '4165',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/webclient/metadata_details/dataset/231/',
'SCRIPT_FILENAME': '/home/omero/OMERO-CURRENT/var/omero.fcgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '134.36.65.227',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'gretzky.openmicroscopy.org.uk',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at gretzky.openmicroscopy.org.uk Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7f4fec7ab5d0>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7f4fec7ab210>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Change History (10)
comment:1 Changed 7 years ago by wmoore
- Component changed from from QA to Web
- Milestone changed from Unscheduled to OMERO-Beta4.4
- Priority changed from minor to critical
- Sprint set to 2012-06-05 (16)
comment:2 Changed 7 years ago by atarkowska
- Cc web-team@… added; saloynton@… wmoore removed
- Keywords testing phase1 added
comment:3 Changed 7 years ago by jburel
- Sprint changed from 2012-06-05 (16) to 2012-06-19 (17)
comment:4 Changed 7 years ago by atarkowska
- Status changed from new to accepted
comment:5 Changed 7 years ago by atarkowska
- Owner atarkowska deleted
- Status changed from accepted to new
comment:6 Changed 7 years ago by jmoore
- Cc web-team@… removed
- Owner set to web-team@…
comment:7 Changed 7 years ago by atarkowska
The same problem was noticed while checking #8788. This require more investigation.
comment:8 Changed 7 years ago by atarkowska
- Owner changed from web-team@… to atarkowska
comment:9 Changed 7 years ago by jburel
- Sprint changed from 2012-06-19 (17) to 2012-07-03 (18)
Moved from sprint 2012-06-19 (17)
comment:10 Changed 7 years ago by cxallan
- Cc web-team@… added
- Resolution set to invalid
- Status changed from new to closed
Based on the exception, the code and knowing the setup for user-6 (Dataset:231 is aptly named DatasetToBeDeleted_3), I'd venture to say that the Dataset had been deleted underneath the user in question here. In which case the error, while not necessarily ideal is completely valid. #8788 remains open with other issues related to 404's, closing this ticket as invalid.
Moved from sprint 2012-06-05 (16)