Skip to content

ValueError: not enough values to unpack (expected 2, got 1), Typos stopped report creation  #58

@arhonemus

Description

@arhonemus

The Return
We encountered this error before and it was resolved but it has reappeared. #45
I was able to resolve this by added colons to ER 68 and 48 and capitalizing the R in ER for 39 and 78.

ER is missing a number: ER 68 Performance Course, 1995-1996. Review the ERs with the processing archivist
ER is missing a number: ER 48 Photographs, 2001. Review the ERs with the processing archivist
Collection uses ER 0 to ER 97. ER 39 is skipped. Review the ERs with the processing archivist
Collection uses ER 0 to ER 97. ER 48 is skipped. Review the ERs with the processing archivist
Collection uses ER 0 to ER 97. ER 68 is skipped. Review the ERs with the processing archivist
Collection uses ER 0 to ER 97. ER 78 is skipped. Review the ERs with the processing archivist

[Didn't include a billion 0-byte file notices]

Traceback (most recent call last):
File "/mnt/c/Users/foren/Documents/Github/digarch_scripts/src/digarch_scripts/report/report_ftk_extents.py", line 349, in
main()
File "/mnt/c/Users/foren/Documents/Github/digarch_scripts/src/digarch_scripts/report/report_ftk_extents.py", line 343, in main
dct = create_report(er, dct)
File "/mnt/c/Users/foren/Documents/Github/digarch_scripts/src/digarch_scripts/report/report_ftk_extents.py", line 285, in create_report
item = create_report(input, item)
File "/mnt/c/Users/foren/Documents/Github/digarch_scripts/src/digarch_scripts/report/report_ftk_extents.py", line 285, in create_report
item = create_report(input, item)
File "/mnt/c/Users/foren/Documents/Github/digarch_scripts/src/digarch_scripts/report/report_ftk_extents.py", line 272, in create_report
number, name = input[0][0].split(':', maxsplit=1)
ValueError: not enough values to unpack (expected 2, got 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions