Active
Project:
Node import
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 May 2010 at 14:07 UTC
Updated:
6 May 2010 at 20:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
dietman commentedi tried tab delimited and csv comma delimited
the file is 2mb and it is not working
It always says
Select file field is required. Upload a file first if there are no files uploaded yet.
Comment #2
dietman commentedI am ataching few lines of my tab delimited txt file
THis file is not 2mb so it gets uploaded but I get an error url is missing or something like that
I tried to upload this small file and mapped the fields correctly and I still get error
URL field is required.
the first field is Url, and I mapped it, so why I get this error?
Comment #3
dman commentedI don't know what the "usual way" you are using to create that file is, but if you look at it, you'll see that 6 of your pages, including the first, have a value of "2,01E+16" as the URL.
Do you not see any problem with that?
If you are reporting an error, it would be best to actually check what the error says, not just say "or something like that". Help others to help you.
Comment #4
dietman commentedThank you for your answer
the url is this
20050105063841943
It is a stange code from Geeklog and it should be accepted by drupal
2,01E+16 is just a shortname, but when you click on it in excel, it shows 20050105063841943
is there a way to prevent the numbers to be in shortened?
Comment #5
dman commentedYou only now mention that your source is coming from Excel. There are many ways a CSV could be produced, if you leave out important details, debugging is really boring.
So - your export from Excel to that file failed to produce the desired result. There's your problem.
FWIW, using a pure (huge) integer as an URL is probably really ugly. It may also be what is confusing the importer later.
The problem is still with the data that you are feeding the node_import. There may be a feature request in refining how it supports numeric-only URLs ... but it's probably not desirable
Comment #6
dietman commentedIs there a notehr way to prepare excel file
I mean I am using microsoft excel
I go to save and save as tab delimited or save as csv comma delimited
Comment #7
dman commenteddid you try changing the url column from "general" to "string"?
Comment #8
dietman commentedaND WHY i CANT IMPORT THE CSV FILE, SIZE IS 2 MB?
nothing happens after import, is there a size limit?
Comment #9
dman commentedDrupal file upload size limit
Comment #10
dietman commentedWell now it works, thank you
But I still get
URL field is required.
even though i map the url field to url appropriate field before import.
I changed all the urls from numbers to words and also removed all spaces, only _ or - is allowed in url