[google-appengine] Re: Noob: Python or Java???

2009-12-20 Thread Wiiboy
As far as I know, Server-side code and client-side are completely separate (although I guess in some instances they may be similar). -- 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...@googl

[google-appengine] Re: Combining Python and Java

2009-08-24 Thread Wiiboy
I haven't done it yet (I plan to, not on GAE, though), but I don't see why not. Check out their wiki page, they've got a few examples for using Django/ GAE with pyjamas. A couple are outdated, though. If you download the latest version (0.6), you can see a working example (I think it's called D

[google-appengine] Re: Sending Email

2009-05-18 Thread Wiiboy
Hey, can you guys remove the url of my site from your posts. --~--~-~--~~~---~--~~ 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 unsubs

[google-appengine] Get all but first 10 out of DB

2009-05-15 Thread Wiiboy
Hi, I want to get the all the results out of a database, except the first 10. What query would I use to do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send

[google-appengine] Re: Accidentally deleted my files; Can I download them back?

2009-05-07 Thread Wiiboy
Never mind, I got them back. --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Accidentally deleted my files; Can I download them back?

2009-05-07 Thread Wiiboy
Ummm What do I do then? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email

[google-appengine] Accidentally deleted my files; Can I download them back?

2009-05-07 Thread Wiiboy
Hi, I accidentally deleted the files for my app off of my local computer. Is there a way to download those files back from the appengine server? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" grou

[google-appengine] Re: Get values by unique ID

2009-04-24 Thread Wiiboy
If only I'd read this when you made that post I eventually discovered db.get(). Thanks anyway though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email t

[google-appengine] Urlfetch Application errors

2009-04-14 Thread Wiiboy
Hi, I'm trying to contact a website using the Python urlfetch api. Using urlfetch.fetch is giving me ApplicationError:2 What is ApplicationError 2? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: Versions issue

2009-04-14 Thread Wiiboy
I remember, I had this problem. It's really strange. Just by chance, in the administration console dashboard, does it say you have exceeded any quotas? When that happened to me, it said I had exceeded "App Config Service Config App Call Count". It still won't let me use that version (version 1

[google-appengine] Re: Get values by unique ID

2009-04-13 Thread Wiiboy
Are you referring to the filter('pk ='? If so, Quote from http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_filter "If the operator is omitted from the string (the argument is just the property name), the filter uses the = operator." --~--~-~--~~---

[google-appengine] Re: Get values by unique ID

2009-04-13 Thread Wiiboy
H I've got a Blob in that DB. Blobs aren't indexed, right? Could that be causing the problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to googl

[google-appengine] Re: Get values by unique ID

2009-04-13 Thread Wiiboy
Correction: The code above is wrong in the second chunk. But the concept is the same: there is a value in the database with that PK, but App Engine won't return it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Go

[google-appengine] Get values by unique ID

2009-04-13 Thread Wiiboy
I've got a site running on app-engine-patch and Django. I need to know how to get one row from the DB when I know a certain value, like a primary key. I've tried the pk: Newsletter.all().filter('pk', 'PK VALUE').get() But that returns None, although when I do (something just like): y = Newslett

[google-appengine] Re: Working with Blobs

2009-03-31 Thread Wiiboy
Ya, I fixed it. The value in the DB was in there before I switched the property from db.Text to db.Blob. A unicode string was in the DB, so I just emptied it, and it works. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[google-appengine] Re: File uploading

2009-03-30 Thread Wiiboy
Solved: Send the file as an attachment, then I can read it :) --~--~-~--~~~---~--~~ 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 unsubs

[google-appengine] File uploading

2009-03-30 Thread Wiiboy
I'm having users upload files, which should be Text, Doc, or Odt. I need to be able to open these files on my computer. I would use a db.Blob, and store the file there. But how do I open the file on my computer? --~--~-~--~~~---~--~~ You received this message beca

[google-appengine] Working with Blobs

2009-03-30 Thread Wiiboy
Hi, I've got a site where users upload files. I'm storing the files in a db.BlobProperty in my "db". Whenever I go to retrieve the data I get the following error: BadValueError: Property file must be convertible to a Blob instance (Blob() argument should be str instance, not unicode) How do I re

[google-appengine] Re: Internal server error during update

2009-03-28 Thread Wiiboy
If I switch to a new version, it uploads ok. But when I go to tell it that it is the default, I get a server error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, se

[google-appengine] Re: Internal server error during update

2009-03-28 Thread Wiiboy
Ok, now it says: Your application has exceeded a quota: App Config Service Config App Call Count But what is that quota? According to "Quota Details", I have deployed 103 times in the past day. --~--~-~--~~~---~--~~ You received this message because you are subscr

[google-appengine] Internal server error during update

2009-03-28 Thread Wiiboy
last): File "/home/wiiboy/Desktop/apps/google/appengine/tools/appcfg.py", line 1213, in DoUpload missing_files = self.Begin() File "/home/wiiboy/Desktop/apps/google/appengine/tools/appcfg.py", line 1009, in Begin version=self.version, payload=self.config.ToYAML()) F

[google-appengine] Re: Sending Email

2009-03-28 Thread Wiiboy
On Mar 28, 6:07 am, David Wilson wrote: > AFAIK AppEngine strips the display name part, annoyingly. This was > true a few months ago anyway. Yup, still does, for me anyway. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[google-appengine] Re: Sending Email

2009-03-27 Thread Wiiboy
My domain is schoolgoo.com So I set up the user schoo...@schoolgoo.com. I send it as schoo...@schoolgoo.com (It gives an error if I use schoo...@schoolgoo.com). The sender then shows up as 'schoogoo'. I guess that's Ok, but SchooGoo would be better. --~--~-~--~~~---~-

[google-appengine] Sending Email

2009-03-27 Thread Wiiboy
Hi, Is there a way to send an email from App Engine and have a custom name appear as the sender, e.g. From: Site Name --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group,

[google-appengine] Re: 500 Error when sending mail

2009-03-27 Thread Wiiboy
Fixed. I wasn't sending it from an Admin account. --~--~-~--~~~---~--~~ 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

[google-appengine] Re: 500 Error when sending mail

2009-03-27 Thread Wiiboy
Never mind! --~--~-~--~~~---~--~~ 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-appen

[google-appengine] Re: 500 Error when sending mail

2009-03-27 Thread Wiiboy
Oh. How do I register an admin account? --~--~-~--~~~---~--~~ 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

[google-appengine] Re: 500 Error when sending mail

2009-03-26 Thread Wiiboy
I just noticed in the Docs that it can send mail to "the currently logged in user or an Admin. " Is that the only people to whom mail can be sent? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" g

[google-appengine] 500 Error when sending mail

2009-03-26 Thread Wiiboy
Hi, I'm using Django (with App Engine patch) on my site on App Engine. Using Google's Mailing API (google.appengine.api.mail.send_mail), I get a 500 server error when I send mail. However, the recipients emailed section in the Admin Dashboard increments one each time. On the development server, I

[google-appengine] Re: Should I migrate to App Engine?

2009-02-27 Thread Wiiboy
Ok, last post wasn't very clear: I was referring to connecting to a remote MySQL Database. --~--~-~--~~~---~--~~ 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-appen

[google-appengine] Re: Should I migrate to App Engine?

2009-02-27 Thread Wiiboy
Well, darn. Bastian Hoyer said "not directly.. you can only use http requests on port 80 or 443 (ssl) The only thing you can do is add a php script on your server that acts as a proxy for your app. " And since that will probably slow things down, and be hard to work with, I think I'm going to ha

[google-appengine] Re: Access remote MySQL database

2009-02-27 Thread Wiiboy
But that would add to page load time, wouldn't it? On Feb 27, 1:22 am, Bastian Hoyer wrote: > not directly.. you can only use http requests on port 80 or 443 (ssl) > > The only thing you can do is add a php script on your server that acts > as a proxy for your app. --~--~-~--~~--

[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Wiiboy
I started another 'discussion' about this. --~--~-~--~~~---~--~~ 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 gro

[google-appengine] Access remote MySQL database

2009-02-26 Thread Wiiboy
Hi everyone, I've got a PHP forum running on a shared server. I'd like to get an App running on App Engine that integrates with that forum. By integrate, I mean it has to be able to access the database running on that server. So, is there a way to access that MySQL database? --~--~-~--~

[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Wiiboy
Hum. Well, I've got a PHP forum that I'm running. On my normal hosting, I could connect to the MySQL database for data regarding the forum (currently logged in user's username, etc.). Now, since App Engine doesn't support MySQL, what do I do? Or is this idea done for? --~--~-~--~~-

[google-appengine] Re: Should I migrate to App Engine?

2009-02-26 Thread Wiiboy
So what are the advantages of moving to App Engine? By the way, my other hosting provider says that it uses CGI. Is that the same thing as WSGI? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" gr

[google-appengine] Re: Should I migrate to App Engine?

2009-02-25 Thread Wiiboy
Huh. You sound like my Google-hating dad, saying, 'I drink the Google kool-aid'. But I'm not using my own servers. I'm hosting with another company (called Lunarpages). There isn't much code to convert, and, for safety, I'd probably try to keep up a standard-python copy, just in case. One big q

[google-appengine] Should I migrate to App Engine?

2009-02-25 Thread Wiiboy
Hi everyone, I've got a site right now that I plan to have coded all in Python (and Javascript, Css, etc.), hosted on a shared hosting account. It hasn't been released yet (it's not even finished), so should I migrate it to App Engine? As far as I know, I won't come close to the free quotas, so