Task #6793 (closed)
BUG:Download original file error. Feedback 3980
| Reported by: | omero-qa | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-Beta4.3.3 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | wmoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-10-13 (1) |
Description (last modified by atarkowska)
Downloading original file more then one time using the same omero session raise an error.
http://qa.openmicroscopy.org.uk/qa/feedback/3980/
Comment: Tried downloading archived file twice.
Traceback (most recent call last):
File "/home/omero/OMERO.server-4.3.2-DEV-1029fd48-b2880/lib/python/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/omero/OMERO.server-4.3.2-DEV-1029fd48-b2880/lib/python/omeroweb/webclient/views.py", line 169, in wrapped
return f(request, *args, **kwargs)
File "/home/omero/OMERO.server-4.3.2-DEV-1029fd48-b2880/lib/python/omeroweb/webclient/views.py", line 1957, in archived_files
os.mkdir(temp_zip_dir)
OSError: [Errno 17] File exists: '/tmp/26930-135365cc-de04-447c-977d-62e9f18636b9.archived2'
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '60c53b96729a19f685d2ffbfc3b32b24'},
META:{'DOCUMENT_ROOT': '/var/www',
'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.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=60c53b96729a19f685d2ffbfc3b32b24',
'HTTP_HOST': 'gretzky.openmicroscopy.org.uk',
'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webclient/metadata_details/image/26930/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/webclient/archived_files/download/26930/',
'PATH_TRANSLATED': '/var/www/omero.fcgi/webclient/archived_files/download/26930/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.12.3.63',
'REMOTE_PORT': '60979',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/webclient/archived_files/download/26930/',
'SCRIPT_FILENAME': '/var/www/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 0x2ced510>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x33da310>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Change History (9)
comment:1 Changed 8 years ago by atarkowska
- Component changed from from QA to Web
- Description modified (diff)
- Priority changed from minor to critical
- Summary changed from BUG:Feedback 3980 to BUG:Download original file error. Feedback 3980
comment:2 Changed 8 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.3.3
comment:3 Changed 8 years ago by atarkowska
- Remaining Time set to 0.5
comment:4 Changed 8 years ago by atarkowska
- Sprint set to 2011-10-13 (1)
comment:5 Changed 8 years ago by atarkowska
- Status changed from new to accepted
comment:6 Changed 8 years ago by atarkowska
comment:7 Changed 8 years ago by saloynton
tested on chrome
comment:8 Changed 8 years ago by Aleksandra Tarkowska <atarkowska@…>
- Remaining Time changed from 0.5 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [22723d3d77813033592d6286a04f2be8ea8bb081/ome.git]) this fixes issue with downloading archive file, close #6793
comment:9 Changed 8 years ago by Aleksandra Tarkowska <atarkowska@…>
(In [9f4a5c7b15574bc809d7ec4e2bf1410c1a43a306/ome.git]) download original file missed variable, fixed, see #6793, see #6921
TESTING :