Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Exception raised at the end of file in branch "working_on_version_1.1" #48

Open
yrenier opened this issue Jul 19, 2018 · 0 comments
Open

Comments

@yrenier
Copy link

yrenier commented Jul 19, 2018

I tried with this 3 files:

  • /sst1m/raw/2018/06/29/SST1M_01/SST1M_01_20180629_010.fits.fz
  • /sst1m/raw/2018/06/28/SST1M_01/SST1M_01_20180628_1351.fits.fz
  • /sst1m/raw/2018/06/28/SST1M_01/SST1M_01_20180628_1350.fits.fz
    Runing this code:
>>> example_path = '/sst1m/raw/2018/06/29/SST1M_01/SST1M_01_20180629_010.fits.fz'
>>> file = File(example_path)
>>> for event in file.Events:
...   pass
... 

I get the following error:

EOFError: Reached end of events table

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/reniery/.local/lib/python3.6/site-packages/protozfits/__init__.py", line 136, in __next__
    row.ParseFromString(rawzfitsreader.readEvent(self.__file_id))
SystemError: <built-in function readEvent> returned a result with an error set

From within digicampipe, I could see it happened on the last event.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant