Skip to content

Excepción si se entrega un ZIP vacío #34

@dato

Description

@dato
VECTOR - 103963 - Di Matteo

Traceback (most recent call last):
  File "/worker.py", line 148, in <module>
    main()
  File "/worker.py", line 128, in main
    ejecutar(CORRECTORES[args.corrector], args.timeout)
  File "/worker.py", line 108, in ejecutar
    corrector(tmpdir).run(timeout)
  File "/worker.py", line 59, in __init__
    p.name for p in orig.iterdir())
  File "/worker.py", line 59, in <genexpr>
    p.name for p in orig.iterdir())
  File "/usr/lib/python3.6/pathlib.py", line 1081, in iterdir
    for name in self._accessor.listdir(self):
  File "/usr/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/corrector.ant3hn17/orig'

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