Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.
This repository was archived by the owner on May 18, 2026. It is now read-only.

Reading beyond file boundary #1

Description

@pudo
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions