[web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 2:00:08 AM UTC-5, mdipierro wrote: On Sunday, December 12, 2010 11:46:38 PM UTC-5, mdipierro wrote: There are three cases: 1) you distribute your app open or closed source with web2py source (allowed by GPL) Doesn't the GPL by itself actually prohibit

Re: [web2py] grid

2010-12-13 Thread Anthony
Is this better than jqGrid? plugin_wiki has a jqGrid widget -- should it also have a datatables widget?

Re: [web2py] grid

2010-12-13 Thread Bruno Rocha
You can easily extend plugin_wiki to include a new widget. I dont know if it is better than jQgrid, because I never uses jQgrid, but I am finding everything I need in datatables and its plugins. It is good to have more options. 2010/12/13 Anthony abasta...@gmail.com Is this better than

[web2py] Re: newbie

2010-12-13 Thread Mirek Zvolský
To understand the basic behaviour of web2py, you can try following: In the default controller default.py make a function, f.e. allstorylines(): def allstorylines(): rsStorylines = db().select(db.storyline.ALL) return dict(rsStorylines=rsStorylines) In addition you need a view

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 8:00 AM, mdipierro mdipie...@cs.depaul.edu wrote: 1) all web2py/*.py and web2py/gluon/*py files are LPGL +1 2) all web2py/gluon/contrib/* files are LGPL unless specified +1 otherwise (MIT or BSD are possible for third party contributions) 3rd party contributions

[web2py] Create table without id field

2010-12-13 Thread demetrio
Hi everyone, i've searched if there is any way to create a table without an id field. I've tryed with: param primarykey = None but this doesn't works. There is any way to do it? Thanks

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 9:11 AM, Anthony abasta...@gmail.com wrote: source and freeware for binaries) rather than LGPL with a commercial exception (which could lead to confusion and concern). LGPL _is_ the commercial exception. That's why they call it lesser. :) -- Branko Vukelić

[web2py] Re: Create table without id field

2010-12-13 Thread mdipierro
You can only rename it, for example 'mykey' db.define_table('person',Field('mykey','id'),...) On Dec 13, 4:11 am, demetrio dgzabal...@gmail.com wrote: Hi everyone, i've searched if there is any way to create a table without an id field. I've tryed with: param primarykey = None but this

[web2py] Re: newbie

2010-12-13 Thread Shel
That clears up a lot. Thank you both.

[web2py] Re: newbie

2010-12-13 Thread Shel
That clears up a lot. Thank you both.

[web2py] Framework comparison not linked

2010-12-13 Thread Timmie
Hello, the following file is not linked in the official website (at least I couln't find it): http://www.web2py.com/examples/static/web2py_vs_others.pdf Best regards

Re: [web2py] Create table without id field

2010-12-13 Thread Ole Martin Maeland
Create a table in web2py, migrate=False create table in db, no autincrement.. thats it. regards Martin On Mon, Dec 13, 2010 at 11:11 AM, demetrio dgzabal...@gmail.com wrote: Hi everyone, i've searched if there is any way to create a table without an id field. I've tryed with: param

Re: [web2py] Re: Create table without id field

2010-12-13 Thread Daniel Gonzalez
El lun, 13-12-2010 a las 02:19 -0800, mdipierro escribió: You can only rename it, for example 'mykey' db.define_table('person',Field('mykey','id'),...) ok, i will try to make the functionality in another way :) Thanks Massimo :) On Dec 13, 4:11 am, demetrio dgzabal...@gmail.com

Re: [web2py] Create table without id field

2010-12-13 Thread Daniel Gonzalez
Thanks a lot :) El lun, 13-12-2010 a las 14:05 +0100, Ole Martin Maeland escribió: Create a table in web2py, migrate=False create table in db, no autincrement.. thats it.

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
Ok, so I got word from GNU. What they say is that using imports the way Python does is considered creating derivative work, and LGPL would not, in their view, except the vendor from the obligation to release their apps under the terms of (L)GPL (which is kinda surprising). As solution to this they

[web2py] embedded server gives broken chunks?

2010-12-13 Thread Leo
Using Python 2.5.4 and web2py 1.84.4, I call a function decorated with @service.run from python using robj = urllib2.urlopen(urllib2.Request(url,data)) robj.read() The .read() call fails with the following exception: ... File socket.pyc, line 304, in read File httplib.pyc, line 509, in read

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 5:12:51 AM UTC-5, Branko Vukelic wrote: On Mon, Dec 13, 2010 at 9:11 AM, Anthony abas...@gmail.com wrote: source and freeware for binaries) rather than LGPL with a commercial exception (which could lead to confusion and concern). LGPL _is_ the commercial exception.

[web2py] Bug report

2010-12-13 Thread dederocks
Hello, When shutting down Web2py (trunk version on windows 7, python 2.7), I get the following error: starting browser... Unhandled exception in thread started by bound method HttpServer.start of gluo n.main.HttpServer object at 0x0241F9B0 Traceback (most recent call last): File

Re: [web2py] Framework comparison not linked

2010-12-13 Thread Bruno Rocha
It is here: http://web2py.com/examples/default/what (second box) 2010/12/13 Timmie timmichel...@gmx-topmail.de Hello, the following file is not linked in the official website (at least I couln't find it): http://www.web2py.com/examples/static/web2py_vs_others.pdf Best regards --

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 2:43 PM, Anthony abasta...@gmail.com wrote: Yes, LGPL (I think) allows the exception to distribute the source along with an application that links/imports the source. I was talking about the other web2py exception, which allows distribution of the binaries without the

[web2py] Re: manual login-form

2010-12-13 Thread pk
can nobody help me? On 12 Dez., 23:44, pk peter.kirch...@youngdesigners.de wrote: hi, i hope somebody of you can help me very fast. how can i set the form-ID for the form (loginform) if i post the code {{=loginform}} i get this code automaticly: div id=contenttext pform action=

Re: [web2py] Re: manual login-form

2010-12-13 Thread Bruno Rocha
You can try this: {{loginform.attributes['_id'] = 'someidhere'}} {{=loginform}} 2010/12/13 pk peter.kirch...@youngdesigners.de can nobody help me? On 12 Dez., 23:44, pk peter.kirch...@youngdesigners.de wrote: hi, i hope somebody of you can help me very fast. how can i set the

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 5:07:52 AM UTC-5, Branko Vukelic wrote: On Mon, Dec 13, 2010 at 8:00 AM, mdipierro mdip...@cs.depaul.edu wrote: otherwise (MIT or BSD are possible for third party contributions) 3rd party contributions that were released as MIT or BSD cannot be licensed under LGPL

Re: [web2py] Re: manual login-form

2010-12-13 Thread Bruno Rocha
form.elements()[0].attributes['_id'] and form.attributes['_id'] get/set the same value. 2010/12/13 Bruno Rocha rochacbr...@gmail.com You can try this: {{loginform.attributes['_id'] = 'someidhere'}} {{=loginform}} 2010/12/13 pk peter.kirch...@youngdesigners.de can nobody help me? On

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 4:13 PM, Anthony abasta...@gmail.com wrote: Hmm, I thought it was just the opposite -- people like MIT/BSD because they don't place any restrictions on how you license a modified/derived work. So, you can take an MIT/BSD licensed program, modify/combine it, and then

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 4:29 PM, Branko Vukelic bg.bra...@gmail.com wrote: Your app is GPL-free anyway Because of the exception, to be precise, not according to GPL. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my

[web2py] Re: extra non-persistent fields in forms

2010-12-13 Thread Carlos
Thanks a lot ! On Dec 12, 11:34 pm, Bruno Rocha rochacbr...@gmail.com wrote: Sorry, my fault, SQLFORM.factory generates forms based on tables, but this does not make the inserts automatically. if you want to use that to include extra fields in a form it is a good choice, but you'll need to

Re: [web2py] Re: manual login-form

2010-12-13 Thread Branko Vukelic
Bruno, is there something like {{=authform.children}} to render all the interior without the FORM tags? On Mon, Dec 13, 2010 at 4:15 PM, Bruno Rocha rochacbr...@gmail.com wrote: form.elements()[0].attributes['_id'] and form.attributes['_id'] get/set the same value. 2010/12/13 Bruno Rocha

[web2py] Re: Many to Many on GAE

2010-12-13 Thread howesc
where and how are the pictures stores? will you be adding them to the blobstore or references pictures elsewhere?

[web2py] Re: login form with a popup

2010-12-13 Thread ma...@rockiger.com
Could you show you browser-source? But actually I have to admit, Branko is right. You don't get the redirect. I used it in a situation where I didn't want a redirect. @Branko Coud you give an example of a partial form? Marco

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 10:29:00 AM UTC-5, Branko Vukelic wrote: On Mon, Dec 13, 2010 at 4:13 PM, Anthony abas...@gmail.com wrote: Hmm, I thought it was just the opposite -- people like MIT/BSD because they don't place any restrictions on how you license a modified/derived work. So, you

Re: [web2py] Re: manual login-form

2010-12-13 Thread Bruno Rocha
2010/12/13 Branko Vukelic bg.bra...@gmail.com Bruno, is there something like {{=authform.children}} to render all the interior without the FORM tags? You can get this in this using jQuery notation, web2py has a DOM parser for HTML tags:

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 9:36:37 AM UTC-5, Branko Vukelic wrote: On Mon, Dec 13, 2010 at 2:43 PM, Anthony abas...@gmail.com wrote: Yes, LGPL (I think) allows the exception to distribute the source along with an application that links/imports the source. I was talking about the other web2py

Re: [web2py] Re: manual login-form

2010-12-13 Thread Bruno Rocha
You can use regex. code import re print form.elements('input',_id=re.compile('auth_\d?')) [gluon.html.INPUT object at 0x101f86310, gluon.html.INPUT object at 0x101f86210, gluon.html.INPUT object at 0x101c42f10, gluon.html.INPUT object at 0x101f83e90] /code -- Bruno Rocha

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 8:38:12 AM UTC-5, Branko Vukelic wrote: Ok, so I got word from GNU. What they say is that using imports the way Python does is considered creating derivative work, and LGPL would not, in their view, except the vendor from the obligation to release their apps under the

Re: [web2py] Re: manual login-form

2010-12-13 Thread Bruno Rocha
One more thing: You can search for elements in your HTML. code print form.elements(find='mail') [gluon.html.LABEL object at 0x101f86150] /code or list all elements code for item in form.components: print item /code -- Bruno Rocha http://about.me/rochacbruno/bio

[web2py] Web2py Application Exhibition ( 2 days left! )

2010-12-13 Thread NetAdmin
Hello All, We're in the home stretch! The deadline for submissions for the Web2py Application Exhibition is December 15th 2010 You can start submitting and voting for the entries for the Web2py Application Exhibition Version 2.0 To get started, go to the following link...

Re: [web2py] Web2py Application Exhibition ( 2 days left! )

2010-12-13 Thread Bruno Rocha
I am working hard to finish the beta 0.0.0.1 version of my new_datatables plugin. 2010/12/13 NetAdmin mr.netad...@gmail.com Hello All, We're in the home stretch! The deadline for submissions for the Web2py Application Exhibition is December 15th 2010 You can start submitting and

[web2py] Re: Socket for bidirectional messaging

2010-12-13 Thread Luther Goh Lu Feng
From the discussion here http://groups.google.com/group/web2py/browse_thread/thread/f7e33ec65ae77d48/704e5ff4b6bcd3b3?lnk=gstq=ape#704e5ff4b6bcd3b3 Someone suggested used oribited: http://orbited.org/ On Dec 13, 7:01 am, gopiballava gopiball...@gmail.com wrote: Hi, I'm interested in adding

[web2py] Re: administrator controller

2010-12-13 Thread Christopher Steel
it is literally the same plugin but with a menu item... I was going to add some more features but had to move on to other projects... On Dec 13, 2:01 am, mdipierro mdipie...@cs.depaul.edu wrote: can you tell us more? What does it do? Massimo On Dec 13, 12:20 am, Christopher Steel

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread LightDot
To summarize: - a python framework licensed under a pure GPLv2 would not allow for a closed source application development, so Massimo's exception is crucial for such projects - changing the license from the current GPLv2 with en exception to the LGPL brings no improvement - changing from GPLv2

[web2py] Re: tags and tag cloud

2010-12-13 Thread Luther Goh Lu Feng
On Dec 13, 5:45 am, Carlos carlosgali...@gmail.com wrote: Hi, This is not a question specific to web2py, but it's more a generic inquiry. How does 'tags' usually work in a regular website (e.g. for articles/ blogs)?. I mean: Should tags be managed (create/update/delete tags) only by

[web2py] td width with SQLTABLE

2010-12-13 Thread Richard Vézina
Hello, Is it possible to set td width with SQLTABLE? and if yes how? Thanks Richard

[web2py] How to do a list:upload Field?

2010-12-13 Thread Savio Sabino
Have a mode to do this work? Or a other solution?

Re: [web2py] td width with SQLTABLE

2010-12-13 Thread Bruno Rocha
Could be another way, but in controller or view you can do: table = SQLTABLE(db(db.category.id0).select()) for td in table.elements('td'): td.attributes['_width']='200px' print table

Re: [web2py] How to do a list:upload Field?

2010-12-13 Thread Bruno Rocha
I think it is possible with a custom field and a custom widget. But, if you need multi file upload there is: http://web2pyslices.com/main/slices/take_slice/103 2010/12/13 Savio Sabino savi...@gmail.com Have a mode to do this work? Or a other solution? -- Bruno Rocha

[web2py] Re: tags and tag cloud

2010-12-13 Thread VP
I think generally there are 2 things: (a) taxonomy and (b) folksonomy. Taxonomy is a controlled vocabulary which can only be modified/added by a group of people with special privilege. Folksonomy, commonly called tags, is not centrally controlled. Anyone who can create content and add new terms

[web2py] Re: it case you missed it...

2010-12-13 Thread Wikus van de Merwe
Before I dive into analysing the proposed licence changes in detail, let me remind you one important thing: we are talking here about web applications. Most of the time these applications are not distributed as installable software but are deployed on servers. That is, the distribution does not

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 5:50 PM, Anthony abasta...@gmail.com wrote: On Monday, December 13, 2010 8:38:12 AM UTC-5, Branko Vukelic wrote: Sorry, I missed this post. Would you mind sending the exact question you asked and the full response from GNU? I'm surprised because I would think a web2py

[web2py] Re: How to do a list:upload Field?

2010-12-13 Thread Savio Sabino
The best solution to this is a widget to insert multi record of a referenced table like: db.define_table('post', Field('title'), Field('content')) db.define_table('comment', Field('post_id', db.post), Field('author'), Field('email'), Field('body', 'text')) What I need is a

[web2py] Re: How to do a list:upload Field?

2010-12-13 Thread Savio Sabino
This exists? On Dec 13, 5:53 pm, Savio Sabino savi...@gmail.com wrote: The best solution to this is a widget to insert multi record of a referenced table like: db.define_table('post',    Field('title'),    Field('content')) db.define_table('comment',    Field('post_id', db.post),    

Re: [web2py] td width with SQLTABLE

2010-12-13 Thread Richard Vézina
Thank you! It works, but my table cells have the same width... Is SQLTABLE fix the column width base on th width... I try to give width to TH and TD no success... I read that TD width is deprecated and should be style: width=200px; http://www.w3schools.com/tags/att_td_width.asp Use CSS

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 9:35 PM, Wikus van de Merwe dupakrop...@googlemail.com wrote: So as you see, the GPL alone as well as the special case of licensing of web2py and application written for it is quite complex. I believe we all would benefit from having all this explained in a separate

Re: [web2py] td width with SQLTABLE

2010-12-13 Thread Richard Vézina
Here what I found!! for th in table.elements('th'): th.attributes['_style']='white-space:nowrap; ' I thought I could achieve it with width parameter falsely! Thanks for your hand Bruno. Richard On Mon, Dec 13, 2010 at 4:10 PM, Richard Vézina ml.richard.vez...@gmail.com wrote: Thank you!

Re: [web2py] grid

2010-12-13 Thread Richard Vézina
Thank you very much for drawing my attention to this plugin Thadeus I succeed! Richard On Fri, Dec 10, 2010 at 3:58 PM, Thadeus Burgess thade...@thadeusb.comwrote: I really enjoy working with DataTables. It is easy to use and extremely configurable! Not only that, but it can load results

Re: [web2py] grid

2010-12-13 Thread Richard Vézina
Hello Bruno, Where can we get this really nice work! How did you get it to work with the T() internationalisation of web2py? Richard On Mon, Dec 13, 2010 at 2:38 AM, Bruno Rocha rochacbr...@gmail.com wrote: The new datatables plugin is almost done! I am working now on Server Side

[web2py] web2py Chat Problem

2010-12-13 Thread Monbro K
Hey guy, It depends on a fresh out of the box (chat) installation: http://web2py.com/appliances/default/show/34 we got some errors while some user is trying to accept an invitation from one other to one room. The error message after the path (http://localhost/chat/default/accept/ 1) is

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread pbreit
Unless there is a move away from GPL, I don't think it's worthwhile to split hairs on all these intricacies. What is discouraging users is GPL and I don't think adding more exceptions will avoid the negative perception. If Massimo is married to GPL then there's probably not much to discuss. I

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 3:30:17 PM UTC-5, Branko Vukelic wrote: Start verbatim copy - On Mon, Dec 13, 2010 at 1:09 PM, --- lice...@fsf.org wrote: Importing code and sharing namespaces would most probably be creating a derivative work and would need to be

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 3:58:09 PM UTC-5, Branko Vukelic wrote: 1) all web2py/*.py and web2py/gluon/*py files are LPGL The goal of the GPL is to grant everyone the freedom to copy, redistribute, understand, and modify a program. If you could incorporate GPL-covered software into a

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 11:46 PM, Anthony abasta...@gmail.com wrote: intellectual property attorney with open source experience. Maybe it's not worth the bother/cost right now, though. First, technically, GPL license is totally ok if we look at web2py on its own. It gets the job done. Releasing

Re: [web2py] grid

2010-12-13 Thread JmiXIII
Hello Bruno! Seems very fantastic ! I like the in-line editing so much ! I was trying to include most of your features in my own view. Not enough skills to make in-line editing... To my ming your plugin seems much more functionnal to the jquery widget provided with plugin_wiki Looking forward

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 11:33 PM, pbreit pbreitenb...@gmail.com wrote: Unless there is a move away from GPL, I don't think it's worthwhile to split Absolutely. You do not have to discuss the LGPL/GPL licensing issue if it offends you so much. Especially if you cannot refrain from name-calling

Re: [web2py] grid

2010-12-13 Thread Bruno Rocha
Even not complete, I'll release this for http://w2pexhibition.appspot.com/15th December. Not every functionality will work on this fitst version, but I'd like if you can help me testing. In-line editing uses jquery.jeditable, which calls a function in a controller passing some index information

[web2py] Exception during file autodelete

2010-12-13 Thread Kurt Grutzmacher
Using latest web2py trunk. Upload Field configured for autodelete=True and executing del db.t_file_uploads[form.vars.id] after processing the file: File /Users/grutz/src/web2py/gluon/dal.py, line 3696, in __delitem__ elif not str(key).isdigit() or not self._db(self.id == key).delete():

[web2py] simple db app

2010-12-13 Thread Rick
Hi, I'm trying to make a data base for storing names and addresses, but since I'm a n00b then I can't get it working. I've no idea what's wrong. The problem is that the input function doesn't redirect to the show function and that the show function doesn't show any data. Here's the code: the

[web2py] Re: simple db app

2010-12-13 Thread Rick Hultgren
http://groups.google.com/group/web2py/browse_thread/thread/b7cd19c53648ef0d On 12/14/10, Rick sababa.sab...@gmail.com wrote: Hi, I'm trying to make a data base for storing names and addresses, but since I'm a n00b then I can't get it working. I've no idea what's wrong. The problem is that

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Graham Dumpleton
On Tuesday, December 14, 2010 9:46:09 AM UTC+11, Anthony wrote: On Monday, December 13, 2010 3:30:17 PM UTC-5, Branko Vukelic wrote: Start verbatim copy - On Mon, Dec 13, 2010 at 1:09 PM, --- lic...@fsf.org wrote: Importing code and sharing namespaces

[web2py] Re: simple db app

2010-12-13 Thread pbreit
I would envision something more like this (not tested): == db.py == db.define_table('address', Field('person'), Field('address')) == default.py == def index(): records = db().select(db.address.ALL, orderby=db.address.name) return dict(records=records) def create(): form =

[web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2010-12-13 Thread Vincent
I am interested in a little different setup, I would like *.example.com to go to the web2py app/folder but be able to specify other.example.com be served from /var/www/other/ I am having trouble figuring out how to configure Apache virtual host to do this. Thanks Vincent On Oct 18, 7:07 pm, VP

[web2py] Re: simple db app

2010-12-13 Thread Rick
Thanks for the reply. Unfortunately this code idea gives the same result as mine. On Dec 14, 2:51 am, pbreit pbreitenb...@gmail.com wrote: I would envision something more like this (not tested): == db.py == db.define_table('address',     Field('person'),     Field('address')) ==

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 6:18:24 PM UTC-5, Branko Vukelic wrote: First, technically, GPL license is totally ok if we look at web2py on its own. It gets the job done. Releasing web2py under LGPL accomplishes nothing for the framework that GPL hasn't already. Agreed. We were actually

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Tue, Dec 14, 2010 at 2:15 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: it being a part of the library. Thus technically the template code may be construed as ending up as part of your application. FSF specifically allows this in LGPL, if I'm not mistaken: The object code form of

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Graham Dumpleton
They may have clarified it then. I am only going by what problems I knew came up many many many years ago, ie., early 90s. Another good example of why lawyers are a good idea. We all often go based on possibly out of date recollections. :-) Graham On Tuesday, December 14, 2010 2:03:59 PM

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Tue, Dec 14, 2010 at 4:14 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: They may have clarified it then. I am only going by what problems I knew came up many many many years ago, ie., early 90s. However, web2py is still using GPLv2 :P That ought to be fixed. GPLv3 is both more

[web2py] Re: simple db app

2010-12-13 Thread DenesL
Hi Rick, On Dec 13, 6:55 pm, Rick sababa.sab...@gmail.com wrote: Hi, I'm trying to make a data base for storing names and addresses, but since I'm a n00b then I can't get it working. I've no idea what's wrong. The problem is that the input function doesn't redirect to the show function and

[web2py] Strange behaviour on SQLFORM update

2010-12-13 Thread Seamon
Hi, I've just experienced strage behaviour while using SQLFORM to update records in MySQL DB. The code is pretty basic (see below), just a little cookbook application and this part was ment to edit the recipe. First all seemed ok - the form was displayed as specified, but after submitting the

[web2py] problem with request_reset_password?

2010-12-13 Thread kevski
I snipped a lot of the intermediate stuff out but basically I try to use the lost_password link on the login page and get the following traceback. Looking at the sql statement it appears that the parameters for SET are missing. from below: Function argument list: (*a=('UPDATE auth_user SET WHERE

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Tue, Dec 14, 2010 at 3:43 AM, Anthony abasta...@gmail.com wrote: The FSF has a different agenda from people who want to distribute their web2py applications closed source. GPL plus exceptions certainly works, but However, FSF's agenda also aligns with that of Massimo and some of us,

[web2py] Re: simple db app

2010-12-13 Thread pbreit
Oops, I made same error. {{=record.name}} : {{=record.address}}br should be {{=record.p http://record.name/erson}} : {{=record.address}}br Not to sound like your mother but there were a lot of little errors like that in the original code. You have to be *extremely* careful about the details.

[web2py] Simple debugger

2010-12-13 Thread Bruno Rocha
Hi, Im here to share a little and simple tip that I use everyday for debug my apps. I do not use IDE's, sometimes Komodo Edit, but most of the time I am using VIM and Emacs. My debugger is the shell, I am always printing results to see in shell, and I think it is productive and useful. to help

Re: [web2py] Simple debugger

2010-12-13 Thread Branko Vukelic
On Tue, Dec 14, 2010 at 5:45 AM, Bruno Rocha rochacbr...@gmail.com wrote: Someone else has any debug tip or advice for sharing? I used this: http://pypi.python.org/pypi/ipdb All the IPython goodness + pdb-style debugging. You get auto-complete and command history, too. ;) -- Branko Vukelić

[web2py] Re: Simple debugger

2010-12-13 Thread weheh
I want to go to Eclipse but didn't succeed in getting it to install run the first time through. On Dec 14, 12:13 am, Branko Vukelic bg.bra...@gmail.com wrote: On Tue, Dec 14, 2010 at 5:45 AM, Bruno Rocha rochacbr...@gmail.com wrote: Someone else has any debug tip or advice for sharing? I

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 10:52:20 PM UTC-5, Branko Vukelic wrote: On Tue, Dec 14, 2010 at 3:43 AM, Anthony abas...@gmail.com wrote: The FSF has a different agenda from people who want to distribute their web2py applications closed source. GPL plus exceptions certainly works, but

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Anthony
On Monday, December 13, 2010 10:17:39 PM UTC-5, Branko Vukelic wrote: On Tue, Dec 14, 2010 at 4:14 AM, Graham Dumpleton Another good example of why lawyers are a good idea. We all often go based on possibly out of date recollections. :-) Well, that's something Massimo's wallet has to

Re: [web2py] Re: it case you missed it...

2010-12-13 Thread Branko Vukelic
On Tue, Dec 14, 2010 at 6:55 AM, Anthony abasta...@gmail.com wrote: Sounds good. Though ideally we would get some expert advice at some point. Agreed. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio:

[web2py] More DAL examples missing?

2010-12-13 Thread pbreit
The Examples page (http://web2py.com/examples/default/examples) includes a link to more DAL examples (http://web2py.com/examples/default/dal) which errors invalid function.