Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading beyond file boundary #1

Open
pudo opened this issue Jul 15, 2016 · 0 comments
Open

Reading beyond file boundary #1

pudo opened this issue Jul 15, 2016 · 0 comments

Comments

@pudo
Copy link
Contributor

pudo commented Jul 15, 2016

INFO:aleph.ingest.ingestor:Traceback (most recent call last):
  File "/aleph/aleph/ingest/ingestor.py", line 106, in dispatch
    best_cls(collection_id).ingest(meta, local_path)
  File "/aleph/aleph/ingest/bundler.py", line 47, in ingest
    self.ingest_directory(meta, temp_dir)
  File "/aleph/aleph/ingest/cronos.py", line 62, in ingest_directory
    database, tables = parse_structure(os.path.join(data_dir, stru_dat))
  File "/usr/local/lib/python2.7/site-packages/cronos/parser.py", line 195, in parse_structure
    for table in parse_table_section(table_section, i):
  File "/usr/local/lib/python2.7/site-packages/cronos/parser.py", line 155, in parse_table_section
    table = parse_table(text, next_byte)
  File "/usr/local/lib/python2.7/site-packages/cronos/parser.py", line 109, in parse_table
    next_len = ord(text[next_byte])
IndexError: string index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant