[google-appengine] Re: Datastore API BUG?

2008-12-22 Thread K_Reverter

Anybody help me ?

On Dec 21, 10:55 pm, K_Reverter kunhua...@gmail.com wrote:
 I found a Strange thing.
  When I query a GQL like this:

 SELECT * FROM RgeoData where Y=3000

 The result of first row is like this:

  ID/Name  Y  areaId  maxX  minX
   130520  3000  2054  8125  8113

 But when I query a GQL like this:

 SELECT * FROM RgeoData where Y=3000 order by minX

 The result of first row is like this:

  ID/Name  Y  areaId  maxX  minX
   130521  3000  2053  8237  8236
 And I haven't  found row(minX=8113) in all the result rows;

 Whe is the row(minX=8113),Is this a bug?

 PS:
 1.This phenomenon is not accidental,It will always reappear;
 2.After i upload data to system,I wrote a class to read the
 data,so GAE alto create index for data ,the current index status
 is :Y ▲ , minX ▲  Serving,All OK
 3.All the four fields has the same type:int

 If you can read chinese,you can refer to my chinese blog article about
 this (There are 2 screenshots):

 http://www.cnblogs.com/step1/archive/2008/12/21/1359477.html
--~--~-~--~~~---~--~~
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: Datastore impossibly slow?

2008-12-22 Thread Andrius

Hello Tom,

try to check index.yaml to see if index for for time property exists.

Why do you have float type property for the time? it would be more
efficient to use datetime or integer, because float is much heavier.
And try to query without maximum limit, because it will be applied by
default:
If more than 1000 entities match the query, and either no limit is
specified or a limit larger than 1000 is used, only the first 1000
results are returned by fetch().

Regards,
Andrius

On Dec 21, 11:17 pm, Tom sharpbla...@gmail.com wrote:
 Hello!
 I have some data within my application that I want to expire after 1
 week. To do this every day I get the 'Scheduler Service' (http://
 schedulerservice.appspot.com/) to run a GET request to a page on my
 app. This then runs a GQL that finds any records over 1 week old, and
 deletes them.
 Seems simple? I did a test with 24 records, and it took (Apparently)
 '10706ms-cpu' time. 10 seconds to sort through 24 records??

 Here is the code:
 class clearapicallback(webapp.RequestHandler):
     def get(self):
         self.response.out.write('secret_callback_auth_code')
         # 1 week = 604800
         request = db.GqlQuery('SELECT * FROM Database WHERE time  :
 1',time.time()-10).fetch(1000)
         db.delete(request)

 and the Database object:

 class Database(db.Model):
     pid = db.StringProperty()
     uid = db.StringProperty()
     sex = db.StringProperty()
     qid = db.StringProperty()
     qan = db.StringProperty()
     anon = db.BooleanProperty()
     time = db.FloatProperty()

 My question is, why did it take 10 seconds!! It wasn't a fluke, other
 requests have taken '17583ms-cpu' or more, with 23 records.
 Can I make database records expire automatically (I don't want to use
 memcache, unless it is good for storing data for a whole week)? And
 how can I improve the performence?
 I am expecting a lot more than 24 records to be deleted a day, and I
 cant have it using that much CPU!

 Regards
 ~Tom
--~--~-~--~~~---~--~~
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: Paging vs. crawlers

2008-12-22 Thread David Symonds

On Mon, Dec 22, 2008 at 6:30 PM, Alexander Kojevnikov
alexan...@kojevnikov.com wrote:

 This works great but there's still a problem: search engines are
 polluted with too many URLs.

I think you'll find that any good search engine will be able to cope
just fine with that.

The best solution, though, is to implement a permalink-like setup, and
encourage people to use permalinks when they link to your
application's content.


Dave.

--~--~-~--~~~---~--~~
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] Global Time Synchronisation Guarantees

2008-12-22 Thread rvjcallanan

I recall reading somewhere that, due to global time differences across
servers, we cannot rely on timestamps to draw certain conclusions
about GAE data e.g. operation sequence, etc.

Time synchronisation is a critical issue in any distributed app yet I
have been unable to get hard facts and figures on how well Google
synchronises its servers globally.

I assume some form of  NTP syncing is performed so I would expect that
steady state drift will be of the order of milliseconds across the
globe. But what if a server is rebooted or added to the Google
network? Will this server be disabled until it has reached a certain
sync level.

In a nutshell, a few questions...

1. How accurate are Google server clocks re: some global standard?
2. What is the maximum drift between servers?
3. Is tighter synchronisation guaranteed between servers in a local
data centre servicing entity groups

TIA,

rvjcallanan
--~--~-~--~~~---~--~~
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: dev_appserver.py GET requests are taking 0.5s or more on local system

2008-12-22 Thread Jonathan B

On Dec 22, 10:32 am, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:

 See the last question in the Community 
 FAQ:http://knol.google.com/k/marce/app-engine-community-faqs/vkzeph4si12v/1#

Thanks Alexander!

That definitely fixed the problem. I got a 10x speed increase (for
both datastore queries *and* GET requests sent to the server).

--Jonathan
--~--~-~--~~~---~--~~
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: 1 application, multiple datastores

2008-12-22 Thread hawkett

  You use the example of maintenance and fixes
  on behalf of customers - when would that require querying across two
  customer's data stores?

 I never said or implied that it did.

Issue 106 proposes '...cross app queries using the db APIs only' -
which to me means you can easily introduce a bug like the one
originally posted - i.e. querying across two customer's data stores.
Apologies if I understood your responses to be in support of this
approach when they were not.  Perhaps you could elaborate your use
case in a little more detail.

Are you ok with the constraint that a query can not be run across
multiple data stores?  If we can agree on that, then I'd say we are
doing pretty well.

For accessing another application's data store from your code, I would
(and have) recommended exposing an API that you can access via HTTP.
I believe this is what Google has suggested in this post

http://groups.google.com/group/google-appengine/browse_thread/thread/12eb676e98a25293/f5cfaad4e0d79ac8

which is quoted in Issue 106.

If you do have a use case where you do want/need to run queries across
customer data stores, then I would have that customer data in the same
data store - i.e. what do you need the partition for in the first
place?

Unfortunately the idea of a data partition and an application
partition are the same thing at the moment with GAE, so perhaps you
need the partition for quota and billing purposes, which forces you to
have separate data stores when you don't want them.  In that case I
would raise a feature request for multiple applications to be able to
share a single data store - would this satisfy what you are trying to
achieve?

On Dec 22, 3:03 am, Andy Freeman ana...@earthlink.net wrote:
 I'm paraphrasing you.  You've written repeatedly that a feature that
 allows an application to choose the datastore on which it operates can
 not be used for your purposes.  The argument appears to be that an
 application that uses such a feature can theoretically access multiple
 datastores and is therefore unacceptable, even if that application is
 written so it validates the user and then chooses which datastore to
 access and only accesses one datastore after doing so.

 However, you're happy if a user's data can be accessed through a
 google admin console or via an admin user.

 The reason that I find that distinction strained is that GAE
 applications and the google admin console can be driven
 programmatically.  As a result, one can easily write code using those
 facilities that simultaneously accesses multiple datastores, which is
 your reason for rejecting the choose which datastore to access
 feature.

  You use the example of maintenance and fixes
  on behalf of customers - when would that require querying across two
  customer's data stores?

 I never said or implied that it did.

 On Dec 21, 4:13 pm, hawkett hawk...@gmail.com wrote:

  Who are you quoting?

  The Google admin console should not be capable of querying across
  multiple customer data stores.  I repeat - application code can not
  execute a query across multiple customer data stores - did I offer a
  distinction somewhere?  Admin console *would* allow you to run queries
  against each of your customer data stores in isolation.  I expect it
  would use a common, non-public, platform API (i.e. making data
  security part of the platform) to access the logical partitions.

  What is your use-case?  You use the example of maintenance and fixes
  on behalf of customers - when would that require querying across two
  customer's data stores?  It's a recipe for disaster.

  On Dec 21, 11:53 pm, Andy Freeman ana...@earthlink.net wrote:

   The distinction between application code that can access multiple
   datastores and code that can access multiple datastores seems
   strained at best.

   If there's code that can get to a user's data (and both the admin
   console and an admin user are code that can get to the user's data),
   does it really matter what you call it?

   On Dec 21, 3:15 pm, hawkett hawk...@gmail.com wrote:

Via the admin console.  Google provides this application code, and it
is common - part of the platform offering.  This is one possibility.
Another is that an admin user for that customer is made available to
you for administration purposes. You could initialise the customer
data space with this user profile. It may depend how you map the
authenticated entity to logical identities in your application.
Whichever, you do not have application code capable of querying across
customer data stores, because the platform does not allow it.

On Dec 21, 10:49 pm, Andy Freeman ana...@earthlink.net wrote: As I 
promised, now I'm going to ask how you plan to do maintenance and
 fixes on behalf of your customers if you can't get to their data.

 If you have access to the customer's data, they're trusting your code
 and Google is not protecting their data.

 On Dec 21, 2:13 pm, 

[google-appengine] Re: Send and receive mail with embedded images

2008-12-22 Thread Daniel Levin
Jeff,
   First of all, thank!
  Last thing from this topic: Where should I submit my feature request?

REGARDS!
Daniel Levin

On Thu, Dec 18, 2008 at 5:59 PM, Jeff S j...@google.com wrote:


 Hi Daniel,

 It seems inline attachments with Content ID and MIME Multipart/Related
 Content is not supported in the current mail API, but I think it would
 be a good idea to file this as a feature request.

 Happy coding,

 Jeff

 On Dec 17, 1:55 pm, Jeff S j...@google.com wrote:
  Ah I see. I'm not sure how to do this using the App Engine mail API
  either, I'll ask around.
 
  Thank you,
 
  Jeff
 
  On Dec 17, 11:41 am, Daniel Levin danile...@gmail.com wrote:
 
 
 
   Alexander,
Yes, I do refer to the that method (inline attachment using CID). I
 did it
   before with PHP without any problem, very easy. Now I want to migrate
 to
   Google App Engine, and I don't see how to implement that.
 
  Any idea?
 
   Regards,
   Daniel Levin
 


--~--~-~--~~~---~--~~
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: ReferenceProperty proving slow, what path should we take?

2008-12-22 Thread hawkett

Try using a dynamic tree control in your UI - e.g.

http://www.smartclient.com/smartgwt/showcase/#tree_databinding_ondemand

Load all your groups, and then whenever you expand a group node, make
a separate query for the users of that group.

On Dec 21, 7:35 am, ohadpr oha...@gmail.com wrote:
 hi all,

 i'm playing with appengine's data models and i've just hit a little
 bump in the road:

 my classes are Group and User, I have many groups and many users. a
 user can
 belong to a group, and so I've used a ReferenceProperty from the user
 to the group
 which gave me a set of users in the group for easy retrieval.

 now I have a page that wants to show all the groups (lets say 50
 groups) and for
 each group the list of users in that group.

 If i just get the rooms and for each room iterate over the set-of-
 users, this generates
 a new query per each group and is very slow.

 what's the best way to handle this?
 * should i store the relation in a new entity, then query for all the
 groups, users and
 relationships, build some python dictionaries and reconstruct the
 whole thing in
 python?

 * should i denormalize the whole thing? how? i'd still want to group
 the whole thing
 by Group, should I do that with python dictionaries?

 thanks a bunch,
 ohad
--~--~-~--~~~---~--~~
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] Frequent application reloading

2008-12-22 Thread some_developer

Hi.
All we know, that the first request after deploying application is
very slow, because in this moment all modules must be loaded. Second
request is much faster. But after some idle time (~1 minute) we have
slow request again. I think WSGI server is unloads from memory after
some timeout.
Is this architectural necessity? What can I do with this problem?
--~--~-~--~~~---~--~~
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] dns resolution inside an app engine application?

2008-12-22 Thread manu

There is no way to resolve a hostname from inside an app engine app.
Just wanted to check if someone has been able to solve this problem in
some creative way. One of the app that I want to deploy needs to be
able to resolve hosts.

cheers,
Manu
--~--~-~--~~~---~--~~
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: Datastore impossibly slow?

2008-12-22 Thread Tom

Thanks Andrius, I will try to use the datetime module.
I tried beforehand, but I couldn't get it to work (For some reason),
so I reverted to use the time.time() function, which returned a float.

I also just tried using an integer rather than a float for the
time ,and it got slower...! -  '13056ms-cpu'

Regards, and have a happy christmas,
Tom

On Dec 22, 10:31 am, Andrius andriu...@gmail.com wrote:
 Hello Tom,

 try to check index.yaml to see if index for for time property exists.

 Why do you have float type property for the time? it would be more
 efficient to use datetime or integer, because float is much heavier.
 And try to query without maximum limit, because it will be applied by
 default:
 If more than 1000 entities match the query, and either no limit is
 specified or a limit larger than 1000 is used, only the first 1000
 results are returned by fetch().

 Regards,
 Andrius

 On Dec 21, 11:17 pm, Tom sharpbla...@gmail.com wrote:

  Hello!
  I have some data within my application that I want to expire after 1
  week. To do this every day I get the 'Scheduler Service' (http://
  schedulerservice.appspot.com/) to run a GET request to a page on my
  app. This then runs a GQL that finds any records over 1 week old, and
  deletes them.
  Seems simple? I did a test with 24 records, and it took (Apparently)
  '10706ms-cpu' time. 10 seconds to sort through 24 records??

  Here is the code:
  class clearapicallback(webapp.RequestHandler):
      def get(self):
          self.response.out.write('secret_callback_auth_code')
          # 1 week = 604800
          request = db.GqlQuery('SELECT * FROM Database WHERE time  :
  1',time.time()-10).fetch(1000)
          db.delete(request)

  and the Database object:

  class Database(db.Model):
      pid = db.StringProperty()
      uid = db.StringProperty()
      sex = db.StringProperty()
      qid = db.StringProperty()
      qan = db.StringProperty()
      anon = db.BooleanProperty()
      time = db.FloatProperty()

  My question is, why did it take 10 seconds!! It wasn't a fluke, other
  requests have taken '17583ms-cpu' or more, with 23 records.
  Can I make database records expire automatically (I don't want to use
  memcache, unless it is good for storing data for a whole week)? And
  how can I improve the performence?
  I am expecting a lot more than 24 records to be deleted a day, and I
  cant have it using that much CPU!

  Regards
  ~Tom
--~--~-~--~~~---~--~~
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: error when trying to do an upload

2008-12-22 Thread musenfox

I also got this error, if i use a proxy server to access internet,what
should i do,then?

--~--~-~--~~~---~--~~
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: error when trying to do an upload

2008-12-22 Thread musenfox

what if when i use a proxy server?

On Nov 27, 2:47 am, Thyako thy...@gmail.com wrote:
 I got this error once when my internet connection was down. It solved
 after I reconnected (in Ubuntu 8.10).

 ~Thiago

 On Nov 26, 11:52 am, davva da...@darmanin.com wrote:

  Anyone know whats causing this error message when i try and do an
  upload.

  D:\PROFILESappcfg.py update d:\googleapps\helloworld\

  ( I enter my username and password twice here )

  2008-11-26 13:49:07,232 ERROR appcfg.py:1336 An unexpected error
  occurred. Aborting.
  Traceback (most recent call last):
    File C:\Program Files\Google\google_appengine\appcfg.py, line 55,
  in module
      execfile(script_path, globals())
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 1954, in module
      main(sys.argv)
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 1947, in main
      AppCfgApp(argv).Run()
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 1524, in Run
      self.action.function(self)
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 1736, in Update
      lambda path: open(os.path.join(basepath, path), rb))
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 1315, in DoUpload
      missing_files = self.Begin()
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 1176, in Begin
      version=self.version, payload=self.config.ToYAML())
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 282, in Send
      self._Authenticate()
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 321, in _Authenticate
      super(HttpRpcServer, self)._Authenticate()
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 261, in _Authenticate
      self._GetAuthCookie(auth_token)
    File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 203, in _GetAuthCookie
      response = self.opener.open(req)
    File D:\Python25\lib\urllib2.py, line 381, in open
      response = self._open(req, data)
    File D:\Python25\lib\urllib2.py, line 399, in _open
      '_open', req)
    File D:\Python25\lib\urllib2.py, line 360, in _call_chain
      result = func(*args)
    File D:\Python25\lib\urllib2.py, line 1107, in http_open
      return self.do_open(httplib.HTTPConnection, req)
    File D:\Python25\lib\urllib2.py, line 1082, in do_open
      raise URLError(err)
  urllib2.URLError: urlopen error (11001, 'getaddrinfo failed')

--~--~-~--~~~---~--~~
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] Imap and Google App engine

2008-12-22 Thread govno3...@gmail.com

I'm doing some evaluation whether Google Appengine is appropriate for
portion of project. However, I was unable to make imaplib working on
Google App Engine. Is it possible to run IMAP on GAE?

Also I was unable to make web.py working on - are there any pointers
whether web.py works on Google Apple 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] Re: appcfg Server Error 500

2008-12-22 Thread Panesse

How did you learn that you had exceeded your quota for application
updates? Are you sure this was the problem?

On Dec 20, 6:04 am, samba cooldudevam...@gmail.com wrote:
 Found a fix, started using dyndns and pointed it to my local appengine
 sdk dev server.

 On Dec 20, 1:46 pm, samba cooldudevam...@gmail.com wrote:

  For normal webdev yes its ok, but in the context of facebook apps we
  need to supply fbml and receive post requests from/to facebook
  servers. And I can no way do this on my localmachine. So I have to
  upload every change to google appenine and ask facebook servers to
  interact with the facebook app on the appengine.

  On Dec 20, 9:47 am, Ben Bishop leo...@gmail.com wrote:

   Install the SDK on your local machine so you can develop, test and
   debug. When you've got a stable production version ready, deploy to
   App Engine.

   It's well worth the effort of installing the SDK - you'll find it a
   lot faster process of developing your apps.

   On Dec 20, 11:05 am, samba cooldudevam...@gmail.com wrote:

I have been learning and writing appengine based facebook apps.  The
problem is you have to upload your code using appcfg every time you
make a small modification. And today I ran out ofquotaof using

--~--~-~--~~~---~--~~
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] SSL support - urllib2.HTTPSHandler() does not exist?

2008-12-22 Thread govno3...@gmail.com

Does python running inside appengine support SSL? I'm getting error
that urllib2.HTTPSHandler() does not exist:

AttributeError: 'module' object has no attribute 'HTTPSHandler'

So the question is: can app engine connect to outside world using SSL?

--~--~-~--~~~---~--~~
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] AssertionError: Won't override attribute 'make_value_from_form'

2008-12-22 Thread yucc

I've searched around with not solution,so can anyone tell me how to
fix this,thanks very much!

As there're to much output,I've put the error page on GoogleDoc:

http://docs.google.com/Doc?id=dck7n8r7_93cmvhs4fk


 C:\Google\gae\google\appengine\ext\db\djangoforms.py in monkey_patch
(name='make_value_from_form', bases=(class
'google.appengine.ext.db.Property',), namespace={'__metaclass__':
function monkey_patch at 0x018FA130, '__module__':
'google.appengine.ext.db.djangoforms', 'get_form_field': function
get_form_field at 0x018FA1B0, 'get_value_for_form': function
get_value_for_form at 0x018FA2F0, 'make_value_from_form': function
make_value_from_form at 0x018FA0F0})
  127   for name, value in namespace.iteritems():
  128 if name not in ('__metaclass__', '__module__'):
  129   assert name not in base.__dict__, Won't override
attribute %r % (name,)
  130   setattr(base, name, value)
  131   return base
name = 'make_value_from_form', base = class
'google.appengine.ext.db.Property', base.__dict__ = dictproxy object
at 0x018F0D50

type 'exceptions.AssertionError': Won't override attribute
'make_value_from_form'
  args = (Won't override attribute 'make_value_from_form',)
  message = Won't override attribute 'make_value_from_form'

--~--~-~--~~~---~--~~
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] Lost access to my app's Dashboard

2008-12-22 Thread Andrew.T.

I have an app on appspot (http://nowroll.appspot.com/) I haven't
accessed in a while. But now when I click on dashboard in the
appengine launcher, I get the appengine start page and it looks like
I've never created an app. Weirdly I can still deploy changes to my
app and edit the entry in the app gallery.

Just when I go to teh dashboard I see no apps...

--~--~-~--~~~---~--~~
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: Imap and Google App engine

2008-12-22 Thread Paul Kinlan
Hi,

I don't beleive it is possible at all, you cannot make connection outside of
port 80 and port 443.

I need to use IMAP in http://www.twollo.com, at which point I host the
client that interfaces with the IMAP server on my mac mini.

Kind Regards,
Paul Kinlan

2008/12/22 govno3...@gmail.com govno3...@gmail.com


 I'm doing some evaluation whether Google Appengine is appropriate for
 portion of project. However, I was unable to make imaplib working on
 Google App Engine. Is it possible to run IMAP on GAE?

 Also I was unable to make web.py working on - are there any pointers
 whether web.py works on Google Apple 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] Re: SSL support - urllib2.HTTPSHandler() does not exist?

2008-12-22 Thread Barry Hunter

Appengine does not support urllib, instead use urlfetch
http://code.google.com/appengine/docs/python/sandbox.html

see
http://code.google.com/appengine/docs/urlfetch/overview.html



2008/12/22 govno3...@gmail.com govno3...@gmail.com:

 Does python running inside appengine support SSL? I'm getting error
 that urllib2.HTTPSHandler() does not exist:

 AttributeError: 'module' object has no attribute 'HTTPSHandler'

 So the question is: can app engine connect to outside world using SSL?

 




-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~-~--~~~---~--~~
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: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-22 Thread bFlood

I noticed in the new quotas page that number of requests is not
adjustable. so no matter what, if a site gets a spike in traffic that
is larger then the default request limit, it will be shutdown? this
seems odd to me, althought maybe I really need to examine how large
the cap is first

cheers
brian



On Dec 21, 2:10 pm, Thomas Johansson prenc...@gmail.com wrote:
 The docs are fine, I was referring to the billing of the other quotas.
 Or will they rise proportionally to CPU usage, storage and bandwidth?

 - Thomas

 On Dec 21, 7:56 pm, Dan Sanderson dansander...@google.com wrote:

  On Sat, Dec 20, 2008 at 11:06 PM, Thomas Johansson 
  prenc...@gmail.comwrote:

   Speaking of the billing, perhaps you can elaborate on the other quotas
   in place, like sending emails, urlfetch and so forth?

  The best sources of info on the quotas right now are the Quotas section of
  the Admin Console, and the new section in the documentation:
   http://code.google.com/appengine/docs/quotas.html

  The docs have the definitions, and the Console has the precise amounts for
  your application (the free levels) and how much your app has used in the
  past 24 hours.  Please let me know if you have any further questions after
  looking at these pages, so we can improve the docs.

  -- Dan
--~--~-~--~~~---~--~~
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: maximum number of versions

2008-12-22 Thread bFlood

just wanted to reply to the group for future users. the app started
working again about an hour after Marzia posted so I'm assuming he did
somethign in the background

cheers
brian

On Dec 18, 2:16 pm, Marzia Niccolai ma...@google.com wrote:
 Hi,

 Thanks for the info, I'm looking in to this now.

 If anyone else is experiencing this, please let me know.

 -Marzia

 On Thu, Dec 18, 2008 at 11:14 AM, bFlood bflood...@gmail.com wrote:

  I keep getting this error when publishing:

  Too Many Versions (403)
  The application already has the maximum number of versions

  when I checked the forum, the best advise was to up major version
  number which I did (from 1 to 2). This worked for about an hour and
  now I'm getting the same error again (and I can confirm that url's
  sent via appcfg.py have the proper 2 in the version). I doubt my
  version 2 has gone over the limit already so I'm thinking something
  else is wrong

  any suggestions? (besides going to V3)

  appID: dev-arc2earth

  cheers
  brian
--~--~-~--~~~---~--~~
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: Frequent application reloading

2008-12-22 Thread some_developer

It's very bad news for me... Loading modules take 0.5-0.7sec. This is
serious shortcoming.

On 22 дек, 16:50, Barry Hunter barrybhun...@googlemail.com wrote:
 Make your application so popular that it doesnt get unloaded ;)

 The other thing is to make sure your application is lightweight as
 possible, and doesnt load unneeded modules.

 With thousands(probably) of applications deployed even Google can't
 keep them all loaded permentantly - esp. when they are not in active
 use. Also remember AppEngine is a distributed system, having it loaded
 on one machine is only of limited value, next time could hit a
 different machine - or even different datacenter.

 2008/12/22 some_developer tro...@gmail.com:



  Hi.
  All we know, that the first request after deploying application is
  very slow, because in this moment all modules must be loaded. Second
  request is much faster. But after some idle time (~1 minute) we have
  slow request again. I think WSGI server is unloads from memory after
  some timeout.
  Is this architectural necessity? What can I do with this problem?

 --
 Barry

 -www.nearby.org.uk-www.geograph.org.uk-
--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Paul Kinlan
Hi,

I took a good long read of this issue, and I can honestly see why it has not
been starred up anymore.

1) From my point of view, there are lots of other priorities thatI would
like to see implemented before this, which looking at it, I can mostly
program my way around.
2) You used a lot of big words
3) You went on for too long
4) You really didn't make a case for it that most people can understand in
short enough time
5) Most apps don't need this especially when you look at the current
datastore transaction isolation levels, something exists or it doesn't,
something updates or it doesn't, and most things can be done on a single
entity basis.

I am completly prepared to be shotdown and made fun of for my opinions.

Kind Regards,
Paul Kinlan

2008/12/21 Amir Michail amich...@gmail.com


 Hi,

 I must say I find it hard to imagine how most apps could be built
 without distributed transactions:

 http://code.google.com/p/googleappengine/issues/detail?id=313

 Please vote this issue up if it affects your app!

 Amir


 


--~--~-~--~~~---~--~~
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: 1 application, multiple datastores

2008-12-22 Thread Andy Freeman

  Are you ok with the constraint that a query can not be run across
 multiple data stores?  If we can agree on that, then I'd say we are
 doing pretty well.

I'm okay with that constraint.  My point is that if the application
has an admin console or an admin user, one can write a query that runs
across multiple datastores by writing code that accesses said
datastores through their admin consoles and/or users.

No, such a query doesn't run in the application itself.  However, a
query in an application that validates the user, determines which
datastore to use, and then runs all queries within that datastore also
doesn't access multiple datastores even if it does use an API feature
that could be used to access multiple datastores if said application
were written differently.

I still have no interest in running a query across multiple datastores
and have never suggested otherwise.

I'm trying understand why a feature that lets the application
programmer determine which datastore to use is an unacceptable way to
support one code base, customer-specific datastores if it's okay to
have an admin console and/or applications that have an admin user.

Yes, it's convenient to have google manage all login stuff, but that
means that you don't have any control.  If they're your customers


On Dec 22, 4:25 am, hawkett hawk...@gmail.com wrote:
   You use the example of maintenance and fixes
   on behalf of customers - when would that require querying across two
   customer's data stores?

  I never said or implied that it did.

 Issue 106 proposes '...cross app queries using the db APIs only' -
 which to me means you can easily introduce a bug like the one
 originally posted - i.e. querying across two customer's data stores.
 Apologies if I understood your responses to be in support of this
 approach when they were not.  Perhaps you could elaborate your use
 case in a little more detail.

 Are you ok with the constraint that a query can not be run across
 multiple data stores?  If we can agree on that, then I'd say we are
 doing pretty well.

 For accessing another application's data store from your code, I would
 (and have) recommended exposing an API that you can access via HTTP.
 I believe this is what Google has suggested in this post

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

 which is quoted in Issue 106.

 If you do have a use case where you do want/need to run queries across
 customer data stores, then I would have that customer data in the same
 data store - i.e. what do you need the partition for in the first
 place?

 Unfortunately the idea of a data partition and an application
 partition are the same thing at the moment with GAE, so perhaps you
 need the partition for quota and billing purposes, which forces you to
 have separate data stores when you don't want them.  In that case I
 would raise a feature request for multiple applications to be able to
 share a single data store - would this satisfy what you are trying to
 achieve?

 On Dec 22, 3:03 am, Andy Freeman ana...@earthlink.net wrote:



  I'm paraphrasing you.  You've written repeatedly that a feature that
  allows an application to choose the datastore on which it operates can
  not be used for your purposes.  The argument appears to be that an
  application that uses such a feature can theoretically access multiple
  datastores and is therefore unacceptable, even if that application is
  written so it validates the user and then chooses which datastore to
  access and only accesses one datastore after doing so.

  However, you're happy if a user's data can be accessed through a
  google admin console or via an admin user.

  The reason that I find that distinction strained is that GAE
  applications and the google admin console can be driven
  programmatically.  As a result, one can easily write code using those
  facilities that simultaneously accesses multiple datastores, which is
  your reason for rejecting the choose which datastore to access
  feature.

   You use the example of maintenance and fixes
   on behalf of customers - when would that require querying across two
   customer's data stores?

  I never said or implied that it did.

  On Dec 21, 4:13 pm, hawkett hawk...@gmail.com wrote:

   Who are you quoting?

   The Google admin console should not be capable of querying across
   multiple customer data stores.  I repeat - application code can not
   execute a query across multiple customer data stores - did I offer a
   distinction somewhere?  Admin console *would* allow you to run queries
   against each of your customer data stores in isolation.  I expect it
   would use a common, non-public, platform API (i.e. making data
   security part of the platform) to access the logical partitions.

   What is your use-case?  You use the example of maintenance and fixes
   on behalf of customers - when would that require querying across two
   customer's data stores?  It's a recipe for disaster.

   On 

[google-appengine] Re: Server Error

2008-12-22 Thread Marzia Niccolai
Hi,

If you post the error message and relevant code, we could help you
troubleshoot why this error is occurring.

-Marzia

On Fri, Dec 19, 2008 at 7:26 PM, Grady grady...@gmail.com wrote:


 Marzia,
 Thanks for the tip, which helps me to understand the reason of
 server error, though I don't know why the code works well on my
 machine but doesn't on google.

 On Dec 20, 2:31 am, Marzia Niccolai ma...@google.com wrote:
  Hi,
 
  This could be a number of things, you can usually find the specific error
 by
  checking in your logs:
 http://appengine.google.com/logs?app_id=YOUR_APP_ID
 
  If you can't find anything in your logs that would indicate an issue with
  your application, you should check your app.yaml for typos or
  mis-configuration.  Occasionally such things will work on the
 dev_appserver
  and not on App Engine.
 
  -Marzia
 
  On Fri, Dec 19, 2008 at 9:57 AM, Grady grady...@gmail.com wrote:
 
   Hi all,
   I got the following message after updating my application on
   Google App Engine,
 
   Error: Server Error
   The server encountered an error and could not complete your request.
   If the problem persists, please report your problem and mention this
   error message and the query that caused it.
 
  However, my application works well on my local machine (using SDK
   1.1.7 and Python 2.6). Is there any way to find out the detail error
   message for debug on Google App Engine?
 
   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: appcfg.py

2008-12-22 Thread Sharp-Developer.Net

Password characters are hidden (not shown oi display) for security
purpose.

Before asking this kind of questions try to hit Enter key.
--
Alex
http://sharp-developer.net/

On Dec 19, 8:36 pm, MAX maxho.mac...@gmail.com wrote:
 Decided to try Python.
 Start appcfg.py update c: \ helloworld \
 Mail writing, it takes, write the password - even zero attention
 characters not imposed.
 What the ---?
--~--~-~--~~~---~--~~
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: Over Quota: Datastore Indices Count

2008-12-22 Thread Marzia Niccolai
Hi,

If you reply to me with your app id, I will be able to fix this.

-Marzia

On Fri, Dec 19, 2008 at 11:40 PM, paptimus papti...@gmail.com wrote:


 Hi, GAE team.

 I encountered Your application is exceeding a quota: Datastore
 Indices Count on dashboard.

 The number of indeces is under 50, but one model has about 30 indeces.
 So I think this one is the point of over quota warning and vacuumed
 these indeces.
 Vacuume_index was completed and there is no index of that model.

 But the warging of over quota ramains over 24 hours and the status of
 a new index remains building.

 I hope you check my index and change the status to Error if my index
 has problems, please.

 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: Cannot create new application

2008-12-22 Thread Marzia Niccolai
Hi Miles,

Is this affecting the account with which you are posting, or another
account?  If you let me know the email account I can look in to it.

-Marzia

On Sat, Dec 20, 2008 at 3:50 PM, mcrawfor miles.crawf...@gmail.com wrote:


 I should add - I already have the one original app that I collaborate
 on in my menu, and I can manage it just fine.  I just can't create a
 new one.

 -miles

 On Dec 20, 3:41 pm, mcrawfor miles.crawf...@gmail.com wrote:
  I was listed as a developer on an existing application, so I signed in
  and SMS verified my account.
 
  Now I am trying to create my own application.  When I click Create an
  Application I am brought again to the Verify your Account by SMS
  screen.
 
  However, when I type my phone number in, I am told The phone number
  has been sent too many messages or has already been used to confirm an
  account.
 
  Yes, I agree - my account!
 
  How can I get unstuck here and create an application?
 
  Thanks,
  -Miles
 


--~--~-~--~~~---~--~~
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: Send and receive mail with embedded images

2008-12-22 Thread Marzia Niccolai
Hi,

Feature requests can be filed here:
http://code.google.com/p/googleappengine/issues/list

-Marzia

On Mon, Dec 22, 2008 at 4:43 AM, Daniel Levin danile...@gmail.com wrote:

 Jeff,
First of all, thank!
   Last thing from this topic: Where should I submit my feature request?

 REGARDS!
 Daniel Levin


 On Thu, Dec 18, 2008 at 5:59 PM, Jeff S j...@google.com wrote:


 Hi Daniel,

 It seems inline attachments with Content ID and MIME Multipart/Related
 Content is not supported in the current mail API, but I think it would
 be a good idea to file this as a feature request.

 Happy coding,

 Jeff

 On Dec 17, 1:55 pm, Jeff S j...@google.com wrote:
  Ah I see. I'm not sure how to do this using the App Engine mail API
  either, I'll ask around.
 
  Thank you,
 
  Jeff
 
  On Dec 17, 11:41 am, Daniel Levin danile...@gmail.com wrote:
 
 
 
   Alexander,
Yes, I do refer to the that method (inline attachment using CID). I
 did it
   before with PHP without any problem, very easy. Now I want to migrate
 to
   Google App Engine, and I don't see how to implement that.
 
  Any idea?
 
   Regards,
   Daniel Levin



 


--~--~-~--~~~---~--~~
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: error when trying to do an upload

2008-12-22 Thread Marzia Niccolai
Hi,

Please see the bottom of this page for configuring App Engine uploads behind
a proxy:
http://code.google.com/appengine/docs/appcfgpy.html

-Marzia

On Sun, Dec 21, 2008 at 8:00 PM, musenfox peixiaogu...@gmail.com wrote:


 what if when i use a proxy server?

 On Nov 27, 2:47 am, Thyako thy...@gmail.com wrote:
  I got this error once when my internet connection was down. It solved
  after I reconnected (in Ubuntu 8.10).
 
  ~Thiago
 
  On Nov 26, 11:52 am, davva da...@darmanin.com wrote:
 
   Anyone know whats causing this error message when i try and do an
   upload.
 
   D:\PROFILESappcfg.py update d:\googleapps\helloworld\
 
   ( I enter my username and password twice here )
 
   2008-11-26 13:49:07,232 ERROR appcfg.py:1336 An unexpected error
   occurred. Aborting.
   Traceback (most recent call last):
 File C:\Program Files\Google\google_appengine\appcfg.py, line 55,
   in module
   execfile(script_path, globals())
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 1954, in module
   main(sys.argv)
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 1947, in main
   AppCfgApp(argv).Run()
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 1524, in Run
   self.action.function(self)
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 1736, in Update
   lambda path: open(os.path.join(basepath, path), rb))
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 1315, in DoUpload
   missing_files = self.Begin()
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 1176, in Begin
   version=self.version, payload=self.config.ToYAML())
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 282, in Send
   self._Authenticate()
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 321, in _Authenticate
   super(HttpRpcServer, self)._Authenticate()
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 261, in _Authenticate
   self._GetAuthCookie(auth_token)
 File C:\Program Files\Google\google_appengine\google\appengine\tools
   \appcfg.py, line 203, in _GetAuthCookie
   response = self.opener.open(req)
 File D:\Python25\lib\urllib2.py, line 381, in open
   response = self._open(req, data)
 File D:\Python25\lib\urllib2.py, line 399, in _open
   '_open', req)
 File D:\Python25\lib\urllib2.py, line 360, in _call_chain
   result = func(*args)
 File D:\Python25\lib\urllib2.py, line 1107, in http_open
   return self.do_open(httplib.HTTPConnection, req)
 File D:\Python25\lib\urllib2.py, line 1082, in do_open
   raise URLError(err)
   urllib2.URLError: urlopen error (11001, 'getaddrinfo failed')

 


--~--~-~--~~~---~--~~
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: Lost access to my app's Dashboard

2008-12-22 Thread Marzia Niccolai
Hi,

This is an issue because the email you are using is both a Google Apps and
Google Accounts account.  You need to make sure that whenever you access the
dashboard

1) You are signed out Google Accounts with this email address
2) You access the Admin Console at the URL
appengine.google.com/a/YOURDOMAIN.COM

-Marzia

On Mon, Dec 22, 2008 at 4:13 AM, Andrew.T. and...@tetlaw.id.au wrote:


 I have an app on appspot (http://nowroll.appspot.com/) I haven't
 accessed in a while. But now when I click on dashboard in the
 appengine launcher, I get the appengine start page and it looks like
 I've never created an app. Weirdly I can still deploy changes to my
 app and edit the entry in the app gallery.

 Just when I go to teh dashboard I see no apps...

 


--~--~-~--~~~---~--~~
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] Parent and Reference question

2008-12-22 Thread johnP

Is it OK to have both a Reference relationship and a Parent
relationship between two objects?

For example:
I have a situation with an object Y, an object S, and a bunch of
objects AR.

All AR objects need to reference Y (to easily get all ARs relating to
Y).

Some of the AR objects belong the Y entity group (they are updated by
one set of users in one context), while some of the AR objects belong
to the S entity group (updated by another category of users in a
different context).

Is it OK to create AR entities where some have referenceproperty = y,
and ancestor = y; and others where referenceproperty = y, and ancestor
= s

I'm assuming it is OK - but any time I encounter redundancy, I start
getting paranoid...

:)




--~--~-~--~~~---~--~~
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: get_by_key_name timeout!

2008-12-22 Thread Marzia Niccolai
Hi,

I can't imagine that the datastore is timing out on a single get_by_key_name
call, but I imagine that it is possible within the context of a request
making multiple datastore calls, or a series of get_by_key_name calls, such
as in a loop.

What kind of things are going on in the rest of this request?

-Marzia

On Sat, Dec 20, 2008 at 4:10 PM, MajorProgamming sefira...@gmail.comwrote:


 12-19 06:34PM 51.839
 Traceback (most recent call last):
  File /base/python_lib/versions/1/google/appengine/ext/webapp/
 __init__.py, line 498, in __call__
handler.get(*groups)
  File /base/data/home/apps/[edited out]/1.329827330674031168/
 helloworld.py, line 96, in get
curuser=CellPhones.get_by_key_name(n:+number)
  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 217, in Get
raise _ToDatastoreError(err)
  File /base/python_lib/versions/1/google/appengine/api/
 datastore.py, line 1637, in _ToDatastoreError
raise errors[err.application_error](err.error_detail)
 Timeout

 I understand that I get timeouts for put() operations, but what's the
 explanation for this one?
 


--~--~-~--~~~---~--~~
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: Parent and Reference question

2008-12-22 Thread Marzia Niccolai
Hi,

There is no problem with this.

Of course, you can always change/update a ReferenceProperty, but you can
only set the parent of an entity upon creation of the entity.

-Marzia

On Mon, Dec 22, 2008 at 9:37 AM, johnP j...@thinkwave.com wrote:


 Is it OK to have both a Reference relationship and a Parent
 relationship between two objects?

 For example:
 I have a situation with an object Y, an object S, and a bunch of
 objects AR.

 All AR objects need to reference Y (to easily get all ARs relating to
 Y).

 Some of the AR objects belong the Y entity group (they are updated by
 one set of users in one context), while some of the AR objects belong
 to the S entity group (updated by another category of users in a
 different context).

 Is it OK to create AR entities where some have referenceproperty = y,
 and ancestor = y; and others where referenceproperty = y, and ancestor
 = s

 I'm assuming it is OK - but any time I encounter redundancy, I start
 getting paranoid...

 :)




 


--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Amir Michail

On Mon, Dec 22, 2008 at 10:50 AM, Paul Kinlan paul.kin...@gmail.com wrote:
 Hi,

 I took a good long read of this issue, and I can honestly see why it has not
 been starred up anymore.

 1) From my point of view, there are lots of other priorities thatI would
 like to see implemented before this, which looking at it, I can mostly
 program my way around.
 2) You used a lot of big words
 3) You went on for too long
 4) You really didn't make a case for it that most people can understand in
 short enough time
 5) Most apps don't need this especially when you look at the current
 datastore transaction isolation levels, something exists or it doesn't,
 something updates or it doesn't, and most things can be done on a single
 entity basis.

I actually didn't make a single comment under that issue!

Anyway, the problem is that if you have two entities that are not in a
child-parent relationship, then you can't have a transaction that
involves both.

For example, you can't have a transaction involving two users of your
app.  So if a user performs an action that affects (e.g., the stats
of) both, then you would have a problem in making sure that the stats
are updated for both.

This is a very fundamental flaw.  I suspect that most GAE apps are
incorrect due to this problem.  Please vote up this issue.

I realize that the GAE team would rather have someone implement an
open source distributed transaction library for them.  But I doubt
this will happen any time soon.  And even if it did, I would have more
trust in an implementation by the GAE team anyway.

Amir


 I am completly prepared to be shotdown and made fun of for my opinions.

 Kind Regards,
 Paul Kinlan

 2008/12/21 Amir Michail amich...@gmail.com

 Hi,

 I must say I find it hard to imagine how most apps could be built
 without distributed transactions:

 http://code.google.com/p/googleappengine/issues/detail?id=313

 Please vote this issue up if it affects your app!

 Amir





 




-- 
http://readmytweets.com
http://chatbotgame.com
http://numbrosia.com
http://twitter.com/amichail

--~--~-~--~~~---~--~~
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: 1 application, multiple datastores

2008-12-22 Thread hawkett

 I'm okay with that constraint.  My point is that if the application
 has an admin console or an admin user, one can write a query that runs
 across multiple datastores by writing code that accesses said
 datastores through their admin consoles and/or users.

For the admin console, I'm saying you can only use this feature to run
against each datastore in isolation.  Pick the datastore, run the
query.  It's fair to say the admin console security model is another
problem that GAE needs to sort out (e.g.
http://code.google.com/p/googleappengine/issues/detail?id=91), but I
would hope that when it is sorted out, I can assign admin rights on
different data stores to different users in my organisation.

For the admin user option, I am expecting that the admin user is
unique to each data store, not one admin user for all customers.  The
picture I am painting is that you administer your customer data
instances individually, not as an aggregate.

I want to be able to make a statement like this about my application
running on GAE (note especially the data security section at the
bottom)

http://www.rallydev.com/products/deployment_solutions/security/

And I can't do that if administrators can run ad-hoc unsecured queries
across customer data stores.  (well, maybe they are secured, but only
by your application code)

And finally - I am looking for features that allow me to give my
customers confidence, not erode it.  Saying that their data is
partitioned from other customer's achieves that goal.  That doesn't
mean their data is perfectly safe - there would be any number of other
means by which their data could be exposed to their competitors, but I
can guarantee them that they their business plan is not going to
suddenly appear on the welcome screen of a competitor due to a bug in
my application code.  The cited bug is a perfect example of this sort
of thing actually happening, and of a situation that would be closed
off with effective data partitioning.

Do you agree that the cited bug would not occur with strict data
partitioning, and could occur if issue 106 was actioned?  If you are
looking for a distinction, then this is it.  To be perfectly clear, I
see this bug as an example of multiple customers having their data
exposed to multiple other customers - this is not a bug that would
occur by someone making a mistake in admin console (when you can only
query customer datastores in isolation).

It seems to me you are saying that if there is *any* mechanism that
could compromise customer data, then why bother worrying about it?

There is a *lot* of work for GAE to do to get to the point where an
app on their infrastructure can make a claim like that - e.g. I can't
believe only 6 people have starred this issue for example -

http://code.google.com/p/googleappengine/issues/detail?id=501

I suspect it is because people only look at the first page of issues -
which completely debunks the idea that Google should be using stars in
its issues list to prioritise its work schedule.
On Dec 22, 4:47 pm, Andy Freeman ana...@earthlink.net wrote:
   Are you ok with the constraint that a query can not be run across
  multiple data stores?  If we can agree on that, then I'd say we are
  doing pretty well.

 I'm okay with that constraint.  My point is that if the application
 has an admin console or an admin user, one can write a query that runs
 across multiple datastores by writing code that accesses said
 datastores through their admin consoles and/or users.

 No, such a query doesn't run in the application itself.  However, a
 query in an application that validates the user, determines which
 datastore to use, and then runs all queries within that datastore also
 doesn't access multiple datastores even if it does use an API feature
 that could be used to access multiple datastores if said application
 were written differently.

 I still have no interest in running a query across multiple datastores
 and have never suggested otherwise.

 I'm trying understand why a feature that lets the application
 programmer determine which datastore to use is an unacceptable way to
 support one code base, customer-specific datastores if it's okay to
 have an admin console and/or applications that have an admin user.

 Yes, it's convenient to have google manage all login stuff, but that
 means that you don't have any control.  If they're your customers

 On Dec 22, 4:25 am, hawkett hawk...@gmail.com wrote:

You use the example of maintenance and fixes
on behalf of customers - when would that require querying across two
customer's data stores?

   I never said or implied that it did.

  Issue 106 proposes '...cross app queries using the db APIs only' -
  which to me means you can easily introduce a bug like the one
  originally posted - i.e. querying across two customer's data stores.
  Apologies if I understood your responses to be in support of this
  approach when they were not.  Perhaps you could elaborate your use
  case in 

[google-appengine] 开发中实际问题的总结

2008-12-22 Thread GUI
我遇到了静态文件定义问题、通过代理上传的问题,字符集问题等,参看我的开发手记,http://gui-cn.appspot.com/
DevNotes.html
--~--~-~--~~~---~--~~
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 port an sqlite search query over to datastore objects?

2008-12-22 Thread Hardi

Hi!

I'm porting a php application over to App Engine and while everything
else is rather trivial, I'm having trouble converting the search
function. This is what I have as my query in php - 
http://utilitybase.com/paste/10419
It's a weighted search query for sqlite and it works very well.

I'm having some trouble wrapping my head around datastore as it is
(there are too few examples!), but so far it seems I would have to
make several querys, and then combine the results.. nothing nowhere as
concise as that one.. :/ Or have I overlooked something?

I appreciate all hints, thank you!

Hardi K.

--~--~-~--~~~---~--~~
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 much time to give for each db query in order not to occur DeadlineExceededError

2008-12-22 Thread Marzia Niccolai
Hi,

It's difficult to estimate the amount of time it takes to put() and delete()
datastore entities because it depends a great deal on the size and shape of
your entities.

One thing you should do is call db.Put(entities) in one call, instead of
multiple calls in one request to entity.put().  Also, you can't rely on the
speed of the dev_appserver to be indicative of the speed on App Engine
itself.

The best advice I can give is, if you see the datastore is constantly timing
out on a given request, reduce the number of entity updates in that request
until you find the number that best fits your data.

-Marzia

On Sat, Dec 20, 2008 at 6:19 PM, Bob bobzs...@gmail.com wrote:


 Hi GAE team,

 how about the time for deleting? I think it would also encounter the
 DeadlineExceededError..

 Thank you:

 On Dec 20, 11:52 pm, Bob bobzs...@gmail.com wrote:
  Too much db operations, it needs 10 seconds on my own computers to
  read the whole file to store in the datastore. But on the GAE, it
  occurs DeadlineExceededError. I gave  0.2 second for each db put(), it
  could work first but finally went wrong. I then gave 0.5 second and
  still could't solve the problem.
 
  How much time shall I give??
 


--~--~-~--~~~---~--~~
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 port an sqlite search query over to datastore objects?

2008-12-22 Thread Barry Hunter

Just because its one *sql query* - doesnt its one query against the
database. All the 'unions' just run each query seperately and the
combine the results.

The only difference with AppEngine you need to implement the 'combine'
or union in your application, rather than the database doing it for
you.

So while sqlite (or other SQL engines) may make it simple to
implement, its not going to be able to make it *that much* more
effienct that just running the queries seperatly.

If you want the source to be 'consise' you could implement a
function/class that does the seperate queries and combines them for
you. Much like the datastore API does for 'or' queries - in the
background really its a number of datastore queries.

2008/12/22 Hardi hardi.kovam...@gmail.com:

 Hi!

 I'm porting a php application over to App Engine and while everything
 else is rather trivial, I'm having trouble converting the search
 function. This is what I have as my query in php - 
 http://utilitybase.com/paste/10419
 It's a weighted search query for sqlite and it works very well.

 I'm having some trouble wrapping my head around datastore as it is
 (there are too few examples!), but so far it seems I would have to
 make several querys, and then combine the results.. nothing nowhere as
 concise as that one.. :/ Or have I overlooked something?

 I appreciate all hints, thank you!

 Hardi K.

 




-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~-~--~~~---~--~~
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: Datastore API BUG?

2008-12-22 Thread Siva Velusamy

I've seen similar issues. Here's the open case:

http://code.google.com/p/googleappengine/issues/detail?id=901

/Siva

On Dec 22, 2:07 am, K_Reverter kunhua...@gmail.com wrote:
 Anybody help me ?

 On Dec 21, 10:55 pm, K_Reverter kunhua...@gmail.com wrote:

  I found a Strange thing.
   When I query a GQL like this:

  SELECT * FROM RgeoData where Y=3000

  The result of first row is like this:

   ID/Name  Y  areaId  maxX  minX
130520  3000  2054  8125  8113

  But when I query a GQL like this:

  SELECT * FROM RgeoData where Y=3000 order by minX

  The result of first row is like this:

   ID/Name  Y  areaId  maxX  minX
130521  3000  2053  8237  8236
  And I haven't  found row(minX=8113) in all the result rows;

  Whe is the row(minX=8113),Is this a bug?

  PS:
  1.This phenomenon is not accidental,It will always reappear;
  2.After i upload data to system,I wrote a class to read the
  data,so GAE alto create index for data ,the current index status
  is :Y ▲ , minX ▲  Serving,All OK
  3.All the four fields has the same type:int

  If you can read chinese,you can refer to my chinese blog article about
  this (There are 2 screenshots):

 http://www.cnblogs.com/step1/archive/2008/12/21/1359477.html
--~--~-~--~~~---~--~~
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 have error why? please help

2008-12-22 Thread Marzia Niccolai
Hi,

My guess is that this is being caused because 'import' is generally a bad
name for a folder.

-Marzia

On Sun, Dec 21, 2008 at 12:51 PM, aviza...@gmail.com aviza...@gmail.comwrote:


 Well its simple issue and I cannot understand why it happens.
 I have a py file in the root directory
 with simple lines
 print 'Content-Type: text/plain'
 print ''
 print 'Hello, world!'

 the location is

 - url: /
  script: h.py

 it works just fine (200)

 now when I change the folder of the file and the app.yaml like this
 - url: /
  script: import/h.py

 its works but In the log file I get:

 INFO 2008-12-21 20:45:30,905 dev_appserver.py] GET /import/ HTTP/
 1.1 200 -

 ERROR2008-12-21 20:45:31,421 dev_appserver.py] Encountered error
 loading mod
 ule pages.h: type 'exceptions.ImportError': Could not find module
 pages.h
 Traceback (most recent call last):
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 1607, in LoadTargetModule
module_code = import_hook.get_code(module_fullname)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 847, in decorate
return func(self, *args, **kwargs)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 1470, in get_code
full_path, search_path, submodule = self.GetModuleInfo(fullname)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 847, in decorate
return func(self, *args, **kwargs)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 1422, in GetModuleInfo
submodule, search_path = self.GetParentSearchPath(fullname)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 847, in decorate
return func(self, *args, **kwargs)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 1401, in GetParentSearchPath
parent_package = self.GetParentPackage(fullname)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 847, in decorate
return func(self, *args, **kwargs)
  File c:\program Files\google\google_appengine\google\appengine\tools
 \dev_apps
 erver.py, line 1378, in GetParentPackage
raise ImportError('Could not find module %s' % fullname)
 ImportError: Could not find module pages.h
 WARNING  2008-12-21 20:45:31,467 dev_appserver.py] Missing package
 initializatio
 n files: C:\sites\wefi\financy\pages\__init__.py
 INFO 2008-12-21 20:45:31,467 dev_appserver.py] GET /import/ HTTP/
 1.1 200 -

 why why why?




 


--~--~-~--~~~---~--~~
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 add 'www' subdomain for app engine service

2008-12-22 Thread Marzia Niccolai
Hi,

This page is still mapped to the start page, you will need to eliminate this
mapping before you can add the 'www' mapping to App Engine.

This mapping can be found under 'Service Settings'  'Start Page'  Web
address'.

-Marzia

On Sun, Dec 21, 2008 at 10:50 PM, paradise hahag...@gmail.com wrote:


 I met the same problem now. My domain is www.3fan.us. I set it to
 http://partnerpage.google.com/3fan.us before, but now I've changed to
 http://start.3fan.us. After that, I can't make www.3fan.us point to
 any other site.

 Now I'd like to make www.3fan.us point to http://3fan-
 info.appspot.com, but failed to do that even I can map http://
 3fan.us perfectly.
 On Dec 9, 3:38 am, Marzia Niccolai ma...@google.com wrote:
  Hi Josh,
 
  Can you reply to me with the specific domain?  It sounds like you have
 done
  everything that should work, but without knowing the specific domain I
 can't
  check.
 
  One other course of action would be to see if you can assign the 'www' to
  some other service such as sites.  If you can add and remove it from
 there,
  you may be able to add it to App Engine.
 
  -Marzia
 
  On Sat, Dec 6, 2008 at 9:01 PM, Josh Burley jbur...@gmail.com wrote:
 
   I'm having the same problem, but have not been able to fix it.
 
   Hittingwww.mydomain.comredirects to start.mydomain.com.
 
   start.mydomain.com does now appear to have a www mapping. I've tried
   adding it and removing it, and while it seems to add and remove the
   domain fine from the cpanel, it still redirects to start.mydomain.com.
   I've also tried disabling the Start page service, but it still does a
   redirect.
 
   Any other ideas?
 
   On Oct 12, 4:10 pm, ajablo adam.jablon...@gmail.com wrote:
Hello Marzia,
 
it worked for me as well with the same variation as for Adam the
2nd ;-)
The 'www' has finally found its proper place. Many, many thanks for
your help.
 
Greetings,
Adam
 
On Oct 11, 1:16 am, Marzia Niccolai ma...@google.com wrote:
 
 Hi,
 
 Can you follow the directions here:
 

 http://groups.google.com/group/google-appengine/web/deleting-existing.
   ..
 
 To see if this helps?  The common case seems like Google Sites is
 using
 'www' whether or not Sites is enabled.
 
 -Marzia
 
 On Thu, Oct 9, 2008 at 5:55 PM, Adam Fisk adamf...@gmail.com
 wrote:
 
  littleshoot.org.  I didn't realize it was awwwissue at first,
 but it
  definitely is.  I'm able to add multiple other subdomains no
 problem.
 
  On Oct 9, 1:33 pm, Marzia Niccolai ma...@google.com wrote:
   Hi Adam,
 
   With which domain are you experiencing this issue?
 
   -Marzia
 
   On Thu, Oct 9, 2008 at 1:27 PM, Adam Fisk adamf...@gmail.com
   wrote:
 
I have the exact same problem.  Any solutions?  The
 unfortunately
result is *my site is completely down.*  This makes it
 virtually
impossible to port awww.* site, which would account for,
 well,
   most
of the sites on the Internet.
 
-Adam
 
