[google-appengine] Re: [Python] Directory structure best practice

2011-11-01 Thread Walter Antolini
Hi,

I can understand that not having an answer, that no one uses Python on 
Google App Engine.

For now I solved the problem by using the structure of django, replicated 
across multiple folders in order to have separate applications, everything 
is handled through app.yaml, and a file handler that is responsible for 
managing libraries and common files to all applications.

thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/qPS1YyUhjSYJ.
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.



[google-appengine] Re: Appengine and python error

2011-11-01 Thread Walter Antolini
Hi, I use the 2.5 and I never had problems

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/bC20H7aTDqgJ.
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.



[google-appengine] [Python] Directory structure best practice

2011-10-28 Thread Walter Antolini
Hi all,

I know this topic has already been treated several times, but I must ask 
again help to understand how to structure my application:

My application involves:
1) frontend
2) backend
3) JSON Web API

Also in the future I will also implement:

1) mobile web (for all other mobile phones)
2) Android / iPhone application
3) facebook application

Now I have considered a similar structure:

app.yaml
application.py
cron.yaml
/ app
/ config
/ controllers
/ db
/ lib
/ models
/ static
 / images
 / scripts
 / css
views /

but with this structure I can not implement other modules.

What do you propose to me about?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/JjUXsB-s1gQJ.
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.



[google-appengine] [Python] Directory structure best practices

2011-10-28 Thread Walter Antolini
Hi all,

I know this topic has already been treated several times, but I must ask 
again help to understand how to structure my application:

My application involves:
1) frontend
2) backend
3) JSON Web API

Also in the future I will also implement:

1) mobile web (for all other mobile phones)
2) Android / iPhone application
3) facebook application

Now I have considered a similar structure:

app.yaml
application.py
cron.yaml
/ app
/ config
/ controllers
/ db
/ lib
/ models
/ static
 / images
 / scripts
 / css
views /

but with this structure I can not implement other modules.

What do you propose to me about?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/zrO49_MfGOUJ.
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.



[google-appengine] Interception Errors

2011-06-21 Thread walter
What kind of HTTP errors, except 404 and 500, should intercept?
How to get HTTP error code?

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



[google-appengine] Re: Interception Errors

2011-06-21 Thread walter
I'm not entirely true formulated. For which errors, except for 404 and
500, should redirect to a page with an error message?

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



[google-appengine] Templates and filters

2011-06-20 Thread walter
Hello everyone!

I have upgraded templates from django 0.96 to django 1.2. Accordingly
I want to use filters markdown or textile in my work. Is there any
possibility for this? I don't use django-helper or something another
one, only App Engine.

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



[google-appengine] How to filter date

2011-04-01 Thread walter
My model

class BaseArticleModel(polymodel.PolyModel):
title = db.StringProperty()
created_at = db.DateProperty(auto_now_add=True)
updated_at = db.DateProperty(auto_now=True)

class News(BaseArticleModel):
body = db.TextProperty()

I ned get rows by last month. When to do filter like this

q = News.all().filter('created_at.month = ',
datetime(2011,04,01).month)

I get IndexError: The query returned fewer than 1 results

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



[google-appengine] Re: How to filter date

2011-04-01 Thread walter
Thank you very much. This is a very useful and helped. But, I've bit
confused.  I didn't find any references to @db.ComputedProperty. :(

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



[google-appengine] google-app-engine-django troubles with fixtures

2011-03-04 Thread walter
I'm using google-app-engine-django, Django 1.2, dev_appengine 1.4.2.
Data I was add to the datastore via manage.py shell

When I try

python manage.py dumpdata myapp  fixture.json

I get a file with empty square brackets.

I created file manually
[
{
model:myapp.news,
pk:25,
fields:{
title:Title News Check One,
body:Body News Check One
}
}
]

After python manage.py loaddata myapp/fixtures/fixture.json

I've got DeserializationError: Invalid model identifier:
'myapp.news'

Next my attempt is fixtures = ['djengine.json'] in a TestCase
instance. And data didn't load again.

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



[google-appengine] How to get users list

2010-10-11 Thread walter
Hello everybody.

How can I get list of all users from the Administration Console?
May be there is something like Django's

users = User.objects.all()
for user in users:
do_something_with user

-- 
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] Re: Problems using generate_records with the bulkloader

2009-10-19 Thread Walter

Did you ever figure out what the problem was?  I am being blocked by
the same issue.

Thanks,
Walter

On Sep 19, 2:14 am, Col Wilson col.wilson.em...@googlemail.com
wrote:
 I'm using Python 2.5 locally and GAE 1.5.

 I'm trying to load data which is not is CSV format. Here's a
 simplified model which reflects what I get with a more complex real
 life issue:

 class Thing(db.Model):
     name = db.StringProperty()

 class ThingLoader(bulkloader.Loader):
     elements = [
         ('name', str)
     ]

     def __init__(self):
         bulkloader.Loader.__init__(self, 'Thing', self.elements)

     def generate_records(self, filename):
         records = load_records_from_some_datasource()
         for record in records:
             yield [
                 record['name']
             ]

 loaders = [Thing]

 When I try to bulkload this (both locally or to google) I get:

 InternalError: Put accepted 10 entities but returned 0 keys.

 I can't work out why the datastore will not allocate keys. Any ideas
 what I should do?

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



[google-appengine] Re: bulkloader.py Authentication

2009-10-15 Thread Jeff Walter

Hi everyone,

Well I'm glad bgood was able to get his issue solved! In the meantime,
I'm still having a bit of trouble with appcfg.py and the download_data
function.

To recap:

I followed Nick Johnson's suggestion for Java developers and created a
simple python version of my application for the purpose of using
python tools to interact with my datastore.

I'm trying to download data in csv format from my datastore. I just
upgraded to the latest version of the python tools (1.2.6.542). It's
not working -- I am told there is a syntax error in my app.yaml file.
However I'm able to upload my app fine and use bulkloader.py directly
with success. Here's the exact command I'm using with appcfg.py and a
link to my configuration file. I'm on OSX v10.6.

appcfg.py download_data --kind=Video_ --url=http://
upload.latest.idolornot-dev.appspot.com/remote_api --
filename=videos.csv --config_file=../idolornot-dev-empty/app.yaml ../
idolornot-dev-empty/

http://jeffinmotion.com/work/appengine/appcfg_issue/app.yaml

The error:
Application: idolornot-dev; version: upload.
Downloading data records.
[INFO] Logging to bulkloader-log-20091015.135351
Traceback (most recent call last):
  File /usr/local/bin/appcfg.py, line 60, in module
run_file(__file__, globals())
  File /usr/local/bin/appcfg.py, line 57, 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 2548, in module
main(sys.argv)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2539, 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 1640, in Run
self.action(self)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2427, in __call__
return method()
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2293, in PerformDownload
run_fn(args)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2215, 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 3894, 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 3717, in _PerformBulkload
LoadConfig(config_file)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py, line 3467, in LoadConfig
('', 'r', imp.PY_SOURCE))
  File ../idolornot-dev-empty/app.yaml, line 1
application: idolornot-dev
   ^
SyntaxError: invalid syntax


Any ideas?

Jeff

