Skip to content

CLI: jsonl FileNotFoundError in ocdskit detect_format #146

@yolile

Description

@yolile

command: spoonbill tests/data/ocds-sample-data.jsonl

error:

  File "/spoonbill/cli.py", line 230, in cli
    for read, number in analyzer.analyze_file(filename, with_preview=True):
  File "/spoonbill/__init__.py", line 63, in analyze_file
    ) = detect_format(path=filename, reader=get_reader(path))
  File "/ocdskit/util.py", line 203, in detect_format
    with reader(path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'ocds-sample-data.jsonl'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions