I'm trying to import a .csv file into sqlite database (firefox add-on).
It has approximately 26,000 rows with 4 columns. Each time it gives this error:
CSV Worker error! TypeError: gFile.contents is null File name: chrome://sqlitemanager/content/workerCsv.js Line number: 52
I already tried by splitting the csv file as well.
The new Firefox 35 version corrected the bug 716491, which lead to this problem with the sqlite-manager addon. There seem to be two places in the addon, where some response code is tested. A solution is to replace these two lines. The addon path chrome://sqlitemanager/content/workerCsv.js
is refering to one of this files. As a user of the addon, you can fix that in your version of the plugin as follows:
extensions
[email protected]
into [email protected]
[email protected]
within the extension
folder and delete the zip file./[email protected]/chrome/content/workerCsv.js
with a reasonable text editorif(req.status == 0) {
with if(req.status == 0 || req.status == 200) {
on line 20This worked for me. I guess there are different ways to create the addon manually again. However, I hope this will be fixed in the official version.
Downgrading to Firefox 34 fixed the issue for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With