[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...@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: 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 Djangotasks).
--~--~-~--~~~---~--~~
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: 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 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] 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 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] 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 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: 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 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: 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 to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Get 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 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: 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 for
me).

I'd love to see someone tell us how to fix this, but until then,
you'll have to use version 1.
--~--~-~--~~~---~--~~
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] 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 = Newsletter.all().fetch(100)
if 'PK_VALUE' in y:
   return HttpResponse('Pk correct')

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



[google-appengine] Re: Get 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 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Get 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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Get 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.
--~--~-~--~~~---~--~~
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: 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 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] 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 retrieve the data without that error?
--~--~-~--~~~---~--~~
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: Sending Email

2009-03-28 Thread Wiiboy



On Mar 28, 6:07 am, David Wilson d...@botanicus.net 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 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] Internal server error during update

2009-03-28 Thread Wiiboy

Hi,
I'm running Django and app-engine-patch 1.0.  When I enter appcfg.py
update ../app it responds with:
Scanning files on local disk.
Scanned 500 files.
Initiating update.
2009-03-28 17:14:23,647 ERROR appcfg.py:1235 An unexpected error
occurred. Aborting.
Traceback (most recent call 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())
  File /home/wiiboy/Desktop/google_appengine/google/appengine/tools/
appengine_rpc.py, line 303, in Send
f = self.opener.open(req)
  File /usr/lib64/python2.5/urllib2.py, line 387, in open
response = meth(req, response)
  File /usr/lib64/python2.5/urllib2.py, line 498, in http_response
'http', request, response, code, msg, hdrs)
  File /usr/lib64/python2.5/urllib2.py, line 425, in error
return self._call_chain(*args)
  File /usr/lib64/python2.5/urllib2.py, line 360, in _call_chain
result = func(*args)
  File /usr/lib64/python2.5/urllib2.py, line 506, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---


What's up?
--~--~-~--~~~---~--~~
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: 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 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: 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, 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: 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-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[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 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] 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 ADMIN_EMAIL
--~--~-~--~~~---~--~~
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: 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.
--~--~-~--~~~---~--~~
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] 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 get an SMTPAuthenticationError.
--~--~-~--~~~---~--~~
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: 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 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: 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 daf...@gmail.com 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.
--~--~-~--~~~---~--~~
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: 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 have to hold off on the App Engine until I
make my own forum.

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: 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-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: 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 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: 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?
--~--~-~--~~~---~--~~
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] 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?
--~--~-~--~~~---~--~~
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: 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 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] 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 that's not
a problem.

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



[google-appengine] 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 question:  would App Engine be any faster than standard CGI
like my other hosting provider provides (I thought I read thats all
App Engine uses)?  It seems the Python stuff with my other provider is
a bit slow...?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---