I get the same problem when I try to upload a csv file with characters like á é í ó ú. Does anybody know how to solve it? Thanks
On 19 nov, 16:54, Gampesh <gamp...@gmail.com> wrote: > i tried run locally and got following error > > INFO 2008-11-19 21:22:59,342 bulkload_client.py] Starting import; > maximum 10 entities per post > INFO 2008-11-19 21:22:59,342 bulkload_client.py] Importing 10 > entities in 4822 bytes > ERROR 2008-11-19 21:23:01,092 bulkload_client.py] An error occurred > while importing: (10061, 'Connection refused') > ERROR 2008-11-19 21:23:01,092 bulkload_client.py] Import failed > > On Nov 19, 8:45 pm, "Moritz Angermann" <moritz.angerm...@gmail.com> > wrote: > > > Yes, you load data into GAE. Have you made sure it works on the SDK? > > e.g. bulkload_client.py --filename=c:/photos.txt --kind=Photos > > --url=http://localhost:8080/load > > > Second point: try to see where your app terminates. > > To do this, you could simply add "print ... " statements if this was a > > normal console app. > > For GAE apps is makes more sense to use > > > from logging import debug #somewhere at the top of you bluckload_client.py > > > and then use > > debug("reached this point") > > in your code. > > > That way the SDK Log will yield you some clue to where it executed the > > bulckload_client.py before terminating. > > > regards, > > Moritz > > > On Wed, Nov 19, 2008 at 11:41 PM, Gampesh <gamp...@gmail.com> wrote: > > > > no i am uploading data in google app server > > > sorry but i am nit getting your second point. > > > > thanks > > > > On Nov 19, 7:51 pm, "Moritz Angermann" <moritz.angerm...@gmail.com> > > > wrote: > > >> Hi, > > > >> I didn't see anything wrong, but I might be missing it. > > > >> Two questions though: > > >> 1. Does it work localy? > > >> 2. how about throwing in a "from logging import debug" > > >> and then doing a binary search with the debug("...") in your code? > > > >> regards, > > >> Moritz > > > >> On Wed, Nov 19, 2008 at 10:33 PM, Gampesh <gamp...@gmail.com> wrote: > > > >> > my bulkload_client.py command is working problem is: > > > >> > tools\bulkload_client.py --filename=c:/celebrities.txt -- > > >> > kind=Celebrities --url=http://famousandspicy.appspot.com/load > > > >> > above command is working fine and data is imoporting. > > > >> > but once i run > > >> > tools\bulkload_client.py --filename=c:/photos.txt --kind=Photos -- > > >> > url=http://famousandspicy.appspot.com/load > > >> > i got following error > > > >> > INFO 2008-11-19 19:57:05,983 bulkload_client.py] Starting import; > > >> > maximum 10 entities per post > > >> > INFO 2008-11-19 19:57:05,983 bulkload_client.py] Importing 10 > > >> > entities in 5379 bytes > > >> > ERROR 2008-11-19 19:57:11,890 bulkload_client.py] An error occurred > > >> > while importing: Received code 500: Internal Server Error > > > >> > <html><head> > > >> > <meta http-equiv="content-type" content="text/html;charset=utf-8"> > > >> > <title>500 Server Error</title> > > >> > </head> > > >> > <body text=#000000 bgcolor=#ffffff> > > >> > <h1>Error: Server Error</h1> > > >> > <h2>The server encountered an error and could not complete your > > >> > request.<p>If the problem persists, please <A HREF="http:// > > >> >www.google.com/support/">report</A> your proble > > >> > m and mention this error message and the query that caused it.</h2> > > >> > <h2></h2> > > >> > </body></html> > > > >> > ERROR 2008-11-19 19:57:11,921 bulkload_client.py] Import failed > > >> > bulkload_client.py is > > > >> > from google.appengine.ext import bulkload > > > >> > class PhotosLoader(bulkload.Loader): > > > >> > def __init__(self): > > > >> > fields = [ > > >> > ("photoid", str), > > >> > ("celebrity_id", str), > > >> > ("title", str), > > >> > ("source", str), > > >> > ("image_url", str), > > >> > ("img_title_link", str), > > >> > ("description", str), > > >> > ("created_at", str), > > >> > ("updated_at", str) > > >> > ] > > > >> > bulkload.Loader.__init__(self, "Photos", fields) > > > >> > if __name__ == "__main__": > > > >> > bulkload.main(PhotosLoader()) > > > >> > model is > > > >> > class Photos(db.Model): > > >> > photoid=db.StringProperty() > > >> > celebrity_id=db.StringProperty() > > >> > title = db.StringProperty() > > >> > source = db.StringProperty() > > >> > image_url = db.StringProperty() > > >> > img_title_link = db.StringProperty() > > >> > description = db.StringProperty() > > >> > created_at = db.StringProperty() > > >> > updated_at = db.StringProperty() > > > >> > what wrong i am doing. > > > >> > Gampesh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---