Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
3 years agomrc-converter-suite unexpected failure parsing CSV
Hello,
I try to improvise my data from enpass and get the following error.
cd '/Users/eric/Desktop/mrc-converter-suite' && /usr/bin/perl convert.pl enpass '/Users/eric/Desktop/pm_export.json' ...
MrC
3 years agoSuper Contributor
Hello @neolidas ,
Your export file's name is pm_export.json, but the converter is detecting that the contents is CSV, and trying to parse it as such. Can you confirm which format you selected when you exported - CSV or JSON?
You should export using the JSON format for Enpass 6 and above, since it is more robust.
If you did export to the JSON format, then the converter is incorrectly determining the format, for your data.
The converter can be run directly, without using the helper app. Open the terminal, and run the commands below. You can copy / paste each command:
```
cd ~/Desktop/mrc-converter-suite
perl convert.pl enpass -d -v ../pm_export.json | grep print_fileinfo
```
This will output four diagnostic lines similar to :
```
print_fileinfo : Input file info: "../pm_export.json"
print_fileinfo : size: 14523
print_fileinfo : kind: JSON data
print_fileinfo : mime: application/json; charset=utf-8
```
These indicate the format of the export file.