astrofrog/idlsave — pull request #8 by astrofrog (2014-09-28 15:46:21+00:00)
Title: Exception: VARSTART is not 7

I did encountered again same problem as another issue. I'm trying to read a structure.

```
In [4]: import idlsave

In [5]: idlsave.__version__
Out[5]: '1.0.0'

In [6]: s = idlsave.read('CMR31303.cxf')
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
in ()
----> 1 s = idlsave.read('CMR31303.cxf')

/afs/ipp/home/m/mcavedon/.local/lib/python2.7/site-packages/idlsave/idlsave.pyc in read(file_name, idict, python_dict, uncompressed_file_name, verbose)
802 # Loop through records, and add them to the list
803 while True:
--> 804 r = _read_record(f)
805 records.append(r)
806 if 'end' in r:

/afs/ipp/home/m/mcavedon/.local/lib/python2.7/site-packages/idlsave/idlsave.pyc in _read_record(f)
355 varstart = _read_long(f)
356 if varstart != 7:
--> 357 raise Exception("VARSTART is not 7")
358
359 if rectypedesc['structure']:

Exception: VARSTART is not 7
```

Thanks