On Oct 9, 11:13 am, ajablo adam.jablon...@gmail.com wrote:
 Hello,
 
 the domain in question is probud.info
 At the very begining it returned a 404, but it seemed like
 it
 originated from google page creator team (???)
 Then I configured google sites (it was google pages before
 I
   guess)
  in
 my apps profile to use 'www' prefix and it worked perfectly
 for
  sites.
 What I did then was to change the sites prefix from 'www'
 to
 'temp' (both in my domain's CNAME records) just to try if
 maybe
   this
 time my appengine's service will work under 'www',
   unfortunately it
 didn't. Any attempt to assign it to appengine service is
 simply
 ignored without any error message.
 Current status is: I disabled sites completely for my
 domain
   (prefix
 history for sites is 'www' - 'temp' - disabled), when I
 open
bothwww.probud.infoandtemp.probud.infoIget'forbidden error
 403'
  now.
 Assigning 'www' to my appengine service still fails.
 It seems like google has a big mess in there?
 
 Many thanks for your help,
 Adam
 
 On Oct 9, 6:57 pm, Marzia Niccolai ma...@google.com
 wrote:
 
  Hi,
 
  Can you please reply with the domain experiencing the
 issue?
Also
  if
you go
  towww.yourdomain.comanditdoesnotreturna 404, what is
 shown
   would
  indicate what service it's currently mapped to.
 
  -Marzia
 
  On Thu, Oct 9, 2008 at 5:31 AM, ajablo 
   adam.jablon...@gmail.com
wrote:
 
   Hello,
   All my attempts to add 'www'subdomainto host my app as
 a
   AppEngine service in Google Apps fail silently. No
 error
   message.
  I
   can add
   any othersubdomain, like 'temp' or whatever with
 success.
   And I
  would
   like
   to assure 

[google-appengine] Re: Datastore API BUG?

2008-12-22 Thread Marzia Niccolai
Hi,

Yep, Siva has the right issue.  Until this issue is fixed, if you call put()
on the entities that are not showing up on the query, this should make them
start appearing on results.

-Marzia

On Mon, Dec 22, 2008 at 10:47 AM, Siva Velusamy siva.velus...@gmail.comwrote:


 I've seen similar issues. Here's the open case:

 http://code.google.com/p/googleappengine/issues/detail?id=901

 /Siva

 On Dec 22, 2:07 am, K_Reverter kunhua...@gmail.com wrote:
  Anybody help me ?
 
  On Dec 21, 10:55 pm, K_Reverter kunhua...@gmail.com wrote:
 
   I found a Strange thing.
When I query a GQL like this:
 
   SELECT * FROM RgeoData where Y=3000
 
   The result of first row is like this:
 
ID/Name  Y  areaId  maxX  minX
 130520  3000  2054  8125  8113
 
   But when I query a GQL like this:
 
   SELECT * FROM RgeoData where Y=3000 order by minX
 
   The result of first row is like this:
 
ID/Name  Y  areaId  maxX  minX
 130521  3000  2053  8237  8236
   And I haven't  found row(minX=8113) in all the result rows;
 
   Whe is the row(minX=8113),Is this a bug?
 
   PS:
   1.This phenomenon is not accidental,It will always reappear;
   2.After i upload data to system,I wrote a class to read the
   data,so GAE alto create index for data ,the current index status
   is :Y ▲ , minX ▲  Serving,All OK
   3.All the four fields has the same type:int
 
   If you can read chinese,you can refer to my chinese blog article about
   this (There are 2 screenshots):
 
  http://www.cnblogs.com/step1/archive/2008/12/21/1359477.html
 


--~--~-~--~~~---~--~~
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: Global Time Synchronisation Guarantees

2008-12-22 Thread Marzia Niccolai
Hi,

Please see this thread:
http://groups.google.com/group/google-appengine/browse_thread/thread/e263ed5bfc4f7efc/c2c2469ed9a31c7d

Generally one would expect the clocks to be synced within a few seconds, but
there are not any guarantees of any kind.

-Marzia

On Mon, Dec 22, 2008 at 4:20 AM, rvjcallanan vinc...@callanan.ie wrote:


 I recall reading somewhere that, due to global time differences across
 servers, we cannot rely on timestamps to draw certain conclusions
 about GAE data e.g. operation sequence, etc.

 Time synchronisation is a critical issue in any distributed app yet I
 have been unable to get hard facts and figures on how well Google
 synchronises its servers globally.

 I assume some form of  NTP syncing is performed so I would expect that
 steady state drift will be of the order of milliseconds across the
 globe. But what if a server is rebooted or added to the Google
 network? Will this server be disabled until it has reached a certain
 sync level.

 In a nutshell, a few questions...

 1. How accurate are Google server clocks re: some global standard?
 2. What is the maximum drift between servers?
 3. Is tighter synchronisation guaranteed between servers in a local
 data centre servicing entity groups

 TIA,

 rvjcallanan
 


--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Geoffrey Spear



On Dec 22, 1:10 pm, Amir Michail amich...@gmail.com wrote:
 This is a very fundamental flaw.  I suspect that most GAE apps are
 incorrect due to this problem.  Please vote up this issue.

I suspect that most GAE apps aren't coded on the assumption that
BigTable is something it's not.
--~--~-~--~~~---~--~~
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: Datastore impossibly slow?

2008-12-22 Thread Tom

Hmm, I guess I could just leave it.
When displaying the data to the user I only show the last 20 records,
based on time. I read that the larger the datastore, the slower the
response time, so I tried to impliment some system to prune the data.

I guess I will just leave it!

Thanks for your help
Tom

On Dec 22, 2:10 pm, Matija matija.jerko...@gmail.com wrote:
 I think that your approach is not suitable for use on app engine. You
 will not be able to delete never more than few dozen. But instead of
 deletion why don't you filter your data (where you use it) to get only
 last week entries.

 Of course there is question why are you storing something that has
 value only for one week. Maybe some different approach in solving your
 business problem.

 On Dec 22, 2:05 pm, Tom sharpbla...@gmail.com wrote:

  Thanks Andrius, I will try to use the datetime module.
  I tried beforehand, but I couldn't get it to work (For some reason),
  so I reverted to use the time.time() function, which returned a float.

  I also just tried using an integer rather than a float for the
  time ,and it got slower...! -  '13056ms-cpu'

  Regards, and have a happy christmas,
  Tom

  On Dec 22, 10:31 am, Andrius andriu...@gmail.com wrote:

   Hello Tom,

   try to check index.yaml to see if index for for time property exists.

   Why do you have float type property for the time? it would be more
   efficient to use datetime or integer, because float is much heavier.
   And try to query without maximum limit, because it will be applied by
   default:
   If more than 1000 entities match the query, and either no limit is
   specified or a limit larger than 1000 is used, only the first 1000
   results are returned by fetch().

   Regards,
   Andrius

   On Dec 21, 11:17 pm, Tom sharpbla...@gmail.com wrote:

Hello!
I have some data within my application that I want to expire after 1
week. To do this every day I get the 'Scheduler Service' (http://
schedulerservice.appspot.com/) to run a GET request to a page on my
app. This then runs a GQL that finds any records over 1 week old, and
deletes them.
Seems simple? I did a test with 24 records, and it took (Apparently)
'10706ms-cpu' time. 10 seconds to sort through 24 records??

Here is the code:
class clearapicallback(webapp.RequestHandler):
    def get(self):
        self.response.out.write('secret_callback_auth_code')
        # 1 week = 604800
        request = db.GqlQuery('SELECT * FROM Database WHERE time  :
1',time.time()-10).fetch(1000)
        db.delete(request)

and the Database object:

class Database(db.Model):
    pid = db.StringProperty()
    uid = db.StringProperty()
    sex = db.StringProperty()
    qid = db.StringProperty()
    qan = db.StringProperty()
    anon = db.BooleanProperty()
    time = db.FloatProperty()

My question is, why did it take 10 seconds!! It wasn't a fluke, other
requests have taken '17583ms-cpu' or more, with 23 records.
Can I make database records expire automatically (I don't want to use
memcache, unless it is good for storing data for a whole week)? And
how can I improve the performence?
I am expecting a lot more than 24 records to be deleted a day, and I
cant have it using that much CPU!

Regards
~Tom
--~--~-~--~~~---~--~~
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: Datastore impossibly slow?

2008-12-22 Thread Thomas Johansson

 When displaying the data to the user I only show the last 20 records,
 based on time. I read that the larger the datastore, the slower the
 response time, so I tried to impliment some system to prune the data.

This is only a limitation of the basic datastore implementation in the
SDK, not in production. Good thing too, considering all entities for
all apps, as well as their indexes, are stored in the same four
bigtables. The backend your data sits in, serves and stores many, many
millions of entities already. :)

If you want to clear out stale data, run a handler that deletes for
example 10 entities at a time, then returns whether or not it should
be called again, and have your off-site cron call that url until it is
done. That is about the best you can do for now, until we get
background processing.

Hope to help,
Thomas
--~--~-~--~~~---~--~~
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: AssertionError: Won't override attribute 'make_value_from_form'

2008-12-22 Thread Marzia Niccolai
Hi,

Without knowing what code caused this error, it's a bit difficult to
specifically diagnose, but it seems that you might be trying to override an
existing method?  The doc string gives some details as to the function that
is throwing this error:

def *monkey_patch*(name, bases, namespace):
  A 'metaclass' for adding new methods to an existing class.

  In this version, existing methods can't be overridden; this is by
  design, to avoid accidents.

  Usage example:

class PatchClass(TargetClass):
  __metaclass__ = monkey_patch
  def foo(self, ...): ...
  def bar(self, ...): ...

  This is equivalent to:

def foo(self, ...): ...
def bar(self, ...): ...
TargetClass.foo = foo
TargetClass.bar = bar
PatchClass = TargetClass

  Note that PatchClass becomes an alias for TargetClass; by convention
  it is recommended to give PatchClass the same name as TargetClass.
  

-Marzia

On Mon, Dec 22, 2008 at 12:56 AM, yucc yucc2...@gmail.com wrote:


 I've searched around with not solution,so can anyone tell me how to
 fix this,thanks very much!

 As there're to much output,I've put the error page on GoogleDoc:

 http://docs.google.com/Doc?id=dck7n8r7_93cmvhs4fk


  C:\Google\gae\google\appengine\ext\db\djangoforms.py in monkey_patch
 (name='make_value_from_form', bases=(class
 'google.appengine.ext.db.Property',), namespace={'__metaclass__':
 function monkey_patch at 0x018FA130, '__module__':
 'google.appengine.ext.db.djangoforms', 'get_form_field': function
 get_form_field at 0x018FA1B0, 'get_value_for_form': function
 get_value_for_form at 0x018FA2F0, 'make_value_from_form': function
 make_value_from_form at 0x018FA0F0})
  127   for name, value in namespace.iteritems():
  128 if name not in ('__metaclass__', '__module__'):
  129   assert name not in base.__dict__, Won't override
 attribute %r % (name,)
  130   setattr(base, name, value)
  131   return base
 name = 'make_value_from_form', base = class
 'google.appengine.ext.db.Property', base.__dict__ = dictproxy object
 at 0x018F0D50

 type 'exceptions.AssertionError': Won't override attribute
 'make_value_from_form'
  args = (Won't override attribute 'make_value_from_form',)
  message = Won't override attribute 'make_value_from_form'

 


--~--~-~--~~~---~--~~
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: 1 application, multiple datastores

2008-12-22 Thread Andy Freeman

 For the admin console, I'm saying you can only use this feature to run
 against each datastore in isolation.

My point is that that's not true.  If I have access to multiple admin
consoles (for maintenance reasons), I can combine the results that I
get from each of the consoles, effectively giving me the ability to
query against multiple datastores.  I can do this with a program that
runs the admin consoles or I can do it by hand.

 And I can't do that if administrators can run ad-hoc unsecured queries
 across customer data stores.  (well, maybe they are secured, but only
 by your application code)

Since the console is application code

 Do you agree that the cited bug would not occur with strict data
 partitioning, and could occur if issue 106 was actioned?

No, I don't agree.  Even if we ignore the admin console hole, strict
data partitioning is a fantasy in an environment where data lives on
the same hardware.  The google code for handling multiple datastores
could go wonky.  Or, their user login code could do the wrong thing.

Since the risk of your login code doing the wrong thing is
unacceptable, it's unclear why the risk of their code doing the wrong
thing is any more acceptable.

 And finally - I am looking for features that allow me to give my
 customers confidence, not erode it.

That's nice, but the feature in question doesn't affect the real
security of your customer's data.

If multiple customers have data on the same piece of hardware, some
code has to manage the separation.  If it's unacceptable for your code
to do so

 It seems to me you are saying that if there is *any* mechanism that
 could compromise customer data, then why bother worrying about it?

Not at all.  I'm saying that if a given mechanism is an unacceptable
risk under one name, it's an unacceptable risk under all names.  I'm
also saying that if you're putting in a screen door (admin consoles),
it's somewhat silly to worry about weatherstripping said door.




On Dec 22, 10:21 am, hawkett hawk...@gmail.com wrote:
  I'm okay with that constraint.  My point is that if the application
  has an admin console or an admin user, one can write a query that runs
  across multiple datastores by writing code that accesses said
  datastores through their admin consoles and/or users.

 For the admin console, I'm saying you can only use this feature to run
 against each datastore in isolation.  Pick the datastore, run the
 query.  It's fair to say the admin console security model is another
 problem that GAE needs to sort out 
 (e.g.http://code.google.com/p/googleappengine/issues/detail?id=91), but I
 would hope that when it is sorted out, I can assign admin rights on
 different data stores to different users in my organisation.

 For the admin user option, I am expecting that the admin user is
 unique to each data store, not one admin user for all customers.  The
 picture I am painting is that you administer your customer data
 instances individually, not as an aggregate.

 I want to be able to make a statement like this about my application
 running on GAE (note especially the data security section at the
 bottom)

 http://www.rallydev.com/products/deployment_solutions/security/

 And I can't do that if administrators can run ad-hoc unsecured queries
 across customer data stores.  (well, maybe they are secured, but only
 by your application code)

 And finally - I am looking for features that allow me to give my
 customers confidence, not erode it.  Saying that their data is
 partitioned from other customer's achieves that goal.  That doesn't
 mean their data is perfectly safe - there would be any number of other
 means by which their data could be exposed to their competitors, but I
 can guarantee them that they their business plan is not going to
 suddenly appear on the welcome screen of a competitor due to a bug in
 my application code.  The cited bug is a perfect example of this sort
 of thing actually happening, and of a situation that would be closed
 off with effective data partitioning.

 Do you agree that the cited bug would not occur with strict data
 partitioning, and could occur if issue 106 was actioned?  If you are
 looking for a distinction, then this is it.  To be perfectly clear, I
 see this bug as an example of multiple customers having their data
 exposed to multiple other customers - this is not a bug that would
 occur by someone making a mistake in admin console (when you can only
 query customer datastores in isolation).

 It seems to me you are saying that if there is *any* mechanism that
 could compromise customer data, then why bother worrying about it?

 There is a *lot* of work for GAE to do to get to the point where an
 app on their infrastructure can make a claim like that - e.g. I can't
 believe only 6 people have starred this issue for example -

 http://code.google.com/p/googleappengine/issues/detail?id=501

 I suspect it is because people only look at the first page of issues -
 which completely 

[google-appengine] Re: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Amir Michail

On Mon, Dec 22, 2008 at 2:02 PM, Geoffrey Spear geoffsp...@gmail.com wrote:



 On Dec 22, 1:10 pm, Amir Michail amich...@gmail.com wrote:
 This is a very fundamental flaw.  I suspect that most GAE apps are
 incorrect due to this problem.  Please vote up this issue.

 I suspect that most GAE apps aren't coded on the assumption that
 BigTable is something it's not.

Who knows?  Bugs of this type may only show up under high traffic, so
it's easy to miss if you are not aware of the issues.

Is there any particular reason why distributed transactions don't have
a higher priority on the GAE TODO list?

From what I understand, they can be implemented as a library without
making any changes to the GAE.

So maybe if you vote up this issue, the GAE team will consider writing
such a library?

Amir

 




-- 
http://readmytweets.com
http://chatbotgame.com
http://numbrosia.com
http://twitter.com/amichail

--~--~-~--~~~---~--~~
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: ReferenceProperty proving slow, what path should we take?

2008-12-22 Thread ohadpr

this reply looks like spam

On Dec 22, 4:50 am, hawkett hawk...@gmail.com wrote:
 Try using a dynamic tree control in your UI - e.g.

 http://www.smartclient.com/smartgwt/showcase/#tree_databinding_ondemand

 Load all your groups, and then whenever you expand a group node, make
 a separate query for the users of that group.

 On Dec 21, 7:35 am, ohadpr oha...@gmail.com wrote:

  hi all,

  i'm playing with appengine's data models and i've just hit a little
  bump in the road:

  my classes are Group and User, I have many groups and many users. a
  user can
  belong to a group, and so I've used a ReferenceProperty from the user
  to the group
  which gave me a set of users in the group for easy retrieval.

  now I have a page that wants to show all the groups (lets say 50
  groups) and for
  each group the list of users in that group.

  If i just get the rooms and for each room iterate over the set-of-
  users, this generates
  a new query per each group and is very slow.

  what's the best way to handle this?
  * should i store the relation in a new entity, then query for all the
  groups, users and
  relationships, build some python dictionaries and reconstruct the
  whole thing in
  python?

  * should i denormalize the whole thing? how? i'd still want to group
  the whole thing
  by Group, should I do that with python dictionaries?

  thanks a bunch,
  ohad
--~--~-~--~~~---~--~~
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] Use AppEngine on Vista x64

2008-12-22 Thread Chen Harel

Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64
Ultimate... (Admin user - NO UTC)
both dev_appserver.py and appcfg.py gives me the help screen (Like no
options were included) every single time..
Please help me help you help me ... What more information do you need

--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Paul Kinlan
Hi,

My whole argument was that I am pretty sure that you can solve the problems
mentioned by thinking about the root of the transactions in a different way
than the traditionaly update user a and user b.

The thing that I like about GAE at the moment is that it has meant that I
change the way I think about creating applications.  The problem that a lot
of new developers have with GAE (and I am not saying anyone in this
conversation is new) is that they think about developing applications in a
Relational DB style, which in my opinon is wrong.

I honestly suspect, and this is what I was saying before, the reason why the
item is not higher on the list, is that it isn't easy to read and understand
that you may need it at a priority.

Regards,
Paul Kinlan

2008/12/22 Amir Michail amich...@gmail.com


 On Mon, Dec 22, 2008 at 2:02 PM, Geoffrey Spear geoffsp...@gmail.com
 wrote:
 
 
 
  On Dec 22, 1:10 pm, Amir Michail amich...@gmail.com wrote:
  This is a very fundamental flaw.  I suspect that most GAE apps are
  incorrect due to this problem.  Please vote up this issue.
 
  I suspect that most GAE apps aren't coded on the assumption that
  BigTable is something it's not.

 Who knows?  Bugs of this type may only show up under high traffic, so
 it's easy to miss if you are not aware of the issues.

 Is there any particular reason why distributed transactions don't have
 a higher priority on the GAE TODO list?

 From what I understand, they can be implemented as a library without
 making any changes to the GAE.

 So maybe if you vote up this issue, the GAE team will consider writing
 such a library?

 Amir

  
 



 --
 http://readmytweets.com
 http://chatbotgame.com
 http://numbrosia.com
 http://twitter.com/amichail

 


--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Amir Michail

On Mon, Dec 22, 2008 at 3:08 PM, Paul Kinlan paul.kin...@gmail.com wrote:
 Hi,

 My whole argument was that I am pretty sure that you can solve the problems
 mentioned by thinking about the root of the transactions in a different way
 than the traditionaly update user a and user b.

You could put everything in the same entity group, but that would kill
concurrency.

Do you have any specific suggestions about the example I gave?

Amir



 The thing that I like about GAE at the moment is that it has meant that I
 change the way I think about creating applications.  The problem that a lot
 of new developers have with GAE (and I am not saying anyone in this
 conversation is new) is that they think about developing applications in a
 Relational DB style, which in my opinon is wrong.

 I honestly suspect, and this is what I was saying before, the reason why the
 item is not higher on the list, is that it isn't easy to read and understand
 that you may need it at a priority.

 Regards,
 Paul Kinlan

 2008/12/22 Amir Michail amich...@gmail.com

 On Mon, Dec 22, 2008 at 2:02 PM, Geoffrey Spear geoffsp...@gmail.com
 wrote:
 
 
 
  On Dec 22, 1:10 pm, Amir Michail amich...@gmail.com wrote:
  This is a very fundamental flaw.  I suspect that most GAE apps are
  incorrect due to this problem.  Please vote up this issue.
 
  I suspect that most GAE apps aren't coded on the assumption that
  BigTable is something it's not.

 Who knows?  Bugs of this type may only show up under high traffic, so
 it's easy to miss if you are not aware of the issues.

 Is there any particular reason why distributed transactions don't have
 a higher priority on the GAE TODO list?

 From what I understand, they can be implemented as a library without
 making any changes to the GAE.

 So maybe if you vote up this issue, the GAE team will consider writing
 such a library?

 Amir

  
 



 --
 http://readmytweets.com
 http://chatbotgame.com
 http://numbrosia.com
 http://twitter.com/amichail




 




-- 
http://readmytweets.com
http://chatbotgame.com
http://numbrosia.com
http://twitter.com/amichail

--~--~-~--~~~---~--~~
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: Use AppEngine on Vista x64

2008-12-22 Thread yejun

Did you install x86 or amd64 python?

On Dec 22, 2:58 pm, Chen Harel chook.ha...@gmail.com wrote:
 Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64
 Ultimate... (Admin user - NO UTC)
 both dev_appserver.py and appcfg.py gives me the help screen (Like no
 options were included) every single time..
 Please help me help you help me ... What more information do you need
--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread yejun


 Is there any particular reason why distributed transactions don't have
 a higher priority on the GAE TODO list?

What makes you think it should be higher priority? It is not in my
opinion.

Do you think a blog, todo list or caculator requires distributed
transaction?

--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Amir Michail

On Mon, Dec 22, 2008 at 3:23 PM, yejun yej...@gmail.com wrote:


 Is there any particular reason why distributed transactions don't have
 a higher priority on the GAE TODO list?

 What makes you think it should be higher priority? It is not in my
 opinion.

 Do you think a blog, todo list or caculator requires distributed
 transaction?

Why would you want to limit GAE apps to those sorts of things?  What
about all those apps where there is an interaction between users?

And just because you may have not run into this problem in your
current app(s) doesn't  mean that you will not soon run into it in
your next app.

Amir


 




-- 
http://readmytweets.com
http://chatbotgame.com
http://numbrosia.com
http://twitter.com/amichail

--~--~-~--~~~---~--~~
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] Reading app.yaml from App Engine -- possible?

2008-12-22 Thread Aral

I need to get to the app name at runtime when running on the
deployment environment.

I tried open('app.yaml').read() + a little regexp. Works locally, but
it can't find the file on the deployment environment.

Is it possible to read in app.yaml on deployment?

If not, is there a way to get at the app name?

Thanks,
Aral
--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread yejun


 Why would you want to limit GAE apps to those sorts of things?  What
 about all those apps where there is an interaction between users?


Developers are still struggling to complete some simple tasks such as
pageing through comments with current datastore API. Do you think it
is necessary to have a luxury toilet while you were living in shelter?


--~--~-~--~~~---~--~~
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: Reading app.yaml from App Engine -- possible?

2008-12-22 Thread yejun

import os
os.environ.get('APPLICATION_ID')

On Dec 22, 4:09 pm, Aral a...@aralbalkan.com wrote:
 I need to get to the app name at runtime when running on the
 deployment environment.

 I tried open('app.yaml').read() + a little regexp. Works locally, but
 it can't find the file on the deployment environment.

 Is it possible to read in app.yaml on deployment?

 If not, is there a way to get at the app name?

 Thanks,
 Aral
--~--~-~--~~~---~--~~
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: 1 application, multiple datastores

2008-12-22 Thread hawkett

 No, I don't agree.  Even if we ignore the admin console hole, strict
 data partitioning is a fantasy in an environment where data lives on
 the same hardware.  The google code for handling multiple datastores
 could go wonky.  Or, their user login code could do the wrong thing.

I think you are making a number of mistakes -

1.  Believing that the risk profile of platform code is the same as
your application code (and the 1000's of other developers that roll
their own data security solution because it isn't part of the
platform).  If Google offers it as part of the platform, then it has
been tested by those 1000's of developers, by their customers and by
Google as a major part of a strategic platform offering by a company
with enormous resources.  You state - 'Since the risk of your login
code doing the wrong thing is unacceptable, it's unclear why the risk
of their code doing the wrong thing is any more acceptable' - it is
*absolutely* clear that the risks are not even in the same ballpark.

2.  Not seeing it from the customer's perspective.  What they see is
that every app on GAE is a roll your own data security effort - what a
nightmare - how are they to tell which app was written well and which
wasn't?  How would they even begin to assess the risk profile - do
they have to audit your company's development practices? If Google
offers it as part of the platform the customer knows that every app
shares the same implementation, and (assuming you agree with the first
point) a far less risky one.  Maybe you can write more or equally
stable code than Google, but the customer has know way of knowing that
- I'll bet you that 100% of customer's that approach you for the first
time would rather hear that data security is supplied as part of the
Google platform than by your application code and not because that's
nice - but because this feature *does* affect the real security of
their data.

3.  Thinking strict data partitioning is a fantasy in an environment
where data lives on the same hardware.  I did say strict, not
physical.  I think you are missing the value of the software platform
again - it is not the same thing as application code that runs on the
platform.  You appear to be making a simple distinction between
hardware and software. The application platform is inherently more
robust than your application code.  In fact, given that Google already
have a data partitioning mechanism for applications, I wouldn't be
surprised if it was even lower level than the GAE platform, and part
of the BigTable implementation.  That would make it even more robust
than the GAE platform code.  Which is ludicrously robust compared to
your application code.

4.  Thinking risk reduction is not valuable unless it results in total
risk removal.  Security is all about the management and mitigation of
risk - not necessarily the removal of it.  Remove it if you can,
obviously - but generally this is an unlikely outcome.  We've
identified three threats (admin console error, external app doing
admin, bug in application code) - and you are saying that unless we
remove the first two, why remove the third.  It's false logic, and
poor security.

5.  Confusing a admin error or malicious attack with a software bug.
You state - My point is that that's not true.  If I have access to
multiple admin consoles (for maintenance reasons), I can combine the
results that I get from each of the consoles, effectively giving me
the ability to query against multiple datastores. I can do this with a
program that
'runs' the admin consoles or I can do it by hand.  Can you point me
to the admin console API you'd use to 'run' it via a program - or are
you talking about screen scraping?  Both situations are totally
different scenarios, and risk profiles, to being able to introduce a
bug into your application code that exposes customer data.

6.  Thinking that with strict data partitioning you *will* be able to
introduce a bug into *your* application code that exposes multiple
customers data to multiple other customers via the Datastore API.  And
this is the key - from the customer's perspective - yes they have to
worry about an admin error, or some secondary application you might
write, or a malicious attack, or a defect in the platform code, or a
disgruntled employee - but they don't have to worry about the
application code they use every day, and that is one of their biggest
risk points eliminated - the largest part of your company offering.
Security is about risk mitigation and management.  If you still
disagree, can you please explain to me how the bug would manifest in
your application code (I'm talking about code that runs on GAE, with
strict data partitioning).

In the end, I think it all comes down to point 1, and an understanding
that software security is all about risk mitigation and management.
Control what you can, have contingency for what you can't.  If you
agree with point 1, then you understand my position.  If you don't
agree with point 

[google-appengine] use stored string key to get an entity

2008-12-22 Thread Shay Ben Dov

Hi this is the issue

I have a Transaction model

I do:
transaction=Transaction()
transaction.put()

tr_key = str(transaction.key())

I want to store it in a second mode

class Tag(db.Model):

  transaction = db.Key(encoded=None)
  tag = db.StringProperty(required=True)
  user = db.UserProperty(required=True)

I do:

tag = Tag(transaction=tr_key,)
tag.put()

later on in the application I retrieve the tag entity and I want to
get the transaction back

I do:
tr_key = tag.transaction
transaction = Transaction.get(tr_key)

and I get an error message:
BadKeyError: Key datastore_types.Key.from_path(_app=u'') is not
complete.

Every help or example is very appreciated.

Thanks,

Shay


--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Amir Michail

On Mon, Dec 22, 2008 at 4:09 PM, yejun yej...@gmail.com wrote:


 Why would you want to limit GAE apps to those sorts of things?  What
 about all those apps where there is an interaction between users?


 Developers are still struggling to complete some simple tasks such as
 pageing through comments with current datastore API. Do you think it
 is necessary to have a luxury toilet while you were living in shelter?

Distributed transactions will vastly simplify your life when you need
them.  It's all about making programming easier.

As for paging, it would be nice to have a library for that as well.
But since writing paging code yourself is much easier than distributed
transactions, a distributed transaction library would take priority
over a paging library.

Amir



 




-- 
http://readmytweets.com
http://chatbotgame.com
http://numbrosia.com
http://twitter.com/amichail

--~--~-~--~~~---~--~~
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: Bug in starting app

2008-12-22 Thread SkiSulli

Is it a false positive in the Check Availability widget, or in the
validator on creation of the app (technically false negative).  I am
having the same issue as niek.

On Dec 19, 9:38 am, Marzia Niccolai ma...@google.com wrote:
 Hi Niek,

 Thanks for reporting this issue.  It is indeed a problem with the validate
 function which seems to be a false positive, saying this is available when
 it is not.

 -Marzia

 On Fri, Dec 19, 2008 at 8:46 AM, niek nieko...@gmail.com wrote:

  Hi all,

  when I try to create an application, I get a strange error.

  I go tohttp://appengine.google.com/start.  After authentication by
  mobile phone  has been successful, I get to choose an Application
  Identifier, in my case z00maa. When I push 'check availability' the
  system tells me 'Yes, z00maa is available!'
  After a short period of euphoria, I provide an application title
  Zoomaa, then I push the save-button.

  One would assume that the application id is successfully registered,
  but I get the following message:

  Already Exists
  This application ID or version is already in use.

  First I assumed a problem with the browser, but after trying Opera,
  Safari and Firefox for Mac Os X 10.4.11, build 8S2167, the page is
  refusing to register.

  Google, there's a problem!
  Regards,
  niek

--~--~-~--~~~---~--~~
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: Bug in starting app

2008-12-22 Thread Marzia Niccolai
The app id is validated as available in the 'Check Availability' function,
but it is not actually available.  If you are getting that message when
clicking the 'Create App' button, it definitely means that app id is not
available.

-Marzia

On Mon, Dec 22, 2008 at 1:17 PM, SkiSulli skisu...@gmail.com wrote:


 Is it a false positive in the Check Availability widget, or in the
 validator on creation of the app (technically false negative).  I am
 having the same issue as niek.

 On Dec 19, 9:38 am, Marzia Niccolai ma...@google.com wrote:
  Hi Niek,
 
  Thanks for reporting this issue.  It is indeed a problem with the
 validate
  function which seems to be a false positive, saying this is available
 when
  it is not.
 
  -Marzia
 
  On Fri, Dec 19, 2008 at 8:46 AM, niek nieko...@gmail.com wrote:
 
   Hi all,
 
   when I try to create an application, I get a strange error.
 
   I go tohttp://appengine.google.com/start.  After authentication by
   mobile phone  has been successful, I get to choose an Application
   Identifier, in my case z00maa. When I push 'check availability' the
   system tells me 'Yes, z00maa is available!'
   After a short period of euphoria, I provide an application title
   Zoomaa, then I push the save-button.
 
   One would assume that the application id is successfully registered,
   but I get the following message:
 
   Already Exists
   This application ID or version is already in use.
 
   First I assumed a problem with the browser, but after trying Opera,
   Safari and Firefox for Mac Os X 10.4.11, build 8S2167, the page is
   refusing to register.
 
   Google, there's a problem!
   Regards,
   niek

 


--~--~-~--~~~---~--~~
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: use stored string key to get an entity

2008-12-22 Thread Jesaja Everling

Hi Shay!

Did you try to use ReferenceProperty?

 transaction = db.ReferenceProperty(Transaction)

Best Regards,

Jesaja Everling

On Mon, Dec 22, 2008 at 11:09 PM, Shay Ben Dov shay.ben...@gmail.com wrote:

 Hi this is the issue

 I have a Transaction model

 I do:
 transaction=Transaction()
 transaction.put()

 tr_key = str(transaction.key())

 I want to store it in a second mode

 class Tag(db.Model):

  transaction = db.Key(encoded=None)
  tag = db.StringProperty(required=True)
  user = db.UserProperty(required=True)

 I do:

 tag = Tag(transaction=tr_key,)
 tag.put()

 later on in the application I retrieve the tag entity and I want to
 get the transaction back

 I do:
 tr_key = tag.transaction
 transaction = Transaction.get(tr_key)

 and I get an error message:
 BadKeyError: Key datastore_types.Key.from_path(_app=u'') is not
 complete.

 Every help or example is very appreciated.

 Thanks,

 Shay


 


--~--~-~--~~~---~--~~
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: Use AppEngine on Vista x64

2008-12-22 Thread Chen Harel

Hey, I'm on Intel Core 2 Duo, so I've installed the x86...

On Dec 22, 10:26 pm, yejun yej...@gmail.com wrote:
 Did you install x86 or amd64 python?

 On Dec 22, 2:58 pm, Chen Harel chook.ha...@gmail.com wrote:

  Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64
  Ultimate... (Admin user - NO UTC)
  both dev_appserver.py and appcfg.py gives me the help screen (Like no
  options were included) every single time..
  Please help me help you help me ... What more information do you need
--~--~-~--~~~---~--~~
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: use stored string key to get an entity

2008-12-22 Thread yejun

Key to str conversion is not revertible.

On Dec 22, 5:09 pm, Shay Ben Dov shay.ben...@gmail.com wrote:
 Hi this is the issue

 I have a Transaction model

 I do:
 transaction=Transaction()
 transaction.put()

 tr_key = str(transaction.key())

 I want to store it in a second mode

 class Tag(db.Model):

   transaction = db.Key(encoded=None)
   tag = db.StringProperty(required=True)
   user = db.UserProperty(required=True)

 I do:

 tag = Tag(transaction=tr_key,)
 tag.put()

 later on in the application I retrieve the tag entity and I want to
 get the transaction back

 I do:
 tr_key = tag.transaction
 transaction = Transaction.get(tr_key)

 and I get an error message:
 BadKeyError: Key datastore_types.Key.from_path(_app=u'') is not
 complete.

 Every help or example is very appreciated.

 Thanks,

 Shay
--~--~-~--~~~---~--~~
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: Use AppEngine on Vista x64

2008-12-22 Thread yejun

I have no problem with x86 version.
I have both python and sdk add to system path during installation.

On Dec 22, 5:29 pm, Chen Harel chook.ha...@gmail.com wrote:
 Hey, I'm on Intel Core 2 Duo, so I've installed the x86...

 On Dec 22, 10:26 pm, yejun yej...@gmail.com wrote:

  Did you install x86 or amd64 python?

  On Dec 22, 2:58 pm, Chen Harel chook.ha...@gmail.com wrote:

   Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64
   Ultimate... (Admin user - NO UTC)
   both dev_appserver.py and appcfg.py gives me the help screen (Like no
   options were included) every single time..
   Please help me help you help me ... What more information do you need
--~--~-~--~~~---~--~~
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: Use AppEngine on Vista x64

2008-12-22 Thread Chen Harel

I'm not sure it's the python that is making the problem, because for
instance
I'm in c:\apps
c:\appsdev_appserver.py helloworld
(helloworld is a folder in c:\apps that contains the app.yaml file)
and it still brings me the dev_appserver.py printout (same as help)
and saying the Invalid arguments...


yejun wrote:
 I have no problem with x86 version.
 I have both python and sdk add to system path during installation.

 On Dec 22, 5:29�pm, Chen Harel chook.ha...@gmail.com wrote:
  Hey, I'm on Intel Core 2 Duo, so I've installed the x86...
 
  On Dec 22, 10:26�pm, yejun yej...@gmail.com wrote:
 
   Did you install x86 or amd64 python?
 
   On Dec 22, 2:58�pm, Chen Harel chook.ha...@gmail.com wrote:
 
Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64
Ultimate... (Admin user - NO UTC)
both dev_appserver.py and appcfg.py gives me the help screen (Like no
options were included) every single time..
Please help me help you help me ... What more information do you need
--~--~-~--~~~---~--~~
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: Send and receive mail with embedded images

2008-12-22 Thread Alexander Kojevnikov

Daniel, please post here the link when you submit it, I will
definitely star the issue.

On Dec 23, 4:13 am, Marzia Niccolai ma...@google.com wrote:
 Hi,

 Feature requests can be filed 
 here:http://code.google.com/p/googleappengine/issues/list

 -Marzia

 On Mon, Dec 22, 2008 at 4:43 AM, Daniel Levin danile...@gmail.com wrote:
  Jeff,
     First of all, thank!
    Last thing from this topic: Where should I submit my feature request?

  REGARDS!
  Daniel Levin

  On Thu, Dec 18, 2008 at 5:59 PM, Jeff S j...@google.com wrote:

  Hi Daniel,

  It seems inline attachments with Content ID and MIME Multipart/Related
  Content is not supported in the current mail API, but I think it would
  be a good idea to file this as a feature request.

  Happy coding,

  Jeff

  On Dec 17, 1:55 pm, Jeff S j...@google.com wrote:
   Ah I see. I'm not sure how to do this using the App Engine mail API
   either, I'll ask around.

   Thank you,

   Jeff

   On Dec 17, 11:41 am, Daniel Levin danile...@gmail.com wrote:

Alexander,
 Yes, I do refer to the that method (inline attachment using CID). I
  did it
before with PHP without any problem, very easy. Now I want to migrate
  to
Google App Engine, and I don't see how to implement that.

   Any idea?

Regards,
Daniel Levin
--~--~-~--~~~---~--~~
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: Lost access to my app's Dashboard

2008-12-22 Thread Alexander Kojevnikov

Marzia, this issue comes up at least a few times a week. Would it be
possible for the dashboard to detect what kind of account is used and
either redirect to appengine.google.com/a/YOURDOMAIN.COM or just warn
the user if it's a Google Apps email?

That message on the bottom of the sign in page is very hard to notice.

Thanks!
Alex

On Dec 23, 4:20 am, Marzia Niccolai ma...@google.com wrote:
 Hi,

 This is an issue because the email you are using is both a Google Apps and
 Google Accounts account.  You need to make sure that whenever you access the
 dashboard

 1) You are signed out Google Accounts with this email address
 2) You access the Admin Console at the URL
 appengine.google.com/a/YOURDOMAIN.COM

 -Marzia

 On Mon, Dec 22, 2008 at 4:13 AM, Andrew.T. and...@tetlaw.id.au wrote:

  I have an app on appspot (http://nowroll.appspot.com/) I haven't
  accessed in a while. But now when I click on dashboard in the
  appengine launcher, I get the appengine start page and it looks like
  I've never created an app. Weirdly I can still deploy changes to my
  app and edit the entry in the app gallery.

  Just when I go to teh dashboard I see no apps...
--~--~-~--~~~---~--~~
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: Problem: Mobile Authentication Code not received

2008-12-22 Thread Alexander Kojevnikov

http://code.google.com/appengine/kb/sms.html

On Dec 23, 2:55 am, Sunil Bishnoi bishnoi.su...@gmail.com wrote:
 I was to registering my self to use Google app engine. But i haven't
 received any mobile authentication code on my mobile.

 Any solution for this problem.

 Thanks  Regards
 Sunil Bishnoi
--~--~-~--~~~---~--~~
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: Filtering Using the IN Keyword

2008-12-22 Thread Alexander Kojevnikov

Query.filter() does not support the 'IN' operator:
http://code.google.com/appengine/docs/datastore/queryclass.html#Query_filter

You need to use GQL if you want to have 'IN' in your queries.

On Dec 23, 6:51 am, Chris chriss...@gmail.com wrote:
 How do you use the IN keyword? The datastore query API makes a few
 mentions of it, but there are no examples. I thought it would allow
 you to filter using a list, but a simple query like this fails with
 the error Filtering on lists is not supported:

 from main.models import User
 q=User.all()
 q.filter('username IN',['bob','joe','steve'])
 results = q.fetch(10)
--~--~-~--~~~---~--~~
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: Your app is probably incorrect! [vote up issue 313].

2008-12-22 Thread Peter Recore

I just took a look at the app gallery with this question in mind, and
noticed that most of the apps there are too simple (from a
transactional point of view) to need multiple entity group
transactions.   It's not fair to say that most apps are wrong
without a few examples of ones that at least appear to be wrong.  Of
course, I didn't see any fancy features like the ranking points for
games that you mentioned, or any kind of persistent user data that
could interact with other user data (like transferring money)  I am
however interested in a solution to this problem because I would like
to offer such features in my apps.
--~--~-~--~~~---~--~~
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: Lost access to my app's Dashboard

2008-12-22 Thread Marzia Niccolai
Hi Alex,

The team has been working on a fix for this. But for reasons I'm not
completely sure I understand, it ends up being a more difficult issue to fix
than it appears.

Please know that it is on our radar.

-Marzia

On Mon, Dec 22, 2008 at 3:36 PM, Alexander Kojevnikov 
alexan...@kojevnikov.com wrote:


 Marzia, this issue comes up at least a few times a week. Would it be
 possible for the dashboard to detect what kind of account is used and
 either redirect to appengine.google.com/a/YOURDOMAIN.COM or just warn
 the user if it's a Google Apps email?

 That message on the bottom of the sign in page is very hard to notice.

 Thanks!
 Alex

 On Dec 23, 4:20 am, Marzia Niccolai ma...@google.com wrote:
  Hi,
 
  This is an issue because the email you are using is both a Google Apps
 and
  Google Accounts account.  You need to make sure that whenever you access
 the
  dashboard
 
  1) You are signed out Google Accounts with this email address
  2) You access the Admin Console at the URL
  appengine.google.com/a/YOURDOMAIN.COM
 
  -Marzia
 
  On Mon, Dec 22, 2008 at 4:13 AM, Andrew.T. and...@tetlaw.id.au wrote:
 
   I have an app on appspot (http://nowroll.appspot.com/) I haven't
   accessed in a while. But now when I click on dashboard in the
   appengine launcher, I get the appengine start page and it looks like
   I've never created an app. Weirdly I can still deploy changes to my
   app and edit the entry in the app gallery.
 
   Just when I go to teh dashboard I see no apps...
 


--~--~-~--~~~---~--~~
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: Lost access to my app's Dashboard

2008-12-22 Thread Alexander Kojevnikov

Thank you Marzia!

On Dec 23, 10:55 am, Marzia Niccolai ma...@google.com wrote:
 Hi Alex,

 The team has been working on a fix for this. But for reasons I'm not
 completely sure I understand, it ends up being a more difficult issue to fix
 than it appears.

 Please know that it is on our radar.

 -Marzia

 On Mon, Dec 22, 2008 at 3:36 PM, Alexander Kojevnikov 

 alexan...@kojevnikov.com wrote:

  Marzia, this issue comes up at least a few times a week. Would it be
  possible for the dashboard to detect what kind of account is used and
  either redirect to appengine.google.com/a/YOURDOMAIN.COM or just warn
  the user if it's a Google Apps email?

  That message on the bottom of the sign in page is very hard to notice.

  Thanks!
  Alex

  On Dec 23, 4:20 am, Marzia Niccolai ma...@google.com wrote:
   Hi,

   This is an issue because the email you are using is both a Google Apps
  and
   Google Accounts account.  You need to make sure that whenever you access
  the
   dashboard

   1) You are signed out Google Accounts with this email address
   2) You access the Admin Console at the URL
   appengine.google.com/a/YOURDOMAIN.COM

   -Marzia

   On Mon, Dec 22, 2008 at 4:13 AM, Andrew.T. and...@tetlaw.id.au wrote:

I have an app on appspot (http://nowroll.appspot.com/) I haven't
accessed in a while. But now when I click on dashboard in the
appengine launcher, I get the appengine start page and it looks like
I've never created an app. Weirdly I can still deploy changes to my
app and edit the entry in the app gallery.

Just when I go to teh dashboard I see no apps...
--~--~-~--~~~---~--~~
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: zipimport support for .pyc files: is it an official feature of standard Python?

2008-12-22 Thread Dan Sanderson
Yup, it looks as though the docs for the Python zipimport now include the
.pyc feature.  Great!
More importantly to App Engine users, though, .pyc files in zips are not
supported by App Engine's implementation of zipimport.  dev_appserver will
use Python's zipimport, so when preparing your zips, be careful to include
all .py files so that your zips will work both in dev and on App Engine.

-- Dan

On Mon, Dec 22, 2008 at 3:27 PM, Alexander Konovalenko alex...@gmail.comwrote:

 The Using Django 1.0 on App Engine with Zipimport article by Dan
 Sanderson [1] calls the support for .pyc files an undocumented
 feature of the standard zipimport implementation.

 On the other hand, the module's documentation for Python 2.5.3 [2]
 mentions .pyc files along with .py files everywhere and thus suggests
 that they are equally supported by zipimport. Here are some relevant
 quotations:

 This module adds the ability to import Python modules (*.py, *.py
 [co]) and packages from ZIP-format archives.

 Any files may be present in the ZIP archive, but only files .py
 and .py[co] are available for import. ZIP import of dynamic modules
 (.pyd, .so) is disallowed. Note that if an archive only contains .py
 files, Python will not attempt to modify the archive by adding the
 corresponding .pyc or .pyo file, meaning that if a ZIP archive doesn't
 contain .pyc files, importing may be rather slow.

 Looks like that feature was still undocumented when the article was
 originally written. Should the article be corrected to call it a
 feature that is currently missing from the App Engine implementation
 of zipimport?

 Or do I misunderstand something?

 [1] http://code.google.com/appengine/articles/django10_zipimport.html
 [2] http://www.python.org/doc/2.5.3/lib/module-zipimport.html


--~--~-~--~~~---~--~~
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: Paging vs. crawlers

2008-12-22 Thread Alexander Kojevnikov

 I think you'll find that any good search engine will be able to cope
 just fine with that.

 The best solution, though, is to implement a permalink-like setup, and
 encourage people to use permalinks when they link to your
 application's content.

Thanks Dave!

Unfortunately search engines don't cope with that very well.
Permalinks would work great, but what exactly is a permalink for paged
content? That's right, the page number! And it's something that's
currently impossible to implement on appengine.

I think I didn't explain the problem very well, here's an example to
make it easier to understand:

Let's say we want to page through blog comments, ordered by the
comment_id DESC. If we have 10 comments with ids ranging from 1 to 10
and want to show 5 comments per page, we end up with two pages:

Page 1:
  Comment 10
  ...
  Comment 6
  Next page link: /comments?next=6

Page 2:
  Comment 5
  ...
  Comment 1

Page 2 will take the next parameter and use a query like this for
fetch the comments:

  SELECT * FROM Comment WHERE comment_id  :id ORDER BY comment_id
DESC LIMIT 5

At this point, search engines will index two pages:
  /comments
  /comments?next=6

OK, now the user adds a comment with id 11, the pages now will look
like this:

Page 1:
  Comment 11
  ...
  Comment 7
  Next page link: /comments?next=7

Page 2:
  Comment 6
  ...
  Comment 2

  Next page link: /comments?next=2

Page 3:
  Comment 1

Do you see the problem? For each comment added, search engines will
pick up a new URL. Eventually there will be as many URLs in the index
as there are comments (more or less, depending on how fast the users
post comments and how often search engines crawl the website).

In theory, those phantom URLs should be eliminated by search engines
because they are orphans, that is no other pages on the website link
to them. But in practice it takes awhile for search engines to remove
such pages from the index. And while they wait, they can become non-
orphans again (e.g. after each 5 comments posted).

Does anyone have a solution for this?

Thanks!
Alex
--~--~-~--~~~---~--~~
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: Use AppEngine on Vista x64

2008-12-22 Thread Alexander Kojevnikov

I have no problems running the SDK on Vista x64 with Python 2.5.2 x64.

To troubleshot the problem, you can insert print/assert statements
into the appcfg.py/dev_appserver.py to see which execution path is
taken.

On Dec 23, 9:36 am, Chen Harel chook.ha...@gmail.com wrote:
 I'm not sure it's the python that is making the problem, because for
 instance
 I'm in c:\apps
 c:\appsdev_appserver.py helloworld
 (helloworld is a folder in c:\apps that contains the app.yaml file)
 and it still brings me the dev_appserver.py printout (same as help)
 and saying the Invalid arguments...

 yejun wrote:
  I have no problem with x86 version.
  I have both python and sdk add to system path during installation.

  On Dec 22, 5:29 pm, Chen Harel chook.ha...@gmail.com wrote:
   Hey, I'm on Intel Core 2 Duo, so I've installed the x86...

   On Dec 22, 10:26 pm, yejun yej...@gmail.com wrote:

Did you install x86 or amd64 python?

On Dec 22, 2:58 pm, Chen Harel chook.ha...@gmail.com wrote:

 Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64
 Ultimate... (Admin user - NO UTC)
 both dev_appserver.py and appcfg.py gives me the help screen (Like no
 options were included) every single time..
 Please help me help you help me ... What more information do you need
--~--~-~--~~~---~--~~
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: use stored string key to get an entity

2008-12-22 Thread Alexander Kojevnikov

In your module definition you should use a property class, that is
instead of:

  class Tag(db.Model):
transaction = db.Key(encoded=None)
...

you should use:

  class Tag(db.Model):
transaction = db.StringProperty(required=True)
...

...if you want to store the string representation of the key. Or:

  class Tag(db.Model):
transaction = db.ReferenceProperty(Transaction, required=True)
...

...if you want to store the key itself.

In the former case you should use this code:

  tag = Tag(transaction=str(transaction.key()), ...)
  tag.put()

  # tag.transaction is a string, need to construct the key from it
  tr_key = db.Key(tag.transaction)
  transaction = Transaction.get(tr_key)

And in the latter case:

  tag = Tag(transaction=transaction, ...)
  tag.put()

  # tag.transaction is automatically de-referenced
  transaction = tag.transaction

Hope this helps.

Alex
--
www.muspy.com


On Dec 23, 9:09 am, Shay Ben Dov shay.ben...@gmail.com wrote:
 Hi this is the issue

 I have a Transaction model

 I do:
 transaction=Transaction()
 transaction.put()

 tr_key = str(transaction.key())

 I want to store it in a second mode

 class Tag(db.Model):

   transaction = db.Key(encoded=None)
   tag = db.StringProperty(required=True)
   user = db.UserProperty(required=True)

 I do:

 tag = Tag(transaction=tr_key,)
 tag.put()

 later on in the application I retrieve the tag entity and I want to
 get the transaction back

 I do:
 tr_key = tag.transaction
 transaction = Transaction.get(tr_key)

 and I get an error message:
 BadKeyError: Key datastore_types.Key.from_path(_app=u'') is not
 complete.

 Every help or example is very appreciated.

 Thanks,

 Shay
--~--~-~--~~~---~--~~
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] custom domain problems

2008-12-22 Thread Tiago S.

Hi,

I've a app running with a custom domain and I can't access it anymore
using the domain.

Apparently, the ownership verification has failed and I can't access
the control panel anymore via https://www.google.com/a/cpanel/cruzainhas.com.br
neither add it again, as it says that This domain has been registered
and is in the process of ownership verification. If you believe this
registration was unauthorized, please have your domain administrator
contact Google support.

Could someone at google take a look? My app id is: cruzadinhasbr

Thanks in advance,
Tiago
--~--~-~--~~~---~--~~
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 add 'www' subdomain for app engine service

2008-12-22 Thread paradise

Hi, Marzia,

Thanks for your messages.

I made two screenshot to show you what my domain setting happen.
This is the cpanel Dashboard:
http://dl.getdropbox.com/u/136310/googleapp2008-12-23_105906.png
And this is the start page url setting:
http://dl.getdropbox.com/u/136310/googleapp2008-12-23_110021.png

Can you give me any idea how to delete www.3fan.us from start page?

B. Rgds.
paradise

On Dec 23, 2:51 am, Marzia Niccolai ma...@google.com wrote:
 Hi,

 This page is still mapped to the start page, you will need to eliminate this
 mapping before you can add the 'www' mapping to App Engine.

 This mapping can be found under 'Service Settings'  'Start Page'  Web
 address'.

 -Marzia

 On Sun, Dec 21, 2008 at 10:50 PM, paradise hahag...@gmail.com wrote:

  I met the same problem now. My domain iswww.3fan.us. I set it to
 http://partnerpage.google.com/3fan.usbefore, but now I've changed to
 http://start.3fan.us. After that, I can't makewww.3fan.uspoint to
  any other site.

  Now I'd like to make www.3fan.us point to http://3fan-
  info.appspot.com, but failed to do that even I can map http://
  3fan.us perfectly.
  On Dec 9, 3:38 am, Marzia Niccolai ma...@google.com wrote:
   Hi Josh,

   Can you reply to me with the specific domain?  It sounds like you have
  done
   everything that should work, but without knowing the specific domain I
  can't
   check.

   One other course of action would be to see if you can assign the 'www' to
   some other service such as sites.  If you can add and remove it from
  there,
   you may be able to add it to App Engine.

   -Marzia

   On Sat, Dec 6, 2008 at 9:01 PM, Josh Burley jbur...@gmail.com wrote:

I'm having the same problem, but have not been able to fix it.

Hittingwww.mydomain.comredirectsto start.mydomain.com.

start.mydomain.com does now appear to have a www mapping. I've tried
adding it and removing it, and while it seems to add and remove the
domain fine from the cpanel, it still redirects to start.mydomain.com.
I've also tried disabling the Start page service, but it still does a
redirect.

Any other ideas?

On Oct 12, 4:10 pm, ajablo adam.jablon...@gmail.com wrote:
 Hello Marzia,

 it worked for me as well with the same variation as for Adam the
 2nd ;-)
 The 'www' has finally found its proper place. Many, many thanks for
 your help.

 Greetings,
 Adam

 On Oct 11, 1:16 am, Marzia Niccolai ma...@google.com wrote:

  Hi,

  Can you follow the directions here:

 http://groups.google.com/group/google-appengine/web/deleting-existing.
..

  To see if this helps?  The common case seems like Google Sites is
  using
  'www' whether or not Sites is enabled.

  -Marzia

  On Thu, Oct 9, 2008 at 5:55 PM, Adam Fisk adamf...@gmail.com
  wrote:

   littleshoot.org.  I didn't realize it was awwwissue at first,
  but it
   definitely is.  I'm able to add multiple other subdomains no
  problem.

   On Oct 9, 1:33 pm, Marzia Niccolai ma...@google.com wrote:
Hi Adam,

With which domain are you experiencing this issue?

-Marzia

On Thu, Oct 9, 2008 at 1:27 PM, Adam Fisk adamf...@gmail.com
wrote:

 I have the exact same problem.  Any solutions?  The
  unfortunately
 result is *my site is completely down.*  This makes it
  virtually
 impossible to port awww.* site, which would account for,
  well,
most
 of the sites on the Internet.

 -Adam

 On Oct 9, 11:13 am, ajablo adam.jablon...@gmail.com wrote:
  Hello,

  the domain in question is probud.info
  At the very begining it returned a 404, but it seemed like
  it
  originated from google page creator team (???)
  Then I configured google sites (it was google pages before
  I
guess)
   in
  my apps profile to use 'www' prefix and it worked perfectly
  for
   sites.
  What I did then was to change the sites prefix from 'www'
  to
  'temp' (both in my domain's CNAME records) just to try if
  maybe
this
  time my appengine's service will work under 'www',
unfortunately it
  didn't. Any attempt to assign it to appengine service is
  simply
  ignored without any error message.
  Current status is: I disabled sites completely for my
  domain
(prefix
  history for sites is 'www' - 'temp' - disabled), when I
  open
 bothwww.probud.infoandtemp.probud.infoIget'forbiddenerror
  403'
   now.
  Assigning 'www' to my appengine service still fails.
  It seems like google has a big mess in there?

  Many thanks for your help,
  Adam

  On Oct 9, 6:57 pm, Marzia Niccolai ma...@google.com
  wrote:

   Hi,

   Can you please reply with the domain experiencing the
  issue?
 Also
   if
 you go
   towww.yourdomain.comanditdoesnotreturna404, 

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-22 Thread Pete Koomen
Hi Thomas--this is correct.  The quotas not marked as adjustable will be
raised considerably when Billing is released.

Pete

On Mon, Dec 22, 2008 at 2:02 PM, Thomas Johansson prenc...@gmail.comwrote:


 It's 1.3 million currently, meaning about 15.42 req/s for the *entire*
 day. It's been growing over time though. I believe the hard limit
 until very recently was 650.000.

 My guess is that the request limit and a lot of other quotas will get
 adjusted based on the payable ones. The request limit for example will
 probably rise with bandwidth allotment.

 On Dec 22, 4:34 pm, bFlood bflood...@gmail.com wrote:
  I noticed in the new quotas page that number of requests is not
  adjustable. so no matter what, if a site gets a spike in traffic that
  is larger then the default request limit, it will be shutdown? this
  seems odd to me, althought maybe I really need to examine how large
  the cap is first
 
  cheers
  brian
 
  On Dec 21, 2:10 pm, Thomas Johansson prenc...@gmail.com wrote:
 
   The docs are fine, I was referring to the billing of the other quotas.
   Or will they rise proportionally to CPU usage, storage and bandwidth?
 
   - Thomas
 
   On Dec 21, 7:56 pm, Dan Sanderson dansander...@google.com wrote:
 
On Sat, Dec 20, 2008 at 11:06 PM, Thomas Johansson 
 prenc...@gmail.comwrote:
 
 Speaking of the billing, perhaps you can elaborate on the other
 quotas
 in place, like sending emails, urlfetch and so forth?
 
The best sources of info on the quotas right now are the Quotas
 section of
the Admin Console, and the new section in the documentation:
 http://code.google.com/appengine/docs/quotas.html
 
The docs have the definitions, and the Console has the precise
 amounts for
your application (the free levels) and how much your app has used in
 the
past 24 hours.  Please let me know if you have any further questions
 after
looking at these pages, so we can improve the docs.
 
-- Dan
 
 
 



-- 
Pete

--~--~-~--~~~---~--~~
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: Over Quota: Datastore Indices Count

2008-12-22 Thread koji matsui

Hi, Marzia.

I'm sorry I forgot to tell you my app id.
My app id is book-case-2

Thanks.

2008/12/23 Marzia Niccolai ma...@google.com:
 Hi,

 If you reply to me with your app id, I will be able to fix this.

 -Marzia

 On Fri, Dec 19, 2008 at 11:40 PM, paptimus papti...@gmail.com wrote:

 Hi, GAE team.

 I encountered Your application is exceeding a quota: Datastore
 Indices Count on dashboard.

 The number of indeces is under 50, but one model has about 30 indeces.
 So I think this one is the point of over quota warning and vacuumed
 these indeces.
 Vacuume_index was completed and there is no index of that model.

 But the warging of over quota ramains over 24 hours and the status of
 a new index remains building.

 I hope you check my index and change the status to Error if my index
 has problems, please.

 Thanks.



 




-- 
-
koji matsui

--~--~-~--~~~---~--~~
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: form.as_p

2008-12-22 Thread woods

class PostForm(forms.ModelForm):
class Meta:
model = Post
exclude = ['author','permalink','tags', 'lastCommentedDate',
'commentcount','visitcount', 'lastModifiedDate', 'lastModifiedBy', ]


There's a exclude property, when you define your form. Add the items
that you don't want to show on the page.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---