Actions
Bug #2961
closedmrc mmap error
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
10/14/2014
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.1.0
Show in known bugs:
No
Workaround:
Description
File "/home/acheng/myami/pyami/mrc.py", line 732, in mmap
headerdict = parseHeader(1024)
File "/home/acheng/myami/pyami/mrc.py", line 302, in parseHeader
swapped = isSwapped(headerbytes)
File "/home/acheng/myami/pyami/mrc.py", line 258, in isSwapped
machstamp = headerbytes[212:216]
TypeError: 'int' object is unsubscriptable
Updated by Anchi Cheng about 10 years ago
- Status changed from Assigned to In Test
- Target version set to Appion/Leginon 3.1.0
This bug was introduced when adding feature #2831
r18637 fixes this in trunk
r18638 fixes this in 3.1
Updated by Anchi Cheng about 10 years ago
- Assignee changed from Anchi Cheng to Kuang-Lei Tsai
I put this fix in. If you are running on amiboxes, you probably get it today. If you are running on guppy, it would be tomorrow.
Actions