Hi Patrice,

Thanks for the response.

Just deleted .appcfg_cookies (the only of the files you mentioned that 
exists in my home directory) to no avail.

I'm running

bistenes@socos-qs-5:~$ appcfg.py download_data  --kind="User" 
--url=https://socos-quickstep-601.appspot.com/_ah/remote_api 
--filename="out.dat"
07:13 PM Downloading data records.
[INFO    ] Logging to bulkloader-log-20150717.191306
[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 socos-quickstep-601.appspot.com
Email: biste...@socos.me
Password for biste...@socos.me:
Error 401: --- begin server output ---
You must be logged in as an administrator to access this.
--- end server output ---

It's probably worth noting that I'm also experiencing the bug I reported 
here, which might be related, I dunno: 
https://code.google.com/p/googleappengine/issues/detail?id=12157

According to apps.google.com my user biste...@socos.me should have "Super 
Admin" privileges, whatever that means.

Thanks,
Brandon

On Friday, July 17, 2015 at 10:58:03 AM UTC-7, Patrice (Cloud Platform 
Support) wrote:
>
> Hi again Brandon,
>
> Just realized while I mentioned the ".appcfg_oauth2_tokens_java" file, you 
> can also do the same with ".appcfg_nag" and ".appcfg_cookies" (rename them 
> if you want to be safe and not delete them)
>
> Cheers!
>
> On Friday, July 17, 2015 at 1:56:30 PM UTC-4, Patrice (Cloud Platform 
> Support) wrote:
>>
>> Hi Brandon,
>>
>> It gives you the exact same error when properly targeting your app? Do 
>> you have an ".appcfg_oauth2_tokens_java" file in your user folder? 
>> Sometimes deleting this and retrying causes the system to re-authorize you 
>> (or authorize you with the right account if there is currently some account 
>> confusion).
>>
>> This could be worth a try. If not, do you mind either posting the exact 
>> command you run and the result you get (or confirm you're running exactly 
>> the same thing as was originally reported)
>>
>> Cheers!
>>
>> On Friday, July 17, 2015 at 2:26:46 AM UTC-4, Brandon Istenes wrote:
>>>
>>> Having the same problem. GAE team, where y'all been these last four 
>>> years?
>>>
>>>
>>> On Friday, November 18, 2011 at 3:54:31 PM UTC-8, portentint wrote:
>>>>
>>>> When I use the command appcfg.py download_data --application=foo --
>>>> url=http://foo.appspot.com/_ah/remote_api --filename=/output.data
>>>>
>>>> I get:
>>>>
>>>>
>>>> [INFO    ] Logging to bulkloader-log-20111118.153603
>>>> [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-20111118.153603.sql3
>>>> [INFO    ] Opening database: bulkloader-results-20111118.153603.sql3
>>>> [INFO    ] Connecting to foo.appspot.com/_ah/remote_api
>>>> Traceback (most recent call last):
>>>>   File "/usr/local/bin/appcfg.py", line 77, in <module>
>>>>     run_file(__file__, globals())
>>>>   File "/usr/local/bin/appcfg.py", line 73, in run_file
>>>>     execfile(script_path, globals_)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/appcfg.py", line 3877, in <module>
>>>>     main(sys.argv)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/appcfg.py", line 3868, in main
>>>>     result = AppCfgApp(argv).Run()
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/appcfg.py", line 2442, in Run
>>>>     self.action(self)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/appcfg.py", line 3633, in __call__
>>>>     return method()
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/appcfg.py", line 3431, in PerformDownload
>>>>     run_fn(args)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/appcfg.py", line 3343, in RunBulkloader
>>>>     sys.exit(bulkloader.Run(arg_dict))
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/bulkloader.py", line 4375, in Run
>>>>     return _PerformBulkload(arg_dict)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/bulkloader.py", line 4270, in _PerformBulkload
>>>>     return_code = app.Run()
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/bulkloader.py", line 3449, in Run
>>>>     kinds = self.RunPostAuthentication()
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/bulkloader.py", line 3618, in
>>>> RunPostAuthentication
>>>>     return self.request_manager.GetSchemaKinds()
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/tools/bulkloader.py", line 1356, in GetSchemaKinds
>>>>     global_stat = stats.GlobalStat.all().get()
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/ext/db/__init__.py", line 2049, in get
>>>>     results = self.fetch(1, config=config)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/ext/db/__init__.py", line 2102, in fetch
>>>>     raw = raw_query.Get(limit, offset, config=config)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/api/datastore.py", line 1673, in Get
>>>>     batch = batcher.next_batch(limit)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/datastore/datastore_query.py", line 2562, in
>>>> next_batch
>>>>     batch = self.__next_batch.get_result()
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/api/apiproxy_stub_map.py", line 592, in get_result
>>>>     return self.__get_result_hook(self)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/datastore/datastore_query.py", line 2317, in
>>>> __query_result_hook
>>>>     self._conn.check_rpc_success(rpc)
>>>>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>>>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>>>> google/appengine/datastore/datastore_rpc.py", line 1184, in
>>>> check_rpc_success
>>>>     raise _ToDatastoreError(err)
>>>> google.appengine.api.datastore_errors.BadRequestError: app s~foo
>>>> cannot access app foo's data
>>>>
>>>>
>>>> I've tried a lot of different combinations, adding/removing ~s.
>>>>
>>>> The only hint as to what's wrong (maybe) is that when I point a
>>>> browser at foo.appspot.com/_ah/remote_api I get:
>>>>
>>>> "You must be logged in as an administrator to access this."
>>>>
>>>> I've searched for an answer, tried a lot of the stuff in the forums
>>>> here, logged out of my apps for domains account to make sure there was
>>>> no account confusion, and verified that I'm using the Google Accounts
>>>> API.
>>>>
>>>> Help?...
>>>>
>>>>
>>>> Note: My app isn't called 'foo'
>>>>
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7ab70827-01a2-40be-b6e5-64dbe53c378a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to