cant create new entity, java

41 views
Skip to first unread message

Lukas Plazovnik

unread,
Jan 29, 2015, 11:48:28 AM1/29/15
to google-a...@googlegroups.com
Hello,

and now trying to customize it

I created a new java class in the app engine, created the endpoint and the endpoint library

now, when i try to upload sample data i get the following log:

[INFO    ] Logging to bulkloader-log-20150129.113749
[INFO    ] Throttling transfers:
[INFO    ] Bandwidth: 250000 bytes/second
[INFO    ] HTTP connections: 8/second
[INFO    ] Entities inserted/fetched/modified: 20/second
[INFO    ] Batch Size: 10
Password for nob...@nowhere.com
[INFO    ] Opening database: bulkloader-progress-20150129.113749.sql3
Traceback (most recent call last):
  File "./appcfg.py", line 127, in <module>
    run_file(__file__, globals())
  File "./appcfg.py", line 123, in run_file
    execfile(_PATHS.script_file(script_name), globals_)
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/appcfg.py", line 5397, in <module>
    main(sys.argv)
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/appcfg.py", line 5388, in main
    result = AppCfgApp(argv).Run()
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/appcfg.py", line 2978, in Run
    self.action(self)
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/appcfg.py", line 5044, in __call__
    return method()
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/appcfg.py", line 4847, in PerformUpload
    run_fn(args)
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/appcfg.py", line 4728, in RunBulkloader
    sys.exit(bulkloader.Run(arg_dict))
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/bulkloader.py", line 4405, in Run
    return _PerformBulkload(arg_dict)
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/bulkloader.py", line 4247, in _PerformBulkload
    loader = Loader.RegisteredLoader(kind)
  File "/home/desktop/Desktop/google_appengine/google/appengine/tools/bulkloader.py", line 2879, in RegisteredLoader
    return Loader.__loaders[kind]
KeyError: 'GroupDatabase'

I'm sure the problem is prettya trivial, but i can't find it somehow...
what kind of key error? cant find the entity on the server?
(webserver is started btw, and it does work with CHeckIn..))

someone got an idea?

greetings 

Vinny P

unread,
Feb 3, 2015, 3:42:23 AM2/3/15
to google-a...@googlegroups.com
On Thu, Jan 29, 2015 at 10:48 AM, Lukas Plazovnik <mord...@gmail.com> wrote:
now, when i try to upload sample data i get the following log:
KeyError: 'GroupDatabase'

I'm sure the problem is prettya trivial, but i can't find it somehow...
what kind of key error? cant find the entity on the server?
(webserver is started btw, and it does work with CHeckIn..))

someone got an idea?



Can you post the command line instruction you're using to invoke the bulkloader? Have you declared the loader script to be used to load in the kind: GroupDatabase?

 
 
-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com
 
Reply all
Reply to author
Forward
0 new messages