[web2py] Re: GUI widget web2py server

2010-10-22 Thread annet
Yes, this is on Mac OS X, both Leopard and Leopard Server. I am glad it's not just me experiencing these problems. Annet.

[web2py] Re: GUI widget web2py server

2010-10-22 Thread mart
This is on Mac OS? I get this all the time. I see 3 things that cause this for me (well, 4 including Ron's comment on being too quick on the click ;) so that one was 1) 2) the socket/rocket exception I get regularly enough when i try to open a page with "unforgivable" errors (all of which are mine

[web2py] Re: web2py wizard (alpha) is here

2010-10-22 Thread mart
Hi, Love the wiZ2py (my daughter coined that one, because she's six and always sounds strange when over-tired and has the giggles - at least that's what it sounded like). I do look forward to many more iterations, all as great and fascinating as the next I sure. was thinking... there are so man

[web2py] Re: Powered by web2py

2010-10-22 Thread Anthony
Also, is the app at www.web2py.com/survey supposed to be called "SurveyCould" or "SurveyCloud" (it currently says the former -- doesn't quite make sense to me)? On Oct 22, 10:58 pm, mdipierro wrote: > This was done by the wizard and it is already better than the previous > one: > > http://web2py.

[web2py] Re: Powered by web2py

2010-10-22 Thread Anthony
I have logged in (in fact, I added www.tenthrow.com as well as the Sahana Eden application demo), but it appears I can only edit the sites I submitted myself. Also, it's not clear how to fix http://web2py.iiit.ac.in -- that URL is just a default Welcome app (the old one). I assume the real site is

[web2py] Re: Powered by web2py

2010-10-22 Thread mdipierro
Thanks Anthony I will not be able to fix this in the next couple of days but perhaps somebody here can help by logging in and fixing it? Massimo On Oct 22, 11:39 pm, Anthony wrote: > This is excellent. Nice work. > > Note, a few errors: > - radbox.com is not a web2py site -- it should be radbox

[web2py] Re: Powered by web2py

2010-10-22 Thread Anthony
This is excellent. Nice work. Note, a few errors: - radbox.com is not a web2py site -- it should be radbox.me - the url associated with the www.web2py.com/survey application/ thumbnail is shown as just www.web2py.com, which is misleading (it should link to http://www.web2py.com/survey) - thumbnail

[web2py] Re: remote admin access errors

2010-10-22 Thread mdipierro
Look into admin/models/access.py This is how web2[y checks if request.env.http_x_forwarded_for \ or request.env.wsgi_url_scheme in ['https', 'HTTPS'] \ or request.env.https == 'on': session.secure() elif not remote_addr in hosts and not DEMO_MODE: raise HTTP(200, T('Admin

[web2py] remote admin access errors

2010-10-22 Thread Triquetra
I am running web2py (1.86.2) on Debian Lenny with Nginx and uwsgi. This is a local test server that I have physical access to. I can access the welcome and admin pages from the server (localhost), so it appears the admin interface is working. And I can access the welcome app from other computers

[web2py] Re: Powered by web2py

2010-10-22 Thread mdipierro
This was done by the wizard and it is already better than the previous one: http://web2py.com/poweredby Has thumbnails. On Oct 22, 8:07 pm, mdipierro wrote: > OK. I have an account... > > On Oct 22, 6:19 pm, rochacbruno wrote: > > > Thumbalizer has an API , REST and sample code for PHP but we

[web2py] Hosting service for web2py

2010-10-22 Thread José Luna Venezuela
Hi i whant to know what hosting provider offer suport for web2py or i need to have a vps if i whant to make a web page? Thx

[web2py] Re: Powered by web2py

2010-10-22 Thread mdipierro
OK. I have an account... On Oct 22, 6:19 pm, rochacbruno wrote: > Thumbalizer has an API , REST and sample code for PHP but we can fork to > Python. > > Enviado via iPhone > > Em 22/10/2010, às 20:59, mdipierro escreveu: > > > This thread contains lots of really nice sites. Others are listed >

Re: [web2py] Re: Powered by web2py

2010-10-22 Thread rochacbruno
Thumbalizer has an API , REST and sample code for PHP but we can fork to Python. Enviado via iPhone Em 22/10/2010, às 20:59, mdipierro escreveu: > This thread contains lots of really nice sites. Others are listed > here: > > http://web2py.com/poweredby > > If one of you had some spare time

[web2py] Re: Powered by web2py

2010-10-22 Thread mdipierro
This thread contains lots of really nice sites. Others are listed here: http://web2py.com/poweredby If one of you had some spare time were to send me screenshots scaled 200x150 names www.domain.com.png etc for all web2py powered sites, I would use the template of http://web2py.com and make a nice

[web2py] Re: bug or backward incompatibility for datetime fields

2010-10-22 Thread mdipierro
I do not think we changed anything in this respect but you can use Field('pippo2','datetime',requires=IS_DATETIME(dot=',')), On Oct 22, 5:32 pm, Marco Prosperi wrote: > hi all, > on my Italian localized Windows PC I have a problem with datetime form > fields. Putting this code in db.py (you ca

Re: [web2py] Re: Supporters of the current logo concept

2010-10-22 Thread Thadeus Burgess
It doesn't require any extra setup or development time. Just purge the database, and tell people to only submit logos that are based on the top picks from this last phase. Not sure what I said to make it seem like I had lots of free time... I don't. Not having any free time for myself is why I sug

[web2py] bug or backward incompatibility for datetime fields

2010-10-22 Thread Marco Prosperi
hi all, on my Italian localized Windows PC I have a problem with datetime form fields. Putting this code in db.py (you can modify the welcome application): db.define_table('testata', Field('campoa','string'), Field('descr','string'), Field('dt','datetime')) db.define_table('righe',

[web2py] Re: Powered by web2py

2010-10-22 Thread Anthony
Very cool. Though it has some major display problems in IE7 (and some minor problems with the home page in IE8). Also, you should probably change the site's favicon -- it's actually using the new web2py favicon. Anthony On Oct 22, 5:24 pm, Bruno Rocha wrote: > One more Brazilian site developed w

Re: [web2py] Re: request for fcgi users

2010-10-22 Thread Jonathan Lundell
On Oct 22, 2010, at 2:22 PM, cjrh wrote: > > On Oct 22, 10:25 pm, Jonathan Lundell wrote: >> On Oct 22, 2010, at 1:06 PM, cjrh wrote: >> >> >> >>> On Oct 22, 8:21 pm, Jonathan Lundell wrote: Thanks, John. I was asking in part because it appears that routes_in might be broken for Fa

[web2py] Re: Powered by web2py

2010-10-22 Thread Bruno Rocha
One more Brazilian site developed with WEB2PY http://campus.visie.com.br/default/index This is the site where one of the most importants creative design agency of São Paulo are giving online courses, they used web2py and Amazon with boto library for video streaming. This website was develop duri

[web2py] Re: request for fcgi users

2010-10-22 Thread cjrh
On Oct 22, 10:25 pm, Jonathan Lundell wrote: > On Oct 22, 2010, at 1:06 PM, cjrh wrote: > > > > > On Oct 22, 8:21 pm, Jonathan Lundell wrote: > >> Thanks, John. I was asking in part because it appears that routes_in might > >> be broken for FastCGI and other interfaces that don't provide PATH_IN

[web2py] Re: problems with deployment

2010-10-22 Thread VP
thanks. That works, but with a little tweak. I copied that file to parameters_433.py (as that's the SSL port). This worked. Thanks. On Oct 22, 3:16 pm, cjrh wrote: > > Where am I supposed to give web2py this password? > > Assuming you have SSH or shell access, first run web2py from the > comma

[web2py] Re: Remove link in MENU for current url

2010-10-22 Thread mdipierro
Can you please email me the patch? thanks. On Oct 22, 3:08 pm, Michael Wolfe wrote: > Following the sage advice of Jakob Nielsen, I wanted a way to turn off > links that point to the current page within the menu (see #10 > here:http://www.useit.com/alertbox/20031110.html).  At the bottom of this

[web2py] Re: web2py wizard (alpha) is here

2010-10-22 Thread mdipierro
i would take a patch. :-) On Oct 22, 1:50 pm, guruyaya wrote: > I think a button with a plus sign, near every table field, is more in > intuitive, the enter. Don't remove the enter, just add the plus sign > too. > If you don't do that, for the very least, explain that adding another > field is do

Re: [web2py] Re: request for fcgi users

2010-10-22 Thread Jonathan Lundell
On Oct 22, 2010, at 1:06 PM, cjrh wrote: > > On Oct 22, 8:21 pm, Jonathan Lundell wrote: >> Thanks, John. I was asking in part because it appears that routes_in might >> be broken for FastCGI and other interfaces that don't provide PATH_INFO. I >> have a patch, but no good way to test it (I don

[web2py] Re: problems with deployment

2010-10-22 Thread cjrh
> Where am I supposed to give web2py this password? Assuming you have SSH or shell access, first run web2py from the command line directly: $ ./web2py It will ask you for a password. After you do that and hit enter, you can terminate the process. If the parameters file contains 8000 in the fil

[web2py] Re: Supporters of the current logo concept

2010-10-22 Thread cjrh
On Oct 22, 9:20 pm, Thadeus Burgess wrote: > I think we just need one more stage of logo submissions and then voting > (voting can only happen after the submission deadline), then there is a > voting deadline. How is it you all have time to spend on this? Is your employer hiring? :)

[web2py] Remove link in MENU for current url

2010-10-22 Thread Michael Wolfe
Following the sage advice of Jakob Nielsen, I wanted a way to turn off links that point to the current page within the menu (see #10 here: http://www.useit.com/alertbox/20031110.html). At the bottom of this e-mail, I'm including a proposed patch that would make this easier. I've added two optiona

[web2py] Re: request for fcgi users

2010-10-22 Thread cjrh
On Oct 22, 10:06 pm, cjrh wrote: > routes_in=(('/web2py/(?P.*)','/\g'),) I should have mentioned that web2py is in a subfolder (called "web2py") from the document root.

[web2py] Re: request for fcgi users

2010-10-22 Thread cjrh
On Oct 22, 8:21 pm, Jonathan Lundell wrote: > Thanks, John. I was asking in part because it appears that routes_in might be > broken for FastCGI and other interfaces that don't provide PATH_INFO. I have > a patch, but no good way to test it (I don't have a FastCGI environment > available myself

Re: [web2py] Re: Supporters of the current logo concept

2010-10-22 Thread Thadeus Burgess
I think we just need one more stage of logo submissions and then voting (voting can only happen after the submission deadline), then there is a voting deadline. But not voting while submission is still happening. This time we have a constraint though. Take the top 3/4 performing logos, and then ha

Re: [web2py] Re: Dynamically adding items to search for...

2010-10-22 Thread Thadeus Burgess
The only problem is the join syntax with the DAL. The DAL expects you to pass the join alongside .select(). Thats a problem if you need to have multiple FULL OUTER JOINS for example. Say your looking for people who have an open invoice and have not paid within 90 days and they have an appointment s

[web2py] Re: Dynamically adding items to search for...

2010-10-22 Thread weheh
Very cool. Didn't know that. Is it in the doc? Makes incrementally refining a search much easier. On Oct 22, 2:48 pm, Thadeus Burgess wrote: > So when you call the DAL object (in this case db) it makes and SQLObject > which holds information about the current SQL. > > Those SQLObjects are also ca

[web2py] Re: web2py wizard (alpha) is here

2010-10-22 Thread guruyaya
I think a button with a plus sign, near every table field, is more in intuitive, the enter. Don't remove the enter, just add the plus sign too. If you don't do that, for the very least, explain that adding another field is done with enter as well. On Oct 22, 10:36 am, dederocks wrote: > Thanks fo

Re: [web2py] Dynamically adding items to search for...

2010-10-22 Thread Thadeus Burgess
So when you call the DAL object (in this case db) it makes and SQLObject which holds information about the current SQL. Those SQLObjects are also callable just like the DAL object. Whenever you call an SQLObject, the filters that get passed as arguments to the function get AND'ed to the query and

Re: [web2py] Re: request for fcgi users

2010-10-22 Thread Jonathan Lundell
On Oct 22, 2010, at 11:04 AM, John Heenan wrote: > > This slicehost entry uses a REAL FastCGI UNIX socket with the lighttpd > web server: > http://www.web2pyslices.com/main/slices/take_slice/57 > > The entry shows a routes_out example for routes.py but uses web server > URL mapping instead of rou

Re: [web2py] Re: Generically accessing the results of select

2010-10-22 Thread Richard Vézina
Massimo fix a bug in crud.select today in trunk maybe it could help! crud.select(db.table) Now reponse to db.table.field.readable=False and db.table.field.represent='some thing' Richard On Fri, Oct 22, 2010 at 1:15 PM, BigBaaadBob wrote: > I'm probably dense, but I don't see how it does.

[web2py] Re: problems with deployment

2010-10-22 Thread VP
hi everyone: a little update. Problem (2) is my mistake, not web2py. It's a logical mistake by which I redirect to "index" in an infinite loop (so to speak). This error occurred when the put it a new database (mysql or postgres), which led me think initially it was a database configuration mistak

[web2py] Re: request for fcgi users

2010-10-22 Thread John Heenan
This slicehost entry uses a REAL FastCGI UNIX socket with the lighttpd web server: http://www.web2pyslices.com/main/slices/take_slice/57 The entry shows a routes_out example for routes.py but uses web server URL mapping instead of routes_in. However the potentially beneficial scaling effects of u

Re: [web2py] Dynamically adding items to search for...

2010-10-22 Thread Jason Brower
WOAH ! That was cool! BR, Jason On Fri, 2010-10-22 at 12:15 -0500, Thadeus Burgess wrote: > > qry = db() > > for token in request.vars.value.split(' '): > qry = qry(db.furniture.category.upper().like('%' + token.upper() + > '%') > > -- > Thadeus > > > > > On Fri, Oct 22, 2010 at 12:12 PM

[web2py] Re: Supporters of the current logo concept

2010-10-22 Thread weheh
71 voters is probably close to a statistically significant sample of the we2Wpy user base, however 17 percent of that number is most certainly not. If you want something closer to a majority I would suggest a runoff. It won't bruise my ego if my logo doesn't make it. I know who I would vote for and

Re: [web2py] Dynamically adding items to search for...

2010-10-22 Thread Thadeus Burgess
qry = db() for token in request.vars.value.split(' '): qry = qry(db.furniture.category.upper().like('%' + token.upper() + '%') -- Thadeus On Fri, Oct 22, 2010 at 12:12 PM, Jason Brower wrote: > d this works with one string of works... > but I would like to look for items sigul >

[web2py] Re: Generically accessing the results of select

2010-10-22 Thread BigBaaadBob
I'm probably dense, but I don't see how it does. rows.colnames has strings like 'foo.id' and 'a.name'. But you can't index into a row with those strings: you can't say r['foo.id'] or r['a.name']. You have to parse the column name and create code like r['foo']['id'] and the problem I have with th

[web2py] Dynamically adding items to search for...

2010-10-22 Thread Jason Brower
I currently have something like this... search_results = db( (db.furniture.category.upper().like(('%'+value +'%').upper())) | (db.furniture.description.upper().like(('%'+value+'%').upper())) | (db.furniture.category.upper().like(('%'+value+'%').upper())) | (db.furniture.category.upper().like

[web2py] Re: component question

2010-10-22 Thread mdipierro
I think this is a bug. Let me look into it. Massimo On Oct 22, 10:58 am, "topher.baron" wrote: > When I add, Ajax=True to the LOAD call, they are in separate DIVs. > > On Oct 22, 10:52 am, "topher.baron" wrote: > > > Hello web2py users, > > > I just started messing around with components and am

[web2py] request for fcgi users

2010-10-22 Thread Jonathan Lundell
I'd like to hear from anyone who's successfully using web2py with FastCGI, especially if you're using routes.py.

[web2py] Re: GUI widget web2py server

2010-10-22 Thread ron_m
If you move too quick between pushing the stop button and hitting start you can get the error because the server hasn't completed the shutdown yet. I always wait a second between button presses. On Oct 22, 3:54 am, annet wrote: > When I do 'stop server' and 'start server' in the GUI widget, the >

Re: [web2py] Re: Supporters of the current logo concept

2010-10-22 Thread Jonathan Lundell
On Oct 22, 2010, at 8:46 AM, mdipierro wrote: > > I do not oppose a run-off if Bruno and Martin have the time to > continue with the project. > My guess is that the longer we drag this, the more people will lose > interest but I may be wrong. I'm not arguing with the choice; it's just an electora

[web2py] Re: component question

2010-10-22 Thread topher.baron
When I add, Ajax=True to the LOAD call, they are in separate DIVs. On Oct 22, 10:52 am, "topher.baron" wrote: > Hello web2py users, > > I just started messing around with components and am having a little > problem.  Here is part of my view : > > > >         {{=LOAD('default','addTreeComponent.l

[web2py] component question

2010-10-22 Thread topher.baron
Hello web2py users, I just started messing around with components and am having a little problem. Here is part of my view : {{=LOAD('default','addTreeComponent.load', target='addTreeContainer')}} {{=LOAD('default','treeInfoPanel.load', target='treeInfoPanel')}} When the

[web2py] Re: Exception: (Client closed socket.)

2010-10-22 Thread mdipierro
You do not show the select but from this: recipient=item.contactpersoon.email looks like you do a join. If this is the case recipient=item[0].email should be recipient=item[0].contactpersoon.email On Oct 20, 5:00 am, annet wrote: > When I expose this function in controller locato

[web2py] Re: Supporters of the current logo concept

2010-10-22 Thread mdipierro
I do not oppose a run-off if Bruno and Martin have the time to continue with the project. My guess is that the longer we drag this, the more people will lose interest but I may be wrong. Massimo On Oct 22, 10:06 am, Jonathan Lundell wrote: > On Oct 22, 2010, at 7:07 AM, Anthony wrote: > > > > >

Re: [web2py] Re: SyntaxError: not enough information to build the url

2010-10-22 Thread Jonathan Lundell
On Oct 22, 2010, at 3:31 AM, Johann Spies wrote: > > Apologies: Solved > >>URL(request.aplication, 'default' , > URL(request.application, 'default' > > The difference a 'p' can make:) One of the downsides of Storage. How about an initialization flag to Storage to alter the semantics of Sto

Re: [web2py] Re: Supporters of the current logo concept

2010-10-22 Thread Jonathan Lundell
On Oct 22, 2010, at 7:07 AM, Anthony wrote: > > On Oct 22, 9:50 am, mdipierro wrote: >> Thanks Bruno for your hard work. >> >> Although we have to choose one (and it seems to me we have a clear >> winner), I propose we keep some of the alternative ones (I personally >> like 8, 14, 21, 41, 76, 87

[web2py] Re: Decimal Field omitted in rows.as_dict()

2010-10-22 Thread mdipierro
dal.py needs lots of patches. Lots of stuff has been patched in sql.py but not in dal since June 2010. On Oct 22, 9:14 am, iiijjjiii wrote: > Should dal.py be patched as well? > > On Oct 6, 9:32 am, mdipierro wrote: > > > I i have fixed this (partially) partially since as_dict is used in > > jso

[web2py] Re: Supporters of the current logo concept

2010-10-22 Thread mdipierro
We can store them all if the authors give them rights to do so. On Oct 22, 9:07 am, Anthony wrote: > On Oct 22, 9:50 am, mdipierro wrote: > > > Thanks Bruno for your hard work. > > > Although we have to choose one (and it seems to me we have a clear > > winner), I propose we keep some of the alt

Re: [web2py] Re: readable=False not working with crud.select(db.table) CLOSED

2010-10-22 Thread Richard Vézina
I just test the mods in trunk and crud.select work has it should. Nice fix. It will simplify my life ;-) Here a related threads I start about this issue http://groups.google.com/group/web2py/browse_thread/thread/e533b38bd5bf1d7f/afd084ad2ed765e0#afd084ad2ed765e0

Re: [web2py] Re: kind of newbie question

2010-10-22 Thread Richard Vézina
I finally get it works like I was expecting like this : @auth.requires_login() def select(): if request.args(0) in actualTablesList: if db[request.args(0)].id>0: sampleIdEqId={} listId=[] for r in db(db[request.args(0)].id>0).select(db[request.args(0

[web2py] Re: Decimal Field omitted in rows.as_dict()

2010-10-22 Thread iiijjjiii
Should dal.py be patched as well? On Oct 6, 9:32 am, mdipierro wrote: > I i have fixed this (partially) partially since as_dict is used in > json serialization and thereforedecimalis converted into float. >

[web2py] Re: Supporters of the current logo concept

2010-10-22 Thread Anthony
On Oct 22, 9:50 am, mdipierro wrote: > Thanks Bruno for your hard work. > > Although we have to choose one (and it seems to me we have a clear > winner), I propose we keep some of the alternative ones (I personally > like 8, 14, 21, 41, 76, 87, 89, 12, 112) and we make them available > under an Ar

Re: [web2py] Re: readable=False not working with crud.select(db.table)

2010-10-22 Thread Richard Vézina
;-) Thank you! Richard On Fri, Oct 22, 2010 at 12:51 AM, mdipierro wrote: > It is a major bug. Fixed in trunk. > > On Oct 21, 9:22 am, Richard Vézina > wrote: > > Hello, > > > > I attach a demo app. > > > > http://127.0.0.1:8000/testapp/default/selection > > > > You can see all the columns al

[web2py] Re: labels, database and

2010-10-22 Thread mdipierro
This too: BR() On Oct 22, 7:27 am, DenesL wrote: > This should work: > XML('label') > > On Oct 22, 3:52 am, Johann Spies wrote: > > > > > > > I am using a table to manage the many forms and labels I am using. The > > labels are looked up in a table. > > > Is there a way to insert ' ' in the tex

[web2py] Re: IS_IN_DB or not

2010-10-22 Thread mdipierro
Long ago I posted a tip of the day on that... I cannot find it. It requires using modal. On Oct 22, 7:09 am, Johann Spies wrote: > Is it possible to get a dropdownlist in a field and also have the > ability to type a new value that is not in the list?  I suppose that > will have to create a new r

[web2py] Re: Supporters of the current logo concept

2010-10-22 Thread mdipierro
Thanks Bruno for your hard work. Although we have to choose one (and it seems to me we have a clear winner), I propose we keep some of the alternative ones (I personally like 8, 14, 21, 41, 76, 87, 89, 12, 112) and we make them available under an Artistic License for web2py related community sites

[web2py] Re: labels, database and

2010-10-22 Thread DenesL
This should work: XML('label') On Oct 22, 3:52 am, Johann Spies wrote: > I am using a table to manage the many forms and labels I am using. The > labels are looked up in a table. > > Is there a way to insert ' ' in the text of a label in a way > that it will be respected in the view? > > I hav

[web2py] Re: GUI widget web2py server

2010-10-22 Thread Adi
web2py is already running somewhere else. Kill all web2py processes, and start a fresh one. On Oct 22, 3:54 pm, annet wrote: > When I do 'stop server' and 'start server' in the GUI widget, the > server doesn't start, and I get this error: > > web2py Enterprise Web Framework > Created by Massimo

[web2py] is there a way of getting error messages except via the log

2010-10-22 Thread apple
When the browser reports "status 500 internal server error" I can open the error log for the web2py application and scroll down to the bottom. However this is not very convenient. Is there another way?

[web2py] IS_IN_DB or not

2010-10-22 Thread Johann Spies
Is it possible to get a dropdownlist in a field and also have the ability to type a new value that is not in the list? I suppose that will have to create a new record in the DB. Johann --  May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord!  His di

[web2py] Re: Best practice: swapping between different layout.html files within a single application

2010-10-22 Thread cjrh
On Oct 22, 9:11 am, annet wrote: > I logged in several times as different users, and it SEEMS to work, > but only as long as you don't byte compile the application. I don't > know whether there is a solution for that problem. Thanks very much for testing this. What I might do is make the if stat

[web2py] Re: Need help installing MySQLdb in Mac OSX

2010-10-22 Thread mIREK
Hey, I found by Time Machine on my old disk two versions of MySQL python. Yesterday I was trying the full MySQL-python-1.2.3, but I had on my old disk those two versions: MySQL-python-1.2.3c1 - after install looked like the full version, but error message was saying something more: >>> import MyS

[web2py] GUI widget web2py server

2010-10-22 Thread annet
When I do 'stop server' and 'start server' in the GUI widget, the server doesn't start, and I get this error: web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2010 Version 1.87.3 (2010-10-13 19:44:46) Database drivers available: SQLite3, PostgreSQL Starting hardcron...

[web2py] How to upload/process data file in GAE?

2010-10-22 Thread David Mitchell
Hello group, This seems like a particularly stupid question, but I just can't work out how to do it... It's not a web2py-specific issue; I just happen to be using web2py. I've got an app underway where I need to upload a set of large-ish (up to 1Mb) CSV files initially, then small updates (<1kb)

[web2py] Re: SyntaxError: not enough information to build the url

2010-10-22 Thread Johann Spies
Apologies: Solved >   URL(request.aplication, 'default' , URL(request.application, 'default' The difference a 'p' can make:) --  May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord!  His divine power has given us everything we need for life and godl

[web2py] SyntaxError: not enough information to build the url

2010-10-22 Thread Johann Spies
I am struggling to get the syntax correct. What is my mistake? response.menu = [ [T('Home'), False, URL(request.application,'default','index'), []], [T('Service Providers'), False, URL(request.application,'default','sp'), []], [T('Forms'), False, None,[['Curriculum Management', F

[web2py] Re: JSON-RPC best practices

2010-10-22 Thread cjrh
On Oct 22, 11:28 am, Omri wrote: > Should I write a very general function that basically exposes the > database to the client side? Yes > Should a write many small functions, each > wrapping a database call (perhaps sometimes also doing some > calculations in the background)? No > Should I opt

[web2py] JSON-RPC best practices

2010-10-22 Thread Omri
Hello All, I'm writing a web application using qooxdoo as the client framework and web2py as the server. Almost all of the communication between the client and the server are done through the JSON-RPC service. Since I found myself writing @service.jsonrpc functions by the dozens, I was beginning

[web2py] AWS Free Tier

2010-10-22 Thread glimmung
Hi All, For anyone looking for hosting, Amazon's recent announcement of the AWS Free Tier may be of interest: - http://aws.amazon.com/free/ HTH -- Cheers, PhilK

[web2py] Re: web2py wizard (alpha) is here

2010-10-22 Thread dederocks
Thanks for the fix! works with python 2.7 too :-)! On 21 oct, 19:43, "mr.freeze" wrote: > This is very handy. I got an error on step 1 with Python 2.6.  I think > line 62 of wizard.py should be: > from gluon.contrib.simplejson import loads > > On Oct 21, 7:21 am, mdipierro wrote: > > > app/wizar

[web2py] labels, database and

2010-10-22 Thread Johann Spies
I am using a table to manage the many forms and labels I am using. The labels are looked up in a table. Is there a way to insert ' ' in the text of a label in a way that it will be respected in the view? I have tried XML() without success. Regards Johann --  May grace and peace be yours in a

[web2py] Re: Little Error in the Online book - Chapter 11 - http://web2py.com/book/default/chapter/11

2010-10-22 Thread cjrh
On Oct 21, 9:30 pm, Yannick wrote: > In the Memcached section of chapter 11 it said. Fixed, thanks.

[web2py] Re: Best practice: swapping between different layout.html files within a single application

2010-10-22 Thread annet
I gave it a try. I made three copies of the layout.html file, renamed them user_x.html, user_y.html and user_z.html, and entered a fixed title to be able to distinguish between the layouts. I enabled auth and entered a number of mock users in db.auth_user, in db.auth_group I entered three roles u

[web2py] DAL - Replicated Databases

2010-10-22 Thread Bruno Rocha
In the book:--- Replicated Databases The first argument of DAL(...) can be a list of URIs. In this case web2py tries to connect to each of them. The main purpose for this is to deal with multiple database servers and distribute the workload among them). Here is a typical use case: 1.