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

  • SEARCH
  • Home
  • 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 6174009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:40:39+00:00 2026-05-23T23:40:39+00:00

I know this is covered amply in the GAE help site. It’s not working

  • 0

I know this is covered amply in the GAE help site. It’s not working out for me. I’m a little green on Python. But I also know how imports work. The entities module is right there in the same folder with the loader. So what are the GAE scripts doing?

Here’s my loader:

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

class CardLoader(bulkloader.Loader):
    def __init__(self):
        bulkloader.Loader.__init__(self, 'Card',
            [('english', str),
            ('translation', str)
            ])

loaders = [CardLoader]

Here is what is in a file called entities.py

from google.appengine.ext import db

class Card(db.Model):
    english = db.StringProperty(required=True)
    translation = db.StringProperty(required=True)

Here’s a snip of what’s in the .csv

"cardId","english","translation"
"3994","face","la cara"
"4027","art","el arte"

My version of Python:

Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Here’s my command (on Windows):

python “c:\Program Files\Google\google_appengine\appcfg.py”
upload_data –config_file=card_loader.py –url
http://localhost:8080/remote_api –filename=card_data.csv –kind=Card

Here’s the output:

Uploading data records.
[INFO    ] Logging to bulkloader-log-20110723.183520
[INFO    ] Throttling transfers:
[INFO    ] Bandwidth: 250000 bytes/second
[INFO    ] HTTP connections: 8/second
[INFO    ] Entities inserted/fetched/modified: 20/second
[INFO    ] Batch Size: 10
Please enter login credentials for localhost:8080
Email: admin
Password for admin:
Traceback (most recent call last):
  File "c:\Program Files\Google\google_appengine\appcfg.py", line 76, in <module
>
    run_file(__file__, globals())
  File "c:\Program Files\Google\google_appengine\appcfg.py", line 72, in run_fil
e
    execfile(script_path, globals_)
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 3708, in <module>
    main(sys.argv)
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 3699, in main
    result = AppCfgApp(argv).Run()
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 2345, in Run
    self.action(self)
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 3484, in __call__
    return method()
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 3311, in PerformUpload
    run_fn(args)
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 3202, in RunBulkloader
    sys.exit(bulkloader.Run(arg_dict))
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\bulkload
er.py", line 4369, in Run
    return _PerformBulkload(arg_dict)
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\bulkload
er.py", line 4180, in _PerformBulkload
    LoadConfig(config_file)
  File "c:\Program Files\Google\google_appengine\google\appengine\tools\bulkload
er.py", line 3844, in LoadConfig
    ('', 'r', imp.PY_SOURCE))
  File "card_loader.py", line 3, in <module>
    import entities
ImportError: No module named entities
  • 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-23T23:40:39+00:00Added an answer on May 23, 2026 at 11:40 pm

    The traceback describes a ImportError: the module entities wasn’t found. Is that where your models are? If so, you must be sure it can be found (add its directory to sys.path if needed).

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

Sidebar

Related Questions

I know this has been covered so much but I'm a little out of
I apologize because I know this has been covered over and over again, but
Know this might be rather basic, but I been trying to figure out how
I know this site is written using ASP.Net MVC and I do not see
I know this is not programming directly, but it's regarding a development workstation I'm
I know this has been covered elsewhere, but I'm new to the Android platform
I know this subject has been covered before on here but I need a
Ok guys, So I know this has been covered before, but what my question
I know this has been covered before, but i can't find exactly what i
I know this has been covered a lot, but I just can't seem 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.