[google-appengine] Re: Programming Google App Engine book and code samples now available

2010-01-26 Thread App Engine User
Thanks for the Sample Programs.

On Jan 25, 6:08 pm, Dan Sanderson  wrote:
> Greetings App Engine developers -
>
> The book *Programming Google App Engine*, written by yours truly and
> published by O'Reilly Media, is now available in bookstores everywhere. The
> book covers everything from the datastore to task queues, using both Java
> and Python.
>
> http://www.amazon.com/Programming-Google-App-Engine-Infrastructure/dp...http://oreilly.com/catalog/9780596522735/
>
> All of the code from the book is now available for download and online
> browsing. The code is released under the Apache 2.0 license, and is
> available as a Zip archive and accessible via a Mercurial repository in
> Google Project Hosting. Even if you don't (yet) have a copy of the book, the
> samples may be useful as a reference. And it's free! :)
>
> http://ae-book.appspot.com/http://ae-book.appspot.com/downloads/http://code.google.com/p/pgae-examples/
>
> Also check out the website for the book for updates (there's a blog feed)
> and errata. I'll be maintaining the code samples and testing them with
> releases of App Engine for the near future.
>
> Feedback, bug reports and questions about the book and these samples are
> most welcome. Let me know what you think!
>
> Thanks!
> -- Dan

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



[google-appengine] Re: Datastore Query problem

2010-01-27 Thread App Engine User
This may help

http://code.google.com/p/pgae-examples/source/browse/1e/java/ch08/queries/src/queries/JPAQueriesServlet.java


On Jan 26, 6:13 pm, BlueBlood  wrote:
> Hi there,
> I'm a newbie with GAE, I'm using JPA to access datastore and I'm
> having a problem querying datastore.
>
> I have successfully inserted a few record into datastore using JPA but
> I can not read them back from datastore.
> Following is my code to query datastore.
>
> --
> EntityManager em = EMF.get().createEntityManager();
>                 Query query = em.createQuery("select t from
> com.test.dataschema.User_JPA as t");
>                 List result = query.getResultList();
>
> --
> EMF class definition:
>
> package com.fineart.dataschema;
> import javax.persistence.EntityManagerFactory;
> import javax.persistence.Persistence;
>
> public final class EMF {
>
>         private static final EntityManagerFactory emfInstance =
>         Persistence.createEntityManagerFactory("transactions-
> optional");
>
>     private EMF() {}
>
>     public static EntityManagerFactory get() {
>         return emfInstance;
>     }}
>
> --
>
> I would be so grateful if someone help me out.
> 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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] URGENT - URGENT: ValueError: Could not determine directory that contains both, this file and lib/ipaddr.

2013-08-16 Thread Google-app-engine-user


This ISSUE is nailing me down to hell. Please can someone kindly check how to 
solve this? Its often happening. Cant find head nor tail of this. 2/3 weeks 
works and then completely stop working unless i change the whole Goolge App 
Engine and my apprtc.


[root@ip-10-59-143-73 lib]# uname -a
Linux ip-10-59-143-73 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 
x86_64 x86_64 x86_64 GNU/Linux


[root@ip-10-59-143-73 tmp]#/opt/python2.7/bin/python2.7 
/var/tmp/google_appengine/dev_appserver.py --host 0.0.0.0 /var/tmp/apprtc
Traceback (most recent call last):
  File "/var/tmp/google_appengine/dev_appserver.py", line 73, in 
_DIR_PATH = _get_dir_path(os.path.join('lib', 'ipaddr'))
  File "/var/tmp/google_appengine/dev_appserver.py", line 63, in _get_dir_path
'file and %s.' % sibling)
ValueError: Could not determine directory that contains both, this file and 
lib/ipaddr.
^C


It has been running 3 weeks and last night its auto matically not working and 
when-ever restarting the process, its throwing this above error

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.