mydomain.appspot.com/crossdomain.xml
gives a 404. The rest of the deployed app is working fine.
Any ideas?
Thanks,
Dane
rro wrote:
> Can you try?
>
> routes_in = ((/crossdomain.xml', '/init/static/crossdomain.xml'),)
>
> On May 8, 11:58 am, Dane wrote:
>
> > Hello,
>
> > In my routes.py file, I have this line:
>
> > routes_in = (('.*:/crossdomain.xml', '
'Please fix it before you restart web2py')
raise e
On May 8, 5:24 pm, Dane wrote:
> I tried this. It works locally, but still having problems when
> deployed. Now I'm getting a 500.
>
> Here's the traceback:
>
> : invalid syntax (, line 1)
&
Looks like same problem I've been having.
On May 10, 5:23 pm, Chris S wrote:
> Does routes.py work on GAE? I've recently deployed an app which used
> the 5-line routes.py from the book for routing robots.txt and
> favicon.icon. I just wanted to get rid of that 100% error rate on
> those two fil
Did you see the example of producer/consumer messaging on GAE? That's
killer.
On May 11, 12:26 am, mdipierro wrote:
> you can already use pyqmf with web2py. I am not sure about rtmp. It is
> not a protocol that should be encouraged. http already provide range
> requests/partial content for stream
page')
> auth.settings.logout_next = URL(r=request,c='default',f='apage')
>
> look in gluon/tools.py to see what the defaults are for many things.
>
> -wes
>
> On Wed, Feb 3, 2010 at 12:08 PM, Dane wrote:
> > Thanks, but I still don't understand.. i
#x27;ve started with web2py that I've found myself missing a django
feature--blocks make this trivial. Ideas?
Thanks,
Dane
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.
Thanks, I'll check it out.
On Feb 4, 9:45 am, DenesL wrote:
> See section 5.4 in the book.
> It explains page layout including blocks.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com
I'm building an app for finding ultimate frisbee tournaments, leagues,
and pickup games by date, geographical proximity, and other criteria
on GAE with a Flex front end. Hope to eventually expand to team,
league, and tournament management with online payments, and add a play
diagramming tool and so
ects
5.) Use bulk operation to select full tournaments using remaining geo
objects' event_ids
6.) Assemble many-to-manys
7.) Return to client
Thoughts on this approach? Many thanks for reading and any advice you
can give.
-Dane
--
You received this message because you are subscrib
Can this be done through the DAL? I see there is a get() method on
google.appengine.ext.db that can take multiple keys, but that syntax
confuses me.
-Dane
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send em
.from_path(table_name, id,
_app=u'appname')
return gae.get(keys)
On Mar 26, 11:50 pm, mdipierro wrote:
> Not through the dal but if you find out how to do it using GAE API,
> post an example here and we can look into implementing it.
>
> Massimo
>
> On
Also the result objects use some sort of wrapper class, similar to the
web2py row object. Properties are accessed by dot syntax. Id is
accessed by result.key().id()
On Mar 27, 5:31 am, Dane wrote:
> Hooray, I can contribute something! It's just a matter of converting
> the ids to Key
Hey all,
I need to do some geospatial queries for my current project.
Unfortunately, GAE doesn't allow multiple numerical comparisons in one
query, so proximity queries based on latitude/longitude columns are
out.
GeoModel to the rescue (http://code.google.com/p/geomodel/).
By extending GeoModel
Hello,
I have a db.table.insert and a db(query).update that both generate
timestamp columns. Is there a way for me to get the generated values
of these without hitting the db again?
Thanks.
idation for each field manually, but I'm
wondering if there's a DRY method I could use instead. Thanks!
-Dane
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To
Thank you. That worked like a charm.
On Jan 13, 1:10 pm, mdipierro wrote:
> Try
>
> form.accepts(flexItem,formname=None)
>
> On Jan 13, 12:06 pm, Dane wrote:
>
> > Hello,
>
> > I've been learning Web2Py and liking it a lot. Thanks for your hard
> >
hrough a template to Flex through an amf function? Thanks!
-Dane
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+uns
Also note I'm running on GAE, in case that makes a difference.
On Jan 29, 6:44 pm, Dane wrote:
> Hello,
>
> I'm building a web2py backend for a Flex site, and I would like to
> send some of my data as XML since it's hierarchical in nature and AS3
> has great xml
ou look into web2py services?
>
> @service.amfrpc3('domain')
> def somefunction(a,b,c):
> return a+b+c
>
> On Jan 29, 5:44 pm, Dane wrote:
>
> > Hello,
>
> > I'm building a web2py backend for a Flex site, and I would like to
> > se
Great, nice and simple. Thanks.
On Jan 29, 9:52 pm, Thadeus Burgess wrote:
> @service.amfrpc3('domain')
> def somefunction(param):
> return response.render(filename='mytemplate.xml', context=dict(items))
>
> -Thadeus
>
> On Fri, Jan 29, 2010 at
, I'd like them to be redirected to the decorated controller
function they initially tried to access. Any ideas? Thanks.
-Dane
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups
xt = URL(...)
>
> On Feb 3, 12:03 am, Dane wrote:
>
> > Hey all, I've been using the @auth.requires_login() decorator and I
> > love the simplicity. It was also pretty easily to hook it into google
> > account authentication after a bit of searching on this group. My
Wes James wrote:
> db.py
>
> On Wed, Feb 3, 2010 at 11:12 AM, Dane wrote:
> > Thanks, and where would I set this to get a redirect to the function
> > being accessed? In the body of the controller function itself? I'm new
> > to python and decorators, but I assumed n
Wes James wrote:
> db.py
>
> On Wed, Feb 3, 2010 at 11:12 AM, Dane wrote:
> > Thanks, and where would I set this to get a redirect to the function
> > being accessed? In the body of the controller function itself? I'm new
> > to python and decorators, but I assumed n
Hey all, thought you might be interested to know that I just patched a
project HamlPy, a library for converting a pythonic haml-like syntax
to django templates/html, to work with web2py templates.
It allows for a less crufty, indentation-based syntax. Because it's
indentation-based, {{ pass }} is
tted, migrate for the
original tables, fake for the others, etc. etc. No luck.
Any ideas?
-Dane
s exactly, letting web2py
> > generate its own, and many combinations of these two with
> > migrate=True, fake_migrate=True, both omitted, migrate for the
> > original tables, fake for the others, etc. etc. No luck.
>
> > Any ideas?
>
> > -Dane
ted
> >>> by web2py work fine.
> >>> All the the tables are set with 'fake_migrate=True'. On the server,
> >>> I've tried both syncing the database folders exactly, letting web2py
> >>> generate its own, and many combinations of these two with
> >>> migrate=True, fake_migrate=True, both omitted, migrate for the
> >>> original tables, fake for the others, etc. etc. No luck.
> >>> Any ideas?
> >>> -Dane
g on windows and my server is linux--obviously this isn't
good for a lot of reasons, not least because I also need to
differentiate now between staging and production environments both on
the linux server.
Thanks.
-Dane
I'm doing something similar for configuration, but I'd really like to
find a way to detect this setting automatically instead of setting a
flag which just adds needless complexity to my git deployments. All I
really need is a way to reliably check the full url of my app as the
client sees it, and I
Where does REMOTE_HOST live?
On Feb 2, 10:46 am, Vinicius Assef wrote:
> Try to check the REMOTE_HOST.
>
> If it is "localhost", it is local.
>
>
>
>
>
>
>
> On Wed, Feb 2, 2011 at 6:09 AM, Dane wrote:
> > I'm doing something similar for c
ere something else I need to do or is this a bug in
the MySQL adapter?
Thanks.
-Dane
Thank you. Fix from that thread did the trick.
On Feb 3, 1:02 am, Anthony wrote:
> See this recent
> discussion:https://groups.google.com/d/topic/web2py/tL8gnapo6fg/discussion
>
>
>
>
>
>
>
> On Thursday, February 3, 2011 12:39:45 AM UTC-5, Dane wrote:
>
Hello,
I've got my own user system (not using Auth), and I'm trying to
implement a Remember Me option with cookies. It's working fine when
the user selects 'Yes' for remember me. Setting and detecting the
cookie is no problem, but I can't find a way to delete the cookie when
the user logs out or s
I advise beginning with the book as it's pretty easy to follow and has
the most up-to-date documentation you'll find.
You can do some fairly cool stuff just following the patterns in the
book, but before attempting anything serious you should spend some
time studying and getting comfortable with p
In my opinion, the only advantages Django has are its admin interface
and the perks of a bigger and more established community, including
more stable documentation, better results when you google, a big
community on stack overflow, more name recognition (people won't
hesitate to let you do their pr
27;s expiration date to a past date. The next time a user makes a
> request to a page within the domain or path that set the cookie, the
> browser will determine that the cookie has expired and remove it."
>
> On Feb 7, 1:28 am, Dane wrote:
>
>
>
>
>
>
>
> &g
kie on a user's computer. However,
> you can direct the user's browser to delete the cookie by setting the
> cookie's expiration date to a past date. The next time a user makes a
> request to a page within the domain or path that set the cookie, the
> browser will determine t
pment.
-Dane
member that massimo said he also likes the idea :D
>
> On Feb 9, 1:29 am, Dane wrote:
>
>
>
>
>
>
>
> > Would it be possible to set a flag for bypassing the ticketing system
> > and just displaying errors on the page during development?
>
> > The curre
Make an ajax call on page load and set a session variable if the call
gets through (session.has_js = True).
On Feb 9, 3:33 am, "ma...@rockiger.com"
wrote:
> I am using disqus as comment system. This only works for client that have
> javascript enabled.
> I am programming a fallback for clients th
instead of None for duration with same result)
And I'm accessing like this:
cached = cache.disk(cache_key, lambda:None)
if cached: return cached
-Dane
This is in my development environment on Windows 7 by the way.
On Feb 10, 7:17 am, Dane wrote:
> I'm trying to use cache.disk to cache a large TABLE object
> indefinitely. It seems to work fine at first, but then expires after a
> couple minutes.
>
> I
What about widgets? IS_IN_DB() for example. Is there a way to get
those working with a regular FORM without using SQLFORM?
On Feb 10, 8:22 am, Bruno Rocha wrote:
> I almost always use forms in this following way:
>
>
>
> *#Create a DIV to WRAP it a
;
> cached = cache.disk(cache_key, lambda:None, None)
>
> On Feb 10, 6:17 am, Dane wrote:
>
>
>
>
>
>
>
> > I'm trying to use cache.disk to cache a large TABLE object
> > indefinitely. It seems to work fine at first, but then expires after a
> > cou
deas? This would be a very powerful feature if it worked
straightforwardly. Thanks.
-Dane
On a more general note, it seems like tighter and tighter integration
with the client and javascript, potentially even to the point of
making it a first class citizen like db, would perhaps be one of the
best directions web2py could go in my eyes.
On Feb 10, 11:14 pm, Dane wrote:
> Hi,
>
Hello, wondering if someone could clarify when it's unnecessary to
call db.commit()? I've noticed it is needed when doing inserts from
the console, but it seems to be implicit in controller functions? Just
looking for some quick clarification on this. Thanks!
gt; So in models, controllers and views only you need to db.commit() if
> you want to commit despite possible uncaught exceptions later in the
> same actions.
>
> If you use DAL in a script you always need to do db.commit()
>
> On Feb 12, 4:19 pm, Dane wrote:
>
>
>
>
mp;q=web2py+async+http+request#af4d1c0e8e8937d2
But the link to the "lola" function posted post by Massimo is broken.
Can anyone supply a new link or explain a simple way to make async,
ajax-like requests from within web2py? Thanks.
-Dane
is a quick non-blocking
call.
On Feb 18, 8:52 am, KMax wrote:
> asynchronous http and synchronous http
> What the difference ?
> On 18 фев, 10:37, Dane wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I need to make an asynchronous http request to one of my controlle
eads. web2py is based on
> mod_wsgi which does not support async.
>
> Anyway, this is not a definitive word on the subject.
>
> Massimo
>
> On Feb 18, 9:15 pm, Dane wrote:
>
>
>
>
>
>
>
> > Synchronous http makes the call and stops further execution
Does fabric/mercurial have post-receive hooks like git? I use this do
a recursive chown after every update to be safe.
On Feb 18, 11:54 pm, pbreit wrote:
> I just had a site outage after deploying some code changes. Somehow, some of
> my directories and files had become owned by root instead of w
Hello, I'm migrating an app to a new server (ubuntu 10.10) and
upgraded to the most newest web2py stable version as part of this.
This has introduced a problem where models in subdirectories of the
model folder don't seem to be getting executed. Files placed directly
in the model folder run correct
in /models was officially supported.
>
> Anthony
>
>
>
>
>
>
>
> On Monday, June 20, 2011 3:29:24 PM UTC-4, Dane wrote:
> > Hello, I'm migrating an app to a new server (ubuntu 10.10) and
> > upgraded to the most newest web2py stable version as part of this.
For me git + simple sh hooks has been an easy and effective method.
On Aug 6, 12:18 am, Jason Brower wrote:
> I see three places that I have to work in a modern team based development.
> Local Machine: Where I host my own server and settings.
> Testing Machine: Server that should mimic live produ
ination, the ability to browse, search, sort, create, update and
delete records from a single gadgets.
Dane
On Sunday, 20 January 2013 23:52:02 UTC, Massimo Di Pierro wrote:
>
> I am looking for help proofreading the final version of the book. It is
> almost done up to a final touch.
&
"Stripe also allows you TO verify a transaction at a later time:"
Dane
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Yes I use MySQL on PythonAnywhere and so far it is working well. Can you
describe your problem in more detail?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
I'm importing a lot of csv files through Database Administration and would like
to be reminded of which one was last imported.
I was going to amend appadmin.py so that the response.flash on line 255 said
"data uploaded for "+filename. But I just can't see where the filename is
stored. I can see
Anthony - thank you very much - that works perfectly!
Is this documented somewhere that I could have looked up myself?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send
I have a table which currently contains 10m+ records (local government
spending in www.appgov.org). A native SQL count(*) will take 3-5 secs but
reading all the records like this via the DAL will result in the system
hanging. I try not to read too many of these records in any one online
transa
63 matches
Mail list logo