Hi to everybody,
I'm new to JDO and Google App Engine, and I'm facing a show-stopper
problem right now.
I've got two classes, TPUser and TPContact, and TPUser has a list of
TPContacts.
Here there are the code snippets:
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable =
Hi,
I'm trying to connect to Facebook API, and to get the access token.
I'm able to retrieve the code parameter following the instructions
in: http://developers.facebook.com/docs/authentication/
but when I want to exchange this code with the access token, I find a
strange behaviour: in my
Guys, I solved it myself.
The problem was in the code parameter, that must be encoded before
fetching the URI.
so the right code is:
String redirUrl = https://graph.facebook.com/oauth/access_token?
client_id= + fbAPIKey +
redirect_uri= +
hi all ,
i want a simple application explain how to integrate facebook api
with my app engine application
best regards,
ahmed shoeib
java developer
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email
Ok! good!
2010/8/17 Ikai L (Google) ika...@google.com:
Hey guys,
This is just a heads up that App Engine SDK version 1.3.6 is officially
released! Read more about it here:
http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performance_17.html
Release notes for Java are
hi all ,
i want a presentation about google app engine
how to make application , how to deploy it , how to manage the
application
best regards,
ahmed shoeib
java developer
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to
Hi John,
The project
http://code.google.com/p/remote-datastore/
No longer compiles, since Google newest SDK removed the following
classes/interfaces:
com.google.appengine.tools.development.ApiProxyLocalFactory
com.google.appengine.tools.development.LocalServerEnvironment
Can you workaround
Are there plans to implement faster count() that does not grow with
the result set size or is this not possible due to the nature of the
datastore?
On Aug 18, 2:34 pm, Gleidson G Moura gleidson.gmo...@gmail.com
wrote:
Ok! good!
2010/8/17 Ikai L (Google) ika...@google.com:
Hey guys,
Hello,
I am just starting off with the Google App Engine and am trying to
understand its datastore and how to use JDO (I am new to JDO too).
I am trying to make a String persistent as follows:
@Persistent
private String inputName;
At run time I am getting this error:
It sounds to me like your Class is missing some things.
Make sure you have the line below right above your class declaration:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class AuditEntry {
On Aug 18, 2:04 am, rsutaria rsuta...@gmail.com wrote:
Hello,
I am just
It's not possible, you'll have to traverse the index no matter what. I
advise counting either offline or on write if this is possible. With very
large numbers, the 90% use case is that you want an approximation. There may
be techniques for approximating (similar to Google Search or Gmail), but
Hi all,
According to appengine SDK 1.3.6 release notes, results of datastore
count() queries and offsets
for all datastore queries are no longer capped at 1000.
I guess datastore count() means PreparedQuery#countEntities().
But PreparedQuery#countEntities() does not seem to return more than
I'm using Google Apps to manage my domain and GAE Java for hosting.
Because I need a way to differentiate distinct cities for my app, I
initially decided to use subdomains to do this. Now, however, I've
realized that this has detrimental effects when it comes to SEO
because google treats
I do understand how browsers work:)
Unfortunately the request sent by the web browser is quite hidden by
Google App Engine plugin in all the html/java script unfriendly
looking files it creates for you.
I even do not know the name of the parameter of this default google
app engine project.
What I
here's a decent example of how to use C# to authenticate using Google
ClientLogin. There enough code in there to see how you would GET/POST
against HTTP endpoints as well
http://dalelane.co.uk/blog/?p=894
we use C# (but any language would do) for our client libraries and
bulkloader and its been
Thanks Ikai,
Is there a way to see edit the bogus entities through datastore
viewer?
On 13 Aug, 18:55, Ikai L (Google) ika...@google.com wrote:
You won't be able to avoid the CPU time. It costs CPU time to delete
entities.
On Thu, Aug 12, 2010 at 12:29 PM, magnum
On 8/15/10, Ben Wilber benwil...@gmail.com wrote:
Hello,
I am using federated login for authentication. So far everything is
working and I can successfully auth against gmail, blogspot, launchpad
etc. The question I have is whether I should be using the
User.federated_identity or
Hi,
The Python implementation is in most respects the same as CPython. Thus, it
doesn't cache calls to compile unless CPython does, which, to the best of my
knowledge, it doesn't.
-Nick Johnson
On Tue, Aug 17, 2010 at 8:58 PM, HGF herbert.fisc...@gmail.com wrote:
Hi,
Does GAE cache compiled
Hi Jason,
The restrictions for the Python runtime are the same: the sender address
must be either the address of an administrator, the address of a logged in
user, or a valid address for that app to receive email on.
-Nick Johnson
On Mon, Aug 16, 2010 at 11:33 PM, Jason C
Hi Nick,
You meean ReplyTo address there, not sender address, right?
Jody
On 18 August 2010 13:08, Nick Johnson (Google) nick.john...@google.comwrote:
Hi Jason,
The restrictions for the Python runtime are the same: the sender address
must be either the address of an administrator, the
Hi Jody,
On Wed, Aug 18, 2010 at 1:28 PM, Jody Belka j...@jj79.org wrote:
Hi Nick,
You meean ReplyTo address there, not sender address, right?
I believe the same restrictions apply to both.
-Nick
Jody
On 18 August 2010 13:08, Nick Johnson (Google) nick.john...@google.comwrote:
Hi
Hi,
It sounds like you're accounting for CPU megacycles, but not API CPU
megacycles. You also need to call quota.get_request_api_cpu_usage().
-Nick Johnson
On Tue, Aug 17, 2010 at 7:38 AM, MyElasticEye sarp.er...@gmail.com wrote:
Hi,
I have been trying to optimize the App Engine application
Hi,
datastore_v3 is the name of the backend service that processes requests to
the App Engine datastore. It's not explicitly documented, as it's an
implementation detail.
-Nick Johnson
On Tue, Aug 17, 2010 at 12:30 PM, IvyTang ivytang0...@gmail.com wrote:
now i'm studying the data transfer
You can have Reply To be anybody. I often use that trick to work around the
sender-must-be-a-developer rule.
On Aug 18, 2010, at 8:29 AM, Nick Johnson (Google) wrote:
Hi Jody,
On Wed, Aug 18, 2010 at 1:28 PM, Jody Belka j...@jj79.org wrote:
Hi Nick,
You meean ReplyTo address there, not
Dear guys, could you elaborate or point to an example where these are
different so that we can understand:
*admin address
*valid address for that app to receive email on
With many thanks for teaching and helping us here (Nick Rosencrantz)
--
You received this message because you are subscribed
Just use the remote_api to get and examine the bad entities.
If you know the bad characters.. just strip them out or replace them with a
dummy character and re-put the entities to the datastore.
On Wed, Aug 18, 2010 at 6:53 AM, magnum p.magnow...@gmail.com wrote:
Thanks Ikai,
Is there a way
Hi !
I was trying to upload images and showing them exactly in the way it's
described in http://code.google.com/appengine/kb/java.html#fileforms
It seems like it works fine for small images, but when they are
bigger, i.e. 100 K, it hangs when doing the write of the response and
after a while it
For example,
if you want to add a commnity page to your webpage , you can use
phpbb to add it to your site.
and in wordpress you have lot of pluggins which you can use.
Is there a way you can write/add pluggins to your app engine project.
Like i am planning to create a question and answer
Hi.
I want to recode my python webapplication script because it should run
on the Google App Engine.
Before I used SQL but now I must rewrite my database queries in GQL/
Datastore by Google.
I have problems to delete database entries. I want delete entries by
ID but it doesn't work.
My db class:
Hi,
Adding app...@appspot.com yields an immediate positive reply (contact
added), but anyth...@app-id.appspotchat.com doesn't. Must my GAE app
send out the invite? I'd rather have the user inititate.
--
You received this message because you are subscribed to the Google Groups
Google App Engine
Looking For: A “demo” web web-based application that uses web services
Greetings – I am using GAE to experiment with various software
techniques to capture and analyze the messages being exchanged between
web services, web services that together would form a cloud hosted web
application. One of
Well when using web services in java, i am using GroovyWS
http://groovy.codehaus.org/GroovyWS
http://groovy.codehaus.org/GroovyWSthis is a dynamic language that has the
option to load web services on the fly and i guess that you only need to
include the jar in your project so you can use it on GAE
The only way to do this is uploading files using GAE SDK.
I'm working in a different way, but using DB and I don't know if this will
have good performance.
On Tue, Aug 17, 2010 at 23:32, Chandrashekar
chandrashekar.vijayar...@gmail.com wrote:
For example,
if you want to add a commnity page
I don't use Python but...
key ids are unique within entity groups so unless your entities are in
entity groups you'd only have one with an id of 20.
On Wed, Aug 18, 2010 at 8:33 AM, TZ zam...@googlemail.com wrote:
Hi.
I want to recode my python webapplication script because it should run
on
some server-side and client-side code might help
On Tue, Aug 17, 2010 at 8:13 PM, JavierH javierh...@gmail.com wrote:
Hi !
I was trying to upload images and showing them exactly in the way it's
described in http://code.google.com/appengine/kb/java.html#fileforms
It seems like it works fine
Per RFC 2822 E-mails have two fields: From and Reply-To. Both
these fields are exposed in Python's mail.EmailMessage as sender and
reply_to attributes. In my hands on experience with GAE Python these
two fields can be different. The sender MUST be an app administrator
or a logged in user but the
If you want to get something by it's ID, you'd probably want to use
get_by_id():
http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_get_by_id
http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_get_by_idwhere
you could give it a single ID.. or a
Thank you App Engine Team! I had been struggling with how I would get
a decent solution for displaying lots of thumbnail images on one page,
and with this release and the getServingUrl function, it seems like my
problems are solved!
On Aug 17, 2:19 pm, Ikai L (Google) ika...@google.com wrote:
On the dev server the login dialog page sometimes fails to appear.
Seeing a invalid XML Syntax error message that points to this code...
input type='text' name='email' id='email'value='t...@example.com'
Please fix this issue.
--
You received this message because you are subscribed to the
Think it appears when protected static resources.
On Aug 18, 11:46 am, brianl licht...@gmail.com wrote:
On the dev server the login dialog page sometimes fails to appear.
Seeing a invalid XML Syntax error message that points to this code...
input type='text' name='email'
This issue is appearing in production environment as well.
On Aug 18, 12:02 pm, brianl licht...@gmail.com wrote:
Think it appears when protected static resources.
On Aug 18, 11:46 am, brianl licht...@gmail.com wrote:
On the dev server the login dialog page sometimes fails to appear.
While we on the subject of sender address does anybody have an
understanding when outgoing E-mils are stored in Sent Mail folder of
account that is sending E-mails?
When I send e-mails from my gmail account the messages are in Sent
Mail
But what happens when sending account is Google Apps
The static resource being protected is a javascript file.
On Aug 18, 12:29 pm, brianl licht...@gmail.com wrote:
This issue is appearing in production environment as well.
On Aug 18, 12:02 pm, brianl licht...@gmail.com wrote:
Think it appears when protected static resources.
On Aug 18,
Hi,
can someone help me with this?
class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
def post(self):
upload_files = self.get_uploads('foto')
blob_info = upload_files[0]
foto = FOTO.all()
foto.fotokey = blob_info.key()
foto.put()
self.redirect('/foto')
Why it's not working? (It
getServingUrl works fine, returning a url of
http://localhost:8080/_ah/img/sxO56aAM_qVlARX4ym61bQ,
but when i navigate my browser to that url i get a security exception:
any ideas how to fix this, or is it a dev server bug?
Aug 18, 2010 8:14:45 PM com.google.apphosting.utils.jetty.JettyLogger
On Aug 18, 8:33 am, TZ zam...@googlemail.com wrote:
The column ID is generated and filled with consecutive numbers
automatically. True?
No. IDs aren't consecutive, and they're not in a column; the ID is
a part of the Key, not a property of the datastore entity (strictly
speaking, your actual
No, this isn't the best place to post these questions, as they're not App
Engine related, they're general web development related.
There's the Google Visualizations API, which does some of the things you
need:
http://code.google.com/apis/visualization/documentation/gallery.html
In the past,
Gotta protected the static resource, javascript file, with a html file
first.
On Aug 18, 12:31 pm, brianl licht...@gmail.com wrote:
The static resource being protected is a javascript file.
On Aug 18, 12:29 pm, brianl licht...@gmail.com wrote:
This issue is appearing in production
For sure the Python Mail API does not raise an exception when using a
ReplyTo that is not a developer, etc. However, I _think_ it does raise
an exception for the From field.
What we have been seeing is intermittent delivery (recently) when
using a ReplyTo that is not a developer, etc. We are
Hey,
I need to keep a task running and monitoring twitter stream api.
Is it possible to initiate a task that does
try
catch DeadlineExceededException
task.add the same task again?
so basically the task will always rerun itself over and over and over
indefinitely? i dont mind it ending after
To be honest, I don't know the differene btw the API CPU cycles and
the CPU cycles.
On Aug 18, 3:27 pm, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi,
It sounds like you're accounting for CPU megacycles, but not API CPU
megacycles. You also need to call
Why don't you just add that task to a queue and if it fails, it will
automatically re-execute itself and run again in a few minutes.
On Aug 19, 12:00 am, alon alon.car...@gmail.com wrote:
Hey,
I need to keep a task running and monitoring twitter stream api.
Is it possible to initiate a task
thats what im asking. can i re-instate recursively a task every time it
fails dues making the task run forever?
-
Cheers,
def AlonCarmel(request)
import simplejson as json
contact = {}
contant['email'] = 'a...@aloncarmel.me'
contact['twitter'] = '@aloncarmel'
Know what would be better? A pause button.
With ajax requests going and lots of logging, the console is pretty
unusable; you can't even copy/paste unless you are inhumanly fast.
On Aug 17, 7:56 pm, Matt H matt2...@gmail.com wrote:
Yup. I 3 this.
On Aug 17, 11:37 pm, Jason C
There are a number of ways you can do it.
You could create a task that does an amount of work that takes well under 30
seconds to run.. and whenever it completes, it just adds itself back to the
taskqueue.
Or, as you mention, just make it so that your task just keeps running until
the
Thanks for the link.
So is it so hidden? Has anyone been able to decode the Webservice
beyond the default project created with the Eclipse plugin?
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
According to the release notes for HtmlUnit 2.8, it now works on GAE.
Has anyone been able to get it working?
--
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
Hi!
You can delete the .appcfg_cookies (and maybe the .appcfg_nag) files
in your user folder. I think this are the files that are locally
stored to authenticate you (until they expire).
If you're on Vista (I am), it's found in C:\Users\Owner.
I hope that helps.
Albert
On Aug 18, 11:19 am,
OK guys and gals, I got it! If you also use google app engine plugin
for Eclipse, read on since there is a hack I have not found anywhere
else out there.
Here is the answer in C#:
WebRequest request = WebRequest.Create(http://
1.latest.myapp.appspot.com/appname/greet);
I'm not sure what you're talking about with respect to decoding the
Webservice, but my application uses a c# client to access it. Here is
the c# code where it accesses it:
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Method = GET;
req.KeepAlive = false;
using (var respstream
My post is regarding Google App Engine Plug-in for Eclipse. I am
working with the default project there (which is using a POST, not a
GET, as in you case).
Did you create your application using that plug-in? If not, then we
are talking about different things.
--
You received this message because
I have the same problem. Works fine when uploaded, the problem is on
deve server.
On Aug 18, 4:17 pm, Spines kwste...@gmail.com wrote:
getServingUrl works fine, returning a url
ofhttp://localhost:8080/_ah/img/sxO56aAM_qVlARX4ym61bQ,
but when i navigate my browser to that url i get a security
62 matches
Mail list logo