Hi,

I'm trying to import the list of words, but I'm always getting this error:

Wrong file or delimiter

The problem is that nothing helps. Even if I export the file with Word Link and then try to import the same file (only one letter was changed to avoid duplication), it doesn't work. Different line endings or delimiters didn't help either.

Otherwise everything works fine, thank you for a great module.

Comments

1mundus’s picture

Version: 7.x-1.9 » 7.x-1.91
paravibe’s picture

Hi,

Please send me your export file.

paravibe’s picture

Status: Active » Postponed (maintainer needs more info)
1mundus’s picture

I have found what's the problem now.

When you export the list of words, there is one extra column with quotation marks. E. g.

example;1;node/1;example;word-link;1;""

But, if I open that document in some of the editors and save it, the quotation marks get removed. I don't know what they are used for anyway, but I have just added them and it solved the problem.

However, there is another problem - if a word starts with some of the Central European letters, those letters get removed. E. g.:

čexample;1;node/1;čexample;word-link;1;""

will be imported as:

example;1;node/1;example;word-link;1;""

I don't have a new version of PCRE, so that might be the problem.

paravibe’s picture

Status: Postponed (maintainer needs more info) » Needs work

Hello,

OK, I will try to fix this in new release.

jawi’s picture

Same issue here. No csv formats can be used for imports.
Using a file created by export function for importing new values also does not work.

jawi’s picture

This is due to loss of the last column.
On export the file looked like

taart;1;http://smulfun.nl/collectie/taart-en-gebak;Taart;word-link;0;""

After adding new items to the file, the last column does not exist because all values are empty. Lines look like this:

taart;1;http://smulfun.nl/collectie/taart-en-gebak;Taart;word-link;0;

Replacing the textfile from word-link;0 to word-link;0;"" did the trick.

Maby a easy sollution is to fill the last column with a default value, instead of being empty?

paravibe’s picture

Issue summary: View changes
Status: Needs work » Fixed

Hello,
Thanks all for information and I am sorry for late fix.
Fixed in dev release of both 1.x and 2.x branches.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.