Skip to content

Problem with 'db-dump.tar.gz' #11656

@duaneellissd

Description

@duaneellissd

Current Behavior

I want to draw your attention to: dtolnay/db-dump#49,

I reported it there because at the time I did not know where to report the issue. (that was the wrong place, I am looking for the correct place, if this is wrong then I need to know where to report this.

There is a problem with the 'crates.csv' file in the current DB DUMP tar.gz file.

While it may well pass the RUST self test of the data, other language tools cannot parse the creates.csv file.

In that issue, I use a rather simple about 10 line python script to read the 'crates.csv' file and demonstrate that Python is not able to read that file, it crashes with an exception.

Either (A) python has something wrong in the parser, or (B) the data in the file is invalid/incorrect.

I suspect (B) is the case, because there some fields in the CSV are MULTILINE.
my hunch is it is probably not being escaped correctly when generated.

Expected Behavior

I would expect tools other then RUST to be able to read the generated CSV file.

Steps To Reproduce

See the above link: a small python file demonstrates the error
dtolnay/db-dump#49,

Environment

  • Browser:
  • OS:
    ANY.

Anything else?

No response

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