Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command 'Convert CSV to JSON' resulted in an error #3

Open
rainabba opened this issue Aug 21, 2020 · 1 comment
Open

Command 'Convert CSV to JSON' resulted in an error #3

rainabba opened this issue Aug 21, 2020 · 1 comment

Comments

@rainabba
Copy link

Describe the bug
I try to convert a large .csv and get:

Command 'Convert CSV to JSON' resulted in an error (Running the contributed command: 'csv.toJSON' failed.)

I've opened a 256MB file with ~444k lines. I've installed the extension (Ubuntu/WSL) and reloaded
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behaviour:

  1. Open my file with ~ 444k lines
  2. Press Ctrl-Shift-P to bring up the command pallet
  3. Select "Convert CSV to JSON" using arrow keys
  4. Press Enter
  5. See error message

Expected behaviour
I expected a success message and a new window with the results or a prompt the new filename or something like that.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 19041.450, WSL 2, Ubuntu 18

Additional context
A sample line from the file:

6983,z100000010#subdomain3.domain3.com#e100000001@subdomain3.domain3.com#2018-100000000,89501,8bb3c0ff-729e-4ae6-a4c2-12461589501,2019-05-25T00:00:00Z,darkwebbreach,Sandbox Demo Breach 1,"In 2018, this breach was discovered. It was added to the breach database in 2019.",null,2018-100000000,"email, password, password_hash, username, account_id",6983,z100000010,subdomain3.domain3.com,b100000001@subdomain3.domain3.com,158992310,8bb3c0ff-729e-4ae6-a4c2-12461589501,b100000001@subdomain3.domain3.com,6983#b100000010#158992310,158992310,null,null,null,external,12345,827ccb0eea8a706c4c34a16891f84e7b,b100000001@subdomain3.domain3.com,2018
@Chukwuamaka
Copy link
Owner

Hello @rainabba,

Apologies for the issues you experienced.

Could you try the conversion again on a smaller size of the same file to see if it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants