Closed (fixed)
Project:
Word Link
Version:
7.x-1.91
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2013 at 18:06 UTC
Updated:
20 Feb 2014 at 10:10 UTC
Jump to comment: Most recent
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
Comment #1
1mundus commentedComment #2
paravibe commentedHi,
Please send me your export file.
Comment #3
paravibe commentedComment #4
1mundus commentedI 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.
Comment #5
paravibe commentedHello,
OK, I will try to fix this in new release.
Comment #6
jawi commentedSame 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.
Comment #7
jawi commentedThis 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?
Comment #8
paravibe commentedHello,
Thanks all for information and I am sorry for late fix.
Fixed in dev release of both 1.x and 2.x branches.