Task #6097 (closed)
Opened 8 years ago
Closed 8 years ago
Bug: Web tree remove -> paste
| Reported by: | wmoore | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.3.1 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-07-07 (1) |
Description
If I right click on a Dataset and "remove", then copy the same dataset from the bottom of the tree and "paste" it back in to the project that it came from, I get the error below.
When I refresh the tree, everything is OK (dataset is back in original project).
Traceback (most recent call last):
File "/Users/will/Desktop/OMERO/dist/lib/python/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py", line 165, in wrapped
return f(request, *args, **kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py", line 643, in load_data
t = template_loader.get_template(template)
File "/Users/will/Desktop/OMERO/dist/lib/python/django/template/loader.py", line 81, in get_template
source, origin = find_template_source(template_name)
File "/Users/will/Desktop/OMERO/dist/lib/python/django/template/loader.py", line 74, in find_template_source
raise TemplateDoesNotExist, name
TemplateDoesNotExist
<WSGIRequest
GET:<QueryDict: {u'view': [u'tree']}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '5e4904425abb93d35adfa7ff9b487c4b'},
META:{'Apple_PubSub_Socket_Render': '/tmp/launch-htC48u/Render',
'COMMAND_MODE': 'unix2003',
'CONTENT_LENGTH': '',
'CONTENT_TYPE': 'application/x-www-form-urlencoded',
'DISPLAY': '/tmp/launch-r5z1Ri/:0',
'DJANGO_SETTINGS_MODULE': 'omeroweb.settings',
'DYLD_LIBRARY_PATH': '/Users/will/boost_1_43_0/stage/lib/:/Applications/IMOD/lib::/opt/Ice-3.3.1/lib:/opt/hdf/lib:/Users/will/hdf5-1.8.5-patch1/hdf5/lib',
'EDITOR': 'nano',
'EMAN2DIR': '/Users/will/EMAN2',
'FOR_DISABLE_STACK_TRACE': '1',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HDF5_DIR': '/Users/will/hdf5-1.8.5-patch1/hdf5',
'HOME': '/Users/will',
'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=5e4904425abb93d35adfa7ff9b487c4b',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/webclient/userdata/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:5.0) Gecko/20100101 Firefox/5.0',
'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
'ICE_HOME': '/opt/Ice-3.3.1',
'IMOD_CALIB_DIR': '/usr/local/ImodCalib',
'IMOD_DIR': '/Applications/IMOD/',
'IMOD_PLUGIN_DIR': '/Applications/IMOD/lib/imodplug',
'IMOD_QTLIBDIR': '/Applications/IMOD/qtlib',
'LANG': 'en_GB.UTF-8',
'LOGNAME': 'will',
'MANPATH': '/Applications/IMOD/man:/usr/share/man:/usr/local/share/man:/usr/X11/man:/usr/local/git/share/man',
'OLDPWD': '/Users/will',
'OMERO_HOME': '/Users/will/Desktop/OMERO/dist',
'PATH': '/Users/will/EMAN2/bin:/Applications/IMOD/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/Library/PostgreSQL/8.3/bin/:/Applications/Chimera.app/Contents/Resources/bin/:/Users/will/Desktop/OMERO/dist/bin/:/Applications/gitflow/:/opt/Ice-3.3.1/bin:/Users/will/hdf5-1.8.5-patch1/hdf5/bin:/Applications/spiderweb/spider/bin/:/Applications/spiderweb/web/bin/',
'PATH_INFO': u'/webclient/load_data/project/1/',
'PWD': '/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb',
'PYTHONPATH': '/Users/will/EMAN2/lib:/Users/will/EMAN2/bin:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/:/opt/Ice-3.3.1/python:/Users/will/Desktop/OMERO/dist/lib/python/:',
'QUERY_STRING': 'view=tree',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'GET',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SECURITYSESSIONID': 'b2cd70',
'SERVER_NAME': 'wjm.local',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.1',
'SHELL': '/bin/bash',
'SHLVL': '1',
'SPBIN_DIR': 'Applications/spiderweb/spider/bin/',
'SPIDER_DIR': 'Applications/spiderweb/spider',
'SPMAN_DIR': 'Applications/spiderweb/spider/man/',
'SPPROC_DIR': 'Applications/spiderweb/spider/proc/',
'SPRGB_DIR': '/Applications/spiderweb/web/rgb/',
'SSH_AUTH_SOCK': '/tmp/launch-yRSLKU/Listeners',
'TERM': 'xterm-color',
'TERM_PROGRAM': 'Apple_Terminal',
'TERM_PROGRAM_VERSION': '240.2',
'TMPDIR': '/var/folders/mk/mkOc3rWtEp8VZpBVn5VFpE+++TI/-Tmp-/',
'TZ': 'Europe/London',
'UMLET_HOME': '/Users/will/Documents/OU/UMLet',
'USER': 'will',
'WEBBIN_DIR': '/Applications/spiderweb/web/bin',
'WEBMAN_DIR': '/Applications/spiderweb/web/man/',
'WEB_DIR': '/Applications/spiderweb/web',
'_': '/usr/bin/python',
'__CF_USER_TEXT_ENCODING': '0x1F5:0:0',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x170b0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x1f62330>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Change History (1)
comment:1 Changed 8 years ago by Aleksandra Tarkowska <atarkowska@…>
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [81572824ac71224e016beb12c051f89b79517563/ome.git] on branch develop) this fixes the loading error, but still copieng/pasting dataset does not remove orphaned dataset, close #6097