Re: [google-appengine] BadRequestError: app s~helixchewer cannot access app helixchewer's data during create_bulkloader_config

2014-05-09 Thread Vinny P
On Sat, Apr 26, 2014 at 1:19 AM, Mokter Hossain  wrote:

> Hello Ikai,  I used your suggested method (appcfg.py
> create_bulkloader_config --filename=bulkloader.yaml --url=
> http://csp-cs4hs.appspot.com/_ah/remote_api --application=s~csp-cs4hs)
>
> but still getting same problem, IOError: [Errror 13] Permission denied,
> while giving the following command:
>
> C:\Program Files (x86)\Google\google_appengine> python appcfg.py
> download_data --config_file=bulkloader.yaml  --filename=studentproperty.csv
> --kind=StudentPropertyEntity --url=
> http://csp-cs4hs.appspot.com/_ah/remote_api --namespace=ns_CSP4HS
> Could you pls help me.
>


Can you try leaving out the --application argument and see what happens? Do
you see any data prompts?


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] BadRequestError: app s~helixchewer cannot access app helixchewer's data during create_bulkloader_config

2014-05-09 Thread Mokter Hossain
Hello Ikai, 

I used your suggested method (appcfg.py create_bulkloader_config 
--filename=bulkloader.yaml --url=http://csp-cs4hs.appspot.com/_ah/remote_api
 --application=s~csp-cs4hs) 

but still getting same problem, IOError: [Errror 13] Permission denied, 
while giving the following command:
 
C:\Program Files (x86)\Google\google_appengine> python appcfg.py 
download_data --config_file=bulkloader.yaml  --filename=studentproperty.csv 
--kind=StudentPropertyEntity --url=
http://csp-cs4hs.appspot.com/_ah/remote_api --namespace=ns_CSP4HS

Could you pls help me.

Thanks
Mokter

 

On Tuesday, January 11, 2011 5:11:32 PM UTC-6, Ikai Lan (Google) wrote:
>
> The s~ is supposed to be an invisible modifier for High Replication 
> applications. Give this a try:
>
> appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=
> http://helixchewer.appspot.com/_ah/remote_api --application=s~helixchewer
>
> --
> Ikai Lan 
> Developer Programs Engineer, Google App Engine
> Blogger: http://googleappengine.blogspot.com
> Reddit: http://www.reddit.com/r/appengine
> Twitter: http://twitter.com/app_engine
>
>
>
> On Sun, Jan 9, 2011 at 8:41 PM, Matthew Stone 
> 
> > wrote:
>
>> I can't for the life of me figure out what this error means, or how to
>> solve it.  It looks like I made a typo somewhere (s~helixchewer vs
>> helixchewer) but I can't figure out where.
>>
>> Has anyone run into this before?
>>
>>
>> > appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=
>> http://helixchewer.appspot.com/_ah/remote_api
>> Creating bulkloader configuration.
>> [INFO] Logging to bulkloader-log-20110109.232451
>> [INFO] Throttling transfers:
>> [INFO] Bandwidth: 25 bytes/second
>> [INFO] HTTP connections: 8/second
>> [INFO] Entities inserted/fetched/modified: 20/second
>> [INFO] Batch Size: 10
>> [INFO] Opening database: bulkloader-progress-20110109.232451.sql3
>> [INFO] Opening database: bulkloader-results-20110109.232451.sql3
>> [INFO] Connecting to helixchewer.appspot.com/_ah/remote_api
>> [INFO] Downloading kinds:
>> ['__Stat_PropertyType_PropertyName_Kind__']
>> [ERROR   ] [Thread-1] WorkerThread:
>> Traceback (most recent call last):
>>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>> google/appengine/tools/adaptive_thread_pool.py", line 150, in
>> WorkOnItems
>>status, instruction = item.PerformWork(self.__thread_pool)
>>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>> google/appengine/tools/bulkloader.py", line 691, in PerformWork
>>transfer_time = self._TransferItem(thread_pool)
>>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>> google/appengine/tools/bulkloader.py", line 1078, in _TransferItem
>>self, retry_parallel=self.first)
>>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>> google/appengine/tools/bulkloader.py", line 1348, in GetEntities
>>results = self._QueryForPbs(query)
>>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
>> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
>> google/appengine/tools/bulkloader.py", line 1319, in _QueryForPbs
>>raise datastore._ToDatastoreError(e)
>> BadRequestError: app s~helixchewer cannot access app helixchewer's
>> data
>> [INFO] [Thread-3] Backing off due to errors: 1.0 seconds
>> [INFO] An error occurred. Shutting down...
>> [ERROR   ] Error in Thread-1: app s~helixchewer cannot access app
>> helixchewer's data
>>
>> [INFO] Have 0 entities, 0 previously transferred
>> [INFO] 0 entities (1697 bytes) transferred in 2.0 seconds
>>
>>
>> Contents of app.yaml:
>>
>> application: helixchewer
>> version: 1
>> runtime: python
>> api_version: 1
>>
>> handlers:
>> - url: .*
>>  script: main.py
>>
>> builtins:
>> - datastore_admin: on
>> - remote_api: on
>>
>> --
>> 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-a...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-appengi...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] BadRequestError: app s~helixchewer cannot access app helixchewer's data during create_bulkloader_config

