[google-appengine] Problem with models & Google App Engine Helper for Django

2009-02-02 Thread cdub

I have my application up and running with the Google App Engine Helper
for Django.

But when I went to add a simple model:

models.py
--

from appengine_django.models import BaseModel
from google.appengine.ext import db

class Quiz(BaseModel):
question = db.StringProperty()

I started getting the following error:

IndexError at /
list index out of range
Request Method: GET
Request URL:http://localhost:8080/
Exception Type: IndexError
Exception Value:list index out of range
Exception Location: /Users/carlin/Documents/Personal/Programming/
mysite/appengine_django/models.py in __init__, line 51

Any ideas?

Thanks,
cw
--~--~-~--~~~---~--~~
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: The API call datastore_v3.Delete() required more quota than is

2009-02-02 Thread Ilia Lobsanov

Correction, it's datastore_v3.Get() not Delete()

The exact traceback is:

Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/bulkload/
__init__.py", line 376, in LoadEntities
new_entities = loader.CreateEntity(columns, key_name=key_name)
  File "/base/python_lib/versions/1/google/appengine/ext/bulkload/
__init__.py", line 235, in CreateEntity
entities = self.HandleEntity(entity)
  File "/base/data/home/apps/govtenders/107.331152630405006468/
loader.py", line 30, in HandleEntity
old_contract = Contract.get_by_key_name(old_key_name)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 837, in get_by_key_name
return get(*keys)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1032, in get
entities = datastore.Get(keys)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 215, in Get
apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Get', req, resp)
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 68, in MakeSyncCall
apiproxy.MakeSyncCall(service, call, request, response)
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 240, in MakeSyncCall
stub.MakeSyncCall(service, call, request, response)
  File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 183, in MakeSyncCall
rpc.CheckSuccess()
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_rpc.py", line 107, in CheckSuccess
raise self.exception
OverQuotaError: The API call datastore_v3.Get() required more quota
than is available.




On Feb 3, 1:10 am, Ilia Lobsanov  wrote:
> I've ran into the error "The API call datastore_v3.Delete() required
> more quota than is available. "
>
> What I'm doing is using the bulkload_client.py to load 4 entities at a
> time.
> eg. "INFO     2009-02-03 01:03:42,049 bulkload_client.py] Importing 4
> entities in 953 bytes"
>
>  After ~174 such imports, I get the quota error.
>
> The loader HandleEntity is doing the following:
> 1) lookup an entity A by key name
> 2) delete entity A if found
> 3) lookup an entity A by another key name
> 4) create a SearchableEntity based on the entity
> 5) lookup an entity B by key name
> 6) update entity B if found and put() it
> 7) lookup an entity C by key name
> 8) update entity C if found and put() it
> 9) return the SearchableEntity
--~--~-~--~~~---~--~~
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] The API call datastore_v3.Delete() required more quota than is

2009-02-02 Thread Ilia Lobsanov

I've ran into the error "The API call datastore_v3.Delete() required
more quota than is available. "

What I'm doing is using the bulkload_client.py to load 4 entities at a
time.
eg. "INFO 2009-02-03 01:03:42,049 bulkload_client.py] Importing 4
entities in 953 bytes"

 After ~174 such imports, I get the quota error.

The loader HandleEntity is doing the following:
1) lookup an entity A by key name
2) delete entity A if found
3) lookup an entity A by another key name
4) create a SearchableEntity based on the entity
5) lookup an entity B by key name
6) update entity B if found and put() it
7) lookup an entity C by key name
8) update entity C if found and put() it
9) return the SearchableEntity
--~--~-~--~~~---~--~~
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: 网页中有汉字 ,就会产生错误,不知是啥原因

2009-02-02 Thread ajaxer

这里有一个中文的APP ENGINE讨论组,有兴趣的欢迎加入论坛。

http://groups.google.com/group/google-app-engine-cn-dev?hl=zh-CN



On Feb 3, 10:59 am, Rolkey马海军  wrote:
> 有人捧场没人上台,有问题没解决可不爽,我已经自己找到解决方法了,就是在.py文件的最前面加上# -*- coding: utf-8
> -*-即可!!这又是在GOOGLE里找到的
>
> 2009/2/2 Junkie o0o :
>
> > happy 牛 year!
> > 哈哈
>
> > 2009/2/2 yu ping322 
>
> >> 在这里混的中国人挺多的,只是很多人的英语也很牛,说英语显摆。
>
> >> 2009/2/2 kang :
> >> > 一直有中文的啊,新年快乐~
>
> >> > 2009/1/31 trydofor 
>
> >> >> 哥们们,
>
> >> >> 总算在列表里看到中文啦 :)
> >> >> 兴奋啊,祝新年快乐,牛年牛B
>
> >> >> kang wrote:
> >> >> > 在文件开始加上#coding=utf-8
>
> >> >> > 2009/1/22 网页中有汉字,就会产生错误,不知是啥原因  >> >> > >
>
> >> >> > this code right in local development environment, but error on
> >> >> > update
> >> >> > to server.
>
> >> >> > import wsgiref.handlers
> >> >> > from google.appengine.ext import webapp
>
> >> >> > class MainPage(webapp.RequestHandler):
> >> >> >  def get(self):
> >> >> >self.response.headers['Content-Type'] = 'text/html;
> >> >> > charset=utf-8'
> >> >> >self.response.out.write('Hello, have no thing,有
> >> >> > 了汉字就不
> >> >> > 灵了?')
>
> >> >> --
> >> >> /\__/\___/\/\/\
> >> >> _/\/\/\/\__/\__/\__/\/\/\/\_/\/\_/\__/\
> >> >> __/\__/\_/\_/\__/\___/\_/\/\__/\___/\__/\/\/\__/\___/\__/\_/\__
> >> >> _/\__/\__/\/\__/\/\__/\___/\__/\__/\___/\__/\__
> >> >> /\/\/\/\/\/\/\_/\/\_/\/\___
> >> >> _/\/\/\
> >> >> _/ trydofor.com / a9text.sf.net / a9w3.sf.net /
>
> >> > --
> >> > Stay hungry,Stay foolish.
>
>
--~--~-~--~~~---~--~~
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: Query and Batch limits?

2009-02-02 Thread Bryan Donlan



On Feb 2, 2:05 pm, Robin B  wrote:
> Thanks for the clarification that there is no limit on # of queries/
> request.
>
> And I assume you are saying there is no limit on # keys/models for
> batch get/put/delete.
>
> What about when using cron?  Will the same rules apply?

I don't believe google has released any information about the cron
feature yet - just some leaked code that suggests it may be coming
soon.
--~--~-~--~~~---~--~~
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: 网页中有汉字 ,就会产生错误,不知是啥原因

2009-02-02 Thread Rolkey马海军

有人捧场没人上台,有问题没解决可不爽,我已经自己找到解决方法了,就是在.py文件的最前面加上# -*- coding: utf-8
-*-即可!!这又是在GOOGLE里找到的

2009/2/2 Junkie o0o :
> happy 牛 year!
> 哈哈
>
> 2009/2/2 yu ping322 
>>
>> 在这里混的中国人挺多的,只是很多人的英语也很牛,说英语显摆。
>>
>> 2009/2/2 kang :
>> > 一直有中文的啊,新年快乐~
>> >
>> > 2009/1/31 trydofor 
>> >>
>> >> 哥们们,
>> >>
>> >> 总算在列表里看到中文啦 :)
>> >> 兴奋啊,祝新年快乐,牛年牛B
>> >>
>> >> kang wrote:
>> >> > 在文件开始加上#coding=utf-8
>> >> >
>> >> > 2009/1/22 网页中有汉字,就会产生错误,不知是啥原因 > >> > >
>> >> >
>> >> >
>> >> > this code right in local development environment, but error on
>> >> > update
>> >> > to server.
>> >> >
>> >> > import wsgiref.handlers
>> >> > from google.appengine.ext import webapp
>> >> >
>> >> > class MainPage(webapp.RequestHandler):
>> >> >  def get(self):
>> >> >self.response.headers['Content-Type'] = 'text/html;
>> >> > charset=utf-8'
>> >> >self.response.out.write('Hello, have no thing,有
>> >> > 了汉字就不
>> >> > 灵了?')
>> >>
>> >> --
>> >> /\__/\___/\/\/\
>> >> _/\/\/\/\__/\__/\__/\/\/\/\_/\/\_/\__/\
>> >> __/\__/\_/\_/\__/\___/\_/\/\__/\___/\__/\/\/\__/\___/\__/\_/\__
>> >> _/\__/\__/\/\__/\/\__/\___/\__/\__/\___/\__/\__
>> >> /\/\/\/\/\/\/\_/\/\_/\/\___
>> >> _/\/\/\
>> >> _/ trydofor.com / a9text.sf.net / a9w3.sf.net /
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Stay hungry,Stay foolish.
>> >
>> > >
>> >
>>
>>
>
>
> >
>

--~--~-~--~~~---~--~~
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: BadValueError: Property fAmount must be a str or unicode instance, not a float

2009-02-02 Thread Alexander Kojevnikov

On Feb 3, 11:11 am, Mark  wrote:
> My app is working fine locally on dev_appserver, but I am getting the
> error in the subject line after I do an "appcfg update".
>
> The error occurs on a query that happens on the welcome page of the
> app.
>
> I think I uploaded a version that had FloatProperty in one of my
> databases, but I can't remember my exact order of operations that led
> to this error. Now, I've changed my application locally so that that
> field in my database is a StringProperty (I'll deal with the
> "floatness" of it later) and I get an error after I do appcfg update.
>
You probably still have entities in the datastore with float property
values. If you have few of them, go to the Data Viewer and edit the
values manually. There is an option to change the type of the property
values.

If you have a lot of them, you will need to write a data migration
script, see this article for some pointers:
http://code.google.com/appengine/articles/update_schema.html

> I also tried using Python 3.0 (I got an error message from the
> appserver that said I can't use FloatProperty with 2.5), but I got an
> error in dev_appserver.py because execfile() is obsolete (is there a
> workaround for this, yet?)
>
Python 3.0 is not supported by the App Engine, you need to use Python
2.5. Star this issue if Python 3.0 support is important for you:
http://code.google.com/p/googleappengine/issues/detail?id=909

--~--~-~--~~~---~--~~
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] BadValueError: Property fAmount must be a str or unicode instance, not a float

2009-02-02 Thread Mark

My app is working fine locally on dev_appserver, but I am getting the
error in the subject line after I do an "appcfg update".

The error occurs on a query that happens on the welcome page of the
app.

I think I uploaded a version that had FloatProperty in one of my
databases, but I can't remember my exact order of operations that led
to this error. Now, I've changed my application locally so that that
field in my database is a StringProperty (I'll deal with the
"floatness" of it later) and I get an error after I do appcfg update.

I also tried using Python 3.0 (I got an error message from the
appserver that said I can't use FloatProperty with 2.5), but I got an
error in dev_appserver.py because execfile() is obsolete (is there a
workaround for this, yet?)

I know that post is sort of rambling, but any ideas?

--~--~-~--~~~---~--~~
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: I would like to upload a word document to data store

2009-02-02 Thread djidjadji

Treat it just like images

http://code.google.com/appengine/docs/python/images/usingimages.html

2009/2/1 Shashi :
>
> Group,
>
> I would like to develop an Google App Engine application where the
> user will be asked to upload a document in word or pdf ?
>
> How do I  go about it ?
>
> Thanks in advance.
> Shashi
>
> >
>

--~--~-~--~~~---~--~~
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: Location tracking with AppEngine

2009-02-02 Thread nickmilon

Sorry haven't read this entry sooner.
As a matter of fact I developed a geolocation through ip service last
May as a test for then just released App Engine.
I was interested to test Big table's performance at the time.
So I created a Big Table model and loaded it with all ip blocks
collected by automatically fetching  related entries from various
RIR's  ARIN, APNIC  etc.
It is around 90.000 Big Table entries, and I developed a small
procedure for uploading - updating all this to BT which proved very
fast too.

With proper indexing it only needs one equality filter and it is quite
fast although more optimization can be applied.
You can try it here :


http://milon.appspot.com/stravon/db/cc/83.212.217.149
(First call can be slow coz this App is sleeping.)

last part of URL is any IP  and returns the Country code of that IP
(it works only with ipV4), although I have an other table with IPV6

Of course more development is needed for this to become a really
useful service, but I was really impressed by Big table's
performance.

Any body interested can contact me.
Take care
Nick

nickmi...@gmail.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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Location tracking with AppEngine

2009-02-02 Thread nickmilon

Sorry haven't read this entry sooner.
As a matter of fact I developed a geolocation through ip service last
May as a test for then just released App Engine.
I was interested to test Big table's performance at the time.
So I created a Big Table model and loaded it with all ip blocks
collected by automatically fetching  related entries from various
RIR's  ARIN, APNIC  etc.
It is around 90.000 Big Table entries, and I developed a small
procedure for uploading - updating all this to BT which proved very
fast too.

With proper indexing it only needs one equality filter and it is quite
fast although more optimization can be applied.
You can try it here :


http://milon.appspot.com/stravon/db/cc/83.212.217.149
(First call can be slow coz this App is sleeping.)

last part of URL is any IP  and returns the Country code of that IP
(it works only with ipV4), although I have an other table with IPV6

Of course more development is needed for this to become a really
useful service, but I was really impressed by Big table's
performance.

Any body interested can contact me.
Take care
Nick

nickmi...@gmail.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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Location tracking with AppEngine

2009-02-02 Thread nickmilon

Sorry haven't read this entry sooner.
As a matter of fact I developed a geolocation through ip service last
May as a test for then just released App Engine.
I was interested to test Big table's performance at the time.
So I created a Big Table model and loaded it with all ip blocks
collected by automatically fetching  related entries from various
RIR's  ARIN, APNIC  etc.
It is around 90.000 Big Table entries, and I developed a small
procedure for uploading - updating all this to BT which proved very
fast too.

With proper indexing it only needs one equality filter and it is quite
fast although more optimization can be applied.
You can try it here :


http://milon.appspot.com/stravon/db/cc/83.212.217.149
(First call can be slow coz this App is sleeping.)

last part of URL is any IP  and returns the Country code of that IP
(it works only with ipV4), although I have an other table with IPV6

Of course more development is needed for this to become a really
useful service, but I was really impressed by Big table's
performance.

Any body interested can contact me.
Take care
Nick

nickmi...@gmail.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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: "This application ID or version is already in use" Error

2009-02-02 Thread Alexander Kojevnikov

On Feb 3, 8:52 am, Sagie  Maoz  wrote:
> Boson, your workaround seemed to solve my problem. Thanks!
>
> Is there a way to report this to the Google team?
>
File an issue:
http://code.google.com/p/googleappengine/issues/entry

--~--~-~--~~~---~--~~
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: "This application ID or version is already in use" Error

2009-02-02 Thread Sagie Maoz

Boson, your workaround seemed to solve my problem. Thanks!

Is there a way to report this to the Google team?

On Feb 2, 8:26 pm, boson  wrote:
> I have heard of this problem.  One workaround that has apparently
> worked in the past is:
>
> 1. Log out of Google app engine.
> 2. Close browser (all windows - make sure you have quit the browser
> app).
> 3. Reopen browser.
> 4. Try again.
>
> On Feb 2, 6:04 am, Sagie  Maoz  wrote:
>
> > Hi,
>
> > I've just started learning to use App Engine, and trying to figure out
> > my way into the service...
> > I created an account, but when filling the "Create an Application"
> > form athttp://appengine.google.com/start/createapp, All I get is the
> > error message:
> >         This application ID or version is already in use
>
> > I have read in past discussions that there was a problem with the
> > "Check Availability" button, but this happens to me for every input,
> > even for some made-up strings that I'm pretty sure are available.
>
> > Am I doing something wrong? Is the service open to new applications at
> > all?
>
> > Thanks
>
>
--~--~-~--~~~---~--~~
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: developing in Netbeans

2009-02-02 Thread watchingthecrash

I'm a long time Java and Netbeans programmer new to Python also.  I
run my app engine app in Netbeans using the new "early access" Python
plug-in.  However, whenever fire it up under the debugger it locks up
my whole machine.  So I debug the app in Eclipse.  Back and forth
because so far I don't like Eclipse.  Anyway, that's my experience.

On Jan 31, 2:25 am, Arun Shanker Prasad 
wrote:
> Hi,
>
>     I tried out Netbeans for sometime, the content assist and the help
> in JavaScript was great. But could not get the dev_appserver.py to run
> from it.. Saw an under construction proj in Google Code, which wants
> to develop a plugin for netbeans to add GAE sever to the net beams
> supported server, don't know whn it'll be done (I lost the link..).
>
> Thanks,
> Arun Shanker Prasad.
>
> On Jan 30, 7:54 pm, "I.K."  wrote:
>
> > Hi,
>
> > I should also have mentioned that I have downloaded Netbeans 6.5 with
> > python support and opend up an existing GAE project I have been
> > working on in Eclips. I had a quick play and noticed loads of features
> > take from the other language support, including:
> > + syntax colouring
> > + import validating
> > + in-line code validation
> > + refactoring tools
> > + ability to jump from a method or class straight to its definition
> > + probably lots more
>
> > I'm not a sales rep by the way, I just like tools that make my life
> > easier ;)
>
> > On Jan 30, 12:18 pm, v4vijayakumar 
> > wrote:
>
> > > On Jan 30, 2:37 pm, "I.K."  wrote:
> > > ...> Anybody have some instructions on how to setup the NetBeans IDE for a
> > > > GAE project? I've tried to mimic the path and arguments to fireup the
> > > > debug version of the GAE environment, but it doesn't work and I'm not
> > > > really sure what I'm doing.
>
> > > ...
>
> > > I am using netbeans 6.5. on ubuntu, but only for its ability to
> > > highlight py, css, html syntax.
>
> > > There is a special release for python, I guess.
>
> > > Until 6.1. netbeans didn't highlight any syntax.
--~--~-~--~~~---~--~~
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: Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread V1

Thanks allot, The last time i checked my google app appengine account
it was a dead page, but now it just seem to work perfect, Thanks for
your "magical fingers" :D

On Feb 2, 6:30 pm, Marzia Niccolai  wrote:
> Investigating, it seems this application's administrator is your
> Google Apps account i...@3rd-eden.com.  Log out of your Google
> Account, clear your cache and cookies, and visit the 
> urlhttp://appengine.google.com/a/3rd-eden.com, signing in with your
> Google Apps account, and you should be able to see this application.
>
> -Marzia
>
>
>
> On Mon, Feb 2, 2009 at 3:03 AM, V1  wrote:
>
> > Removed all cookies, but still the same issue :9
>
> > On Feb 2, 5:59 am, Alexander Kojevnikov 
> > wrote:
> >> On Feb 2, 9:38 pm, V1  wrote:> Seems i cant post 
> >> screenshots..http://tinyurl.com/logindisplay
>
> >> > ^ above link points to screenshot.
>
> >> > On Feb 2, 11:37 am, V1  wrote:
>
> >> I had this problem once, clearing the cookies fixed it for me.
--~--~-~--~~~---~--~~
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: Query and Batch limits?

2009-02-02 Thread Robin B

Thanks for the clarification that there is no limit on # of queries/
request.

And I assume you are saying there is no limit on # keys/models for
batch get/put/delete.

What about when using cron?  Will the same rules apply?

Thanks,

Robin

On Feb 2, 11:44 am, Marzia Niccolai  wrote:
> Hi Robin,
>
> The only number here that is correct is 1000 entities maximum
> retrievable per query.
>
> There is no 'maximum' for queries per request or maximum number of
> entities per request, these things rely heavily on the size and shape
> of the data you are querying.
>
> However, even under the best circumstances, it is probably impossible
> that you could execute 30 queries of any size under the 10 second
> request deadline with App Engine.
>
> -Marzia
>
> On Sun, Feb 1, 2009 at 8:38 PM, Robin B  wrote:
>
> > Query:
> > Are these limits accurate?
> > 1000 entities/query
> > 30 queries/request
> > 30,000 entities/request with queries
>
> > Batch:
> > Are there any upper limits to the number of keys/models that can be
> > sent to batch get/put/delete respectively within one call and multiple
> > calls within one web request?
>
> > Thanks,
>
> > Robin
--~--~-~--~~~---~--~~
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: python problems - HTTPSHandler

2009-02-02 Thread Robert

Interestingly, things work just fine on my Mac. I was having problems
with the Linux setup.

I tried to rebuild my python etc., still no success. I verified that /
usr/bin/env python points to my latest 2.5 build. No success.

I guess I will be working on my Mac for a while... ;-)

Thanks for the help
  Robert

On Feb 1, 10:20 am, chazmatazz  wrote:
> Are you using MacPorts?
>
> http://aralbalkan.com/1692
>
> On Jan 30, 12:21 pm, Robert  wrote:
>
> > Hi @ll,
>
> > This has probably been asked before, in that case, sorry for my
> > ignorance.
>
> > My system only hadpython2.4 installed. So I downloadedpython2.5.3,
> > build it on my system, enabling the md5, and various necessary sha...
> > modules, and now reach a point wherepythonitself seems to start up
> > nicely, but I'm running into a problem with urllib2.
>
> > $Python-2.5.4/python-v google_appengine/dev_appserver.py apps/
> > helloworld/
>
> > [...]
> > import cookielib # precompiled from /home/rhundt/projects/Python-2.5.4/
> > Lib/cookielib.pyc
> > # /home/rhundt/projects/Python-2.5.4/Lib/_LWPCookieJar.pyc matches /
> > home/rhundt/projects/Python-2.5.4/Lib/_LWPCookieJar.py
> > import _LWPCookieJar # precompiled from /home/rhundt/projects/
> >Python-2.5.4/Lib/_LWPCookieJar.pyc
> > # /home/rhundt/projects/Python-2.5.4/Lib/_MozillaCookieJar.pyc
> > matches /home/rhundt/projects/Python-2.5.4/Lib/_MozillaCookieJar.py
> > import _MozillaCookieJar # precompiled from /home/rhundt/projects/
> >Python-2.5.4/Lib/_MozillaCookieJar.pyc
> > Traceback (most recent call last):
> >   File "google_appengine/dev_appserver.py", line 60, in 
> > run_file(__file__, globals())
> >   File "google_appengine/dev_appserver.py", line 57, in run_file
> > execfile(script_path, globals_)
> >   File "/home/rhundt/projects/google_appengine/google/appengine/tools/
> > dev_appserver_main.py", line 73, in 
> > from google.appengine.tools import appcfg
> >   File "/home/rhundt/projects/google_appengine/google/appengine/tools/
> > appcfg.py", line 55, in 
> > from google.appengine.tools import appengine_rpc
> >   File "/home/rhundt/projects/google_appengine/google/appengine/tools/
> > appengine_rpc.py", line 31, in 
> > https_handler = urllib2.HTTPSHandler
> > AttributeError: 'module' object has no attribute 'HTTPSHandler'
>
> > Did anybody else run into this before?
>
> > Thanks
> >   Robert
--~--~-~--~~~---~--~~
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: URL fetch is not working, query parameter is getting ommited

2009-02-02 Thread Marzia Niccolai

Hi,

Not knowing anything about YQL, it seems like the error message my
indicate that the URL query parameter for a call to yahooapis should
look something like "/yql?q=TEXT", and the URL you have generated
would not look like that, hence the error message you are seeing form
Yahoo!.

Logging would help determine what URL you are generating, but locals()
generally returns something like:
{'logging': , 'users':
,
'__builtins__': , 'db': ,
'sys': , '__name__': '__main__', 'os':
, '__doc__':
None}

and URL encoding and appending this dictionary to the URL provided
doesn't seem like it would produce a sensible URL.

-Marzia

On Sun, Feb 1, 2009 at 9:26 AM, Markanday Singh  wrote:
>
> Following code is return "You must specify a yql statement (q=) to
> execute"
>
> I don't know where parameter q is getting lost
>
>
> import cgi
> import wsgiref.handlers
> import os
> from google.appengine.api import users
> from google.appengine.ext import webapp
> from google.appengine.ext import *
> from google.appengine.ext.webapp import template
> from google.appengine.api import urlfetch
> from cgi import parse_qs, escape
> import simplejson, urllib
>
> def get_yql(q,format):
>params=locals()
>payload= urllib.urlencode(params)
>base_url=u'http://query.yahooapis.com/v1/public/yql?'
>myurl= base_url + payload
>return urlfetch.fetch(url=myurl);
> class jsontest(webapp.RequestHandler):
>  def get(self):
>response=get_yql('select title,abstract from search.web where
> query="pizza"','json');
>self.response.out.write(response.content);
>
> def main():
>  application = webapp.WSGIApplication(
>   [('/jsontest',jsontest)
>],
>   debug=True)
>  wsgiref.handlers.CGIHandler().run(application)
>
> if __name__ == "__main__":
>  main()
>
>
> >
>

--~--~-~--~~~---~--~~
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: "This application ID or version is already in use" Error

2009-02-02 Thread jeremy

why does appspot share a namespace with gmail? that seems, random..

On Feb 2, 1:34 pm, Marzia Niccolai  wrote:
> Hi,
>
> I don't know of any problems with the app id verifier.  App Engine
> checks app ids against the Gmail namespace, so any app id that is
> already taken as a Gmail address will only be available to the owner
> of that address.
>
> The net result is that many desired app ids are not available.
>
> -Marzia
>
> On Mon, Feb 2, 2009 at 6:04 AM, Sagie Maoz  wrote:
>
> > Hi,
>
> > I've just started learning to use App Engine, and trying to figure out
> > my way into the service...
> > I created an account, but when filling the "Create an Application"
> > form athttp://appengine.google.com/start/createapp, All I get is the
> > error message:
> >        This application ID or version is already in use
>
> > I have read in past discussions that there was a problem with the
> > "Check Availability" button, but this happens to me for every input,
> > even for some made-up strings that I'm pretty sure are available.
>
> > Am I doing something wrong? Is the service open to new applications at
> > all?
>
> > Thanks
--~--~-~--~~~---~--~~
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] pricing / additional app slots

2009-02-02 Thread jeremy

will additional app slots be part of the pricing model?
--~--~-~--~~~---~--~~
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: "This application ID or version is already in use" Error

2009-02-02 Thread boson

I have heard of this problem.  One workaround that has apparently
worked in the past is:

1. Log out of Google app engine.
2. Close browser (all windows - make sure you have quit the browser
app).
3. Reopen browser.
4. Try again.


On Feb 2, 6:04 am, Sagie  Maoz  wrote:
> Hi,
>
> I've just started learning to use App Engine, and trying to figure out
> my way into the service...
> I created an account, but when filling the "Create an Application"
> form athttp://appengine.google.com/start/createapp, All I get is the
> error message:
>         This application ID or version is already in use
>
> I have read in past discussions that there was a problem with the
> "Check Availability" button, but this happens to me for every input,
> even for some made-up strings that I'm pretty sure are available.
>
> Am I doing something wrong? Is the service open to new applications at
> all?
>
> Thanks
--~--~-~--~~~---~--~~
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: Can't understand this error :-

2009-02-02 Thread Marzia Niccolai

Hi,

This error seems to indicate that this file can't be found:
http://code.google.com/p/googleappengine/source/browse/trunk/google/appengine/api/urlfetch_stub.py

The stub for making URLFetch calls on the dev_appserver.

-Marzia

On Sat, Jan 31, 2009 at 9:16 PM, ramu  wrote:
>
> Seems like urlfetch is not at all working on SDK with internet
> connectivity behind a proxy server ..
> Please help me.What else I need to do ???
>
> Here are the error logs :-
>
> Traceback (most recent call last):
>  File "C:\ProgramFiles2\Google\google_appengine\test.py", line 5, in
> 
>result = urlfetch.fetch(url)
>  File "C:\ProgramFiles2\Google\google_appengine\google\appengine\api
> \urlfetch.py", line 257, in fetch
>apiproxy_stub_map.MakeSyncCall('urlfetch', 'Fetch', request,
> response)
>  File "C:\ProgramFiles2\Google\google_appengine\google\appengine\api
> \apiproxy_stub_map.py", line 68, in MakeSyncCall
>apiproxy.MakeSyncCall(service, call, request, response)
>  File "C:\ProgramFiles2\Google\google_appengine\google\appengine\api
> \apiproxy_stub_map.py", line 238, in MakeSyncCall
>assert stub, 'No api proxy found for service "%s"' % service
> AssertionError: No api proxy found for service "urlfetch"
> >
>

--~--~-~--~~~---~--~~
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: can't get helloworld to work...

2009-02-02 Thread Marzia Niccolai

Hi,

The system can not find the app.yaml file for your application.  The
CMD line seems to indicate you are running from the the c:\ directory,
is c:\helloworld\ the absolute path to the directory where your app is
located?

If not, you should include the absolute path to your application.

-Marzia

On Sat, Jan 31, 2009 at 2:14 PM, sparechangepayme...@gmail.com
 wrote:
>
> Just starting out and I get this error when trying to run on windows
> vista with python 2.5.  Any ideas?
>
> c:\>dev_appserver.py helloworld\
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\dev_appserver.py",
> line 60, in
> 
>run_file(__file__, globals())
>  File "C:\Program Files\Google\google_appengine\dev_appserver.py",
> line 57, in
> run_file
>execfile(script_path, globals_)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_apps
> erver_main.py", line 361, in 
>sys.exit(main(sys.argv))
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_apps
> erver_main.py", line 309, in main
>config, matcher = dev_appserver.LoadAppConfig(root_path, {})
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_apps
> erver.py", line 2699, in LoadAppConfig
>raise AppConfigNotFoundError
> google.appengine.tools.dev_appserver.AppConfigNotFoundError
>
> Any ideas?
>
> >
>

--~--~-~--~~~---~--~~
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: Query and Batch limits?

2009-02-02 Thread Marzia Niccolai

Hi Robin,

The only number here that is correct is 1000 entities maximum
retrievable per query.

There is no 'maximum' for queries per request or maximum number of
entities per request, these things rely heavily on the size and shape
of the data you are querying.

However, even under the best circumstances, it is probably impossible
that you could execute 30 queries of any size under the 10 second
request deadline with App Engine.

-Marzia

On Sun, Feb 1, 2009 at 8:38 PM, Robin B  wrote:
>
> Query:
> Are these limits accurate?
> 1000 entities/query
> 30 queries/request
> 30,000 entities/request with queries
>
> Batch:
> Are there any upper limits to the number of keys/models that can be
> sent to batch get/put/delete respectively within one call and multiple
> calls within one web request?
>
> Thanks,
>
> Robin
>
>
> >
>

--~--~-~--~~~---~--~~
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: "This application ID or version is already in use" Error

2009-02-02 Thread Marzia Niccolai

Hi,

I don't know of any problems with the app id verifier.  App Engine
checks app ids against the Gmail namespace, so any app id that is
already taken as a Gmail address will only be available to the owner
of that address.

The net result is that many desired app ids are not available.

-Marzia

On Mon, Feb 2, 2009 at 6:04 AM, Sagie Maoz  wrote:
>
> Hi,
>
> I've just started learning to use App Engine, and trying to figure out
> my way into the service...
> I created an account, but when filling the "Create an Application"
> form at http://appengine.google.com/start/createapp , All I get is the
> error message:
>This application ID or version is already in use
>
> I have read in past discussions that there was a problem with the
> "Check Availability" button, but this happens to me for every input,
> even for some made-up strings that I'm pretty sure are available.
>
> Am I doing something wrong? Is the service open to new applications at
> all?
>
> Thanks
>
> >
>

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

2009-02-02 Thread Marzia Niccolai

Hi,

You can do a ListProperty of db.Key.

-Marzia

On Mon, Feb 2, 2009 at 6:39 AM, dbikard  wrote:
>
> Is there something like a ReferenceListProperty? Is there a way to
> have in a model a property which would be a list of references to
> other model entities? If it's not possible, is there a way to achieve
> the same thing differently?
>
> Thx a lot!
> >
>

--~--~-~--~~~---~--~~
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: Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread Marzia Niccolai

Investigating, it seems this application's administrator is your
Google Apps account i...@3rd-eden.com.  Log out of your Google
Account, clear your cache and cookies, and visit the url
http://appengine.google.com/a/3rd-eden.com, signing in with your
Google Apps account, and you should be able to see this application.

-Marzia

On Mon, Feb 2, 2009 at 3:03 AM, V1  wrote:
>
> Removed all cookies, but still the same issue :9
>
> On Feb 2, 5:59 am, Alexander Kojevnikov 
> wrote:
>> On Feb 2, 9:38 pm, V1  wrote:> Seems i cant post 
>> screenshots..http://tinyurl.com/logindisplay
>>
>> > ^ above link points to screenshot.
>>
>> > On Feb 2, 11:37 am, V1  wrote:
>>
>> I had this problem once, clearing the cookies fixed it for me.
> >
>

--~--~-~--~~~---~--~~
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] "This application ID or version is already in use" Error

2009-02-02 Thread Sagie Maoz

Hi,

I've just started learning to use App Engine, and trying to figure out
my way into the service...
I created an account, but when filling the "Create an Application"
form at http://appengine.google.com/start/createapp , All I get is the
error message:
This application ID or version is already in use

I have read in past discussions that there was a problem with the
"Check Availability" button, but this happens to me for every input,
even for some made-up strings that I'm pretty sure are available.

Am I doing something wrong? Is the service open to new applications at
all?

Thanks

--~--~-~--~~~---~--~~
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: Having trouble with sharded-counters

2009-02-02 Thread Carlin Wiegner
Well I've tracked down the problem a little further. For some reason anytime
I try to use the local data store (on the development server) with any
custom code other than the sample I get the same type of error message.

Has anyone else seen a similar error with local datastores?
cw

On Sat, Jan 31, 2009 at 1:18 PM, cdub  wrote:

>
> Hello.
>
> I am new to Google App Engine, Django and Python.
>
> I was able to get the sharded-counter example found here to work:
>
>
> http://code.google.com/p/google-app-engine-samples/source/browse/#svn/trunk/sharded-counters
>
> But when I try to re-use the general counter in my own program, I get
> the following error:
>
> Traceback (most recent call last):
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 2461, in _HandleRequest
>base_env_dict=env_dict)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 354, in Dispatch
>base_env_dict=base_env_dict)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 1871, in Dispatch
>self._module_dict)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 1789, in ExecuteCGI
>reset_modules = exec_script(handler_path, cgi_path, hook)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 1687, in
> ExecuteOrImportScript
>script_module.main()
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> appenginepatch/main.py", line 26, in real_main
>util.run_wsgi_app(application)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/ext/webapp/util.py", line 76, in run_wsgi_app
>result = application(env, _start_response)
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/core/handlers/wsgi.py", line 239, in
> __call__
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/core/handlers/base.py", line 67, in
> get_response
>try:
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/middleware/common.py", line 56, in
> process_request
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/middleware/common.py", line 142, in
> _is_valid_path
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/core/urlresolvers.py", line 246, in
> resolve
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/core/urlresolvers.py", line 181, in
> resolve
>return self._urlconf_module
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/core/urlresolvers.py", line 124, in
> resolve
>try:
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/core/urlresolvers.py", line 130, in
> _get_callback
>return self._callback
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/utils/functional.py", line 130, in
> wrapper
>  File "/Users/carlin/Documents/Personal/Programming/carlinw/common/
> zip-packages/django.zip/django/core/urlresolvers.py", line 57, in
> get_callable
># First we need to figure out whether it's a named or unnamed
> group.
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 849, in decorate
>return func(self, *args, **kwargs)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 1445, in load_module
>return self.FindAndLoadModule(submodule, fullname, search_path)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 849, in decorate
>return func(self, *args, **kwargs)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/dev_appserver.py", line 1353, in
>

