[web2py] Re: IS_EMPTY_OR(IS_IN_DB incompatible with custom form?

2014-08-27 Thread José L .
El martes, 26 de agosto de 2014 22:49:17 UTC+2, Anthony escribió: On Tuesday, August 26, 2014 3:13:35 PM UTC-4, José L. wrote: Hi, I'm using a custom form to represent the fields of a table. This table has referenced fields. If I use: db.define_table('department', Field('dept_id

[web2py] IS_EMPTY_OR(IS_IN_DB incompatible with custom form?

2014-08-26 Thread José L .
, '%(nombre)s'))) {{=form.custom.widget.dept_id}} shows the departament id instead of the name. I need to add the IS_EMPTY_OR condition, I've also tried adding notnull=False without success. Any hint? Thanks. José L. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

[web2py] oncreate callback inside a component

2014-07-24 Thread José L .
Hi, I'm using load to put two sqlform.grid inside a page in an application. I have added ... editable=True, create=True, searchable=False, onvalidation=check_documento, oncreate = check_documento, onupdate = check_documento,

[web2py] Validator for sqlform combo list

2012-05-31 Thread José L .
Hi, I'm using a referenced table with IS_IN_DB validator, but I'd like to filter the fields to be shown in the combo list. As an example: db.define_table('person', Field('name'), Field('surname), Field(age,'integer') ) db.define_table('class_attendant',

[web2py] executing javascript after accepting a form

2012-03-27 Thread José L .
Hi, I'm having problems trying to show a modal window after the user submits correctly a form. I've tried to do it with: def index(): if form.accepts(request.vars): response.js='$( #dialog-message ).dialog({ modal: true });' ... being #dialog-message a div in the same

[web2py] Translation error in SQLFORM.grid

2011-11-27 Thread José L .
found' % dict(nrows=nrows)) by: message = error or T('%s records found', nrows) The problem is fixed. I've filled bug #539 to follow this issue. Regards. José L.

[web2py] Autocomplete in GAE

2011-11-02 Thread José L .
, not a simple combo with a very short list of possible items to show/search. Thanks in advance José L.

[web2py] Running web2py in an apache directory

2011-10-21 Thread José L .
Hi, I've been running successfully web2py under apache in a directory following the slice at http://www.web2pyslices.com/slices/take_slice/56 . I need it running in a subdirectory because this apache server is running some other apps, some of them in php. It worked perfectly with version

[web2py] Re: PowerFormWizard 0.1.4 - Bug Fixes and auto_validation (+ a new plugin for grids)

2011-08-09 Thread José L .
Hi Bruno, I'm trying to use PowerFormWizard and it was working fine until I found a bug using an Autocomplete widget for one of the fields. I can reproduce the error even using your example application (I just added a colors table and db.person.colors.widget = SQLFORM.widgets.autocomplete(

[web2py] Form for two tables (one of them repeated)

2011-08-03 Thread José L .
Hello, I need the help of some web2py guru... I'm developing an application where I have to add and modify couples of people. So I've defined a table called person, and a table called pairs which have two fields related to person. I need to show a form to add/edit couples (so adding/editing in

[web2py] autocomplete widget does not work on GAE

2011-07-03 Thread José L .
know of any workaround to make autocomplete work in GAE? BTW: A note should be added at the web2py book section (http://www.web2py.com/book/default/chapter/07#Autocomplete-Widget ) warning it does not work in gae. It will save time to many people. Regards. José L.

[web2py] Insert One to many related tables in GAE

2011-07-02 Thread José L .
on how to associate both data. Can anybody lend me a hand? Regards José L.

[web2py] New bug working with 1.96.4

2011-06-22 Thread José L .
I'm having an authentication error in an application that works without any problem in 1.95.1. This application uses ldap authentication, the backtrace is: Traceback (most recent call last): File /opt/src/web2py/web2py/gluon/restricted.py, line 192, in restricted exec ccode in environment

[web2py] Re: New bug working with 1.96.4

2011-06-22 Thread José L .
I've checked the problem comes since http://code.google.com/p/web2py/source/detail?r=9153fbe0349812922daae09c487f4dfe68280d76path=/gluon/tools.py where the user_id = table_user.insert(**keys) replaced the old method to insert data in the auth table. No idea of the rationale behind

[web2py] Re: plugins

2011-06-20 Thread José L .
selecta, the downloads from http://pymantis.org/pymantis_server/plugin_release/download don't work in any of its versions. Do you have some control version system where I could take a look to these plugins? Thanks.

[web2py] Use plugin_wiki widgets in standard views

2011-06-19 Thread José L .
I'd like to use some of the widgets plugin_wiki has (mainly jqgrid and tags) , but I don't want to use plugin wiki pages to build the site because I'd like to have more flexibility (specially with layouts and javascript). Is there an easy way to use some of these widgets in a normal view? (I've

[web2py] Re: Use plugin_wiki widgets in standard views

2011-06-19 Thread José L .
Forget my previous email , I've found the answer in the book: {{=plugin_wiki.widget('jqgrid',table='... ) }}

[web2py] Pack applications stored on control version filesystems

2011-05-26 Thread José L .
Hi I was having problems (Internal error) when trying to pack an application that I have under subversion control. I've detected the problem was in the app_cleanup function in gluon/admin.py (it tried to remove files, but raised an error when tried to remove the .svn directory). I guess this

[web2py] What's the utility of auth.settings.alternate_requires_registration?

2011-04-15 Thread José L .
I've tried to use it to avoid registering automatically users in the database after a login using ldap, but the result is almost the opposite. If auth.settings.alternate_requires_registration=True, then only database users are allowed, and the alternate_login_methods are ignored. Is it a bug or

[web2py] Re: web2py 1.94.1 is OUT

2011-03-18 Thread José L .
Debian packages for 1.94.4 are already available where usual: http://people.debian.org/~jredrejo/web2py/lenny/ (for python2.5) or http://people.debian.org/~jredrejo/web2py/squeeze/ (for python 2.5) Regards.

[web2py] Re: greetings from PyCon

2011-03-14 Thread José L .
On Monday, March 14, 2011 2:38:24 PM UTC+1, Massimo Di Pierro wrote: http://blip.tv/file/4879126 Can you see it? Perfectly, thanks very much. On Mar 14, 6:50 am, Mengu whal...@gmail.com wrote: so, what about the video?

[web2py] Re: web2py always writes on language files to translate

2011-03-14 Thread José L .
Is there anyway to force the update of translations files by code? I'll add it to the Debian package in case it's possible, so this problem will disappear...

[web2py] web2py always writes on language files to translate

2011-03-13 Thread José L .
/python2.5/gluon/languages.py(95)write_dict() i.e.: As far as I can check, method translate, from class translator at gluon/languages.py , always call method write_dict, and it looks there's no need to do it. is it a bug ? Regards. José L.

[web2py] Re: web2py always writes on language files to translate

2011-03-13 Thread José L .
. José L. Massimo On Mar 13, 10:56 am, José L. jred...@gmail.com wrote: Hi, running web2py in a directory with restricted permissions I've checked that anytime a translation is used, web2py try to re-write the translation string: /var/lib/python-support/python2.5/gluon

[web2py] web2py Debian packages available for testing

2011-02-28 Thread José L .
distributions, including documentation and an example configuration file to use Apache. My plan is uploading these packages to Debian at the end of this week if nobody complains with bugs, so I ask help to all the Debian/Ubuntu users in this group to test it and tell me their opinion. Regards José L.

[web2py] Re: Digging in the web2py license(s)

2011-02-18 Thread José L .
Bumping Massimo, I really need your help on this topic, specially on the part of the unlicensed files.

[web2py] Digging in the web2py license(s)

2011-02-17 Thread José L .
Hello, in my progress of making the Debian packaging of web2py I'm dealing with the non-always-clear world of licensing. Up to now, I've some clear parts, which can be read at: http://paste.debian.net/107968/ For Massimo and all the web2py contributors, it would be great if you can take a

[web2py] Application with no session

2011-01-26 Thread José L .
(or could it be added) to avoid using any kind of sessions in a web2py application? Regards. José L.

[web2py] Re: Application with no session

2011-01-26 Thread José L .
Forget my previous mail, I've checked that adding session.forget() to the default controller makes the needed magic. Regards.

[web2py] web2py launcher for Debian package

2011-01-26 Thread José L .
an external process (the web browser), after it has started. Regards. José L.

[web2py] Re: web2py launcher for Debian package

2011-01-26 Thread José L .
This message has disappeared from the web2py google groups site . I don't know why. So, I'm bumping it On Wednesday, January 26, 2011 8:33:37 PM UTC+1, José L. wrote: Hello, in order to do the packaging of web2py, I've done these things: - moved gluon to be a standard library of the system

[web2py] Re: minimal setup on Debian for using Mail()

2010-12-05 Thread José L .
and check if they 're received. Then you are sure your server setup is working and you can think of configuring mail in web2py. Regards José L.

[web2py] Re: LMS experimenting

2010-11-28 Thread José L .
with the teacher is a total sucess in many countries around the world, and believe me: I've been working developing code and applications for teachers for the last 8 years and it's not easy to find an application that most teachers can use without problem. My 2 cents José L. Massimo On Nov 28

[web2py] Re: Packaging web2py for Debian

2010-10-18 Thread José L .
of flooding this group of packaging technical details that most people don't care. Regards. José L.

[web2py] Re: Packaging web2py for Debian

2010-10-17 Thread José L .
, but I can't recall of any other difference. Regards. José L. Kind regards to all.

[web2py] Re: Packaging web2py for Debian

2010-10-16 Thread José L .
package web2py as you have in mind, besides the writing rights? Which you will discuss later on I guess. I'll try. Anyway, I've requested the creation of a packaging group in alioth.debian.org. As soon as it is created by the admins I'll tell it here, so anybody can join to help. Regards José L

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread José L .
be useful to be done with apache, with a apache2-web2py package, but I don't see how to do it universally for any web server. Sounds cool! More than cool. It sounds as a need for many people! Regards. José L.

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread José L .
On 15 oct, 11:33, Jurgis Pralgauskis jurgis.pralgaus...@gmail.com wrote: Maybe You could usehttps://help.launchpad.net/Packaging/SourceBuilds/ if you'd create stable branch on bazar and add packaging recipy likehttps://code.edge.launchpad.net/~mdipierro/web2py/devel/+new-recipe

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread José L .
On 15 oct, 13:32, Mark Breedveld m.breedv...@solcon.nl wrote: You have the idea. Thanks for clearing it towards the others. My guesses it we need to do both. Because Jose goal is general purpose and mine aswell, but comes with overkill in the most cases. In Jose case I would suggest a

[web2py] Re: Packaging web2py for Debian

2010-10-14 Thread José L .
break everything as it usually happens on  debian with other python frameworks. mic 2010/10/13 José L. jredr...@gmail.com: Hi, as it seems that time goes by, and no available packages for Debian are ready, I'm going to begin to work on it seriously to upload web2py to Debian. I

[web2py] Re: Packaging web2py for Debian

2010-10-14 Thread José L .
On 13 oct, 23:17, Richard richar...@gmail.com wrote: I remember talk about ability to upgrade through admin - is that practical? It works, but it must be disabled in the Debian package. Versions can not be upgraded without upgrading the package, that would break the system packages

[web2py] Re: Packaging web2py for Debian

2010-10-14 Thread José L .
On 13 oct, 23:18, Tim Michelsen timmichel...@gmx-topmail.de wrote: I feel this will be a maintenance nightmare unless it somehow upgrades itself. The release process of debian is very slow compared to ours. You can have automatic daily builds of a source tree import to your

[web2py] Re: Packaging web2py for Debian

2010-10-14 Thread José L .
On 14 oct, 02:36, Mark Breedveld m.breedv...@solcon.nl wrote: Hello Guys, My apologise for my late update on the project. Had to get my propedeuse  :p. And next 1 - 1,5 year I hope to do my graduation project on HRO. Which I hope is implement or extends web2py manager. In other topics

[web2py] Re: Packaging web2py for Debian

2010-10-14 Thread José L .
, and would like to have it in Debian. So far, so good. No more ambitions, no more needs. Regards José L.

[web2py] Packaging web2py for Debian

2010-10-13 Thread José L .
in the packaging I'll be glad to open a project in alioth.debian.org, so we can work together. Regards. José L.

[web2py] Re: Packaging web2py for Debian

2010-10-13 Thread José L .
On 13 oct, 21:00, mdipierro mdipie...@cs.depaul.edu wrote: web2py -f folder It should work but you may want to check. Perhaps we may need a patch. I'll try it, I guess some other files will be needed, but I'll report my progress. Anyway maybe you could add some code to web2py.py so if it

[web2py] Re: Debian Packaging

2010-09-08 Thread José L .
in alioth.debian.org. And, if you think you can not do it, please let me hijack to ITP, I'd try to do the packaging, so in the medium term, we can have a working package to be tested by the Debian community (and its derivatives, as Ubuntu, Linux Mint, LinEx, etc.) Regards. José L. On 2 jul, 14:41

[web2py] does anybody know what happened to www.web2pyslices.com?

2010-06-09 Thread José L .
It's not reachable since a couple of days, and it's a very valuable tool for web2py users... José L.

[web2py] Re: Debian Packaging

2010-05-18 Thread José L .
together, but for that, I need more time to know the insides of web2py before feeling I can do a good work with it. Regards. José L.

[web2py] web2py on twisted

2010-04-28 Thread José L .
Hi, I'm using an application running on twisted to communicate with some electronic devices. twisted is almost a need to handle this application because of the async nature of the comms. Also I use twisted + some javascript to render a http page with the info coming from the devices and to give