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

2009-03-17 Thread K_Reverter

I hope to use "dituren.appspot.com" as my app id very much.Because I
already registered "dituren-mapplet.appspot.com","dituren-
service.appspot.com" and "dituren-www.appspot.com".

Also I'm the owner of domain "dituren.cn" and "dituren.com".

I tried send mail to "ditu...@gmail.com" and "d1tu...@gmail.com" and
the Gmail server return a error.

So I think I can use this appid,

Can you tell me why "dituren" was reserved?

On Mar 11, 12:13 am, Marzia Niccolai  wrote:
> Hi,
>
> Yes, it has already been reserved.
>
> -Marzia
>
>
>
> On Tue, Mar 10, 2009 at 6:04 AM, K_Reverter  wrote:
>
> > But I don't think anyone already reserved "d1turen" or "dituren" as
> > Gmail username or Appspot Id.
>
> > Can anyone tell me why "dituren" is reserved?
>
> > On 3月10日, 上午2时43分, Marzia Niccolai  wrote:
> > > Hi,
>
> > > This is a known issue with the 'Check availability' functionality.  Gmail
> > > and App Engine share the same namespace, but in Gmail when you reserve eg
> > > d1turen, dituren is also reserved. The Check availability function does
> > not
> > > correctly check for this case.
>
> > > So if you get the message 'This application ID or version is already in
> > use'
> > > you will not be able to reserve the id.
>
> > > -Marzia
>
> > > On Mon, Mar 9, 2009 at 6:11 AM, K_Reverter  wrote:
>
> > > > When I create create an application as "dituren.appspot.com"
>
> > > > I got a 400 error "This application ID or version is already in use."
>
> > > > But when I click the "Check availability" ,
> > > >  I got a message "Yes, "dituren" is available!"
>
> > > > Why? Please help me!- 隐藏被引用文字 -
>
> > > - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread iceanfire

 var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
  } else if( document.documentElement &&
( document.documentElement.clientWidth ||
document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth ||
document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
  }

On Mar 17, 6:53 pm, jago  wrote:
> I am a total Javascript agnostic. I guess you do not have some example
> Python/Javascript code?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: ImportError: No module named twitter

2009-03-17 Thread Kajikawa Jeremy
are you installing the module into the local python library of modules
  for local use?

My understanding is original sources for modules not in the GAE stdlib
  need to be included with the project itself to make them work.

if the module is named "mymod" then it will need to be
  in "projectpath"/"mymod" ...

I hope this is clear for you.

 Jeremy

On Tue, 2009-03-17 at 20:56 +0530, venkat rambotla wrote:
> I created a application in pydev enviroment using twitter api
> 
> import twitter
> api = twitter.Api()
> api = twitter.Api(username='', password='')
> users = api.GetFriends()
> print [u.name for u in users]
> 
> its working fine in pydev environment,but when i am accessing through
> http://localhost:portnumber,
> i am geeting the following errors
> 
> ERROR2009-03-17 12:20:08,828 dev_appserver.py] Encountered error
> loading module "getnames":  'google.appengine.tools.dev_appserver.CouldNotFindModuleError'>:
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1736, in LoadTargetModule
>module_code = import_hook.get_code(module_fullname)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1599, in get_code
>full_path, search_path, submodule = self.GetModuleInfo(fullname)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1552, in GetModuleInfo
>source_file, pathname, description = self.FindModuleRestricted
> (submodule, fullname, search_path)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1326, in FindModuleRestricted
>raise CouldNotFindModuleError()
> CouldNotFindModuleError
> ERROR2009-03-17 12:20:08,828 dev_appserver.py] Parent package
> initialization files are present, but must be broken
> ERROR2009-03-17 12:20:08,858 dev_appserver.py] Exception
> encountered handling request
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 2711, in _HandleRequest
>base_env_dict=env_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 380, in Dispatch
>base_env_dict=base_env_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1998, in Dispatch
>self._module_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1916, in ExecuteCGI
>reset_modules = exec_script(handler_path, cgi_path, hook)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1812, in ExecuteOrImportScript
>exec module_code in script_module.__dict__
>  File "D:\Projects\PythonTwitter\src\getnames.py", line 6, in
> 
>import twitter
> ImportError: No module named twitter
> INFO 2009-03-17 12:20:08,858 dev_appserver.py] "GET / HTTP/1.1"
> 500 -
> ERROR2009-03-17 12:21:03,437 dev_appserver.py] Encountered error
> loading module "getnames":  'google.appengine.tools.dev_appserver.CouldNotFindModuleError'>:
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1736, in LoadTargetModule
>module_code = import_hook.get_code(module_fullname)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1599, in get_code
>full_path, search_path, submodule = self.GetModuleInfo(fullname)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1552, in GetModuleInfo
>source_file, pathname, description = self.FindModuleRestricted
> (submodule, fullname, search_path)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1326, in FindModuleRestricted
>raise CouldNotFindModuleError()
> CouldNotFindModuleError
> ERROR2009-03-17 12:2

[google-appengine] Re: Parallel urlfetch utility class / function.

2009-03-17 Thread Joe Bowman

This may be a really dumb question, but.. I'm still learning so...

Is there a way to do something other than a direct api call
asynchronously? I'm writing a script that pulls from multiple sources,
sometimes with higher level calls that use urlfetch, such as gdata.
Since I'm attempting to pull from multiple sources, and sometimes
multiple urls from each source, I'm trying to figure out if it's
possible to run other methods at the same time.

For example, I want to pull a youtube entry for several different
authors. The youtube api doesn't allow multiple authors in a request
(I have a enhancement request in for that though), so I need to do a
yt_service.GetYouTubeVideoFeed() for each author, then splice them
together into one feed. As I'm also working with Boss, and eventually
Twitter, I'll have feeds to pull from those sources as well.

My current application layout is using appengine-patch to provide
django. I've set up a Boss and Youtube "model" with get methods that
handle getting the data. So I can do something similar to:

web_results = models.Boss.get(request.GET['term'], start=start)
news_results = models.Boss.get(request.GET['term'], vertical="news",
start=start)
youtube = models.Youtube.get(request.GET['term'], start=start)

Ideally, I'd like some of those models to be able to do asynchronous
tasks within their get function, and then also, I'd like to run the
above requests at the same, which should really speed the request up.


On Mar 17, 9:20 am, Joe Bowman  wrote:
> Thanks,
>
> I'm going to give it a go for urlfetch calls for one project I'm
> working on this week.
>
> Not sure when I'd be able to include it in gaeutiltiies for cron and
> such, that project is currently lower on my priority list at the
> moment, but can't wait until I get a chance to play with it. Another
> idea I had for it is the ROTmodel (retry on timeout model) in the
> project, which could speed that process up.
>
> On Mar 17, 9:11 am, David Wilson  wrote:
>
> > 2009/3/16 Joe Bowman :
>
> > > Wow that's great. The SDK might be problematic for you, as it appears
> > > to be very single threaded, I know for a fact it can't reply to
> > > requests to itself.
>
> > > Out of curiosity, are you still using base urlfetch, or is it your own
> > > creation? While when Google releases their scheduled tasks
> > > functionality it will be less of an issue, if your solution had the
> > > ability to fire off urlfetch calls and not wait for a response, it
> > > could be a perfect fit for the gaeutilities cron utility.
>
> > > Currently it grabs a list of tasks it's supposed to run on request,
> > > sets a timestamp, runs one, the compares now() to the timestamp and if
> > > the timedelta is more than 1 second, stops running tasks and finishes
> > > the request. It already appears your project would be perfect for
> > > running all necessary tasks at once, and the MIT License I believe is
> > > compatible with the BSD license I've released gaeutilities, so would
> > > you have any personal objection to me including it in gaeutilities at
> > > some point, with proper attribution of course?
>
> > Sorry I missed this in the first reply - yeah work away! :)
>
> > David
>
> > > If you haven't see that project, it's url 
> > > ishttp://gaeutilities.appspot.com/
>
> > > On Mar 16, 11:03 am, David Wilson  wrote:
> > >> Joe,
>
> > >> I've only tested it in production. ;)
>
> > >> The code should work serially on the SDK, but I haven't tried yet.
>
> > >> David.
>
> > >> 2009/3/16 Joe Bowman :
>
> > >> > Does the batch fetching working on live appengine applications, or
> > >> > only on the SDK?
>
> > >> > On Mar 16, 10:19 am, David Wilson  wrote:
> > >> >> I have no idea how definitive this is, but literally it means wall
> > >> >> clock time seems to be how CPU cost is measured. I guess this makes
> > >> >> sense for a few different reasons.
>
> > >> >> I found some internal function
> > >> >> "google3.apphosting.runtime._apphosting_runtime___python__apiproxy.get_requ
> > >> >>  est_cpu_usage"
> > >> >> with the docstring:
>
> > >> >>     Returns the number of megacycles used so far by this request.
> > >> >>     Does not include CPU used by API calls.
>
> > >> >> Calling it, then running time.sleep(5), then calling it again,
> > >> >> indicates thousands of megacycles used, yet in real terms the CPU was
> > >> >> probably doing nothing. I guess Datastore CPU, etc., is added on top
> > >> >> of this, but it seems to suggest to me that if you can drastically
> > >> >> reduce request time, quota usage should drop too.
>
> > >> >> I have yet to do any kind of rough measurements of Datastore CPU, so
> > >> >> I'm not sure how correct this all is.
>
> > >> >> David.
>
> > >> >>  - One of the guys on IRC suggested this means that per-request cost
> > >> >> is scaled during peak usage (and thus internal services running
> > >> >> slower).
>
> > >> >> 2009/3/16 peterk :
>
> > >> >> > A couple of questions re. CPU usage..
>
> > >> >> > "CPU time quota 

[google-appengine] Re: Apostrophe in key_name error

2009-03-17 Thread Albert


Hi Marzia!

Thank you for replying...

I tried it again, and it didn't work for a while... And then suddenly
it started working... I have completely no idea what went on...

Anyway, thank you!
--~--~-~--~~~---~--~~
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 source code --help retrieving

2009-03-17 Thread Sargis Dallakyan

I came across this nice app recently:
http://enter.appspot.com

I would try the following, if I was in your place:
Register another app with the same account and upload this app and
maybe this one for debugging:
http://con.appspot.com

Your app engine files are located at "/base/data/home/apps/"+app_id
+"/"+version_id. You can find your
app_id and version_id by logging into App Engine and checking your
Dashboard url:

See if you can list your app egine directory from another app, you
created, and let us know if you succeed.


On Mar 17, 1:12 pm, Geetha  wrote:
> Hi
>
> I have uploaded my code into appspot.com and i lost my source code
> unfortunately..
>
> is there anyway i can get my source code from my running site>?
>
> any help..
>
> 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: ImportError: No module named twitter

2009-03-17 Thread Tim Bull

Tad obvious perhaps but in the interest of offering some assistance,
remember if it's not a standard GAE module, you have to include the
python lib into the directory of the application.

So if you're application is called "twitterbot" for example, you
should have a directory under this directory called twitter (e.g.
\twitterbot\twitter) and the library files for the twitter python lib
should be in the twitter directory.

On a seperate note, from what I've read, I don't believe that the
twitter python lib works natively with GAE and needs some modification
because it uses a C optimised JSON library which is not supported in
GAE -- I could be wrong on this, just a heads up, you might want to
check this out if you have issues.

As a further note, if you're developing any kind of "serious" twitter
app, search the code forums here, there are a lot of complaints about
Twitter API limits being reached because of the number of Twitter Apps
calling from GAE -- Twitter can't distinguish between them so they are
hitting API limits very regularly.

Cheers,

Tim

On Mar 18, 2:26 am, venkat rambotla  wrote:
> I created a application in pydev enviroment using twitter api
>
> import twitter
> api = twitter.Api()
> api = twitter.Api(username='', password='')
> users = api.GetFriends()
> print [u.name for u in users]
>
> its working fine in pydev environment,but when i am accessing 
> throughhttp://localhost:portnumber,
> i am geeting the following errors
>
> ERROR    2009-03-17 12:20:08,828 dev_appserver.py] Encountered error
> loading module "getnames":  'google.appengine.tools.dev_appserver.CouldNotFindModuleError'>:
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1736, in LoadTargetModule
>    module_code = import_hook.get_code(module_fullname)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>    return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1599, in get_code
>    full_path, search_path, submodule = self.GetModuleInfo(fullname)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>    return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1552, in GetModuleInfo
>    source_file, pathname, description = self.FindModuleRestricted
> (submodule, fullname, search_path)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>    return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1326, in FindModuleRestricted
>    raise CouldNotFindModuleError()
> CouldNotFindModuleError
> ERROR    2009-03-17 12:20:08,828 dev_appserver.py] Parent package
> initialization files are present, but must be broken
> ERROR    2009-03-17 12:20:08,858 dev_appserver.py] Exception
> encountered handling request
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 2711, in _HandleRequest
>    base_env_dict=env_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 380, in Dispatch
>    base_env_dict=base_env_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1998, in Dispatch
>    self._module_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1916, in ExecuteCGI
>    reset_modules = exec_script(handler_path, cgi_path, hook)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1812, in ExecuteOrImportScript
>    exec module_code in script_module.__dict__
>  File "D:\Projects\PythonTwitter\src\getnames.py", line 6, in
> 
>    import twitter
> ImportError: No module named twitter
> INFO     2009-03-17 12:20:08,858 dev_appserver.py] "GET / HTTP/1.1"
> 500 -
> ERROR    2009-03-17 12:21:03,437 dev_appserver.py] Encountered error
> loading module "getnames":  'google.appengine.tools.dev_appserver.CouldNotFindModuleError'>:
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1736, in LoadTargetModule
>    module_code = import_hook.get_code(module_fullname)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 982, in decorate
>    return func(self, *args, **kwargs)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 1599, in get_code
>    full_path, search_path, submodule = self.GetModuleInfo(fullname)
>  File "C:\Program Files\Google\google_appengine\google\appen

[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread Andrew Badera
www.google.com buddy.

this is old school easy stuff. don't be lazy.



On Tue, Mar 17, 2009 at 8:53 PM, jago  wrote:

>
> I am a total Javascript agnostic. I guess you do not have some example
> Python/Javascript code?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread jago

I am a total Javascript agnostic. I guess you do not have some example
Python/Javascript code?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Lost source code --help retrieving

2009-03-17 Thread GregF

See first issue at...

http://knol.google.com/k/marce/app-engine-community-faqs/vkzeph4si12v/1#

Basically you can't get it back - real developers use a version
control system.


--~--~-~--~~~---~--~~
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: Latency Issues Stabilized

2009-03-17 Thread Marzia Niccolai
Hi,

The latency has been resolved, I believe Pete's email meant the following
line 'During the week of March 2nd' to indicate the duration of the
downtime.  In the future we will make sure that the language is more clear
when expressing the timeframe when any issue occurred.

-Marzia

On Tue, Mar 17, 2009 at 3:08 AM, Alex Popescu <
the.mindstorm.mailingl...@gmail.com> wrote:

>
> Looks like I've forgot to include the link to the discussion thread:
>
> Latency Issues Stabilized:
>
> http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/c1e5c4ca861362f
>
> ./alex
>
> On Mar 17, 12:07 pm, Alex Popescu
>  wrote:
> > I've just read the "Latency Issues Stabilized" notification and I'd
> > like to firstly thank you for taking the time to explain the problems.
> > Anyways, I'd also like to point out that the 2 messages in the thread
> > are not clearly stating if the problem is 100% solved.
> >
> > While the first message in the thread (dated Mar.5) mentioned that:
> >
> > [quote]
> > Performance has greatly improved. Latency does remain
> > slightly higher for some apps, but all spikes and errors have been
> > contained at this time. System performance should remain stable
> > throughout the weekend and improve further at the beginning of next
> > week.
> > [/quote]
> >
> > there is no clear indication in the second message (dated Mar.16) if
> > the issue is solved and if the latency is completely back to normal.
> >
> > cheers,
> >
> > ./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: Can Google Apps Account be an Administrator?

2009-03-17 Thread Marzia Niccolai
Hi,

If you reply to me with the email addresses and app id I can further
investigate the issue.

It is important, in general, that you not be logged in to a Google Account
and Google Apps account at the same time when accepting an invitation to
develop.

-Marzia

On Mon, Mar 16, 2009 at 8:10 PM, Scumbag wrote:

>
> I've got a Google App Engine application which is using Google
> Accounts for authentication.
>
> The application was created by a Google Apps user.  If I try to add a
> new developer, and they accept the invitation using a Google Account,
> then they can't see the application.  Note that the acceptance is
> registered and the new user is listed as an active developer.
>
> If the new user instead tries to login using Google Apps
> authentication, then they can successfully see the Google App Engine
> application.
>
> Does that make sense?
>
> The problem I've got is that I cannot use the is_current_user_admin()
> function.  To my application, all users appear as ordinary users -
> because all the Developers/Administrators have to login using a Google
> Apps account.
>
>
> On Feb 27, 5:45 am, Marzia Niccolai  wrote:
> > Hi,
> >
> > Yes, Google Apps accounts can be admins of an application.  However, it's
> > really only suggested that they are admins of an application where the
> > authentication option of an app is also set to Google Apps.
> >
> > Generally, in order to sign in to an application as an admin, the type of
> > account must match the authentication setting for that app.  This is
> because
> > the app can only serve the authentication page that matches it's
> > authentication option.
> >
> > We have an article on the subject which may be slightly more clear:
> http://code.google.com/appengine/articles/auth.html
> >
> > If it sounds confusing, that's because it is.  Especially because you can
> > have emails that are both Google Accounts and Google Apps accounts.  All
> I
> > can say on that is that we hope in the future we can make it less
> confusing
> > for all our users, but we aren't there yet.
> >
> > -Marzia
> >
> > On Thu, Feb 26, 2009 at 10:37 AM, lenza  wrote:
> >
> > > I signed up for GAE using my Google Apps account, not a gmail.com
> > > account.  I can access the administrator console with this account.
> > > However, I cannot access pages where I have "login: admin" set.  Also
> > > users.is_current_user_admin() returns False when signed into my Google
> > > Apps account.
> >
> > > I also have an gmail.com account that I just added as an
> > > administrator.  This account can access "login: admin" pages and
> > > users.is_current_user_admin() returns True.
> >
> > > Is this a known issue?
> >
> >
> >
>

--~--~-~--~~~---~--~~
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: lots of datastore timeouts in our app

2009-03-17 Thread WallyDD

It's happening with one of my apps as well. It seems somewhat
sporadic.

Looks like I will have to track it down. Would be nice if we could set
the version we are using.

On Mar 17, 12:09 am, Gee  wrote:
> sorry to keep replying to my own thread lol
>
> I tracked it down... seems that a get() is now throwing an exception
> where it wasn't before... (maybe because its empty)
>
> I just catch it instead of proceeding and the code works again (since
> I dont want to do anything when its empty anyway)
>
> just an fyi for anyone taht sees this.
>
> also, if someone from google can verify that the behavior changed,
> that would be awesome thanks!
>
> On Mar 16, 8:55 pm, Gee  wrote:
>
> > hmm will it show 500 error if the model is empty?  that might be
> > why...  but still getting lots of timeouts.   will look into it more,
> > but let me know if anyone else is seeing this.. thanks!
>
> > On Mar 16, 8:54 pm, Gee  wrote:
>
> > > Hello,
>
> > > we are seeing repeated timeouts on one of our models in the
> > > datastore.  I also cannot view it in the admin console... it returns a
> > > 500 server error.  I can view the other models just fine.
>
> > > Our app id is: rotzy
>
> > > please help 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] App Engine Chat Time!

2009-03-17 Thread Jason

Hi Everyone!

Every first and third Wednesday of the month, the App Engine team
hosts IRC Chat Time, an opportunity for you to get answers to your App
Engine-related questions in real-time.

Here's the schedule:
- Every FIRST Wednesday of the month from 7:00 to 8:00 p.m. PDT
- Every THIRD Wednesday of the month from 9:00 to 10:00 a.m. PDT

So our schedule for the next few months looks like:
- March 18, 9:00-10:00 a.m. PDT
- April 1, 7:00-8:00 p.m. PDT
- April 15, 9:00-10:00 a.m. PDT
- May 6, 7:00-8:00 p.m. PDT
- May 20, 9:00-10:00 a.m. PDT
...

These chat sessions take place on the #appengine channel on
irc.freenode.net. For a list of IRC clients, see the following URL:

http://en.wikipedia.org/wiki/List_of_IRC_clients for a helpful

We welcome all App Engine-related questions and we will try to answer
as many as we can in the hour session.

See you there!
- Jason
--~--~-~--~~~---~--~~
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: Daily Snapshot of Dashboard

2009-03-17 Thread Tim Hoffman

Better yet would be an api call(s)  that let you get all of the values
displayed in the dashboard
so you can do what you want with the totals ;-)

T

On Mar 18, 6:20 am, wsstefan  wrote:
> Is there any way to snapshot your dashboard automatically at the end
> of the 24hr period and have it emailed to you?  Better yet it would be
> incredibly useful for visualizing trends to be able to view that last
> 30 days of end-of-day snapshots.
--~--~-~--~~~---~--~~
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: Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread Andrew Badera

Google Analytics does it with JavaScript.

The information has to be sent by the client. If they're calling a web
page, you can put JavaScript on it to obtain this info.




On Tue, Mar 17, 2009 at 6:11 PM, jago  wrote:
>
> I see in Google Analytics they have info about screen size, Flash and
> Java support, etc.
>
> How do they get this?
>
> Can I get the same in Appengine?
> >
>

--~--~-~--~~~---~--~~
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] Is there a way to get the Clients screen size with Appengine?

2009-03-17 Thread jago

I see in Google Analytics they have info about screen size, Flash and
Java support, etc.

How do they get this?

Can I get the same in Appengine?
--~--~-~--~~~---~--~~
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] Daily Snapshot of Dashboard

2009-03-17 Thread wsstefan

Is there any way to snapshot your dashboard automatically at the end
of the 24hr period and have it emailed to you?  Better yet it would be
incredibly useful for visualizing trends to be able to view that last
30 days of end-of-day snapshots.
--~--~-~--~~~---~--~~
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] Random 404 errors returned for static content

2009-03-17 Thread Matthew Trinneer

Hi All,

Today I've been receiving 404 errors when fetching static content.
These occur randomly, perhaps once every 30 requests and exhibit no
apparent pattern that I can discern.  The errors occur on random
documents, like fetching an image or JS script.  A request sent
immediately after the 404 for the same object will 9/10 times return
without error.

Anyone else seeing similar behaviour?

Thanks, Matt
--~--~-~--~~~---~--~~
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 source code --help retrieving

2009-03-17 Thread xml2jsonp

"How to retrieve back the remote code?"
http://groups.google.com/group/google-appengine/browse_thread/thread/dd77c67560ec43/a364c04b1d67ab58?lnk=gst&q=recover+source#a364c04b1d67ab58

--
See my apps:
http://appgallery.appspot.com/about_app?app_id=agphcHBnYWxsZXJ5chQLEgxBcHBsaWNhdGlvbnMYpdgFDA

On Mar 17, 9:12 pm, Geetha  wrote:
> Hi
>
> I have uploaded my code into appspot.com and i lost my source code
> unfortunately..
>
> is there anyway i can get my source code from my running site>?
>
> any help..
>
> 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: Lost source code --help retrieving

2009-03-17 Thread xml2jsonp

"How to retrieve back the remote code?"
http://groups.google.com/group/google-appengine/browse_thread/thread/dd77c67560ec43/a364c04b1d67ab58?lnk=gst&q=recover+source#a364c04b1d67ab58

--
Let Delete My Apps
http://pyoohtml.appspot.com/let-delete-my-apps/home
.
.
.
.
.
.
On Mar 17, 9:12 pm, Geetha  wrote:
> Hi
>
> I have uploaded my code into appspot.com and i lost my source code
> unfortunately..
>
> is there anyway i can get my source code from my running site>?
>
> any help..
>
> 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] Lost source code --help retrieving

2009-03-17 Thread Geetha

Hi

I have uploaded my code into appspot.com and i lost my source code
unfortunately..

is there anyway i can get my source code from my running site>?

any help..

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] How to retrieve my uploaded code.

2009-03-17 Thread Geetha

Hi,

I have uploaded my source code onto appengine site in appspot.com few
weeks ago, and unfortunately i lost my source code .Is there anyway i
can retreive my code from my site??

I did have any latest code as backup..

Please help

-Geetha

--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Nora

I need to use the nltk on the input from the user  (things like
stemming the word, tokenizing it) and then use the stemmedTokenized
word to search my Quran database.Do you think this will post a
problem?

Thank you very muchyou have been very very helpful to me.

On Mar 17, 3:20 pm, Tim Hoffman  wrote:
> I noticed you posted the same question to nltk group,
> if you are planning on using nltk I think what i said earlier won't
> work
> if you are planning on using nltk to process the text,
>
> you may need to do some rethinking on your approach
>
> T
>
> On Mar 17, 11:52 pm, Nora  wrote:
>
>
>
> > Thank you very much for your helpmuch appreciated.
>
> > One last thing, could you please point me on to where to find
> > information about model objects creation...is that the datastore
> > thing?
>
> > On Mar 17, 2:45 pm, Tim Hoffman  wrote:
>
> > > Hi
>
> > > Ok, that better much more info ;-)
>
> > > Really you should create model objects which representing
> > > chapters, verses and parallel translation of each verse, along
> > > with appropriate metadata or references that will allow you to find
> > > the
> > > appropriate translation.
>
> > > Whilst you example might have worked in dev (thats because dev doesn't
> > > enforce transaction/request limits)
> > > you really have no chance of getting this application to scale.
>
> > > There is another way, (but gae is really designed for what I described
> > > earlier)
> > > You could preparse all the chapters and verses in to the dictionaries
> > > as you are currently doing
> > > offline, (ie not even under the dev server) then write those
> > > dictionaries as strings to files so that the output is something like
> > > as follows
>
> > > for instance. file mybook.py contains the following
>
> > > book = {'chapter1': {'verse1':'some text'}}
> > > (I have left out lots of data ;-)
>
> > > Then in your code you could import  mybook e.g.
>
> > > import mybook
> > > mybook.book['chapter1']['verse1']
>
> > > But really you should learn all about models ;-)
>
> > > See ya
>
> > > T
>
> > > Then you could import the module
>
> > > On Mar 17, 11:34 pm, Nora  wrote:
>
> > > > My application is a keyword search query tool that uses the
> > > > Quran.  I am loading 2 copies of the English Quran(where every verse
> > > > has eight parallel english translations) and two Arabic copies of the
> > > > Quran.  The Quran has 114 chapters and the longest chapter has 285
> > > > versesjust to give you an idea of the size of the data that needs
> > > > to be loaded.
>
> > > > Does that help at allI am really stuck into this as the
> > > > application worked fine on my computer before uploading it to the
> > > > server but now it is not!!  very disappointing and I have little
> > > > background about databases and datastores and how to search these
> > > > structures
>
> > > > Thank you very much for your great help,
>
> > > > Nora
>
> > > > On Mar 17, 2:14 pm, Tim Hoffman  wrote:
>
> > > > > for instance you could preparse these text files and generate python
> > > > > code
> > > > > which you would just import
>
> > > > > What sort of data  do you have in your text file and how do you plan
> > > > > to use it ?
> > > > > How many records (dictionary keys and values) are in these text
> > > > > file ?
>
> > > > > That would help me formulate a clearer example.
>
> > > > > However do you really need all of that data in memory for every
> > > > > request?
>
> > > > > T
>
> > > > > On Mar 17, 11:01 pm, Nora  wrote:
>
> > > > > > Thank you for your reply.
>
> > > > > > Well, to make myself clearer
> > > > > > My application has to load a massive amount of information from text
> > > > > > files when it first loads...
> > > > > > Now, I am interested in your second option but could you make it
> > > > > > clearer please.
>
> > > > > > Thank you again.
>
> > > > > > On Mar 17, 1:40 pm, Tim Hoffman  wrote:
>
> > > > > > > Why do you need to load that much data into memory on eachrequest
> > > > > > > if you are creating a dictionary you could
>
> > > > > > > 1.  create model entities for each dictionary
> > > > > > > and load them as required by their key
>
> > > > > > > 2. preprocess the text files into dictionary code and import them
>
> > > > > > > T
>
> > > > > > > On Mar 17, 9:59 pm, Nora  wrote:
>
> > > > > > > > Hello,
> > > > > > > > My application needs muchtimeto load some text files into
> > > > > > > > dictionaries in memory.  I am unable to load all the data 
> > > > > > > > because of
> > > > > > > > therequesttimelimitation.  Is there another way of getting 
> > > > > > > > around
> > > > > > > > this?
>
> > > > > > > > Thank you very much.- Hide quoted text -
>
> > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed t

[google-appengine] Re: How to tell if two entities belong to the same entity group?

2009-03-17 Thread David Wilson

woeful hack, but maybe something like..


def to_path(key):
output = []
while key:
output.append(key.name() if key.name() else key.id())
output.append(key.kind())
key = key.parent()

return tuple(reversed(output))

e1_path = to_path(e1.key())
e2_path = to_path(e2.key())
same_group = e1_path[:-2] and e1_path[:-2] == e2_path[:-2]



2009/3/17 chadwackerman :
>
> I want to verify programmatically that "thing" and "stuff" belong to
> the same entity group.
>
> Anyone know the mojo?
>
> >
>



-- 
It is better to be wrong than to be vague.
  — Freeman Dyson

--~--~-~--~~~---~--~~
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 tell if two entities belong to the same entity group?

2009-03-17 Thread chadwackerman

I want to verify programmatically that "thing" and "stuff" belong to
the same entity group.

Anyone know the mojo?

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

2009-03-17 Thread Tim Hoffman

try

python dev_appserver.py

On Mar 17, 2:20 pm, venkat rambotla  wrote:
> Hi Jyothi,
>
> Thanks for ur suggestion...
> I am facing a problem when i am running ur suggested command from command
> prompt its
> saying 'dev_appserver.py is not a internal or external command,operable
> program or batch file..
>
> please help
>
> Thanking You,
> Regards,
> Venky
>
> On Thu, Mar 12, 2009 at 10:13 PM, Jyoti Shete-Javadekar <
>
> jyoti.javade...@gmail.com> wrote:
> > Hi Venky,
> > Use -a0.0.0.0 option while starting your dev server.
>
> > e.g.
> > python dev_appserver.py -a0.0.0.0 
>
> > Once you start the server like this, you will be able to access your app
> > using the IP address of the machine where dev server is running. http://
> > :8080
>
> >  On Thu, Mar 12, 2009 at 2:27 AM, Venky  wrote:
>
> >> Hello I created a python application in ecilpse targeting app engine
> >> through pydev
>
> >> my application name is Helloworld
>
> >> its runs fine on my local browserhttp://localhost:8080
>
> >> now how should i make my application access to other systems,What
> >> should be the url from other systems to access the application
>
> > --
> > -Jyoti
> >www.videonym.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: hello

2009-03-17 Thread Jyoti Shete-Javadekar
Hi Venky,

I am assuming that your local server works fine without "-a" option. I can't
think of any reason why adding "-a" option results in an error.
You could try following things though:
1. Use "--address 0.0.0.0" instead of "-a0.0.0.0"
2. Check if you have the latest version of the app engine sdk.

On Mon, Mar 16, 2009 at 10:20 PM, venkat rambotla
wrote:

> Hi Jyothi,
>
> Thanks for ur suggestion...
> I am facing a problem when i am running ur suggested command from command
> prompt its
> saying 'dev_appserver.py is not a internal or external command,operable
> program or batch file..
>
> please help
>
> Thanking You,
> Regards,
> Venky
>
> On Thu, Mar 12, 2009 at 10:13 PM, Jyoti Shete-Javadekar <
> jyoti.javade...@gmail.com> wrote:
>
>> Hi Venky,
>> Use -a0.0.0.0 option while starting your dev server.
>>
>> e.g.
>> python dev_appserver.py -a0.0.0.0 
>>
>> Once you start the server like this, you will be able to access your app
>> using the IP address of the machine where dev server is running. http://
>> :8080
>>
>>
>>  On Thu, Mar 12, 2009 at 2:27 AM, Venky  wrote:
>>
>>>
>>> Hello I created a python application in ecilpse targeting app engine
>>> through pydev
>>>
>>> my application name is Helloworld
>>>
>>> its runs fine on my local browser http://localhost:8080
>>>
>>> now how should i make my application access to other systems,What
>>> should be the url from other systems to access the application
>>>
>>>
>>>
>>
>>
>> --
>> -Jyoti
>> www.videonym.com
>>
>>   >>
>>


-- 
-Jyoti
www.videonym.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Moroccan applications

2009-03-17 Thread manar

Hi,

As the subject states I'm from Morocco and I run some google
applications , I wanted to try the google app engine a few days ago
and I prompted to enter my phone number to receive a SMS code , I did
just that but my number was not accepted , I went to the FAQ and made
sure my carrier is supported (IAM) , tried again but no luck .
As a note a few days ago (March 7th) all carriers in Morocco ,
including IAM and Meditel , have changed the number of digits in a
phone number from nine to ten . So my phone number which was +212
061xxx273 is now +212 0661xxx273 (the x are there because I don't want
to disclose my phone number) . I tried with my old number and it was
accepted , the problem is I don't receive any message of course , so
it seems that google has not updated to reflect these changes in the
number of digits here .

Is google aware of this ? and is this going to be solved soon ?

PS : I hope I'm writing in the right forum ... I did not find any
other mean of contact other than 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: how to config gwt to work in app engine effective and productive

2009-03-17 Thread Pavel Byles

Well, you can use django (or not) to convert your data from the
datastore to json format. Not _actually_ pass the objects themselves.

On Mar 17, 9:57 am, Amr Ellafi  wrote:
> Pavel,
> that's a good idea, you mean you can pass objects from the datastore
> to GWT via JSON ?
>
> On Tue, Mar 17, 2009 at 3:50 PM, Pavel Byles  wrote:
>
> > Coonay,
> > I use GWT and GAE together and I think it's a pretty good setup.
> > First, instead of using servlets you will use the request builder and
> > pass data using JSON instead. 2nd I effectively just send my HTML
> > output of my GWT project to my GAE project and configure my app.yaml
> > accordingly.
>
> > Using this method you will lose a really big part of GWT, which is the
> > debugging feature since you will be running dev_appserver. Unless you
> > can fix it such that u can get JSON responses from it.
>
> > But I like my setup. I have pydev and cypal both in eclipse. I just
> > wish i had debugging somehow.
>
> > On Mar 17, 5:36 am, Coonay  wrote:
> >> Gwt featurs really attractive:quickly build and maintain complex yet
> >> highly performant JavaScript front-end applications in the Java
> >> programming language,and Test your code with JUnit.The example mail
> >> page is really awesome.
>
> >> As a many years java progammmer,it's not hard to get into gwt,but the
> >> app engine is a different web environment,the static page can be
> >> served to browser directly,
> >> the hype link in the geranated html are needed to change accordingly.
>
> >> could you give me some idea how to make they 2 work together
> >> effective and productive?thanks so much
--~--~-~--~~~---~--~~
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: Is Google App Engine support UDP communication? I know it is support tcp like http.

2009-03-17 Thread Mr Blog

Not only can you not do UDP.  You can't even really do TCP.  All your
apps can do is HTTP over port 80 (port 433 SSL).  You can even do HTTP
over alternative ports.

On Mar 14, 3:25 am, JasonJi  wrote:
> I want develop a small tools use UDP, But I don't know if Google App
> Engine support UDP communication? I know it is support tcp like http.
>
> Tks.
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Tim Hoffman

I noticed you posted the same question to nltk group,
if you are planning on using nltk I think what i said earlier won't
work
if you are planning on using nltk to process the text,

you may need to do some rethinking on your approach

T


On Mar 17, 11:52 pm, Nora  wrote:
> Thank you very much for your helpmuch appreciated.
>
> One last thing, could you please point me on to where to find
> information about model objects creation...is that the datastore
> thing?
>
> On Mar 17, 2:45 pm, Tim Hoffman  wrote:
>
> > Hi
>
> > Ok, that better much more info ;-)
>
> > Really you should create model objects which representing
> > chapters, verses and parallel translation of each verse, along
> > with appropriate metadata or references that will allow you to find
> > the
> > appropriate translation.
>
> > Whilst you example might have worked in dev (thats because dev doesn't
> > enforce transaction/request limits)
> > you really have no chance of getting this application to scale.
>
> > There is another way, (but gae is really designed for what I described
> > earlier)
> > You could preparse all the chapters and verses in to the dictionaries
> > as you are currently doing
> > offline, (ie not even under the dev server) then write those
> > dictionaries as strings to files so that the output is something like
> > as follows
>
> > for instance. file mybook.py contains the following
>
> > book = {'chapter1': {'verse1':'some text'}}
> > (I have left out lots of data ;-)
>
> > Then in your code you could import  mybook e.g.
>
> > import mybook
> > mybook.book['chapter1']['verse1']
>
> > But really you should learn all about models ;-)
>
> > See ya
>
> > T
>
> > Then you could import the module
>
> > On Mar 17, 11:34 pm, Nora  wrote:
>
> > > My application is a keyword search query tool that uses the
> > > Quran.  I am loading 2 copies of the English Quran(where every verse
> > > has eight parallel english translations) and two Arabic copies of the
> > > Quran.  The Quran has 114 chapters and the longest chapter has 285
> > > versesjust to give you an idea of the size of the data that needs
> > > to be loaded.
>
> > > Does that help at allI am really stuck into this as the
> > > application worked fine on my computer before uploading it to the
> > > server but now it is not!!  very disappointing and I have little
> > > background about databases and datastores and how to search these
> > > structures
>
> > > Thank you very much for your great help,
>
> > > Nora
>
> > > On Mar 17, 2:14 pm, Tim Hoffman  wrote:
>
> > > > for instance you could preparse these text files and generate python
> > > > code
> > > > which you would just import
>
> > > > What sort of data  do you have in your text file and how do you plan
> > > > to use it ?
> > > > How many records (dictionary keys and values) are in these text
> > > > file ?
>
> > > > That would help me formulate a clearer example.
>
> > > > However do you really need all of that data in memory for every
> > > > request?
>
> > > > T
>
> > > > On Mar 17, 11:01 pm, Nora  wrote:
>
> > > > > Thank you for your reply.
>
> > > > > Well, to make myself clearer
> > > > > My application has to load a massive amount of information from text
> > > > > files when it first loads...
> > > > > Now, I am interested in your second option but could you make it
> > > > > clearer please.
>
> > > > > Thank you again.
>
> > > > > On Mar 17, 1:40 pm, Tim Hoffman  wrote:
>
> > > > > > Why do you need to load that much data into memory on eachrequest
> > > > > > if you are creating a dictionary you could
>
> > > > > > 1.  create model entities for each dictionary
> > > > > > and load them as required by their key
>
> > > > > > 2. preprocess the text files into dictionary code and import them
>
> > > > > > T
>
> > > > > > On Mar 17, 9:59 pm, Nora  wrote:
>
> > > > > > > Hello,
> > > > > > > My application needs muchtimeto load some text files into
> > > > > > > dictionaries in memory.  I am unable to load all the data because 
> > > > > > > of
> > > > > > > therequesttimelimitation.  Is there another way of getting around
> > > > > > > this?
>
> > > > > > > Thank you very much.- Hide quoted text -
>
> > > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Tim Hoffman

Yep sure is

I suggest you start with 
http://code.google.com/appengine/docs/python/gettingstarted/usingdatastore.html

Then look at the full datastore api at 
http://code.google.com/appengine/docs/python/datastore/

good luck

T

On Mar 17, 11:52 pm, Nora  wrote:
> Thank you very much for your helpmuch appreciated.
>
> One last thing, could you please point me on to where to find
> information about model objects creation...is that the datastore
> thing?
>
> On Mar 17, 2:45 pm, Tim Hoffman  wrote:
>
> > Hi
>
> > Ok, that better much more info ;-)
>
> > Really you should create model objects which representing
> > chapters, verses and parallel translation of each verse, along
> > with appropriate metadata or references that will allow you to find
> > the
> > appropriate translation.
>
> > Whilst you example might have worked in dev (thats because dev doesn't
> > enforce transaction/request limits)
> > you really have no chance of getting this application to scale.
>
> > There is another way, (but gae is really designed for what I described
> > earlier)
> > You could preparse all the chapters and verses in to the dictionaries
> > as you are currently doing
> > offline, (ie not even under the dev server) then write those
> > dictionaries as strings to files so that the output is something like
> > as follows
>
> > for instance. file mybook.py contains the following
>
> > book = {'chapter1': {'verse1':'some text'}}
> > (I have left out lots of data ;-)
>
> > Then in your code you could import  mybook e.g.
>
> > import mybook
> > mybook.book['chapter1']['verse1']
>
> > But really you should learn all about models ;-)
>
> > See ya
>
> > T
>
> > Then you could import the module
>
> > On Mar 17, 11:34 pm, Nora  wrote:
>
> > > My application is a keyword search query tool that uses the
> > > Quran.  I am loading 2 copies of the English Quran(where every verse
> > > has eight parallel english translations) and two Arabic copies of the
> > > Quran.  The Quran has 114 chapters and the longest chapter has 285
> > > versesjust to give you an idea of the size of the data that needs
> > > to be loaded.
>
> > > Does that help at allI am really stuck into this as the
> > > application worked fine on my computer before uploading it to the
> > > server but now it is not!!  very disappointing and I have little
> > > background about databases and datastores and how to search these
> > > structures
>
> > > Thank you very much for your great help,
>
> > > Nora
>
> > > On Mar 17, 2:14 pm, Tim Hoffman  wrote:
>
> > > > for instance you could preparse these text files and generate python
> > > > code
> > > > which you would just import
>
> > > > What sort of data  do you have in your text file and how do you plan
> > > > to use it ?
> > > > How many records (dictionary keys and values) are in these text
> > > > file ?
>
> > > > That would help me formulate a clearer example.
>
> > > > However do you really need all of that data in memory for every
> > > > request?
>
> > > > T
>
> > > > On Mar 17, 11:01 pm, Nora  wrote:
>
> > > > > Thank you for your reply.
>
> > > > > Well, to make myself clearer
> > > > > My application has to load a massive amount of information from text
> > > > > files when it first loads...
> > > > > Now, I am interested in your second option but could you make it
> > > > > clearer please.
>
> > > > > Thank you again.
>
> > > > > On Mar 17, 1:40 pm, Tim Hoffman  wrote:
>
> > > > > > Why do you need to load that much data into memory on eachrequest
> > > > > > if you are creating a dictionary you could
>
> > > > > > 1.  create model entities for each dictionary
> > > > > > and load them as required by their key
>
> > > > > > 2. preprocess the text files into dictionary code and import them
>
> > > > > > T
>
> > > > > > On Mar 17, 9:59 pm, Nora  wrote:
>
> > > > > > > Hello,
> > > > > > > My application needs muchtimeto load some text files into
> > > > > > > dictionaries in memory.  I am unable to load all the data because 
> > > > > > > of
> > > > > > > therequesttimelimitation.  Is there another way of getting around
> > > > > > > this?
>
> > > > > > > Thank you very much.- Hide quoted text -
>
> > > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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: Forward request or webapp.RequestHandler chaining (like Actions framework in java)

2009-03-17 Thread Serega.Sheypak

Yes, Java made my mind tooo complicated. You've  written clear
solution: invoke one handler from another.
That is why I've immediately started to learn Python+ GAE (wow), Ruby
+RoR (awesome! cool!) and Lisp(brain blast) .

Java made my mind Javable... :(

On Mar 16, 12:44 am, Jarek Zgoda  wrote:
> It would be easier if you do not use WebApp but follow Django way of
> request handling (easy to achieve even without Django, ie. using
> Werkzeug to lay out application in model-view-template style):
>
> def handler_a(request):
>   return response('a')
>
> def handler_b(request):
>   return handler_a(request)
>
> In handler_b you just called handler_a with a request object from
> handler_b. You can modify request object before passing it to another
> view function as you please.
>
> On 15 Mar, 12:06, "Serega.Sheypak"  wrote:
>
> > Hello, I would like to know is it possible to forward request?
>
> > For example in Java I can forward request from one servlet (like
> > webapp.RequestHandler) to another or from servlet to jsp (like Django
> > template).
> > self.redirect("/someUrl") clears response and doesn't "transfer"
> > request object. That is why I need redirect.
>
> > The task is:
> > I have a view (Django template)
> > Person can perform silmpe crud: Create something, delete something,
> > update something.
>
> > Here is a code:
>
> > #prepare view data, show news
> > class AdminPage(webapp.RequestHandler):
> >         def get(self):
> >                 message = self.request.get('message')
> >                 if not message:
> >                         message = 'You are in admin console.'
> >                 logging.debug("Did message came -> " + message);
> >                 offset = self.request.get('offset')
> >                 limit = self.request.get('limit')
> >                 news = get_news(offset, limit, False)
> >                 values = {
> >                         'page': 'admin',
> >                         'news': news,
> >                         'count': get_news_count(),
> >                         'message': message
> >                 }
> >                 path = 
> > os.path.join(os.path.dirname(__file__),'html/admin.html')
> >                 self.response.out.write( template.render(path, values) )
>
> > #Hide news from user and send to view preparation
> > class HideNews(webapp.RequestHandler):
> >         def get(self):
> >                 key = self.request.get('key')
> >                 logging.debug("hide news with key["+key+"]")
> >                 hide_news( key )
> >                 values = {
> >                         'message':'News was hidden'
> >                 }
> >                 self.redirect("/admin")
>
> > As you can see "HideNews" performs an action and wants to send message
> > to the news requestHandler.
> > But it can't do it.
>
> > Is there any opportunity to forward request processing in GAE?
>
> > P.S
> > I've tried to do this:
> > class HideNews(webapp.RequestHandler):
> >         def get(self):
> >                 key = self.request.get('key')
> >                 logging.debug("hide news with key["+key+"]")
> >                 hide_news( key )
> >                 message = "Some str with russian chars".decode('utf-8')
> >                 url = "/admin?message=".decode('utf-8')+message
> >                 self.redirect(url)
>
> > And I get:
> > self.response.headers['Location'] = str(absolute_url)
> > UnicodeEncodeError: 'ascii' codec can't encode characters in position
> > 36-42: ordinal not in range(128)
>
> > It doesn't accept utf-8 chars?
> > What to try next?
>
> > Thanks in advance.
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Nora

Thank you very much for your helpmuch appreciated.

One last thing, could you please point me on to where to find
information about model objects creation...is that the datastore
thing?



On Mar 17, 2:45 pm, Tim Hoffman  wrote:
> Hi
>
> Ok, that better much more info ;-)
>
> Really you should create model objects which representing
> chapters, verses and parallel translation of each verse, along
> with appropriate metadata or references that will allow you to find
> the
> appropriate translation.
>
> Whilst you example might have worked in dev (thats because dev doesn't
> enforce transaction/request limits)
> you really have no chance of getting this application to scale.
>
> There is another way, (but gae is really designed for what I described
> earlier)
> You could preparse all the chapters and verses in to the dictionaries
> as you are currently doing
> offline, (ie not even under the dev server) then write those
> dictionaries as strings to files so that the output is something like
> as follows
>
> for instance. file mybook.py contains the following
>
> book = {'chapter1': {'verse1':'some text'}}
> (I have left out lots of data ;-)
>
> Then in your code you could import  mybook e.g.
>
> import mybook
> mybook.book['chapter1']['verse1']
>
> But really you should learn all about models ;-)
>
> See ya
>
> T
>
> Then you could import the module
>
> On Mar 17, 11:34 pm, Nora  wrote:
>
>
>
> > My application is a keyword search query tool that uses the
> > Quran.  I am loading 2 copies of the English Quran(where every verse
> > has eight parallel english translations) and two Arabic copies of the
> > Quran.  The Quran has 114 chapters and the longest chapter has 285
> > versesjust to give you an idea of the size of the data that needs
> > to be loaded.
>
> > Does that help at allI am really stuck into this as the
> > application worked fine on my computer before uploading it to the
> > server but now it is not!!  very disappointing and I have little
> > background about databases and datastores and how to search these
> > structures
>
> > Thank you very much for your great help,
>
> > Nora
>
> > On Mar 17, 2:14 pm, Tim Hoffman  wrote:
>
> > > for instance you could preparse these text files and generate python
> > > code
> > > which you would just import
>
> > > What sort of data  do you have in your text file and how do you plan
> > > to use it ?
> > > How many records (dictionary keys and values) are in these text
> > > file ?
>
> > > That would help me formulate a clearer example.
>
> > > However do you really need all of that data in memory for every
> > > request?
>
> > > T
>
> > > On Mar 17, 11:01 pm, Nora  wrote:
>
> > > > Thank you for your reply.
>
> > > > Well, to make myself clearer
> > > > My application has to load a massive amount of information from text
> > > > files when it first loads...
> > > > Now, I am interested in your second option but could you make it
> > > > clearer please.
>
> > > > Thank you again.
>
> > > > On Mar 17, 1:40 pm, Tim Hoffman  wrote:
>
> > > > > Why do you need to load that much data into memory on eachrequest
> > > > > if you are creating a dictionary you could
>
> > > > > 1.  create model entities for each dictionary
> > > > > and load them as required by their key
>
> > > > > 2. preprocess the text files into dictionary code and import them
>
> > > > > T
>
> > > > > On Mar 17, 9:59 pm, Nora  wrote:
>
> > > > > > Hello,
> > > > > > My application needs muchtimeto load some text files into
> > > > > > dictionaries in memory.  I am unable to load all the data because of
> > > > > > therequesttimelimitation.  Is there another way of getting around
> > > > > > this?
>
> > > > > > Thank you very much.- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Tim Hoffman

Hi

Ok, that better much more info ;-)

Really you should create model objects which representing
chapters, verses and parallel translation of each verse, along
with appropriate metadata or references that will allow you to find
the
appropriate translation.

Whilst you example might have worked in dev (thats because dev doesn't
enforce transaction/request limits)
you really have no chance of getting this application to scale.


There is another way, (but gae is really designed for what I described
earlier)
You could preparse all the chapters and verses in to the dictionaries
as you are currently doing
offline, (ie not even under the dev server) then write those
dictionaries as strings to files so that the output is something like
as follows

for instance. file mybook.py contains the following

book = {'chapter1': {'verse1':'some text'}}
(I have left out lots of data ;-)


Then in your code you could import  mybook e.g.

import mybook
mybook.book['chapter1']['verse1']

But really you should learn all about models ;-)

See ya

T


Then you could import the module



On Mar 17, 11:34 pm, Nora  wrote:
> My application is a keyword search query tool that uses the
> Quran.  I am loading 2 copies of the English Quran(where every verse
> has eight parallel english translations) and two Arabic copies of the
> Quran.  The Quran has 114 chapters and the longest chapter has 285
> versesjust to give you an idea of the size of the data that needs
> to be loaded.
>
> Does that help at allI am really stuck into this as the
> application worked fine on my computer before uploading it to the
> server but now it is not!!  very disappointing and I have little
> background about databases and datastores and how to search these
> structures
>
> Thank you very much for your great help,
>
> Nora
>
> On Mar 17, 2:14 pm, Tim Hoffman  wrote:
>
> > for instance you could preparse these text files and generate python
> > code
> > which you would just import
>
> > What sort of data  do you have in your text file and how do you plan
> > to use it ?
> > How many records (dictionary keys and values) are in these text
> > file ?
>
> > That would help me formulate a clearer example.
>
> > However do you really need all of that data in memory for every
> > request?
>
> > T
>
> > On Mar 17, 11:01 pm, Nora  wrote:
>
> > > Thank you for your reply.
>
> > > Well, to make myself clearer
> > > My application has to load a massive amount of information from text
> > > files when it first loads...
> > > Now, I am interested in your second option but could you make it
> > > clearer please.
>
> > > Thank you again.
>
> > > On Mar 17, 1:40 pm, Tim Hoffman  wrote:
>
> > > > Why do you need to load that much data into memory on eachrequest
> > > > if you are creating a dictionary you could
>
> > > > 1.  create model entities for each dictionary
> > > > and load them as required by their key
>
> > > > 2. preprocess the text files into dictionary code and import them
>
> > > > T
>
> > > > On Mar 17, 9:59 pm, Nora  wrote:
>
> > > > > Hello,
> > > > > My application needs muchtimeto load some text files into
> > > > > dictionaries in memory.  I am unable to load all the data because of
> > > > > therequesttimelimitation.  Is there another way of getting around
> > > > > this?
>
> > > > > Thank you very much.- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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: Chartle.net - application based on Google App Engine

2009-03-17 Thread Dieter Krachtus

That's pretty easy to do. I registered my domain chartle.net with
Google Apps. After that it is just a few more settings via the Google
web interface.

Whats a little annoying is that you cannot use so-called 'naked'
domains, i.e. in my case 'chartle.net'. I can only use www.chartle.net
and other subdomains.

Well, that's the one major limitation I dislike in Google Apps. Same
with Google Appengine, where I cannot specify Content-Encodings. Very
annoying for my purposes. Also the 1MB filesize limit hurts a bit.

Otherwise both Google Apps and Appengine are really great services.

On Mar 17, 3:29 pm, "Serega.Sheypak"  wrote:
> Hi, nice work!
> Please, tell me how did you configure your application to have address
> chartie.net not (something.appspot.com?) Is there any possibility to
> make DNS records for that?
>
> On Mar 17, 4:59 pm, Amr Ellafi  wrote:
>
> > what do you use for charting by the way ?
>
> > On Tue, Mar 17, 2009 at 2:39 PM, Dieter Krachtus
>
> >  wrote:
>
> > > Thanks!
>
> > > Actually it is an early alpha (incomplete and buggy Undo/Redo, etc.),
> > > but I was bored running it locally so I put it online. I hope I will
> > > find time to improve it on the weekends.
>
> > > Cheers,
> > > Dieter
--~--~-~--~~~---~--~~
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] no module found twitter

2009-03-17 Thread Venky

I created a application in pydev enviroment using twitter api

import twitter
api = twitter.Api()
api = twitter.Api(username='', password='')
users = api.GetFriends()
print [u.name for u in users]

its working fine in pydev environment,but when i am accessing through
http://localhost:portnumber,
i am geeting the following errors

ERROR2009-03-17 12:20:08,828 dev_appserver.py] Encountered error
loading module "getnames": :
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1736, in LoadTargetModule
module_code = import_hook.get_code(module_fullname)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 982, in decorate
return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1599, in get_code
full_path, search_path, submodule = self.GetModuleInfo(fullname)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 982, in decorate
return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1552, in GetModuleInfo
source_file, pathname, description = self.FindModuleRestricted
(submodule, fullname, search_path)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 982, in decorate
return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1326, in FindModuleRestricted
raise CouldNotFindModuleError()
CouldNotFindModuleError
ERROR2009-03-17 12:20:08,828 dev_appserver.py] Parent package
initialization files are present, but must be broken
ERROR2009-03-17 12:20:08,858 dev_appserver.py] Exception
encountered handling request
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2711, in _HandleRequest
base_env_dict=env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 380, in Dispatch
base_env_dict=base_env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1998, in Dispatch
self._module_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1916, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1812, in ExecuteOrImportScript
exec module_code in script_module.__dict__
  File "D:\Projects\PythonTwitter\src\getnames.py", line 6, in

import twitter
ImportError: No module named twitter
INFO 2009-03-17 12:20:08,858 dev_appserver.py] "GET / HTTP/1.1"
500 -
ERROR2009-03-17 12:21:03,437 dev_appserver.py] Encountered error
loading module "getnames": :
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1736, in LoadTargetModule
module_code = import_hook.get_code(module_fullname)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 982, in decorate
return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1599, in get_code
full_path, search_path, submodule = self.GetModuleInfo(fullname)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 982, in decorate
return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1552, in GetModuleInfo
source_file, pathname, description = self.FindModuleRestricted
(submodule, fullname, search_path)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 982, in decorate
return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1326, in FindModuleRestricted
raise CouldNotFindModuleError()
CouldNotFindModuleError
ERROR2009-03-17 12:21:03,437 dev_appserver.py] Parent package
initialization files are present, but must be broken
ERROR2009-03-17 12:21:03,515 dev_appserver.py] Exception
encountered handling request
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2711, in _HandleRequest
base_env_dict=env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 380, in Dispatch
base_env_dict=base_env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1998, in Dispatch
self._module_dict)
  File "C:\Program Files\G

[google-appengine] Re: how to config gwt to work in app engine effective and productive

2009-03-17 Thread Serega.Sheypak

Of course not.
You can *present* datastore object in JSON (JavaScript Object
Notation).
Use POJO (Plain Old Java Object) concept while creating data Model of
your application.
You can easilly present list of Model objects in JSON, you can easilly
convert them from JSON to POJO on GWT (Java, client-side). The same
thing happens on server-side. Parse incomming JSON and construct Model
objects (in Python) using parsed data.

GWT+GAE can work together. Ofcourse, this way won't be productive
comparing to Java backend. But anyway, if you want to make good stable
complicated UI, don't use JS - it's paiful. Use OO Java and be happy
like I am ^)

On Mar 17, 4:57 pm, Amr Ellafi  wrote:
> Pavel,
> that's a good idea, you mean you can pass objects from the datastore
> to GWT via JSON ?
>
> On Tue, Mar 17, 2009 at 3:50 PM, Pavel Byles  wrote:
>
> > Coonay,
> > I use GWT and GAE together and I think it's a pretty good setup.
> > First, instead of using servlets you will use the request builder and
> > pass data using JSON instead. 2nd I effectively just send my HTML
> > output of my GWT project to my GAE project and configure my app.yaml
> > accordingly.
>
> > Using this method you will lose a really big part of GWT, which is the
> > debugging feature since you will be running dev_appserver. Unless you
> > can fix it such that u can get JSON responses from it.
>
> > But I like my setup. I have pydev and cypal both in eclipse. I just
> > wish i had debugging somehow.
>
> > On Mar 17, 5:36 am, Coonay  wrote:
> >> Gwt featurs really attractive:quickly build and maintain complex yet
> >> highly performant JavaScript front-end applications in the Java
> >> programming language,and Test your code with JUnit.The example mail
> >> page is really awesome.
>
> >> As a many years java progammmer,it's not hard to get into gwt,but the
> >> app engine is a different web environment,the static page can be
> >> served to browser directly,
> >> the hype link in the geranated html are needed to change accordingly.
>
> >> could you give me some idea how to make they 2 work together
> >> effective and productive?thanks so much
--~--~-~--~~~---~--~~
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: Chartle.net - application based on Google App Engine

2009-03-17 Thread Dieter Krachtus

You mean internally? Different technologies. Google Charts, Google
Visualization, an Internal Chart Renderer, etc.

On Mar 17, 2:59 pm, Amr Ellafi  wrote:
> what do you use for charting by the way ?
>
> On Tue, Mar 17, 2009 at 2:39 PM, Dieter Krachtus
>
>  wrote:
>
> > Thanks!
>
> > Actually it is an early alpha (incomplete and buggy Undo/Redo, etc.),
> > but I was bored running it locally so I put it online. I hope I will
> > find time to improve it on the weekends.
>
> > Cheers,
> > Dieter
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Nora

My application is a keyword search query tool that uses the
Quran.  I am loading 2 copies of the English Quran(where every verse
has eight parallel english translations) and two Arabic copies of the
Quran.  The Quran has 114 chapters and the longest chapter has 285
versesjust to give you an idea of the size of the data that needs
to be loaded.

Does that help at allI am really stuck into this as the
application worked fine on my computer before uploading it to the
server but now it is not!!  very disappointing and I have little
background about databases and datastores and how to search these
structures


Thank you very much for your great help,

Nora



On Mar 17, 2:14 pm, Tim Hoffman  wrote:
> for instance you could preparse these text files and generate python
> code
> which you would just import
>
> What sort of data  do you have in your text file and how do you plan
> to use it ?
> How many records (dictionary keys and values) are in these text
> file ?
>
> That would help me formulate a clearer example.
>
> However do you really need all of that data in memory for every
> request?
>
> T
>
> On Mar 17, 11:01 pm, Nora  wrote:
>
>
>
> > Thank you for your reply.
>
> > Well, to make myself clearer
> > My application has to load a massive amount of information from text
> > files when it first loads...
> > Now, I am interested in your second option but could you make it
> > clearer please.
>
> > Thank you again.
>
> > On Mar 17, 1:40 pm, Tim Hoffman  wrote:
>
> > > Why do you need to load that much data into memory on eachrequest
> > > if you are creating a dictionary you could
>
> > > 1.  create model entities for each dictionary
> > > and load them as required by their key
>
> > > 2. preprocess the text files into dictionary code and import them
>
> > > T
>
> > > On Mar 17, 9:59 pm, Nora  wrote:
>
> > > > Hello,
> > > > My application needs muchtimeto load some text files into
> > > > dictionaries in memory.  I am unable to load all the data because of
> > > > therequesttimelimitation.  Is there another way of getting around
> > > > this?
>
> > > > Thank you very much.- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: Chartle.net - application based on Google App Engine

2009-03-17 Thread Serega.Sheypak

Hi, nice work!
Please, tell me how did you configure your application to have address
chartie.net not (something.appspot.com?) Is there any possibility to
make DNS records for that?

On Mar 17, 4:59 pm, Amr Ellafi  wrote:
> what do you use for charting by the way ?
>
> On Tue, Mar 17, 2009 at 2:39 PM, Dieter Krachtus
>
>  wrote:
>
> > Thanks!
>
> > Actually it is an early alpha (incomplete and buggy Undo/Redo, etc.),
> > but I was bored running it locally so I put it online. I hope I will
> > find time to improve it on the weekends.
>
> > Cheers,
> > Dieter
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Tim Hoffman

for instance you could preparse these text files and generate python
code
which you would just import

What sort of data  do you have in your text file and how do you plan
to use it ?
How many records (dictionary keys and values) are in these text
file ?

That would help me formulate a clearer example.

However do you really need all of that data in memory for every
request?

T


On Mar 17, 11:01 pm, Nora  wrote:
> Thank you for your reply.
>
> Well, to make myself clearer
> My application has to load a massive amount of information from text
> files when it first loads...
> Now, I am interested in your second option but could you make it
> clearer please.
>
> Thank you again.
>
> On Mar 17, 1:40 pm, Tim Hoffman  wrote:
>
> > Why do you need to load that much data into memory on eachrequest
> > if you are creating a dictionary you could
>
> > 1.  create model entities for each dictionary
> > and load them as required by their key
>
> > 2. preprocess the text files into dictionary code and import them
>
> > T
>
> > On Mar 17, 9:59 pm, Nora  wrote:
>
> > > Hello,
> > > My application needs muchtimeto load some text files into
> > > dictionaries in memory.  I am unable to load all the data because of
> > > therequesttimelimitation.  Is there another way of getting around
> > > this?
>
> > > Thank you very much.- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Nora

Thank you for your reply.

Well, to make myself clearer
My application has to load a massive amount of information from text
files when it first loads...
Now, I am interested in your second option but could you make it
clearer please.

Thank you again.

On Mar 17, 1:40 pm, Tim Hoffman  wrote:
> Why do you need to load that much data into memory on eachrequest
> if you are creating a dictionary you could
>
> 1.  create model entities for each dictionary
> and load them as required by their key
>
> 2. preprocess the text files into dictionary code and import them
>
> T
>
> On Mar 17, 9:59 pm, Nora  wrote:
>
>
>
> > Hello,
> > My application needs muchtimeto load some text files into
> > dictionaries in memory.  I am unable to load all the data because of
> > therequesttimelimitation.  Is there another way of getting around
> > this?
>
> > Thank you very much.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: Chartle.net - application based on Google App Engine

2009-03-17 Thread Amr Ellafi

what do you use for charting by the way ?

On Tue, Mar 17, 2009 at 2:39 PM, Dieter Krachtus
 wrote:
>
> Thanks!
>
> Actually it is an early alpha (incomplete and buggy Undo/Redo, etc.),
> but I was bored running it locally so I put it online. I hope I will
> find time to improve it on the weekends.
>
> Cheers,
> Dieter
> >
>

--~--~-~--~~~---~--~~
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 config gwt to work in app engine effective and productive

2009-03-17 Thread Amr Ellafi

Pavel,
that's a good idea, you mean you can pass objects from the datastore
to GWT via JSON ?

On Tue, Mar 17, 2009 at 3:50 PM, Pavel Byles  wrote:
>
> Coonay,
> I use GWT and GAE together and I think it's a pretty good setup.
> First, instead of using servlets you will use the request builder and
> pass data using JSON instead. 2nd I effectively just send my HTML
> output of my GWT project to my GAE project and configure my app.yaml
> accordingly.
>
> Using this method you will lose a really big part of GWT, which is the
> debugging feature since you will be running dev_appserver. Unless you
> can fix it such that u can get JSON responses from it.
>
> But I like my setup. I have pydev and cypal both in eclipse. I just
> wish i had debugging somehow.
>
> On Mar 17, 5:36 am, Coonay  wrote:
>> Gwt featurs really attractive:quickly build and maintain complex yet
>> highly performant JavaScript front-end applications in the Java
>> programming language,and Test your code with JUnit.The example mail
>> page is really awesome.
>>
>> As a many years java progammmer,it's not hard to get into gwt,but the
>> app engine is a different web environment,the static page can be
>> served to browser directly,
>> the hype link in the geranated html are needed to change accordingly.
>>
>> could you give me some idea how to make they 2 work together
>> effective and productive?thanks so much
> >
>

--~--~-~--~~~---~--~~
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 config gwt to work in app engine effective and productive

2009-03-17 Thread Pavel Byles

Coonay,
I use GWT and GAE together and I think it's a pretty good setup.
First, instead of using servlets you will use the request builder and
pass data using JSON instead. 2nd I effectively just send my HTML
output of my GWT project to my GAE project and configure my app.yaml
accordingly.

Using this method you will lose a really big part of GWT, which is the
debugging feature since you will be running dev_appserver. Unless you
can fix it such that u can get JSON responses from it.

But I like my setup. I have pydev and cypal both in eclipse. I just
wish i had debugging somehow.

On Mar 17, 5:36 am, Coonay  wrote:
> Gwt featurs really attractive:quickly build and maintain complex yet
> highly performant JavaScript front-end applications in the Java
> programming language,and Test your code with JUnit.The example mail
> page is really awesome.
>
> As a many years java progammmer,it's not hard to get into gwt,but the
> app engine is a different web environment,the static page can be
> served to browser directly,
> the hype link in the geranated html are needed to change accordingly.
>
> could you give me some idea how to make they 2 work together
> effective and productive?thanks so much
--~--~-~--~~~---~--~~
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: Request time limit

2009-03-17 Thread Tim Hoffman

Why do you need to load that much data into memory on each request
if you are creating a dictionary you could

1.  create model entities for each dictionary
and load them as required by their key

2. preprocess the text files into dictionary code and import them

T

On Mar 17, 9:59 pm, Nora  wrote:
> Hello,
> My application needs much time to load some text files into
> dictionaries in memory.  I am unable to load all the data because of
> the request time limitation.  Is there another way of getting around
> this?
>
> Thank you very much.
--~--~-~--~~~---~--~~
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: Parallel urlfetch utility class / function.

2009-03-17 Thread Joe Bowman

Thanks,

I'm going to give it a go for urlfetch calls for one project I'm
working on this week.

Not sure when I'd be able to include it in gaeutiltiies for cron and
such, that project is currently lower on my priority list at the
moment, but can't wait until I get a chance to play with it. Another
idea I had for it is the ROTmodel (retry on timeout model) in the
project, which could speed that process up.

On Mar 17, 9:11 am, David Wilson  wrote:
> 2009/3/16 Joe Bowman :
>
>
>
>
>
> > Wow that's great. The SDK might be problematic for you, as it appears
> > to be very single threaded, I know for a fact it can't reply to
> > requests to itself.
>
> > Out of curiosity, are you still using base urlfetch, or is it your own
> > creation? While when Google releases their scheduled tasks
> > functionality it will be less of an issue, if your solution had the
> > ability to fire off urlfetch calls and not wait for a response, it
> > could be a perfect fit for the gaeutilities cron utility.
>
> > Currently it grabs a list of tasks it's supposed to run on request,
> > sets a timestamp, runs one, the compares now() to the timestamp and if
> > the timedelta is more than 1 second, stops running tasks and finishes
> > the request. It already appears your project would be perfect for
> > running all necessary tasks at once, and the MIT License I believe is
> > compatible with the BSD license I've released gaeutilities, so would
> > you have any personal objection to me including it in gaeutilities at
> > some point, with proper attribution of course?
>
> Sorry I missed this in the first reply - yeah work away! :)
>
> David
>
>
>
>
>
> > If you haven't see that project, it's url ishttp://gaeutilities.appspot.com/
>
> > On Mar 16, 11:03 am, David Wilson  wrote:
> >> Joe,
>
> >> I've only tested it in production. ;)
>
> >> The code should work serially on the SDK, but I haven't tried yet.
>
> >> David.
>
> >> 2009/3/16 Joe Bowman :
>
> >> > Does the batch fetching working on live appengine applications, or
> >> > only on the SDK?
>
> >> > On Mar 16, 10:19 am, David Wilson  wrote:
> >> >> I have no idea how definitive this is, but literally it means wall
> >> >> clock time seems to be how CPU cost is measured. I guess this makes
> >> >> sense for a few different reasons.
>
> >> >> I found some internal function
> >> >> "google3.apphosting.runtime._apphosting_runtime___python__apiproxy.get_request_cpu_usage"
> >> >> with the docstring:
>
> >> >>     Returns the number of megacycles used so far by this request.
> >> >>     Does not include CPU used by API calls.
>
> >> >> Calling it, then running time.sleep(5), then calling it again,
> >> >> indicates thousands of megacycles used, yet in real terms the CPU was
> >> >> probably doing nothing. I guess Datastore CPU, etc., is added on top
> >> >> of this, but it seems to suggest to me that if you can drastically
> >> >> reduce request time, quota usage should drop too.
>
> >> >> I have yet to do any kind of rough measurements of Datastore CPU, so
> >> >> I'm not sure how correct this all is.
>
> >> >> David.
>
> >> >>  - One of the guys on IRC suggested this means that per-request cost
> >> >> is scaled during peak usage (and thus internal services running
> >> >> slower).
>
> >> >> 2009/3/16 peterk :
>
> >> >> > A couple of questions re. CPU usage..
>
> >> >> > "CPU time quota appears to be calculated based on literal time"
>
> >> >> > Can you clarify what you mean here? I presume each async request eats
> >> >> > into your CPU budget. But you say:
>
> >> >> > "since you can burn a whole lot more AppEngine CPU more cheaply using
> >> >> > the async api"
>
> >> >> > Can you clarify how that's the case?
>
> >> >> > I would guess as long as you're being billed for the cpu-ms spent in
> >> >> > your asynchronous calls, Google would let you hang yourself with them
> >> >> > when it comes to billing.. :) so I presume they'd let you squeeze in
> >> >> > as many as your original request, and its limit, will allow for?
>
> >> >> > Thanks again.
>
> >> >> > On Mar 16, 2:00 pm, David Wilson  wrote:
> >> >> >> It's completely undocumented (at this stage, anyway), but definitely
> >> >> >> seems to work. A few notes I've come gathered:
>
> >> >> >>  - CPU time quota appears to be calculated based on literal time,
> >> >> >> rather than e.g. the UNIX concept of "time spent in running state".
>
> >> >> >>  - I can fetch 100 URLs in 1.3 seconds from a machine colocated in
> >> >> >> Germany using the asynchronous API. I can't begin to imagine how slow
> >> >> >> (and therefore expensive in monetary terms) this would be using the
> >> >> >> standard API.
>
> >> >> >>  - The user-specified callback function appears to be invoked in a
> >> >> >> separate thread; the RPC isn't "complete" until this callback
> >> >> >> completes. The callback thread is still subject to the request
> >> >> >> deadline.
>
> >> >> >>  - It's a standard interface, and seems to have no parallel
> >> >> >> restrictions 

[google-appengine] Re: Parallel urlfetch utility class / function.

2009-03-17 Thread David Wilson

2009/3/16 Joe Bowman :
>
> Wow that's great. The SDK might be problematic for you, as it appears
> to be very single threaded, I know for a fact it can't reply to
> requests to itself.
>
> Out of curiosity, are you still using base urlfetch, or is it your own
> creation? While when Google releases their scheduled tasks
> functionality it will be less of an issue, if your solution had the
> ability to fire off urlfetch calls and not wait for a response, it
> could be a perfect fit for the gaeutilities cron utility.
>
> Currently it grabs a list of tasks it's supposed to run on request,
> sets a timestamp, runs one, the compares now() to the timestamp and if
> the timedelta is more than 1 second, stops running tasks and finishes
> the request. It already appears your project would be perfect for
> running all necessary tasks at once, and the MIT License I believe is
> compatible with the BSD license I've released gaeutilities, so would
> you have any personal objection to me including it in gaeutilities at
> some point, with proper attribution of course?

Sorry I missed this in the first reply - yeah work away! :)


David

>
> If you haven't see that project, it's url is http://gaeutilities.appspot.com/
>
> On Mar 16, 11:03 am, David Wilson  wrote:
>> Joe,
>>
>> I've only tested it in production. ;)
>>
>> The code should work serially on the SDK, but I haven't tried yet.
>>
>> David.
>>
>> 2009/3/16 Joe Bowman :
>>
>>
>>
>>
>>
>> > Does the batch fetching working on live appengine applications, or
>> > only on the SDK?
>>
>> > On Mar 16, 10:19 am, David Wilson  wrote:
>> >> I have no idea how definitive this is, but literally it means wall
>> >> clock time seems to be how CPU cost is measured. I guess this makes
>> >> sense for a few different reasons.
>>
>> >> I found some internal function
>> >> "google3.apphosting.runtime._apphosting_runtime___python__apiproxy.get_request_cpu_usage"
>> >> with the docstring:
>>
>> >>     Returns the number of megacycles used so far by this request.
>> >>     Does not include CPU used by API calls.
>>
>> >> Calling it, then running time.sleep(5), then calling it again,
>> >> indicates thousands of megacycles used, yet in real terms the CPU was
>> >> probably doing nothing. I guess Datastore CPU, etc., is added on top
>> >> of this, but it seems to suggest to me that if you can drastically
>> >> reduce request time, quota usage should drop too.
>>
>> >> I have yet to do any kind of rough measurements of Datastore CPU, so
>> >> I'm not sure how correct this all is.
>>
>> >> David.
>>
>> >>  - One of the guys on IRC suggested this means that per-request cost
>> >> is scaled during peak usage (and thus internal services running
>> >> slower).
>>
>> >> 2009/3/16 peterk :
>>
>> >> > A couple of questions re. CPU usage..
>>
>> >> > "CPU time quota appears to be calculated based on literal time"
>>
>> >> > Can you clarify what you mean here? I presume each async request eats
>> >> > into your CPU budget. But you say:
>>
>> >> > "since you can burn a whole lot more AppEngine CPU more cheaply using
>> >> > the async api"
>>
>> >> > Can you clarify how that's the case?
>>
>> >> > I would guess as long as you're being billed for the cpu-ms spent in
>> >> > your asynchronous calls, Google would let you hang yourself with them
>> >> > when it comes to billing.. :) so I presume they'd let you squeeze in
>> >> > as many as your original request, and its limit, will allow for?
>>
>> >> > Thanks again.
>>
>> >> > On Mar 16, 2:00 pm, David Wilson  wrote:
>> >> >> It's completely undocumented (at this stage, anyway), but definitely
>> >> >> seems to work. A few notes I've come gathered:
>>
>> >> >>  - CPU time quota appears to be calculated based on literal time,
>> >> >> rather than e.g. the UNIX concept of "time spent in running state".
>>
>> >> >>  - I can fetch 100 URLs in 1.3 seconds from a machine colocated in
>> >> >> Germany using the asynchronous API. I can't begin to imagine how slow
>> >> >> (and therefore expensive in monetary terms) this would be using the
>> >> >> standard API.
>>
>> >> >>  - The user-specified callback function appears to be invoked in a
>> >> >> separate thread; the RPC isn't "complete" until this callback
>> >> >> completes. The callback thread is still subject to the request
>> >> >> deadline.
>>
>> >> >>  - It's a standard interface, and seems to have no parallel
>> >> >> restrictions at least for urlfetch and Datastore. However, I imagine
>> >> >> that it's possible restrictions may be placed here at some later
>> >> >> stage, since you can burn a whole lot more AppEngine CPU more cheaply
>> >> >> using the async api.
>>
>> >> >>  - It's "standard" only insomuch as you have to fiddle with
>> >> >> AppEngine-internal protocolbuffer definitions for each service type.
>> >> >> This mostly means copy-pasting the standard sync call code from the
>> >> >> SDK, and hacking it to use pubsubhubub's proxy code.
>>
>> >> >> Per the last point, you might be better wa

[google-appengine] Request time limit

2009-03-17 Thread Nora

Hello,
My application needs much time to load some text files into
dictionaries in memory.  I am unable to load all the data because of
the request time limitation.  Is there another way of getting around
this?

Thank you very much.
--~--~-~--~~~---~--~~
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: Chartle.net - application based on Google App Engine

2009-03-17 Thread Dieter Krachtus

Thanks!

Actually it is an early alpha (incomplete and buggy Undo/Redo, etc.),
but I was bored running it locally so I put it online. I hope I will
find time to improve it on the weekends.

Cheers,
Dieter
--~--~-~--~~~---~--~~
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 config gwt to work in app engine effective and productive

2009-03-17 Thread lock

I'm a big GWT fan, never done much with javascript and don't
really want to!  It's just a personal preference, not wanting to start
another java vs javascript thread ;-) .  Sounds like your coming
from a java desktop background, there's a bit to learn, but it's
pretty straight forward.

Tim's right, GWT and App Engine are completely different bits
of the puzzle.  GWT is all client side browser stuff, App Engine
is server side.

All the HTML/javascript code on my site is static, it isn't
dynamically generated on the server. No, not even the URLs the
app requests data from change.

You probably want to look at the REST architecture concept, it
basically states that the client should manage state (not the
server).

I use the JSON format to transfer data from the client to the server
and back again.  This is done using a variety of HTTP requests, GET
for requesting data from the server, PUT for changing server data.

Eclipse works really well for GWT projects, and if you install the
PyDev project it does a pretty good job with app engine too.  I use
the same workspace for both client and server code.

There really is an awful lot more too it, strongly suggest having a
look
at some of the great app engine tutes.
http://code.google.com/appengine/docs/python/gettingstarted/


On Mar 17, 8:36 pm, Coonay  wrote:
> Gwt featurs really attractive:quickly build and maintain complex yet
> highly performant JavaScript front-end applications in the Java
> programming language,and Test your code with JUnit.The example mail
> page is really awesome.
>
> As a many years java progammmer,it's not hard to get into gwt,but the
> app engine is a different web environment,the static page can be
> served to browser directly,
> the hype link in the geranated html are needed to change accordingly.
>
> could you give me some idea how to make they 2 work together
> effective and productive?thanks so much
--~--~-~--~~~---~--~~
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: Writing to the file system?

2009-03-17 Thread Ronn Ross
Can you stream a binary object using GAE's mail api? I would like to attach
these documents to an email.-Ronn

On Mon, Mar 16, 2009 at 9:25 AM, Sudhir  wrote:

>
> The simplest thing would be to store the files in the datastore. since
> they're text files, a text or blob property should do fine you can
> use the blob for things like word docs and non text / binary formats
> too.
>
> Sudhir
> blog.sudhirj.com
>
> On Mar 16, 6:15 pm, Ronn Ross  wrote:
> > Does anyone know a work around for this type of task?
> >
> >
> >
> > On Mon, Mar 16, 2009 at 9:10 AM, Sudhir  wrote:
> >
> > > No, I don't believe you can... part of the security restrictions.
> >
> > > Ronn Ross wrote:
> > > > Can you write to the file system with app engine? My app requires
> people
> > > to
> > > > upload text documents.
> > > > 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: "Let Delete My Apps" (3 apps)

2009-03-17 Thread Ronn Ross
I second that motion.

On Mon, Mar 16, 2009 at 11:16 PM, Adam  wrote:

>
> If you must subject us to this every day, for the love of god please
> change it to 'let ME delete my apps'.
>
> Or better yet, just stop.
>
> A
>
> On Mar 16, 4:31 pm, xml2jsonp  wrote:
> > Thanks to:
> > - ikoo-dirtylife
> > - gythialy-app
> > - pyoohtml
> >
> > http://pyoohtml.appspot.com/let-delete-my-apps/home
> >
>

--~--~-~--~~~---~--~~
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", line 55, in

2009-03-17 Thread Matthew Page-Lieberman
Do you have a .yaml file?

On Tue, Mar 17, 2009 at 4:48 AM, Lord Gustavo Miguel Angel <
goosfanc...@gmail.com> wrote:

>  Matthew,
> yes, i´m using started tutorial.
>
>
> - Original Message -
> *From:* Matthew Page-Lieberman 
> *To:* google-appengine@googlegroups.com
> *Sent:* Monday, March 16, 2009 10:19 PM
> *Subject:* [google-appengine] Re: dev_appserver.py", line 55, in 
>
> Do you have a .yaml file? Are you using the Getting Started tutorial?
>
> On Mon, Mar 16, 2009 at 8:24 PM, Lord Gustavo Miguel Angel <
> goosfanc...@gmail.com> wrote:
>
>>  with python 2.5.4 equal. same error.
>>
>>  - Original Message -
>> *From:* Matthew Page-Lieberman 
>> *To:* google-appengine@googlegroups.com
>>   *Sent:* Monday, March 16, 2009 9:10 PM
>> *Subject:* [google-appengine] Re: dev_appserver.py", line 55, in 
>>
>>
>> *The Development Environment*
>>
>> *You develop and upload applications for Google App Engine using the App
>> Engine software development kit (SDK).*
>>
>> *The SDK includes a web server application that simulates the App Engine
>> environment, including a local version of the datastore, Google Accounts,
>> and the ability to fetch URLs and send email directly from your computer
>> using the App Engine APIs. The SDK runs on any computer with Python 2.5,and 
>> versions are available for Windows, Mac OS X and Linux.
>> *
>> *If necessary, download and install Python 2.5 for your platform from the
>> Python website ...
>>
>> *
>> http://code.google.com/appengine/docs/python/gettingstarted/devenvironment.html
>> *
>>
>> **You need to have Python 2.5 and you only have Python 2.4.5 installed.
>> ** *
>> On Mon, Mar 16, 2009 at 8:05 PM, Lord Gustavo Miguel Angel <
>> goosfanc...@gmail.com> wrote:
>>
>>
>>  sorry i don´t understand
>>>
>>>
>>>  - Original Message -
>>> *From:* Matthew Page-Lieberman 
>>> *To:* google-appengine@googlegroups.com
>>>   *Sent:* Monday, March 16, 2009 8:50 PM
>>> *Subject:* [google-appengine] Re: dev_appserver.py", line 55, in
>>> 
>>>
>>> Don't forget the first sentence.
>>>
>>> On Mon, Mar 16, 2009 at 7:29 PM, Lord Gustavo Miguel Angel <
>>> goosfanc...@gmail.com> wrote:
>>>
  thank´s
 But i have python 2.4.5 not 3.0


   - Original Message -
 *From:* Matthew Page-Lieberman 
 *To:* google-appengine@googlegroups.com
 *Sent:* Monday, March 16, 2009 6:09 PM
 *Subject:* [google-appengine] Re: dev_appserver.py", line 55, in
 

 I know that one of the requirements to run GAE is to have at least
 Python 2.5. Don't go running to Python 3.0 though just quite yet for GAE.
 It's not supported AFAIK.

 On Mon, Mar 16, 2009 at 3:54 PM, goosfancito wrote:

>
> hello,
>
> OS: windows xp Sp2
> version python: 2.4.5
>
>
> i´m new user googe app engine. when i do
>
> dev_appserver.py holamundo
>
> appeserver reports
>
> - 8< -
>  File "C:\Google\google_appengine\dev_appserver.py", line 55, in
> 
>execfile(script_path, globals())
>  File "C:\Google\google_appengine\google\appengine\tools
> \dev_appserver_main.py"
> , line 358, in 
>sys.exit(main(sys.argv))
>  File "C:\Google\google_appengine\google\appengine\tools
> \dev_appserver_main.py"
> , line 306, in main
>config, matcher = dev_appserver.LoadAppConfig(root_path, {})
>  File "C:\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", lin
> e 2638, in LoadAppConfig
>raise AppConfigNotFoundError
> google.appengine.tools.dev_appserver.AppConfigNotFoundError
>
> - 8< -
>
> Why?
> Thank´s
>
>
>


 --
 M. Page-Lieberman
 mateus.just...@gmail.com


>>>
>>>
>>> --
>>> M. Page-Lieberman
>>> mateus.just...@gmail.com
>>>
>>>
>>
>>
>> --
>> M. Page-Lieberman
>> mateus.just...@gmail.com
>>
>>
>
>
> --
> M. Page-Lieberman
> mateus.just...@gmail.com
> >
>


-- 
M. Page-Lieberman
mateus.just...@gmail.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: how to config gwt to work in app engine effective and productive

2009-03-17 Thread Tim Hoffman

Hi

gwt has on the surface nothing to do with gae, ie you can't run the
java server side of
you gwt code on app engine.

Have a look at pyjamas if you want something like this (backend is
python though)

You will need to learn python to get anywhere with gae, unless google
release java support.

My guess it is more likely to be ruby or javascript for the next
language,

in fact I personally think the next language supported by gae will be
javascript
it would make sense given googles development of v8.  (I know nothing
on this topic though ;-)

Just my 2c worth

T

On Mar 17, 6:39 pm, Coonay  wrote:
>  Gwt featurs really attractive:quickly build and maintain complex yet
>  highly performant JavaScript front-end applications in the Java
>  programming language,and Test your code with JUnit.The example mail
>  page is really awesome.
>
>  As a many years java progammmer,it's not hard to get into gwt,but the
>  app engine is a different web environment,the static page can  not be
>  served to browser directly,
>  the hype link in the geranated html are needed to change accordingly.
>
>  could you give me some idea how to make they 2 work together
>  effective and productive?thanks so much
--~--~-~--~~~---~--~~
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: Latency Issues Stabilized

2009-03-17 Thread Alex Popescu

Looks like I've forgot to include the link to the discussion thread:

Latency Issues Stabilized:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/c1e5c4ca861362f

./alex

On Mar 17, 12:07 pm, Alex Popescu
 wrote:
> I've just read the "Latency Issues Stabilized" notification and I'd
> like to firstly thank you for taking the time to explain the problems.
> Anyways, I'd also like to point out that the 2 messages in the thread
> are not clearly stating if the problem is 100% solved.
>
> While the first message in the thread (dated Mar.5) mentioned that:
>
> [quote]
> Performance has greatly improved. Latency does remain
> slightly higher for some apps, but all spikes and errors have been
> contained at this time. System performance should remain stable
> throughout the weekend and improve further at the beginning of next
> week.
> [/quote]
>
> there is no clear indication in the second message (dated Mar.16) if
> the issue is solved and if the latency is completely back to normal.
>
> cheers,
>
> ./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] Latency Issues Stabilized

2009-03-17 Thread Alex Popescu

I've just read the "Latency Issues Stabilized" notification and I'd
like to firstly thank you for taking the time to explain the problems.
Anyways, I'd also like to point out that the 2 messages in the thread
are not clearly stating if the problem is 100% solved.

While the first message in the thread (dated Mar.5) mentioned that:

[quote]
Performance has greatly improved. Latency does remain
slightly higher for some apps, but all spikes and errors have been
contained at this time. System performance should remain stable
throughout the weekend and improve further at the beginning of next
week.
[/quote]

there is no clear indication in the second message (dated Mar.16) if
the issue is solved and if the latency is completely back to normal.

cheers,

./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: how to config gwt to work in app engine effective and productive

2009-03-17 Thread Coonay




 Gwt featurs really attractive:quickly build and maintain complex yet
 highly performant JavaScript front-end applications in the Java
 programming language,and Test your code with JUnit.The example mail
 page is really awesome.

 As a many years java progammmer,it's not hard to get into gwt,but the
 app engine is a different web environment,the static page can  not be
 served to browser directly,
 the hype link in the geranated html are needed to change accordingly.

 could you give me some idea how to make they 2 work together
 effective and productive?thanks so much
--~--~-~--~~~---~--~~
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 config gwt to work in app engine effective and productive

2009-03-17 Thread Coonay

Gwt featurs really attractive:quickly build and maintain complex yet
highly performant JavaScript front-end applications in the Java
programming language,and Test your code with JUnit.The example mail
page is really awesome.

As a many years java progammmer,it's not hard to get into gwt,but the
app engine is a different web environment,the static page can be
served to browser directly,
the hype link in the geranated html are needed to change accordingly.

could you give me some idea how to make they 2 work together
effective and productive?thanks so much
--~--~-~--~~~---~--~~
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", line 55, in

2009-03-17 Thread Lord Gustavo Miguel Angel
Matthew, 
yes, i´m using started tutorial. 

  - Original Message - 
  From: Matthew Page-Lieberman 
  To: google-appengine@googlegroups.com 
  Sent: Monday, March 16, 2009 10:19 PM
  Subject: [google-appengine] Re: dev_appserver.py", line 55, in 


  Do you have a .yaml file? Are you using the Getting Started tutorial?


  On Mon, Mar 16, 2009 at 8:24 PM, Lord Gustavo Miguel Angel 
 wrote:

with python 2.5.4 equal. same error.
  - Original Message - 
  From: Matthew Page-Lieberman 
  To: google-appengine@googlegroups.com 
  Sent: Monday, March 16, 2009 9:10 PM
  Subject: [google-appengine] Re: dev_appserver.py", line 55, in 




  The Development Environment
  You develop and upload applications for Google App Engine using the App 
Engine software development kit (SDK).

  The SDK includes a web server application that simulates the App Engine 
environment, including a local version of the datastore, Google Accounts, and 
the ability to fetch URLs and send email directly from your computer using the 
App Engine APIs. The SDK runs on any computer with Python 2.5, and versions are 
available for Windows, Mac OS X and Linux.

  If necessary, download and install Python 2.5 for your platform from the 
Python website...

  
http://code.google.com/appengine/docs/python/gettingstarted/devenvironment.html

  You need to have Python 2.5 and you only have Python 2.4.5 installed.
   

  On Mon, Mar 16, 2009 at 8:05 PM, Lord Gustavo Miguel Angel 
 wrote:



sorry i don´t understand

  - Original Message - 
  From: Matthew Page-Lieberman 
  To: google-appengine@googlegroups.com 
  Sent: Monday, March 16, 2009 8:50 PM
  Subject: [google-appengine] Re: dev_appserver.py", line 55, in 



  Don't forget the first sentence.


  On Mon, Mar 16, 2009 at 7:29 PM, Lord Gustavo Miguel Angel 
 wrote:

thank´s
But i have python 2.4.5 not 3.0

  - Original Message - 
  From: Matthew Page-Lieberman 
  To: google-appengine@googlegroups.com 
  Sent: Monday, March 16, 2009 6:09 PM
  Subject: [google-appengine] Re: dev_appserver.py", line 55, in 



  I know that one of the requirements to run GAE is to have at 
least Python 2.5. Don't go running to Python 3.0 though just quite yet for GAE. 
It's not supported AFAIK.


  On Mon, Mar 16, 2009 at 3:54 PM, goosfancito 
 wrote:


hello,

OS: windows xp Sp2
version python: 2.4.5


i´m new user googe app engine. when i do

dev_appserver.py holamundo

appeserver reports

- 8< -
 File "C:\Google\google_appengine\dev_appserver.py", line 55, in

   execfile(script_path, globals())
 File "C:\Google\google_appengine\google\appengine\tools
\dev_appserver_main.py"
, line 358, in 
   sys.exit(main(sys.argv))
 File "C:\Google\google_appengine\google\appengine\tools
\dev_appserver_main.py"
, line 306, in main
   config, matcher = dev_appserver.LoadAppConfig(root_path, {})
 File "C:\Google\google_appengine\google\appengine\tools
\dev_appserver.py", lin
e 2638, in LoadAppConfig
   raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError

- 8< -

Why?
Thank´s






  -- 

  M. Page-Lieberman
  mateus.just...@gmail.com






  -- 
  M. Page-Lieberman
  mateus.just...@gmail.com





  -- 
  M. Page-Lieberman
  mateus.just...@gmail.com





  -- 
  M. Page-Lieberman
  mateus.just...@gmail.com

  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Efficient paging using __key__ instead of a dedicated unique property

2009-03-17 Thread Simo Salminen

Hi.

Just for the curiosity, I did a simple pagination algo which supports
'previous' button. This is not as fancy as rodrigos, because this is
not generalized for all types of queries. Also it is bit repetitive
because I wanted to keep it easy to understand.

Here is the code:
http://pastebin.com/f66e901b1

It assumes following data model:
 class Issue(db.Model):
whatever = db.StringProperty()
modified = db.DateTimeProperty()

It does sorting based on 'modified' field. The bookmark is (modified|
__key__|direction), where direction is either 'prev' or 'next'. Note
that because it needs to figure out if there are previous and next
pages, it has to do total of 3 queries per page view. I could not
figure out better way to do this.



On Jan 30, 9:44 pm, Rodrigo Moraes  wrote:
> hey there,
> just an update: a working version of the query class with built in
> pagination is available at:
>
>    http://bitbucket.org/moraes/appengine/src/tip/bookmark.py
>
> let me know what you think.
>
> -- rodrigo
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---