[google-appengine] ReferenceListProperty

2009-02-02 Thread dbikard

Is there something like a ReferenceListProperty? Is there a way to
have in a model a property which would be a list of references to
other model entities? If it's not possible, is there a way to achieve
the same thing differently?

Thx a lot!
--~--~-~--~~~---~--~~
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: Google login in a lightbox?

2009-02-02 Thread realgt

looks good...are you sharing your source code anywhere? :-)

On Jan 31, 9:08 am, emi420  wrote:
> realgt,
>
> Now you can see the "open in new window" inhttp://microbloog.appspot.com/
>
> Thanks!!!
>
> On Jan 21, 11:16 am, realgt  wrote:
>
> > I agree, great UI implementation, and for people who wouldn't use it
> > add a link "open in new window". phishing concerns for first time
> > users would be resolved once they successfully logged in via the
> > google domain. going forward they would prpbably trust the lightbox,
> > and if they dont you have the "open in new window" link.
>
> > On Jan 20, 8:04 am, gops  wrote:
>
> > > Cool Idea !!
>
> > > On Jan 18, 11:34 pm, emi420  wrote:
>
> > > > I want to show the Google login form in a lightbox, like this:
>
> > > >http://microbloog.appspot.com/
>
> > > > It works, but isn't an elegant solution.
>
> > > > Any suggestions?
>
> > > > Thanks!
--~--~-~--~~~---~--~~
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: urfetch etag and last-modified problem

2009-02-02 Thread z33m

I fixed it..
It was related to http://code.google.com/p/googleappengine/issues/detail?id=739
i didnt notice the Cache stuff in the headers.. My requests were
hitting google cache.
It got fixed when i tried the solution suggested in the issue..

fetch_headers = {'Cache-Control':'no-cache,max-age=0', 'Pragma':'no-
cache'}
f_result = urlfetch.fetch(feed_url, None, urlfetch.GET, fetch_headers)

Thanx anyway!!

On Feb 1, 2:16 pm, z33m  wrote:
> im trying to make something like a feed reader. Im using feedparser.py
> to parse the feeds like this
>
> def fetch_feed(url, modified = None, etag = None):
>     import feedparser
>     headers = {}
>     if modified:
>         headers['If-Modified-Since'] = modified
>     if etag:
>         headers['If-None-Match'] = etag
>
>     response = urlfetch.fetch(url, headers = headers)
>     feed = feedparser.parse(response.content)
>     feed.modified = response.headers['Last-Modified'] if 'Last-
> Modified' in response.headers else None
>     feed.etag     = response.headers['ETag'] if 'ETag' in
> response.headers else None
>     feed.status   = response.status_code
>     return feed
>
> but the If-Modified-Since and If-None-Match headers dont seem to work
> on some feeds.. so i tried a test onhttp://shell.appspot.com/
>
> >>> from google.appengine.api import urlfetch
> >>> r = urlfetch.fetch('http://www.scripting.com/rss.xml')
> >>> r.headers
>
> {'Content-Length': '48035', 'Via': 'HTTP/1.1 GWA (remote cache hit)',
> 'Accept-Ranges': 'bytes', 'X-Google-Cache-Control': 'remote-cache-
> hit', 'Server': 'Apache/2.2.4 (Win32)', 'Last-Modified': 'Fri, 30 Jan
> 2009 03:38:05 GMT', 'ETag': '"1dd8-bba3-eec4f564"', 'Date': 'Sun, 01
> Feb 2009 04:46:09 GMT', 'Content-Type': 'application/xml', 'Age': '
> 14856'}>>> h = r.headers
> >>> r = urlfetch.fetch('http://www.scripting.com/rss.xml', headers = 
> >>> {'If-Modified-Since': h['Last-Modified'], 'If-None-Match': h['ETag']})
> >>> r.status_code
>
> 200L
>
> but if i do curl for the same i get a 304 http code as expected..
>
> $ curl --headhttp://www.scripting.com/rss.xml
> HTTP/1.1 200 OK
> Date: Sun, 01 Feb 2009 08:58:24 GMT
> Server: Apache/2.2.4 (Win32)
> Last-Modified: Fri, 30 Jan 2009 03:38:05 GMT
> ETag: "1dd8-bba3-eec4f564"
> Accept-Ranges: bytes
> Content-Length: 48035
> Content-Type: application/xml
>
> $ curl --head --header "If-Modified-Since: Fri, 30 Jan 2009 03:38:05
> GMT" --header "If-None-Match: 
> \"1dd8-bba3-eec4f564\""http://www.scripting.com/rss.xml
> HTTP/1.1 304 Not Modified
> Date: Sun, 01 Feb 2009 08:58:16 GMT
> Server: Apache/2.2.4 (Win32)
> ETag: "1dd8-bba3-eec4f564"
>
> Can some one help me with this.. am i doing anything wrong?
--~--~-~--~~~---~--~~
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: Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread V1

Removed all cookies, but still the same issue :9

On Feb 2, 5:59 am, Alexander Kojevnikov 
wrote:
> On Feb 2, 9:38 pm, V1  wrote:> Seems i cant post 
> screenshots..http://tinyurl.com/logindisplay
>
> > ^ above link points to screenshot.
>
> > On Feb 2, 11:37 am, V1  wrote:
>
> I had this problem once, clearing the cookies fixed it for me.
--~--~-~--~~~---~--~~
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: Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread Alexander Kojevnikov

On Feb 2, 9:38 pm, V1  wrote:
> Seems i cant post screenshots..http://tinyurl.com/logindisplay
>
> ^ above link points to screenshot.
>
> On Feb 2, 11:37 am, V1  wrote:
>
I had this problem once, clearing the cookies fixed it for me.
--~--~-~--~~~---~--~~
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: Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread V1

Seems i cant post screenshots..
http://tinyurl.com/logindisplay

^ above link points to screenshot.

On Feb 2, 11:37 am, V1  wrote:
> Hello Bill,
>
> Thank you for your reply,
> I'm already logged in. With the exact details i used to deploy my
> application. And there is no My applications.
>
> Also redirects tohttp://appengine.google.com/startwith the same
> display as i mentioned 
> above,http://appengine.google.com/dashboard?&app_id=spry-it
>
> On Feb 2, 11:12 am, Bill  wrote:
>
>
>
> > If you go tohttp://appengine.google.com/startafterlogging in as the
> > administrator of your app, you should see a "My Applications" page
> > with a list of your apps.  Each app name should have a link.  Clicking
> > on the link will bring up the admin console for your app.
>
> > The direct link to the console looks something like 
> > this:http://appengine.google.com/dashboard?&app_id= > sans appspot or any domain>
>
> > On Feb 2, 1:44 am, V1  wrote:
>
> > > Hello,
>
> > > I have successfully deployed my first app 
> > > Enginehttp://spry-it.appspot.com/.
> > > When I go to:http://appengine.google.com/itautomaticallyredirects
> > > me tohttp://appengine.google.com/startandalli see is that i can
> > > create a app Engine.. I already done that ;)
>
> > > I also checkedhttp://appengine.google.com/a/your-domain.com
>
> > > because I registered with an email address that is linked to my google
> > > apps. But that just redirects to a dead page. :)
>
> > > Am I doing something wrong here?
>
> > > Also pushing on the GoogleAppEngine SDK dashboard button redirects me
> > > to the start page where i can only create apps, not view.
--~--~-~--~~~---~--~~
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: Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread V1