2011-01-24 Thread Ikai Lan (Google)
Yes, that is the goal. The s~ should not appear anywhere with the exception
of maybe the admin-console. If it's required anywhere else, that is a bug we
should address.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Mon, Jan 24, 2011 at 2:12 AM, Waldemar Kornewald wrote:

> Will this be fixed, so it's transparent? From an end-user point of view
> there is no reason to have such a distinction. It only complicates
> everything and people are sending me bug reports about the remote API not
> working with Django-nonrel when they use the high-replication datastore. In
> case the s~ prefix will stay, how can I detect this in Django-nonrel if I
> only know the normal appid and the user doesn't manually specify that his
> app uses the HR datastore?
>
> Bye,
> Waldemar
>
> --
> 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.
>

-- 
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.



Re: [google-appengine] BadRequestError: app s~helixchewer cannot access app helixchewer's data during create_bulkloader_config

2011-01-24 Thread Waldemar Kornewald
Will this be fixed, so it's transparent? From an end-user point of view 
there is no reason to have such a distinction. It only complicates 
everything and people are sending me bug reports about the remote API not 
working with Django-nonrel when they use the high-replication datastore. In 
case the s~ prefix will stay, how can I detect this in Django-nonrel if I 
only know the normal appid and the user doesn't manually specify that his 
app uses the HR datastore?

Bye,
Waldemar

-- 
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.



Re: [google-appengine] BadRequestError: app s~helixchewer cannot access app helixchewer's data during create_bulkloader_config

2011-01-11 Thread Ikai Lan (Google)
The s~ is supposed to be an invisible modifier for High Replication
applications. Give this a try:

appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=
http://helixchewer.appspot.com/_ah/remote_api --application=s~helixchewer

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Sun, Jan 9, 2011 at 8:41 PM, Matthew Stone wrote:

> I can't for the life of me figure out what this error means, or how to
> solve it.  It looks like I made a typo somewhere (s~helixchewer vs
> helixchewer) but I can't figure out where.
>
> Has anyone run into this before?
>
>
> > appcfg.py create_bulkloader_config --filename=bulkloader.yaml --url=
> http://helixchewer.appspot.com/_ah/remote_api
> Creating bulkloader configuration.
> [INFO] Logging to bulkloader-log-20110109.232451
> [INFO] Throttling transfers:
> [INFO] Bandwidth: 25 bytes/second
> [INFO] HTTP connections: 8/second
> [INFO] Entities inserted/fetched/modified: 20/second
> [INFO] Batch Size: 10
> [INFO] Opening database: bulkloader-progress-20110109.232451.sql3
> [INFO] Opening database: bulkloader-results-20110109.232451.sql3
> [INFO] Connecting to helixchewer.appspot.com/_ah/remote_api
> [INFO] Downloading kinds:
> ['__Stat_PropertyType_PropertyName_Kind__']
> [ERROR   ] [Thread-1] WorkerThread:
> Traceback (most recent call last):
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/adaptive_thread_pool.py", line 150, in
> WorkOnItems
>status, instruction = item.PerformWork(self.__thread_pool)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 691, in PerformWork
>transfer_time = self._TransferItem(thread_pool)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 1078, in _TransferItem
>self, retry_parallel=self.first)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 1348, in GetEntities
>results = self._QueryForPbs(query)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 1319, in _QueryForPbs
>raise datastore._ToDatastoreError(e)
> BadRequestError: app s~helixchewer cannot access app helixchewer's
> data
> [INFO] [Thread-3] Backing off due to errors: 1.0 seconds
> [INFO] An error occurred. Shutting down...
> [ERROR   ] Error in Thread-1: app s~helixchewer cannot access app
> helixchewer's data
>
> [INFO] Have 0 entities, 0 previously transferred
> [INFO] 0 entities (1697 bytes) transferred in 2.0 seconds
>
>
> Contents of app.yaml:
>
> application: helixchewer
> version: 1
> runtime: python
> api_version: 1
>
> handlers:
> - url: .*
>  script: main.py
>
> builtins:
> - datastore_admin: on
> - remote_api: on
>
> --
> 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-appeng...@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.
>
>

-- 
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-appeng...@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.



[google-appengine] BadRequestError: app s~helixchewer cannot access app helixchewer's data during create_bulkloader_config

2011-01-11 Thread Matthew Stone
I can't for the life of me figure out what this error means, or how to
solve it.  It looks like I made a typo somewhere (s~helixchewer vs
helixchewer) but I can't figure out where.

Has anyone run into this before?


> appcfg.py create_bulkloader_config --filename=bulkloader.yaml 
> --url=http://helixchewer.appspot.com/_ah/remote_api
Creating bulkloader configuration.
[INFO] Logging to bulkloader-log-20110109.232451
[INFO] Throttling transfers:
[INFO] Bandwidth: 25 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 20/second
[INFO] Batch Size: 10
[INFO] Opening database: bulkloader-progress-20110109.232451.sql3
[INFO] Opening database: bulkloader-results-20110109.232451.sql3
[INFO] Connecting to helixchewer.appspot.com/_ah/remote_api
[INFO] Downloading kinds:
['__Stat_PropertyType_PropertyName_Kind__']
[ERROR   ] [Thread-1] WorkerThread:
Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/adaptive_thread_pool.py", line 150, in
WorkOnItems
status, instruction = item.PerformWork(self.__thread_pool)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 691, in PerformWork
transfer_time = self._TransferItem(thread_pool)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 1078, in _TransferItem
self, retry_parallel=self.first)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 1348, in GetEntities
results = self._QueryForPbs(query)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 1319, in _QueryForPbs
raise datastore._ToDatastoreError(e)
BadRequestError: app s~helixchewer cannot access app helixchewer's
data
[INFO] [Thread-3] Backing off due to errors: 1.0 seconds
[INFO] An error occurred. Shutting down...
[ERROR   ] Error in Thread-1: app s~helixchewer cannot access app
helixchewer's data

[INFO] Have 0 entities, 0 previously transferred
[INFO] 0 entities (1697 bytes) transferred in 2.0 seconds


Contents of app.yaml:

application: helixchewer
version: 1
runtime: python
api_version: 1

handlers:
- url: .*
  script: main.py

builtins:
- datastore_admin: on
- remote_api: on

-- 
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-appeng...@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.