Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 789135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:28:36+00:00 2026-05-14T21:28:36+00:00

http://code.google.com/intl/en/appengine/docs/python/tools/uploadingdata.html the api is : Downloading Data from App Engine To start a data

  • 0

http://code.google.com/intl/en/appengine/docs/python/tools/uploadingdata.html

the api is :

Downloading Data from App Engine

To start a data download, run appcfg.py download_data with the appropriate arguments:

appcfg.py download_data --config_file=album_loader.py --filename=album_data_archive.csv --kind=Album <app-directory>

i want to download data from my gae app zjm1126.appspot.com

so i write this in the commond:

appcfg.py download_data --config_file=GreetingLoad.py --filename=GreetingLoad.csv  

but, i don’t know how to write the ‘app-directory’

so , how to write the ‘app-directory’..

thanks

updated

i use this:

appcfg.py download_data --config_file=helloworld/GreetingLoad.py --filename=a.csv  --kind=Greeting helloworld

and the error is :

D:\zjm_code>appcfg.py download_data --config_file=helloworld/GreetingLoad.py --f
ilename=a.csv  --kind=Greeting helloworld
Application: zjm1126; version: 1-h1.
Downloading data records.
[INFO    ] Logging to bulkloader-log-20100518.195933
[INFO    ] Throttling transfers:
[INFO    ] Bandwidth: 250000 bytes/second
[INFO    ] HTTP connections: 8/second
[INFO    ] Entities inserted/fetched/modified: 20/second
[INFO    ] Batch Size: 10
[INFO    ] Opening database: bulkloader-progress-20100518.195933.sql3
Traceback (most recent call last):
  File "d:\Program Files\Google\google_appengine\appcfg.py", line 68, in <module
>
    run_file(__file__, globals())
  File "d:\Program Files\Google\google_appengine\appcfg.py", line 64, in run_fil
e
    execfile(script_path, globals_)
  File "d:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 2709, in <module>
    main(sys.argv)
  File "d:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 2700, in main
    result = AppCfgApp(argv).Run()
  File "d:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1763, in Run
    self.action(self)
  File "d:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 2580, in __call__
    return method()
  File "d:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 2446, in PerformDownload
    run_fn(args)
  File "d:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 2368, in RunBulkloader
    sys.exit(bulkloader.Run(arg_dict))
  File "D:\Program Files\Google\google_appengine\google\appengine\tools\bulkload
er.py", line 4012, in Run
    return _PerformBulkload(arg_dict)
  File "D:\Program Files\Google\google_appengine\google\appengine\tools\bulkload
er.py", line 3887, in _PerformBulkload
    exporter = Exporter.RegisteredExporter(kind)
  File "D:\Program Files\Google\google_appengine\google\appengine\tools\bulkload
er.py", line 2901, in RegisteredExporter
    return Exporter.__exporters[kind]
KeyError: 'Greeting'

and my GreetingLoad.py is :

import datetime
from google.appengine.ext import db
from google.appengine.tools import bulkloader


class Greeting(db.Model):
  author = db.UserProperty()
  content = db.StringProperty(multiline=True)
  date = db.DateTimeProperty(auto_now_add=True)



class GreetingLoader(bulkloader.Loader):
    def __init__(self):
        bulkloader.Loader.__init__(self, 'Greeting',
                                   [('author', lambda x: x.decode('utf-8')),
                                    ('content', lambda x: x.decode('utf-8')),
                                    ('date',
                                     lambda x: datetime.datetime.strptime(x, '%m/%d/%Y').date())
                                   ])

loaders = [GreetingLoader]

mu url is :

- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin

updated2

it is ok now ,thanks

appcfg.py download_data --config_file=helloworld/GreetingLoad.py --filename=a.csv  --kind=Greeting helloworld

and

class AlbumExporter(bulkloader.Exporter):
    def __init__(self):
        bulkloader.Exporter.__init__(self, 'Greeting',
                                     [('author', str, None),
                                      ('content', str, None),
                                      ('date', str, None),
                                     ])

exporters = [AlbumExporter]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:28:36+00:00Added an answer on May 14, 2026 at 9:28 pm

    Please take a look at this article, it explains how to set up downloading data: http://code.google.com/appengine/docs/python/tools/uploadingdata.html

    The app-directory is the path you set up in the app.yaml file to map to the remote_api:

    - url: /app-directory
      script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
      login: admin
    

    To answer the updated question:

    change your loaders = ... line to exporters = [GreetingExporter]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 515k
  • Answers 515k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You have no access to SMS, you can only create… May 16, 2026 at 6:23 pm
  • Editorial Team
    Editorial Team added an answer You can't let the base pointer point to the derived… May 16, 2026 at 6:23 pm
  • Editorial Team
    Editorial Team added an answer I had also problems with GroupBoxes and ContentPresenter. I have… May 16, 2026 at 6:23 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

described in http://code.google.com/intl/en/appengine/docs/python/datastore/propertyclass.html#Property but there is no example code. i code sth like: class
(1) is this way : http://code.google.com/intl/en/appengine/articles/djangoforms.html (2) is write by self : #/usr/bin/env python2.5
http://code.google.com/intl/fi-FI/apis/maps/documentation/javascript/examples/map-geolocation.html I get a grey page with latest Google Chrome (access to location allowed
http://code.google.com/intl/tr-TR/apis/maps/articles/phpsqlajax.html#createmap im using the tutorial linked above in tutorial they explain how to add
I am using http://code.google.com/apis/maps/documentation/geocoding/ api from google to get geolocation based on address. I
I am using http://code.google.com/p/solr-php-client/ to communicate with the solr from PHP. Every thing is
Following StockWatcher tutorial, http://code.google.com/webtoolkit/doc/latest/tutorial/debug.html When I run the app in debug mode, my Safari
I'm using the gchart php wrapper from http://code.google.com/p/gchartphp/ . This is a question for
Can anyone give advice on filtering my Elmah ( http://code.google.com/p/elmah/ ) exception logs? Elmah
I'm using a Google Analytics API Class in PHP made by Doug Tan to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.