Questions:
1. What is the correct way to create the CSV file so that the file can
be imported using appadmin feature.
2. How to debug the error in case data is not reflected after
importing the .csv file?
3. Is there any particular steps that needs to be followed while
importing the file. Please share the documentation/reference in case
it is available.
On 03/11/2011 09:01, Saurabh S wrote:
> is there any other solution for this ? please suggest
> as i am complately stuck up with this from last three days....plz suggest
>
I can't help with web2py's CSV import function, but if you are stuck,
why not try importing directly into the database?
You don't say what database you using, but if you can share that it
should be possible to suggest a tool to talk to the database directly.
--
Regards,
PhilK
'a bell is a cup...until it is struck'
On 03/11/2011 11:12, Saurabh S wrote:
> I will be deploying my code to GAE....database will be Google's
> datastore...is there any tool available to migrate a data template into
> GAE datastore ?
>
I'm not familiar with tools for GAE, although a quick Google suggests
that there are some, but I'd expect to be able to use web2py's upload
for that.
FWIW, although most RDBMSs have decent tools, I use dbVis for this: -
...but it only supports traditional databases.
Going back to your original import problem: -
Is it failing running locally?
Against SQLite (default), local AppEngine environment, or something else?
Can you share the first couple of lines of your CSV as a sanity check?