Hello Bill,

Thank you for your reply,
I'm already logged in. With the exact details i used to deploy my
application. And there is no My applications.

Also redirects to http://appengine.google.com/start with the same
display as i mentioned above,
http://appengine.google.com/dashboard?&app_id=spry-it

On Feb 2, 11:12 am, Bill  wrote:
> If you go tohttp://appengine.google.com/startafter logging in as the
> administrator of your app, you should see a "My Applications" page
> with a list of your apps.  Each app name should have a link.  Clicking
> on the link will bring up the admin console for your app.
>
> The direct link to the console looks something like 
> this:http://appengine.google.com/dashboard?&app_id= sans appspot or any domain>
>
> On Feb 2, 1:44 am, V1  wrote:
>
>
>
> > Hello,
>
> > I have successfully deployed my first app Enginehttp://spry-it.appspot.com/.
> > When I go to:http://appengine.google.com/itautomatically redirects
> > me tohttp://appengine.google.com/startandall i see is that i can
> > create a app Engine.. I already done that ;)
>
> > I also checkedhttp://appengine.google.com/a/your-domain.com
>
> > because I registered with an email address that is linked to my google
> > apps. But that just redirects to a dead page. :)
>
> > Am I doing something wrong here?
>
> > Also pushing on the GoogleAppEngine SDK dashboard button redirects me
> > to the start page where i can only create apps, not view.
--~--~-~--~~~---~--~~
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: Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread Bill

If you go to http://appengine.google.com/start after logging in as the
administrator of your app, you should see a "My Applications" page
with a list of your apps.  Each app name should have a link.  Clicking
on the link will bring up the admin console for your app.

The direct link to the console looks something like this:
http://appengine.google.com/dashboard?&app_id=

On Feb 2, 1:44 am, V1  wrote:
> Hello,
>
> I have successfully deployed my first app Enginehttp://spry-it.appspot.com/.
> When I go to:http://appengine.google.com/it automatically redirects
> me tohttp://appengine.google.com/startand all i see is that i can
> create a app Engine.. I already done that ;)
>
> I also checkedhttp://appengine.google.com/a/your-domain.com
>
> because I registered with an email address that is linked to my google
> apps. But that just redirects to a dead page. :)
>
> Am I doing something wrong here?
>
> Also pushing on the GoogleAppEngine SDK dashboard button redirects me
> to the start page where i can only create apps, not view.
--~--~-~--~~~---~--~~
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] Unable to access my admin console, Yes i have read the Docs and FAQ ;)

2009-02-02 Thread V1

Hello,

I have successfully deployed my first app Engine http://spry-it.appspot.com/.
When I go to: http://appengine.google.com/ it automatically redirects
me to http://appengine.google.com/start and all i see is that i can
create a app Engine.. I already done that ;)

I also checked http://appengine.google.com/a/your-domain.com

because I registered with an email address that is linked to my google
apps. But that just redirects to a dead page. :)

Am I doing something wrong here?

Also pushing on the GoogleAppEngine SDK dashboard button redirects me
to the start page where i can only create apps, not view.
--~--~-~--~~~---~--~~
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: Project works locally but can't read the required files when its deployed.

2009-02-02 Thread V1

Thanks, I found that out a couple of hours after posting this topic.

On Feb 2, 7:18 am, Alexander Kojevnikov 
wrote:
> On Feb 1, 8:04 pm, V1  wrote:
>
> > As far i understood, App Engine could read files, but not write. So i
> > see no reason why this should work.
>
> App Engine cannot read static files. You should copy or symlink the
> files you need to read to a non-static directory.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---