Project

General

Profile

Actions

Bug #2057

closed

Redux crashes when loading film image

Added by Gabriel Lander over 12 years ago. Updated over 12 years ago.

Status:
Duplicate
Priority:
Urgent
Assignee:
Category:
Web interface
Target version:
-
Start date:
09/20/2012
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

Whenever we try to look at a image from an uploaded film dataset, Redux crashes and has to be restarted on the server. Could be something about the odd size? We are using CentOS 6.3 and python 2.6.6
Here is the output:

REQUEST: pipeline=standard&filename=/leginon4/greg/12aug13z/rawdata/12aug13z_DNA_046.mrc&shape=348x512&scaletype=stdev&scalemin=-3&scalemax=3&oformat=JPEG
NOT IN MEMORY: Format(140283968193296,oformat=JPEG,rgb=False)
NOT IN MEMORY: Scale(140283968192912,scalemax=3.0,scalemin=-3.0,scaletype=stdev)
NOT IN MEMORY: Shape(140283968193104,shape=(348, 512))
NOT IN MEMORY: Read(140283968192848,filename=/leginon4/greg/12aug13z/rawdata/12aug13z_DNA_046.mrc,info=False)
Running Read(140283968192848,filename=/leginon4/greg/12aug13z/rawdata/12aug13z_DNA_046.mrc,info=False)
1348161429.09
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/redux/server.py", line 37, in run_process
result = pipeline.process(**kwargs)
File "/usr/lib/python2.6/site-packages/redux/pipeline.py", line 107, in process
results.put(done, result)
File "/usr/lib/python2.6/site-packages/redux/cache.py", line 40, in put
return self._put(pipeline, result)
File "/usr/lib/python2.6/site-packages/redux/cache.py", line 33, in _put
pyami.resultcache.ResultCache.put(self, pipeline, result)
File "/usr/lib/python2.6/site-packages/pyami/resultcache.py", line 44, in put
self.clean_strong()
File "/usr/lib/python2.6/site-packages/pyami/resultcache.py", line 68, in clean_strong
self.remove_strong()
File "/usr/lib/python2.6/site-packages/pyami/resultcache.py", line 61, in remove_strong
cached = self.strong_list.pop()
IndexError: pop from empty list


Related issues 1 (0 open1 closed)

Is duplicate of Appion - Bug #2058: redux caching problemsClosedDmitry Lyumkis09/21/2012

Actions
Actions #1

Updated by Gabriel Lander over 12 years ago

We just noticed that if we set the hardcoded "CACHE_ON = True" to "False" in the pipeline.py in redux & rebuild it, then we don't get this error. Any clue why this might be?
Turning off the cache also fixed an issue we were having with the "Test these settings on image" feature within myamiweb, where the results page always displays the same cached image.

Actions #2

Updated by Jim Pulokas over 12 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF