Project

General

Profile

Actions

Bug #2961

closed

mrc mmap error

Added by Anchi Cheng over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
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

Actions #1

Updated by Anchi Cheng over 9 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

Actions #2

Updated by Anchi Cheng over 9 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 #3

Updated by Anchi Cheng over 6 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF