Our Appspot/Appname was http://olexeprod.appspot.com/.
Neal
--
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-appeng
My bright co-worker apparently deleted our admin account
zu...@olexe.com. We had two other accounts in the domain, but as far
as I know, they were never associated with the Google-App (even though
they may have been admins).
If we didn't have any other users/admins, would that make the entire
goo
Is there any concept of "night processing" within GAE? I realize that
if a system is world-wide, it is 24x7 and it is never night. But if I
wanted to do some map-reduce jobs, is there any cost savings or
performance benefit to running them "off-hours" (supposing most of our
user-base is in the US
I had problems uploading (from Win7) for about 30 minutes. It was
complaining about SSL and told me to install some SSL python library.
I had trouble getting it to install. Anyway, after 30 minutes or so,
things started working as normal (the error just went away).
Neal
--
You received this me
Here's one more reminder note for anybody else that goes with any lazy-
loading technique. You exchange compile time errors for run-time
errors. So after I changed my 200+ pages to lazy-loading, I then had
to manually test all of them (and still afraid I might have missed
some).
WebApp-Improved
Perfect, much easier. Looks like Nick's blogs were good for when I
want to understand more about the plumbing, but webapp-improved was
more the out-of-the-box experience that I was looking for.
Thanks,
Neal
--
You received this message because you are subscribed to the Google Groups
"Google Ap
Thanks. Was that posted somewhere, or you have inside info?
Neal
--
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-
Where can I go to find the cost of the "always on" feature in 1.4.0?
Thanks,
Neal Walters
--
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 grou
Maybe I'm getting way off track here, but I'd like to get my site back
working today.
Should framework.py look like this? (This is based on Nick's prior
blog: http://blog.notdot.net/2010/01/Webapps-on-App-Engine-part-1-Routing)
I'm all for learning, but I need to get my website fixed ASAP withou
lazytest.py
import framework
class TestHome(framework.RequestHandler):
def get(self):
self.response.out.write('Hello Lazy World')
testHomeHandler = TestHome()
part of main.py:
import framework
application = framework.WSGIRouter()
application.connect('/',
framework.
Was I supposed to save this as framework.py?
class WSGILazyLoader(object):
def __init__(self, fullname):
self.modulename, self.objname = fullname.rpartition('.')
self.obj = None
def __call__(self, environ, start_response):
if not self.obj:
__import__(self.modulename, globals
Please help me to understand Nick's blog.
http://blog.notdot.net/2010/02/Webapps-on-App-Engine-part-6-Lazy-loading
If I tried "Import framework" I got "framework not found". I assume
he wants us to substitute the name of my framework, which is webapp??
I created a file lazytest.py, with the foll
Tim,
How would I go about your one suggestion: "Some other strategies you
can adopt to shrink startup times is trying
to defer some of your imports until you need to use the stuff. "
I have what I would consider a very large code base, just not many
users at this time. My main.py has probably
vely static content from
> > memcache
> > without even starting up a full stack. (ie only importing core api's
> > from appengine)
>
> > This can usually get us an instance cold started and serving the front
> > page in less 200ms
>
> > understanding how
I've read several other posts on this error, but they seem to be
inconclusive and several months old.
We are a startup, so our site is not used frequently, but when used,
it is often someone we are trying to impress,
so we MUST have some solution for this issue if we indeed continue to
use GAE.
Si
I filled it out about a week ago. Am I supposed to get an automated
email or anything to confirm that somebody did something? Or just try
it again occasionally?
Thanks,
Neal
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this
I still need to be able to create a test-site that I can share with co-
workers.
How do I get past this issue? What if I'm a consultant and I create
google app sites for customers? Do I have to use their phone
numbers?
Thanks,
Neal
On Aug 5, 9:49 pm, NealWalters wrote:
> I re
I registered "olexeprod" under olexe.com last week, and now today we
need a test site, so tried to register "olexetest", and getting the
SMS verification issue in the subject above. This really delays
development when this happens. Last time Nick or somebody approved
it, can you do that again?
Does the decorator work in Python 2.5.2 with GAE?
Thanks,
Neal
--~--~-~--~~~---~--~~
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 unsu
I'm not sure this is the best answer, but try this, it might get your
working in the interim:
if str(B.ref) == str(familarKeyFromA):
Neal Walters
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine"
It's my understanding that GAE doesn't support any "gateways". It
supports URLFetch to communicate with external sites.
So if you can communicate with that provider via URLFetch, then you
are "good to go", but you will of course have to write the code
yourself (or find a library for it).
Neal Wa
Sounds like you want to show one URL to your admin/users when on dev,
and another URL when on live/production server?
If so, see this post for Python solution:
http://groups.google.com/group/google-appengine-python/browse_thread/thread/d1537b3ea289322e#
Neal
--~--~-~--~~~
I've been using Mercurial, hosted on bitbucket.com.
Neal Walters
--~--~-~--~~~---~--~~
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 u
I want to run this line of code:
import jsonpickle
strPickledObject = jsonpickle.encode(objCommonTaskMessage)
which works fine outside of GAE, but in GAE gets this error:
File "d:\GoogleAppEngine\3WCloud.com.Provisioning\provisioning.py",
line 740, in get
strPickledObject = jsonpickle
Sorry, I'm not sure about international merchants. You'll have to go
to each vendor and check.
Likewise, with Paypal, I have actually forgotten the difference
between personal and business, because I've had a business account so
long. Paypal will definitely take their cut, and you will probably
This maybe what you are asking about?
http://code.google.com/appengine/articles/remote_api.html
Neal Walters
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send ema
Google Data Store doesn't offer a record count of all rows of a "Kind"
on BigTable; the typical recommendation is to keep your own counter up-
to-date each time you store a record (assuming you really need it).
If you are worried about concurrency when doing this, there is a
"sharding" technique h
Your basic choices are:
1) Google Checkout
2) Paypal
3) Get your own merchant account with your bank and then find a
company that does online processing such as Authorize.Net or PayFloPro
(from Paypal). Usually you will get Visa/MC with your bank, then have
to apply with Amex/Discover separately
On my appspot dashboard, under "Current Load" I have a few yellow
yield signs. The hover-over tool-tip says "This URI uses a high
amount of CPU and may soon exceed its quota". Does that mean there is
some limit per page?
Thanks,
Neal
--~--~-~--~~~---~--~~
You re
Feel free to contact me about contracting. My website on my profile
will lead to my phone.
You can see my activity on the Google Python forum for the past few
months:
http://groups.google.com/group/google-appengine-python/search?group=google-appengine-python&q=nealwalters&qt_g=Search+th
I thought all the info available on logging was here:
http://code.google.com/appengine/articles/logging.html
So the page you gave, says I can download it.
Doesn't say if I can read the log via Python running online. Doesn't
say how long the log is kept (forever, or purge after x days or
months)
I don't think there is any schema in the datastore.
Your db tables are defined as classes in Python or Java.
Once you store data, you can see it in the data-viewer.
But if, for example, you delete all instances of a kind (a table?)
then the structure for that table is no longer shown in the data
v
There is a tool called "Data Viewer" in the GAE Admin Console. Have
you seen it?
It displays data rows (10 at a time I think), allows you to scroll
forward, allow you enter your own GQL command, and allows you to
update and delete.
The only trick is that it only works with data already stored.
It looks like you already understand the basics of the Django
template, yes?
Assuming your code that you posted is in a Django template,
you should be able to this:
field_list =
#then pass it to your template
self.renderPage("yourTemplatPage.html",
{"var1"
Regarding the log here: http://code.google.com/appengine/articles/logging.html
1) How long does the data stay there? Forever? Or is it purged after
x days or months?
2) Is there an API to read the log?
3) Is the log really just a table in BigTable?
4) Is there any export/download where I could
Thanks Nick. It didn't ask me for the SMS that time and I was able to
create the account.
I this a bug - or did I do something wrong? Seems like numerous other
people have reported similar issues.
Thanks,
Neal
--~--~-~--~~~---~--~~
You received this message becau
this email from?
> And where did you initially activate your account?
>
> -Nick Johnson
>
> On Mon, Jul 13, 2009 at 3:53 PM, NealWalters
> wrote:
>
> > Yes, Nick - I posted the URL that I was using in my second post above
> > to make it clear.
>
> > Neal
Yes, Nick - I posted the URL that I was using in my second post above
to make it clear.
Neal
--~--~-~--~~~---~--~~
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-app
I was looking at result instead of result.content - so now at least I
have a response.
But if someone could confirm that they've successfully done API to
Paypal, that would be appreciated.
Neal
--~--~-~--~~~---~--~~
You received this message because you are subscr
I was just reading this post from June 2008
http://groups.google.com/group/google-appengine/browse_thread/thread/9059b0750c45703b/ccda0d4803014e94?lnk=gst&q=paypal#ccda0d4803014e94
Can we now use Paypal API via "urlfetch" ? Or is it blocked?
I was trying it, and my result was always blank - so
And I only have one userid/email registered under this premium google
app account.
On Jul 12, 1:57 pm, NealWalters wrote:
> I was logged on here:http://appengine.google.com/a/3wcloud.com.
> Neal
--~--~-~--~~~---~--~~
You received this message because y
I was logged on here: http://appengine.google.com/a/3wcloud.com.
Neal
--~--~-~--~~~---~--~~
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
Getting error:
"The phone number has been sent too many messages or has already been
used to confirm an account. "
I searched for this message in this forum, and found other cases, but
not a clear solution.
Do you have to manually do something on your side?
my domain is: 3wcloud.com
We have one
Is there anyway to see the log on the local machine?
Thanks,
Neal
--~--~-~--~~~---~--~~
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
If you are sending from local-dev-app-server, then you might be having
the same problem I was - see this message:
http://groups.google.com/group/google-appengine-python/browse_thread/thread/114baca865d09595#.
My problem went away when I ran on the real live Google App Server
environment. My dev e
Not sure, but you might need to use the variable "html" instead of
"body" if you want a hyperlink (or any HTML formatting) in your email
message.
Neal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engi
I just learned about the Gaebar - Backup and Restore utility this
morning:
http://aralbalkan.com/1784.
No time to use it yet, but they have a nice 16:42 minute video.
It talks about moving data between a staging and production
environment, so they might answer part of your question.
Neal Walters
Can you please tell us the features and benefits of your framework?
I don't Jinja2 or Werkzeug - so what's in it for developers?
Neal Walters
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group
I'm still stuck on this - any ideas?
Thanks,
Neal
--~--~-~--~~~---~--~~
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
> I would suggest using version control if you want to be able to easily
> revert,...
I'm using Mercurial, so I have that. I think my point is that when
you upload a new version of an app, you really have no idea if it's
going to work or not. So your site could be down while you are trying
to
Can a developer write a message to the Main/Log file (to be viewed on
the Admin/Console). Seems like this might be handy occasionally for
debugging. Or is it better to create you own table and write there?
Thanks,
Neal Walters
--~--~-~--~~~---~--~~
You received
Nick,
I just discovered that there were "Main/Logs" and "Admin/Logs".
Yesterday, I was looking at the Admin/Logs.
So today, in the "Main/Logs" I see my error.
It is related to this:
import atom.url
returnURL = atom.url.Url('http', settings.HOST_NAME, path='/
customerLogin')
Then when I fixed
I saw another post with a 500 Server Error, and Nick said to check the
logs.
I just now checked there and absolutely nothing about this error is
logged.
Neal
On Jun 15, 8:42 pm, NealWalters wrote:
> I uploaded some enhancements to my google app (running on the google
> site), and now g
I overlaid a version last night, and have been getting this error
(which I just posted as a new post a few minutes ago):
Error: Server Error
The server encountered an error and could not complete your request.
So might be effecting several of us?
Neal
If the problem persists, please report yo
I uploaded some enhancements to my google app (running on the google
site), and now getting this error:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that ca
In InvoiceDetails add this:
invoice = db.ReferenceProperty(Invoice, collection_name='invoice-
invoicedetails')
For more details see this video and/or slides with full code examples:
http://sites.google.com/site/io/working-with-google-app-engine-models
The one thing I haven't seen discussed th
On the Windows dev-app-server admin tool, I cannot edit any table that
have Blob fields on them. I get to the edit screen, but I try to
change a simple string field, and get this error:
Traceback (most recent call last):
File "c:\Program Files\Google\google_appengine\google\appengine\ext
\weba
I've been studying these two samples I found in another post in this
forum:
http://code.google.com/appengine/articles/gdata.html
http://code.google.com/appengine/articles/more_google_data.html
and trying to blend them with this example that creates a new empty
spreadsheet:
http://code.google.co
I also tried this with no success:
{% if session.languages['English'] %}
checked
{% endif %}
which gives this error:
raise TemplateSyntaxError, "Could not parse the remainder: %s" %
token[upto:]
TemplateSyntaxError: Could not parse the remainder: ['English']
I guess
I can't find the last few messages I posted by searching on my name or
the contents.
I have to go to discussions, and click "older"... until I find my
post. They are there, just not searchable.
Is there a known issue right now with the search?
Thanks,
Neal
--~--~-~--~~~-
That worked great!
session.languages = self.request.get_all('language')
Database model defines column:
languages = db.StringListProperty() #stores multiple
languages
Now - I have the data stored, and I want to display it back on the
form (the form is spread across 5
The utf-8 is allowing me to store data, but I have doubts if it is
correct. A word doc and a .JPG file are both binary - not necessarily
UTF-8, correct? What encoding, if any, should I use?
And how do I then extract the bytes back out of the field to allow the
user to download again?
Thanks,
N
This seems to have solved the conversion problem for a Word Resume,
converting string to byte array.
strResume = self.request.get('resume')
mytable.resume = strResume.encode('utf-8')
The photo didn't seem to need any conversion.
But I still have the question about how to display a pic
1) How to convert an uploaded graphic file or resume to a blob field -
to avoid this error:
BadValueError: Property resume must be convertible to a Blob instance
(Blob() argument should be str instance, not unicode)
Form:
Server Code:
mytable = MyTable()
#now set fields from the us
Is it possible to pass a list or array of checkbox values from a
webpage to Python?
For example - give all fields the same name like this:
English:
Spanish:
Portuguese:
Or am I going to have give every checkbox a different name and write
more code?
I'd like to do something like this:
lan
Thanks, this worked:
mytable.put()
savekey = mytable.key()
self.response.out.write(savekey)
return
I thought it was a property, because I used it in a template like
this:
{{forloop.counter}}
This allowed me to create a clickable item to go from a report/listing
to an updat
Is it possible to get the key immediately after the put, something
like this?
mytable.put()
savekey = mytable.key
self.response.out.write(savekey)
return
The above shows this result, which clearly doesn't look a key in the
database:
<__main__.Session object at 0x0D126FF0>>
See this post:
http://groups.google.com/group/google-appengine/browse_thread/thread/67fbac2750b29edc/15e8a78ee5d61baf?lnk=gst&q=auto_now#15e8a78ee5d61baf
Neal
On Jun 1, 5:44 pm, Oliver Zheng wrote:
> auto_now=True is very handy for most modified timestamp properties. Is
> it possible to overrid
Any tips on where to start to create my own RESTful webservices using
Python on the Google App Engine?
So far, I've found this:
http://jtauber.com/blog/2006/01/25/python_web_frameworks_and_rest/
, but not sure it would work well with GAE.
Thanks,
Neal Walters
--~--~-~--~~---
Thanks David! When I made my last post I didn't see yours yet.
Neal Walters
--~--~-~--~~~---~--~~
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@googlegroup
Finally got it:
datetimeTuple = time.strptime(XMLVALUES, "%Y-%m-%d %H:%M:%S");
setattr(OBJ,XMLFIELD,datetime.datetime
(datetimeTuple.tm_year,
datetimeTuple.tm_mon,
datetimeTuple.tm_mday,
datetimeTuple.tm_hour,
datetimeTuple.tm_min,
datetimeTuple.tm_sec))
Is the
Also tried this:
mytable1.eventStartedDateTime = time.mktime(fixdate(xmlDate))
still gives error:
Traceback (most recent call last):
File "DateConversion1.py", line 33, in
mytable1.eventStartedDateTime = time.mktime(fixdate(xmlDate))
File "c:\Program Files\Google\google_appengine\google
PLEASE IGNORE - THIS WAS AN ACCIDENTAL DUPLICATE POST
Neal
--~--~-~--~~~---~--~~
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 unsubscr
How can I "stuff" or convert a time.struct_time into a
db.DateTimeProperty field?
I'm converting an XML date/time in this format: "2009-05-20
04:24:11.715000", and I can parse into a time.struct_time (see code
below), but then cannot set the db field from teh struct_time.
Thanks,
Neal Walters
CO
I switched to this - where taskCode is my hidden field that is on each
form, and it works like a charm.
taskCode= self.request.get('taskCode');
Neal Walters
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
The field is defined in a db.Model (from from google.appengine.ext) as
follows:
class MyTable(db.Model):
dateTimeCreated = db.DateTimeProperty(auto_now=False)
Code: Select all
if XMLFIELDTYPE == "gd:when":
XMLRESULTS = (XMLRESULTS + " SetDate");
76 matches
Mail list logo