Skip to content

Processing bug #75

Description

@johnb30

Seems to be a bug that causes PETR to crash. Traceback is:

Traceback (most recent call last):
  File "/home/data/phoenix_pipeline/pipeline.py", line 133, in <module>
    run_filter=file_details.oneaday_filter)
  File "/home/data/phoenix_pipeline/pipeline.py", line 98, in main
    config='petr_config.ini')
  File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 3035, in run_pipeline
    updated_events = do_coding(events, 'TEMP')
  File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2842, in do_coding
    coded_events = code_record()
  File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2680, in code_record
    assign_NEcodes()
  File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2376, in assign_NEcodes
    result = check_NEphrase(nephrase)
  File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2006, in check_NEphrase
    actorcode = get_actor_code(patlist[index][0])
  File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 1883, in get_actor_code
    codelist = PETRglobals.ActorCodes[index]
IndexError: list index out of range

@philip-schrodt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions