if main.py were not in the path, import would've failed. Import statement worked fine.
On Apr 6, 6:52 pm, 秦锋 <feng.w....@gmail.com> wrote: > main.py is in PYTHONPATH? > What's your command looks like? > > On 4月7日, 上午6时28分, satish <satish...@gmail.com> wrote: > > > I am trying to use bulkuploader for the first time using the procedure > > outlined at this page (http://code.google.com/appengine/docs/python/ > > tools/uploadingdata.html) but I am receiving the following error. Can > > someone please help? Thank you. > > > No implementation for kind \'%s\'' % kind > > > No implementation for kind 'AliasCommand' > > > AliasCommand is a entity in main.py > > > ---------aliascommand_loader.py (Loader Class) begin ---------- > > > import datetime > > from google.appengine.ext import db > > import __main__ > > > class AliasCommandLoader(Loader): > > def __init__(self): > > Loader.__init__(self, 'AliasCommand', > > [('alias', str), > > ('command', str) > > ]) > > ---------aliascommand_loader.py (Loader Class) end ---------- > > > ---------main.py (the main module in which AliasCommand entity is > > defined) begin ---------- > > .... > > .... > > class AliasCommand(db.Model): > > alias = db.StringProperty(required=False) > > command = db.StringProperty(required=False) > > createdate = db.DateTimeProperty(auto_now_add=True) > > .... > > .... > > ---------main.py (the main module in which AliasCommand entity is > > defined) end ---------- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---