On Oct 1, 1:16 am, bgood ben.mcgee.g...@gmail.com wrote:
 Takashi, you rock!  Thanks so much, that solved it

 On Sep 30, 8:13 pm, Takashi Matsuo matsuo.taka...@gmail.com wrote:



  Hi bgood,

  Perhaps you can try specifying app_id explicitly by adding
  --app-id='yourappid'.
  Sorry if it won't work for you.

  Regards,

  --
  Takashi Matsuo
  The father of kay framework

  On Thu, Oct 1, 2009 at 4:38 AM, bgood ben.mcgee.g...@gmail.com wrote:

   I found part of my answer in a previous thread
  http://groups.google.com/group/google-appengine/browse_thread/thread/...

   It seems that the url I was requesting didn't exist - which you can
   identify by inspecting the stack trace for the 404.

   But the --dump option is failing as follows.

   I am trying to dump the data created in a Java app engine
   application.  So, I have two versions of the app - the live java
   version and the python version that hosts /remote_api .  (this caused
   the url confusion)

   I succeeded with authenticating a request to the python remote_api (in
   version 'bulkload') with this:

  bulkloader.py --dump --filename=my-new-archive.csv --kind=MyClass --
   url=http://bulkload.latest.myappid.appspot.com/remote_api./

   however, the request failed with the error:
   [ERROR   ] Error in Thread-1: app myappid cannot access app
   bulkload.latest.myappid's data

   My app.yaml file looks like this

   application: myappid
   version: bulkload
   runtime: python
   

[google-appengine] Re: bulkloader.py Authentication

2009-09-29 Thread Jeff Walter

Hi Nick,

Thanks for the suggestion. I'm not quite at the upload point, I'm
interested right now in pulling down data from the app engine.

Since I am using Java, your advice on Stack Overflow and your blog has
been very helpful.

http://stackoverflow.com/questions/1346632/how-do-i-put-data-into-the-datastore-of-googles-app-engine
http://blog.notdot.net/2009/9/Advanced-Bulk-Loading-Part-5-Bulk-Loading-for-Java

Following the articles, I was able to use bulkloader to download data!

However I would like to get the data in CSV format -- so I turned to
appcfg.py download_data, as per the instructions on:
http://code.google.com/appengine/docs/python/tools/uploadingdata.html

When I run this command I notice two things:

1) I am told --app_id is not a recognized option (which the
documentation leads me to believe is supposed to work)
2) (removing the --app_id) I am told there is a syntax error in my
app.yaml file (but the application deployed just fine)

My app.yaml file is the same as the example you posted on your blog
(except for the app name of course)

My error is posted below.

Is the issue that I also need to define my models for download as I
would need to for upload?

Best,
Jeff

appcfg.py download_data --kind=Video_ --url=http://
upload.latest.idolornot-dev.appspot.com/remote_api --
filename=videos.csv --config_file=../idolornot-dev-empty/app.yaml ../
idolornot-dev-empty/

/usr/local/bin/appcfg.py:41: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead
  os.path.join(DIR_PATH, 'lib', 'antlr3'),
Downloading data records.
[INFO] Logging to bulkloader-log-20090929.132804
Traceback (most recent call last):
  File /usr/local/bin/appcfg.py, line 60, in module
run_file(__file__, globals())
  File /usr/local/bin/appcfg.py, line 57, 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 2525, in module
main(sys.argv)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2516, 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 1640, in Run
self.action(self)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2404, in __call__
return method()
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2270, in PerformDownload
run_fn(args)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py, line 2192, 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 3807, 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 3630, in _PerformBulkload
LoadConfig(config_file)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py, line 3380, in LoadConfig
('', 'r', imp.PY_SOURCE))
  File ../idolornot-dev-empty/app.yaml, line 1
application: idolornot-dev
   ^
SyntaxError: invalid syntax


On Sep 25, 8:23 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 Hi Jeff,
 Instead of calling the bulkloader directly, call appcfg.py upload_data,
 and supply the --no_cookies argument to ignore the cookie file.

 -Nick Johnson





 On Thu, Sep 24, 2009 at 4:25 PM, Jeff Walter jeffinmot...@gmail.com wrote:

  Hello,

  I must have mistyped my Google password when I was authenticating for
  the bulkloader.py script, because I got an Authentication Failed
  message.

  Now each time I run the script, it doesn't prompt me for my email or
  password -- it just says Authentication Failed. I tried the --email
  and --passin parameters, but it won't let me re-authenticate with new
  credentials.

  How can clear the credentials that the script is remembering so I try
  again?

  Jeff

 --
 Nick Johnson, Developer Programs Engineer, App Engine
 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
 368047
