Closed (fixed)
Project:
Node import
Version:
6.x-1.0-rc4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2009 at 19:06 UTC
Updated:
4 Nov 2009 at 17:02 UTC
I'm importing ampersands into my title field and it causes Apache2 to blast up to 100% and crash the box, eventually causing an out-of-memory error. Confirmed by re-running import file and it crashes at the same record each time. Deleting that record reliably causes the same crash on the next record with an ampersand in the title.
Comments
Comment #1
Todd Young commentedSingle-apostrophe's are doing it also, when my CSV has double-quote and comma delimiters. Seems like standard escaping is not happening, which seems too common of a bug, which makes me think it might be me (and/or) that I missed something. But I searched for such an issue, so dunno...
Comment #2
Todd Young commentedSquare brackets... OK, I'll stop now and listen to the experts.
Comment #3
Todd Young commentedNot always though, there's more to this than I originally expected. This morning it's working; there's a ghost in the machine or more variables at play here.
As a noob I think I need to close this out and do more troubleshooting, please stand by.
Comment #4
zeezhao commentedAlso, you need to remember to select the right escape character during the import in "step 3 of 8" - the last column, and the "text delimiter" - the column before it.
If you don't do so, and some of the records have some non-standard characters, it can cause node_import to hang...
Personally, to avoid these issues, when generating a csv for import, I use
- Pipe ("|") as the "Field separator"
- double quote as "Text delimiter"
- Backslash ("\") as "Escape character"