Issue 292 is still there [normal and lazy virtual field behavior]
http://code.google.com/p/web2py/issues/detail?id=292
Hello Syed,
It is possible for you to rebuild the web2py exe adding in your
required libraries.
The following links might be of help:
1)
http://eden.sahanafoundation.org/browser/static/scripts/tools/standalone_exe.py
2) https://groups.google.com/d/topic/web2py/Lirvj_J8q1U/discussion
Regards,
Some users complains about 'HTTP Error 502 Bad Gateway' on a Web2py site on
webfaction.
When I enquired about that support@webfaction mentioned that it is related
to my website and referred me to
http://docs.webfaction.com/software/static.html#serving-static-media for a
possible solution.
Now I
Mongo over couch?
Why?
basically performance, but you can read more here
http://www.mongodb.org/display/DOCS/Comparing+Mongo+DB+and+Couch+DB or
search for some benchmarks
Mongo over couch?
Why?
Adhoc Queries ...
On Aug 5, 12:54 am, pbreit pbreitenb...@gmail.com wrote:
That should be easy to support. In default.py:
def user():
if request.args(0):
user = request.args(0)
...
else: # list
...
def restaurant():
if request.args(0):
restaurant =
I know. They were just regular good practice suggestions. Sorry. Will
look for a solution.
On Aug 4, 6:44 pm, G glenn.calt...@gmail.com wrote:
Hi Massimo,
Thank you for the suggestions. I have implemented both, but neither
helps with the original problem of having components with multiple
You may have two python versions and one of them does not have sqlite.
On Aug 4, 10:06 pm, Matthew matthew.g.nor...@gmail.com wrote:
I ran a functioning application using App Engine once. When I tried to
run it again without GAE, I noticed that only the goolgle database
driver was available
if I understand the question. yes.
On Aug 5, 12:23 am, Vineet vineet.deod...@gmail.com wrote:
@Massimo,
If I get you right, the MySQLdb module is still there in web2py;
and it is not replaced totally with pymysql;
As such, we can choose from these 2 modules.
Other statements would not break
Hello,
To enforce full CRUD permissions on a table, I have to manually add
read, select, create, update, delete permissions to
auth_permission table or there is a way to assign all permission with
a single shot?
In the same way, if I want a user with super admin rights on all the
tables, I have
Your problem is solved here:
http://groups.google.com/group/web2py/msg/1757c6ffb7041e6c
see the copy.copy? That is the problem. It is a performance issue.
Web2py could do the copy for you (so you do need to) but it would come
at a penalty.
We need some major refactoring of virtual fields...
After updating the GAE SDK to version 1.5.2, when I deploy and go to
the URL for my application, I am getting
Oops! This link appears to be broken.
Suggestions:
Go to appspot.com
Search on Google:
error message
has anyone had similar issues?
On Aug 4, 7:05 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Nobody is really pushing for this... nobody has provided any feedback
about the adapter.
I think there is a lot of people interested in this:
http://groups.google.com/group/web2py/browse_thread/thread/ec2a16b9f4e957a0
You can build function to do that massively!
Richard
On Fri, Aug 5, 2011 at 6:38 AM, Angelo Compagnucci
angelo.compagnu...@gmail.com wrote:
Hello,
To enforce full CRUD permissions on a table, I have to manually add
read, select, create, update, delete permissions to
auth_permission table
All is in the view :
{{extend 'layout.html'}}
{{=table}}
all needed dependency
$(document).ready(function() {
$(#tabs).tabs( {
show: function(event, ui) {
var oTable = $('div.dataTables_scrollBodytable.sortable',
ui.panel).dataTable();
if ( oTable.length 0
Yes I am having the same issue. I am new to web2py so I thought maybe I was
doing some thing wrong :-)
On Aug 5, 2011 4:30 PM, Auden RovelleQuartz oves@gmail.com wrote:
After updating the GAE SDK to version 1.5.2, when I deploy and go to
the URL for my application, I am getting
Oops! This
Having many small forms is actually working out pretty well, and seems
to be a resonable solution. It was not intuitive to me, but I think
it's just a disconnect between the way I would do things in a GUI
framework versus the way things need to be done for web applications.
By the way, I think it
Johann, I updated the jqgrid application to include demos for using complex
queries and accessing data from a webservice. Demos are found in the
default.py controller. If you cloned the git repo, just run 'git pull' in
the repo directory and you should get the latest.
Cheers,
Jim
xenebros, I updated the jqgrid application avaliable on the web2pyslice page
to include a demo for accessing data from a webservice. Demos are found in
the default.py controller.
Cheers,
Jim
On Fri, 5 Aug 2011 08:24:54 -0700 (PDT)
G glenn.calt...@gmail.com wrote:
As it is, the web2py book seems to assume a lot of familiarity with creating
web applications and less familiarity with Python. I imagine several people
like me are in the opposite situation.
At the moment I'm on the
do you have more details? i upgraded to GAE 1.5.2 when it came out and am
using it without problem. though i always invoke it via a command line
script (even though i'm on a mac right now). i'm running several differing
versions of web2py for various clients without problem.
note that keep
I updated the new version but in the read-me file did not say anything of
1.98.2,why?
Ovidio Marinho Falcao Neto
ovidio...@gmail.com
88269088
Paraiba-Brasil
Celery 2.3 just came out (http://www.celeryproject.org/) which prompted me
to have a look. The DatabaseBackend doesn't look too bad:
https://github.com/ask/celery/blob/master/celery/backends/database.py
I don't totally understand all of it but if I get super ambitious, maybe
I'll take a crack
Hi
I have a bunch of pages that load a number of components. On these
pages I have a script that fires after the page is loaded that resizes
a few things and places my footer where it should be. Unfortunately,
this is all happening before my components are completely loaded and
therefore
You can set response.js to some javascript (set it in the component
controller), and it will be run after the component is loaded.
On Friday, August 5, 2011 3:21:03 PM UTC-4, Jim S wrote:
Hi
I have a bunch of pages that load a number of components. On these
pages I have a script that
I fixed it with a custom validator as howesc suggested.Basically i
added a second set parameter which has the selected items of other
products, without changing the items that the widget will use, but
affecting the final values variable used for persistence:
class CUSTOM_IS_IN_DB(Validator):
Thanks Anthony - should I be able to see that executing in firebug
somewhere? I tested first by putting an alert in response.js and it
worked. However, when I try to call my resize function I can't see it
firing through firebug. Thoughts?
-Jim
On 8/5/2011 2:35 PM, Anthony wrote:
You
Hi,
When I try to assign a Field instance as a value in a Storage object, it
fails by simply not assigning anything (and in fact removing the key if it
was already present).
x = Storage()
x.any = (any Field instance)
print x ... Storage {}
In summary, it treats Field instances as
web2py-celery will be reased in less than one week. I am almost done.
On Aug 5, 1:26 pm, pbreit pbreitenb...@gmail.com wrote:
Celery 2.3 just came out (http://www.celeryproject.org/) which prompted me
to have a look. The DatabaseBackend doesn't look too
can't access no page in web2py.com
...same for me
On 8/5/2011 3:07 PM, Nicolas Palumbo wrote:
can't access no page in web2py.com
Seems to be happening a lot recently.
On Friday, August 5, 2011 3:38:57 PM UTC-4, Jim S wrote:
Thanks Anthony - should I be able to see that executing in firebug
somewhere? I tested first by putting an alert in response.js and it
worked. However, when I try to call my resize function I can't see it
firing through firebug.
*pip install web2py* from a virtualenv give you a pretty slim setup although
it is not very well documented, yet...
If you have any free time, check out CloudFlare. It's a free service that
caches all your assets and tries to prevent threats such as DoS. All you do
is switch your DNS hosting to the.
Then this should work:
=== user.py ===
def index()
if request.args(0):
user = request.args(0)
...
else: # list
...
=== restuarant.py ===
def index()
if request.args(0):
user = request.args(0)
...
else: # list
...
On Friday, August 5, 2011 6:26:04 AM UTC-4, Francisco Costa wrote:
On Aug 5, 12:54 am, pbreit pbreit...@gmail.com wrote:
That should be easy to support. In default.py:
def user():
if request.args(0):
user = request.args(0)
...
else: # list
i put together app for queuing tasks (although tasks are not executed
by this app, just for queueing). I get the feeling that celery +
whatever you are doing is better than anything I can come up with
(although it does the job well enough) :) LOL
If you want some help testing, I'd be happy to
will celery substitute web2py cronjobs ?
Only if you are using cron jobs to process tasks asynchronously. Cron is
usually for running tasks on a scheduled basis.
from celery home page:
Celery is an asynchronous task queue/job queue based on distributed message
passing. It is focused on real-time operation, but supports *scheduling *as
well.
The execution units, called tasks, are executed concurrently on a single or
more worker servers using
I guess you could but I doubt Web2py would swap out crontab for celery since
cron works fine and is well known.
http://ask.github.com/celery/userguide/periodic-tasks.html#crontab-schedules
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 production to work out
any details.
Production: Server with publicly available sites and where data kept
vital over
Nice tips, Praneeth. And looks like Massimo has not objection to these
kind of attempts (he even participated in some of the discussions). So
I guess all these kind of approaches are not considered as violation
of the web2py license. Yes? No?
I do my dev on a Mac and deploy to 2 Ubuntu cloud servers, one for testing
and one for production. I use Fabric scripts to pull from a Bitbucket repo.
Works fine.
I do my dev on a Mac and deploy to 2 Ubuntu cloud servers, one for testing
and one for production. I use Fabric scripts to pull from a Bitbucket repo.
Works fine.
I use Ubuntu on local server, I jsut use mercurial to deploy, push from
local, pull from remote. managing branches etc...
I
For me git + simple sh hooks has been an easy and effective method.
On Aug 6, 12:18 am, Jason Brower encomp...@gmail.com 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
Hi,
I was having trouble editing existing data with web2py_ckeditor until
I applied Bruno's patch.
Before applying this patch, the plugin could save new data, but it
wouldn't edit existing data. It always started with an empty
textarea. Now it works as I would expect. (I'm using web2py Version
I'm taking a closer look at this again. Can I subclass or extend DAL or do I
have to edit dal.py directly?
I was trying to do this with executesql and one problem I ran into is that
my virtualfields did not seem to be coming through. Is that expected?
49 matches
Mail list logo