--~--~-~--~~~---~--~~
You received

[google-appengine] Re: Why Google AppEngine sucks

2009-09-26 Thread Walter Chang
the 2nd method makes sense to me.  the 1st method looks to me like playing
russian roulette with my data; it is twice as fast when everything is
working but what if memcached crashes?  memcached is not fault tolerant and
it was not design to be, after all, its just cache.  i think there are
applications that can tolerate hiccups like that but most of the
applications i worked on can't.


On Sat, Sep 26, 2009 at 8:37 PM, Jeroen aliq...@gmail.com wrote:


 Biggest problem: The datastore is deadslow and uses indane amounts of
 cpu. I found 2 ways around it, backwards ones imho, but if it works,
 it works.
 Maybe my usecase is unique, as it involves frequent updates to the
 data (10k records) stored.

 1st solution:
 Only update the datastore after 2 new updates of the data, store
 intermittent data in memcache.  (eg: 1) store in datastore  put in
 cache, 2) fetch from cache, update cache (if not in cache update
 datastore) 3) store in datastore and update cache 4) fetch from cache,
 update cache (if not in cache update datastore) 5) datastore, 6)
 cache, 7)  etc )

 2nd solution:
 Store non indexed data (about 10 fields) in one big blob, that you
 serialize when storing data, deserializing when reading.

 Both work fairly well (combining both methods reduced cpa usage by
 over 50%), but are cripled, by appenginge.

 The 1st method need a more reliable memache, atleast its limits needs
 to be clear (there havwe been moments it was only able to held 8k
 (total 10mb data) items, and moments it would held 20k (adding to
 about 30mb), when only holding 8k, data gets lost. Of course the
 nature of a cache is that it can loose date, but it would be nice if
 it behaved in a predicatable way)

 The 2nd method needs a good performing serialization mechanism. For
 python the obvious choice is pickle (which i'm using), but in all it's
 wisdom google decided not to include cpickle. Thus performance is
 terrible. (Yaml yielded even worse results, as the c-extention needed
 to speed things up isn't availble )(Another option might be protocol
 buffers, well.. those don't work on appengine (the google package in
 which the python code resides is locked or something))

 All this gives me the feeling that I'm forced to pay CPU costs that
 shouldn't be there:
 - i didn't ask for a deadslow bigtable datastore (it really is that
 damned datastore that's still eating half mu CPU usage)
 - i try to optimize, but the tools for it are crippled

 I fully understand the successtory related to serving static content.
 But for dynamic content, for future project, i'll hapillily not try
 using appengine anymore.
 



-- 
...__o
...\,
( )/ ( )...

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



[google-appengine] Re: Why Google AppEngine sucks

2009-09-25 Thread Walter Chang
thanks a lot for all the comments.  i think one comment sums it up
beautifully: Neither Google nor Amazon are idiots so both have their good
and bad points.  i think we will go with gae for the prototype but keep the
datastore bits separated just in case the need to switch to ec2 in the
future.

On Fri, Sep 25, 2009 at 1:56 PM, OvermindDL1 overmind...@gmail.com wrote:


 On Thu, Sep 24, 2009 at 11:49 PM, Robin B robi...@gmail.com wrote:
 
  That's interesting you mention Erlang: I was working on building an
  Erlang based App Cluster around the time when AppEngine was announced/
  released.  You can achieve a much higher handlers/cpu or handlers/
  memory density using Erlang because each handler is a green thread
  with cheap context switching, each handler/process costs as little as
  200 bytes of system memory, and system libraries can loaded once into
  memory and shared between all apps because Erlang is a functional
  programming language.  The thing that made me trade Erlang for
  AppEngine was having access to BigTable.
 
  AppEngine has numerous features (simple deployment, load balancing,
  dynamic scalability), but the main benefit is access to a scalable
  database; BigTable provides seamless multi-master database writes.  If
  a developer has never considered the challenges of scaling database
  write throughput, then they would not realize how much time AppEngine
  will save them in designing and hosting a truly scalable web
  application.

 It would not be hard to add BigTable into Erlang though, Erlang is not
 that hard to bind to after all.  The Mnasia database built into Erlang
 though is fully distributed and fault tolerant and things can be made
 to exist on disk or in memory only for speed and all sorts of things,
 it is actually quite powerful, just a bit slower then normal SQL
 servers of course, due to the distributed nature.  Erlang also has
 load balancing, dynamic scalability, and the deployment when using the
 Erlang webserver Yaws is quite simple, it is fully ready to handle
 just about everything you could ever throw at it, you just need a few
 computers to load it on first.  :)

 I prefer Python as a programming language (although I would still use
 Erlang if AppEngine ever supports it, it is just an awesome language).
  I am using AppEngine because other people requested I did, been
 learning it.  :)

 



-- 
...__o
...\,
( )/ ( )...

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



[google-appengine] bulkloader.py Authentication

2009-09-24 Thread Jeff Walter

Hello,

I must have mistyped my Google password when I was authenticating for
the bulkloader.py script, because I got an Authentication Failed
message.

Now each time I run the script, it doesn't prompt me for my email or
password -- it just says Authentication Failed. I tried the --email
and --passin parameters, but it won't let me re-authenticate with new
credentials.

How can clear the credentials that the script is remembering so I try
again?

Jeff

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



[google-appengine] Re: bulkloader.py Authentication

2009-09-24 Thread Jeff Walter

Elias,

I'm not getting any stacktrace when I run in debug. Here's what I see:

bulkloader.py --dump --kind=Video_ --url=http://idolornot-
dev.appspot.com/remote_api --filename=videos.csv --passin --debug

[INFO] Logging to bulkloader-log-20090924.165037
[INFO] Throttling transfers:
[INFO] Bandwidth: 25 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 20/second
[INFO] Opening database: bulkloader-progress-20090924.165037.sql3
[INFO] Opening database: bulkloader-results-20090924.165037.sql3
[DEBUG   ] [WorkerThread-0] WorkerThread: started
[DEBUG   ] [WorkerThread-1] WorkerThread: started
[DEBUG   ] [WorkerThread-2] WorkerThread: started
[DEBUG   ] [WorkerThread-3] WorkerThread: started
[DEBUG   ] [WorkerThread-4] WorkerThread: started
[DEBUG   ] [WorkerThread-5] WorkerThread: started
[DEBUG   ] [WorkerThread-6] WorkerThread: started
[DEBUG   ] [WorkerThread-7] WorkerThread: started
[DEBUG   ] [WorkerThread-8] WorkerThread: started
[DEBUG   ] [WorkerThread-9] WorkerThread: started
[DEBUG   ] Configuring remote_api. url_path = /remote_api, servername
= idolornot-dev.appspot.com
[DEBUG   ] Bulkloader using app_id: idolornot-dev
[INFO] Connecting to idolornot-dev.appspot.com/remote_api
[INFO] Authentication Failed

I'm on OS X 10.6 and running the Java SDK

Jeff

On Sep 24, 1:14 pm, Elias Torres el...@torrez.us wrote:
 Can you post your stacktrace?

 -Elias

 On Sep 24, 11:25 am, Jeff Walter jeffinmot...@gmail.com wrote:



  Hello,

  I must have mistyped my Google password when I was authenticating for
  the bulkloader.py script, because I got an Authentication Failed
  message.

  Now each time I run the script, it doesn't prompt me for my email or
  password -- it just says Authentication Failed. I tried the --email
  and --passin parameters, but it won't let me re-authenticate with new
  credentials.

  How can clear the credentials that the script is remembering so I try
  again?

  Jeff
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[google-appengine] Re: DistributionNotFound When Deploying App to GAE

2008-11-10 Thread Walter Cruz

Have you tried python setup.py develop (using the python from virtualenv)?
-- 
[]'
- Walter
waltercruz.com

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---