[web2py] Re: Interesting new SQLite/JSON based database

2011-08-11 Thread GoldenTiger
On Aug 12, 12:16 am, Massimo Di Pierro wrote: > I would me more interested in a DAL adapter can pass queries to > another DAL instance. mmm... Massimo, What is on your mind? Can you expose a simple example? Maybe I have something to say to this respect... This summer I am working on an idea t

[web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Miguel
Looks great!

[web2py] Re: IMPORTANT on cron jobs, scheduled jobs and delayed jobs

2011-08-11 Thread pbreit
Are you referring to Web2py's new scheduler? Since many of us are already set up to use SQLite or MySQL/Postgres, could those be used in place of Redis?

[web2py] Re: celery integration?

2011-08-11 Thread pbreit
Maybe sending an email instead of DB insert? Is async DB insert common?

[web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Rahul
Something I've been waiting for a long time. I liked SPE but needed something more to support modern wxpython and more stuff. Your project looks superb. Waiting for first final release. Thanks Rahul D. On Aug 12, 6:22 am, Nicolas Palumbo wrote: > Mariano, how can I code if don't use a Mercurial

[web2py] Re: celery integration?

2011-08-11 Thread TheSweetlink
Hello Massimo, I do not have any code I can share at the moment for this solution as I am using it in my current project but I will be very happy to make a detailed example tomorrow to share with the community. Do you have any particular focus in mind? Async insert into db? What level of detail

[web2py] Re: IMPORTANT on cron jobs, scheduled jobs and delayed jobs

2011-08-11 Thread TheSweetlink
Long time lurker here. First, thank you all for this incredible product and community. I have learned a great deal in a very short order of time thanks to web2py and this mailing list. I may have the opportunity to finally contribute back meaningfully. Regarding background message/task queuing

[web2py] Re: copying upload type field from one table to another

2011-08-11 Thread annet
Hi Nik, I solved a similar problem like this: The relevant bits in the old table: db.define_table('logofile', Field('filename',writable=False,readable=False), Field('file',type='upload',default='',notnull=True,autodelete=True), migrate='logofile.table') The function: def copy_logofi

[web2py] Filtering tags in crud form dropdowns

2011-08-11 Thread noelrv
I have issues implementing a filtered list of tags in a crud form dropdown. In the models below, each book belongs to a category and has one or more tags. Each category has a specified set of tags by defining tag.categories as a list:reference. The crud form dropdown shows a filtered tag list if

[web2py] PowerGrid and reference fields

2011-08-11 Thread niknok
When I list a table with a reference field, it shows up as an index key. I was expecting it to show up as usual, with the default record representation of the referenced table. It does show up correctly inside a modal window, after hitting an action button (i.e. Details), though. I tried settin

[web2py] copying upload type field from one table to another

2011-08-11 Thread niknok
When I try to copy an upload field, the link to the file gets broken in the new table. What's the correct way of copying this field type? For example, I do it like this: db.new_table.photo[1] = db.old_table[9] but in new_table, I get a broken link to the file in the upload folder. /r Nik

[web2py] field labels in crud search

2011-08-11 Thread niknok
I noticed while using crud search results that web2py doesn't use labels defined in tables as headers. Of course, headers can be defined in crud but wouldn't it be better if by default it uses the labels already defined with the table instead of field names?

[web2py] Re: Where to put the .htaccess file

2011-08-11 Thread Yannick
I found the solution: I put the ".htaccess" file in the "/home/www-data" directory and then I remove the "/$1" in the URL link inside the command... here is the command inside the ".htaccess" file. RewriteEngine on RewriteCond %{HTTP_HOST} !^www.mywebsite.com RewriteRule (.*) http://www.mywebsite

Re: [web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Nicolas Palumbo
Mariano, how can I code if don't use a Mercurial repo? Can ipoint it to the folder? On Fri, Aug 12, 2011 at 12:43 AM, Mariano Reingart wrote: > Please check the latest version with the following recent bug-fixes: > >  * Support for external browser (if no webkit/ie available, ie. MAC OS X) >  *

Re: [web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Mariano Reingart
Please check the latest version with the following recent bug-fixes: * Support for external browser (if no webkit/ie available, ie. MAC OS X) * Support for older wxpython versions (psp toolbar problem, ie. debian wx 2.8.10) http://rad2py.googlecode.com/files/rad2py-0.06-web2py-bugfix.zip Also,

[web2py] Re: IMPORTANT on cron jobs, scheduled jobs and delayed jobs

2011-08-11 Thread Massimo Di Pierro
PS. The fix also allow to schedule a one time task to run on a specific worker which is useful in its own. On Aug 11, 7:33 pm, Massimo Di Pierro wrote: > You found a major bug. I think it is not fixed in trunk (more or less > as you suggested). Please check it. > > The database locked issue shoul

[web2py] Re: IMPORTANT on cron jobs, scheduled jobs and delayed jobs

2011-08-11 Thread Massimo Di Pierro
You found a major bug. I think it is not fixed in trunk (more or less as you suggested). Please check it. The database locked issue should not raise, perhaps there is a sqlite flag. Massimo On Aug 11, 6:33 pm, Niphlod wrote: > Really totally insane rambling. > Reference in task_run doesn't bloc

[web2py] Re: RFC about issue

2011-08-11 Thread Massimo Di Pierro
My only concern is that with rounded corner buttons the E of Edit may touch the corner, unless the buttons are taller or wider. The e of edit does not suffer this problem. On Aug 11, 5:56 pm, Michael Toomim wrote: > I agree not a big > deal:http://www.quora.com/Should-buttons-in-web-apps-be-capi

[web2py] Re: IMPORTANT on cron jobs, scheduled jobs and delayed jobs

2011-08-11 Thread Niphlod
Really totally insane rambling. Reference in task_run doesn't block worker two executing the function... So, another rambling: In order to avoid it, at the cost of firing two queries on task_scheduled table, wouldn't be better to "sign" the task_scheduled with, say, worker_heartbeat.id and then ch

[web2py] Re: IMPORTANT on cron jobs, scheduled jobs and delayed jobs

2011-08-11 Thread Niphlod
scheduler.py are a super-arci-mega-ultra-extra nice 400 lines of code that I like... right now I'm beginning to test it, and the basics are quite understandable at a first glance. Before doing anything advanced, I fired up 8 workers and write a controller putting an insanely high number of small

[web2py] Re: RFC about issue

2011-08-11 Thread Michael Toomim
I agree not a big deal: http://www.quora.com/Should-buttons-in-web-apps-be-capitalized On Aug 11, 3:24 am, Massimo Di Pierro wrote: > What do people think? > > http://code.google.com/p/web2py/issues/detail?id=370 > > I do not have a strong opinion.

[web2py] Re: Here's a helper for db.table.first() and last()

2011-08-11 Thread Massimo Di Pierro
two problems with this: will not work on GAE (because id is not sequential) and may conflict with a table called "first" or "last". I really like the idea though. perhaps _first and _last and use a auth.signature.created_on instead of id? On Aug 11, 5:08 pm, Michael Toomim wrote: > Often I'm at

[web2py] Re: web2py book multilanguage

2011-08-11 Thread Massimo Di Pierro
The online book already uses google translate (except for italian). I also have a script that uses google translate to make the pdf but it is not very good. On Aug 11, 4:51 pm, "qasimak...@gmail.com" wrote: > Or you can use google translate some how :) > > On Thu, Aug 11, 2011 at 7:40 PM, Massi

[web2py] Re: Mix query and string types?

2011-08-11 Thread pbreit
I presume that I will be responsible for SQL injection protection, etc?

[web2py] Re: Mix query and string types?

2011-08-11 Thread pbreit
Cool, I'll try it out, thanks.

[web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread pbreit
I got an error on MacOS Lion: ide2py $ python main.py 2011-08-11 15:46:30.647 Python[1091:1107] CFURLCreateWithString was passed this invalid URL string: '/System/Library/CoreServices/CommonCocoaPanels.bundle' (a file system path instead of an URL string). The URL created will not work with mo

[web2py] Re: adopt an app!

2011-08-11 Thread Massimo Di Pierro
I think that is the first app that should be scrapped as crap. I do have a better one somewhere, I will post it. Massimo On Aug 11, 4:22 pm, Anthony wrote: > On Thursday, August 11, 2011 5:01:12 PM UTC-4, pbreit wrote: > > > I'd like to see good, basic apps for: > > > + forums > > http://beta.

[web2py] Re: Mix query and string types?

2011-08-11 Thread Massimo Di Pierro
You can do that already but is clanky. I made a simplification in trunk: >>> db=DAL() >>> db.define_table('t',Field('f')) >>> print db(db.t)('t.f<15')._select('max(t.f)') SELECT max(t.f) FROM t WHERE ((t.f>0) AND (t.f<15)); you still need a first db(db.table) or db(db.table.field) to determine

[web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Christopher Steel
WoW!!! I am going to try on OS X!!!

[web2py] Re: RFC about issue

2011-08-11 Thread Niphlod
+1, and it's not that big deal anyway

[web2py] Re: What is the intent of task_scheduled.name?

2011-08-11 Thread Niphlod
none, also if it seems that in trunk name is not required anymore to be unique. On 11 Ago, 11:21, Massimo Di Pierro wrote: > You are the second person to point it out. I am ok to change it. Any > third opinion? > > Massimo > > On Aug 11, 2:14 am, G wrote: > > > > > > > > > Hello, > > I wonder wh

Re: [web2py] Re: http://www.evaluation-matrix.com

2011-08-11 Thread Martín Mulone
Me no, I'm the CMS guy :). 2011/8/11 Richard Vézina > Martin Mulone already start a ERP project base on web2py... Don't know if > he still working on it... > > Richard > > > On Thu, Aug 11, 2011 at 1:00 PM, Ross Peoples wrote: > >> I would write an ERP for web2py, as I've kind of wanted to. My o

[web2py] Re: Interesting new SQLite/JSON based database

2011-08-11 Thread Massimo Di Pierro
I would me more interested in a DAL adapter can pass queries to another DAL instance. On Aug 11, 3:19 pm, Bruno Rocha wrote: > Interesting project, a JSON+SQLite based database with rest API. > > https://bitbucket.org/robertodealmeida/jsonstore > > May be web2py DAL can have an adapter for it, or

[web2py] Here's a helper for db.table.first() and last()

2011-08-11 Thread Michael Toomim
Often I'm at the shell and want to quickly pull up the most recent entry in a table. I wrote a couple of helpers for this. For instance, in a blog app: db.posts.last() ...will get the most recent post. By putting this code at the bottom of db.py, it'll automatically create a first() and last(

Re: [web2py] Re: web2py book multilanguage

2011-08-11 Thread Anthony
On Thursday, August 11, 2011 5:51:53 PM UTC-4, Qasim Ayyaz Khan wrote: > > Or you can use google translate some how :) There is this: http://www.web2py.com/plugins/default/translate

Re: [web2py] Re: web2py book multilanguage

2011-08-11 Thread qasimak...@gmail.com
Or you can use google translate some how :) On Thu, Aug 11, 2011 at 7:40 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > True. I am hoping for a 4rd edition in one month. hold on! > > Massimo > > On Aug 11, 9:13 am, Mirek Zvolský wrote: > > But, it's proper time to make new translat

[web2py] Re: adopt an app!

2011-08-11 Thread Anthony
On Thursday, August 11, 2011 5:01:12 PM UTC-4, pbreit wrote: > > > I'd like to see good, basic apps for: > > + forums > http://beta.pyforum.org/ > + hacker news, reddit > Here's a start: http://web2py.com/appliances/default/show/41 Anthony

[web2py] Re: SQLFORM list bug's

2011-08-11 Thread ee...@seccuris.com
On hindsight my suggested fix to sqlhtml.py does not work. It does return the values as a list but the values are not inserted into the db properly. On Aug 11, 10:27 am, Eric Enns wrote: > Hey, > > There are quite a few bugs in SQLFORM when having a field of type 'list' (so > 'list:string', 'lis

[web2py] Re: adopt an app!

2011-08-11 Thread pbreit
I'm hoping to work on ecommerce/cart/storefront, probably starting from scratch and not using estore. But this should not discourage anyone from also pursuing this app as I am not sure how far I will get and when. I'd like to see good, basic apps for: + blog + forums + hacker news, reddit + sim

[web2py] Re: Mix query and string types?

2011-08-11 Thread pbreit
Would it make sense for this type of thing to be extendable in a generalized way? Or I'm wondering if there is or could be a reasonable way to mix Query and String types in a DAL query?

[web2py] Re: Interesting new SQLite/JSON based database

2011-08-11 Thread pbreit
Interesting. I just saw this recently, too: https://github.com/mikeal/pouchdb

[web2py] Interesting new SQLite/JSON based database

2011-08-11 Thread Bruno Rocha
Interesting project, a JSON+SQLite based database with rest API. https://bitbucket.org/robertodealmeida/jsonstore May be web2py DAL can have an adapter for it, or something like this. A schema-free database for JSON documents, exposed through a REST API. JSONStore supports a wide range of backen

[web2py] Re: web2py editor corrupting files

2011-08-11 Thread Massimo Di Pierro
Strange but last time I used this was probably 2yrs ago. I looked at the code and found the possible source of the problem. Could you please download trunk and tell me if it is now fixed. Sorry for the problem it caused. Massimo On Aug 11, 1:39 pm, peter wrote: > I accidentally had a controller

[web2py] Re: Bug in virtualfields w/ session

2011-08-11 Thread Michael Toomim
Ok, it's here http://code.google.com/p/web2py/issues/detail?id=374 Thank you for looking into this Massimo! I do not know the best way to do this... my code is just a first reaction to making something faster. On Aug 11, 2:55 am, Massimo Di Pierro wrote: > This is really interesting. Please give

[web2py] Re: downloads

2011-08-11 Thread Anthony
What does your download function look like? On Thursday, August 11, 2011 2:48:18 PM UTC-4, peter wrote: > I am trying to create a download routine similar to the one in > default.py. However I wish to download mp3 files that have not been > previously uploaded, so I want to just download files

[web2py] downloads

2011-08-11 Thread peter
I am trying to create a download routine similar to the one in default.py. However I wish to download mp3 files that have not been previously uploaded, so I want to just download files I specify by location. I was able to get this working. However the file that is shown to the user in the 'Do you w

[web2py] web2py editor corrupting files

2011-08-11 Thread peter
I accidentally had a controller file open in two different windows, with different edits. When I went to save the second one, the system correctly recognised the problem and warned me about it. It offered to 'merge' the two files. I chose this option. The merged file had lost all the carriage retur

Re: [web2py] question about DAL and many objects for the same database

2011-08-11 Thread Vasile Ermicioi
http://web2py.com/book/default/chapter/06 The DAL allows multiple connections with the same database or with different databases, even databases of different types.

Re: [web2py] Re: http://www.evaluation-matrix.com

2011-08-11 Thread Mariano Reingart
We are developing an ERP for web2py: http://code.google.com/p/gestionlibre/source/browse/ABOUT Indeed, Alan Etkin is mostly working on it as I must finish rad2py/ide2py, and there is other people involved too. In a couple of months we expect to get it running with basic functionality, if anyone

Re: [web2py] question about DAL and many objects for the same database

2011-08-11 Thread Vasile Ermicioi
I think no

Re: [web2py] Re: http://www.evaluation-matrix.com

2011-08-11 Thread pbreit
ERP is one of the most complicated types of software and typically requires a massive company to support it. I doubt there's a large market for off-the-shelf, DIY ERP. However it might make sense to pick off one of its components and target it to small business, for example an app that keeps tr

Re: [web2py] ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Mariano Reingart
Yes, a debian package would be great, you are welcome ;-) Please, if you can, fill an issue in the project site so we can manage it there, Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com 2011/8/11 José Luis Redrejo Rodríguez : > Awesome, just tell m

Re: [web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Mariano Reingart
It should work on a Mac, but I don't have one to test it and make a package :-( Anyway, it should be very easy to install, just download and execute wxPython package for your mac and python version: http://www.wxpython.org/download.php#stable Then, download and uncompress zip and follow the inst

Re: [web2py] Re: http://www.evaluation-matrix.com

2011-08-11 Thread qasimak...@gmail.com
Hi, I am new to web2py and would surely love to work with you guys on this. Regards, Qasim On Thu, Aug 11, 2011 at 10:21 PM, Ross Peoples wrote: > I guess a good place to start would be with a CRM. I would be interested to > know if Martin is still working on it and made any progress.

Re: [web2py] Re: http://www.evaluation-matrix.com

2011-08-11 Thread Ross Peoples
I guess a good place to start would be with a CRM. I would be interested to know if Martin is still working on it and made any progress.

Re: [web2py] Re: http://www.evaluation-matrix.com

2011-08-11 Thread Richard Vézina
Martin Mulone already start a ERP project base on web2py... Don't know if he still working on it... Richard On Thu, Aug 11, 2011 at 1:00 PM, Ross Peoples wrote: > I would write an ERP for web2py, as I've kind of wanted to. My only problem > is I don't know how ERPs really work. If I had someone

[web2py] Re: http://www.evaluation-matrix.com

2011-08-11 Thread Ross Peoples
I would write an ERP for web2py, as I've kind of wanted to. My only problem is I don't know how ERPs really work. If I had someone explain all the pieces to me in detail and how they all work together, then I could probably write the code for it.

Re: [web2py] ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread José Luis Redrejo Rodríguez
Awesome, just tell me if you need a hand to package it for Debian. Regards 2011/8/11 Mariano Reingart : > FYI > > I am pleased to announce of ide2py, an Integrated Development > Environment for python and web2py. > Although it is still experimental, basic functionality is working: > >  * Editor w

[web2py] http://www.evaluation-matrix.com

2011-08-11 Thread António Ramos
http://www.evaluation-matrix.com is this trustable? the winner is openerp with turbo gears inside. If as infoworld says , web2py rocks..,, than when will we have an ERP made with web2py? thank you

[web2py] Re: add simple field to registration

2011-08-11 Thread vapirix
Brilliant. This is why I check these boards. =D Thank you, Marin. On Aug 11, 10:51 am, Marin Pranjic wrote: > Make it True on registration form, and false in login form. > > If reguest.args(0) == 'register': db.auth_user.xyz.writable = true > else: ...= false > > On 11 Aug 2011 17:43, "vapirix"

Re: [web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread Bruno Rocha
I am using wingIDE for debug. But not always. Most times I only need shell and prints. http://zerp.ly/rochacbruno Em 11/08/2011 07:49, "Mariano Reingart" escreveu: > There is online shell debugger (based on PDB) approach already > included with web2py: > > http://code.google.com/p/web2py/issues/

[web2py] Re: Where to put the .htaccess file

2011-08-11 Thread Yannick
hi mate, I put the .htaccess file in "/home/www-data/" directory in the same directory as web2py dir. Now it seems to work. When i type the URL the WWW is added in front of it like i wanted BUT the new issue is the following: when i type mywebsite.com it gets redirect to www.mywebsite.com/web2py/

Re: [web2py] Re: add simple field to registration

2011-08-11 Thread Marin Pranjic
Make it True on registration form, and false in login form. If reguest.args(0) == 'register': db.auth_user.xyz.writable = true else: ...= false On 11 Aug 2011 17:43, "vapirix" wrote: Sure, but then how can I have them input the key on registration if writable is false? =D On Aug 11, 10:41 am,

[web2py] question about DAL and many objects for the same database

2011-08-11 Thread Vidul Petrov
Could it be an issue if there are many DAL objects for the same database (the RDBMS in usage is Postgres)?

[web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread Massimo Di Pierro
Did you see only the 3 summary pages or the 21 pages of with more detailed comments about each of the framework? You need to login and you need to click on the links. technically there are 7 articles, each of them of about 3 pages (if you login): http://www.infoworld.com/d/application-development

[web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread Vidul Petrov
Congratulations! It was high time for such recognition :-) On Aug 10, 2:28 pm, Martín Mulone wrote: > http://www.infoworld.com/d/application-development/pillars-python-six... > > -- >  http://martin.tecnodoc.com.ar

[web2py] Re: add simple field to registration

2011-08-11 Thread vapirix
Sure, but then how can I have them input the key on registration if writable is false? =D On Aug 11, 10:41 am, Marin Pranjic wrote: > They will not if you set writable = false. > > Marin > > On 11 Aug 2011 17:16, "vapirix" wrote: > > The only problem with that is that then the clients will be ab

Re: [web2py] Re: add simple field to registration

2011-08-11 Thread Marin Pranjic
They will not if you set writable = false. Marin On 11 Aug 2011 17:16, "vapirix" wrote: The only problem with that is that then the clients will be able to edit that in their profile. =D It's ok, I'll just roll my own registration page, it's not much work. On Aug 10, 11:06 pm, pbreit wrote:

Re: [web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread António Ramos
Yes but it seems very vague dont it? What does Capability means ? Is Capability composed of many or none sub criteria? 2011/8/11 Richard Vézina > hurray! > yippee! > > Congrats to everyone and Thank to Massimo... It's not the same when he is > away from his mailbox ;-) > > Richard > > On Thu

[web2py] SQLFORM list bug's

2011-08-11 Thread Eric Enns
Hey, There are quite a few bugs in SQLFORM when having a field of type 'list' (so 'list:string', 'list:integer'). First one being when you submit and form and there are error's with other fields. def error_form(): form = SQLFORM( Field('string', '

Re: [web2py] web2py vs. django for Manipulating LDAP Records?

2011-08-11 Thread Aaron Mahler
José, Thanks for the quick reply and the link to the subversion. I'm exploring some of the LDAP code now to get a sense of how they are handling it. Thanks! - Aaron 2011/8/11 José Luis Redrejo Rodríguez > There's not a dal interface to ldap, but a auth interface. > Some of my colleagues ar

[web2py] Re: add simple field to registration

2011-08-11 Thread vapirix
The only problem with that is that then the clients will be able to edit that in their profile. =D It's ok, I'll just roll my own registration page, it's not much work. On Aug 10, 11:06 pm, pbreit wrote: > Might be easiest to display an additional page before the registration page. > > Otherwise

[web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Ross Peoples
Hope there's a Mac package coming soon :) This looks really good and I'm looking forward to trying this out.

Re: [web2py] web2py vs. django for Manipulating LDAP Records?

2011-08-11 Thread José Luis Redrejo Rodríguez
There's not a dal interface to ldap, but a auth interface. Some of my colleagues are developing also an in house system to manage the schools ldap system (and using it to learn web2py). Up to now it can manage unix groups , users, and some kind of network hosts , all this info stored in ldap. You c

Re: [web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread Richard Vézina
hurray! yippee! Congrats to everyone and Thank to Massimo... It's not the same when he is away from his mailbox ;-) Richard On Thu, Aug 11, 2011 at 8:12 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > We made it to slashdot > > > http://developers.slashdot.org/story/11/08/10/21

[web2py] Re: ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Massimo Di Pierro
wow! On Aug 11, 9:43 am, Mariano Reingart wrote: > FYI > > I am pleased to announce of ide2py, an Integrated Development > Environment for python and web2py. > Although it is still experimental, basic functionality is working: > >  * Editor with calltips and autocomplete >  * Shell and Debugger (

[web2py] ANN: ide2py: editor, shell and debugger for web2py (experimental)

2011-08-11 Thread Mariano Reingart
FYI I am pleased to announce of ide2py, an Integrated Development Environment for python and web2py. Although it is still experimental, basic functionality is working: * Editor with calltips and autocomplete * Shell and Debugger (breakpoints, inspection, etc.) * Repository (hg) support (add, c

[web2py] web2py vs. django for Manipulating LDAP Records?

2011-08-11 Thread Aaron Mahler
Hello! I need to write an in-house app for managing and manipulating records in our LDAP environment and am evaluating which framework might be the best fit. I've been writing python code for years, worked with Zope in the past, etc., so lots of python frameworks are attractive in that regard.

[web2py] Re: web2py book multilanguage

2011-08-11 Thread Massimo Di Pierro
True. I am hoping for a 4rd edition in one month. hold on! Massimo On Aug 11, 9:13 am, Mirek Zvolský wrote: > But, it's proper time to make new translations? > There will be no update of the english book in short time? Because I > think there are small mistakes and, more important, there is lot

[web2py] Re: web2py book multilanguage

2011-08-11 Thread Mirek Zvolský
But, it's proper time to make new translations? There will be no update of the english book in short time? Because I think there are small mistakes and, more important, there is lot of new features not documented yet. If there will be future changes in book, should not be good to have something li

[web2py] Re: how do I use new simplejson?

2011-08-11 Thread Carl
I've upgraded to Web2Py 1.98.2 (by deleting my existing web2py files rather than overwriting) When Web2py is given this to parse in json dict: {'m...@carlroach.com': {: False, : False, 'scores': False}} I get an exception that lazyT isn't a string. 1.98.2 is supposed to translate lazyT into a st

[web2py] Re: web2py book multilanguage

2011-08-11 Thread DenesL
It would be nice to centralize the Spanish version from http://www.latinuxpress.com/books/drafts/web2py/ On Aug 11, 5:23 am, Massimo Di Pierro wrote: > The web2py book onlinehttp://web2py.com/bookis not multilanguage. > > If your browser is set to English it is in Eglish > If your browser is se

[web2py] Re: plugin_wiki problem?

2011-08-11 Thread Massimo Di Pierro
yes. On Aug 11, 7:45 am, Anthony wrote: > I wonder if it has something to do with this recent > fix:http://code.google.com/p/web2py/source/detail?r=27c08cc67424e945d0fa1 > Is the problem still there in trunk? > > Anthony > > > > > > > > On Thursday, August 11, 2011 1:57:46 AM UTC-4, mart wro

[web2py] Re: plugin_wiki problem?

2011-08-11 Thread Anthony
I wonder if it has something to do with this recent fix: http://code.google.com/p/web2py/source/detail?r=27c08cc67424e945d0fa18372b00a6dcd9a23be9. Is the problem still there in trunk? Anthony On Thursday, August 11, 2011 1:57:46 AM UTC-4, mart wrote: > hi, > > i am writing some documentatio

Re: [web2py] Re: RFC about issue

2011-08-11 Thread Ross Peoples
+1

[web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread Massimo Di Pierro
We made it to slashdot http://developers.slashdot.org/story/11/08/10/2111203/Six-Python-Web-Frameworks-Compared Traffic (total http requests/day): 04/Aug/2011 68450 05/Aug/2011 60450 06/Aug/2011 50180 07/Aug/2011 52327 08/Aug/2011 68275 09/Aug/2011 75787 10/Aug/2011 101568 11/Aug/2011 160868

Re: [web2py] Re: RFC about issue

2011-08-11 Thread Martín Mulone
+1 I'm doing this, to display for example error messages using css. div.error { text-transform:capitalize; } 2011/8/11 Anthony > +1 > > On Thursday, August 11, 2011 6:24:30 AM UTC-4, Massimo Di Pierro wrote: > >> What do people think? >> >> http://code.google.com/p/**web2py/issues/detai

[web2py] Re: RFC about issue

2011-08-11 Thread Anthony
+1 On Thursday, August 11, 2011 6:24:30 AM UTC-4, Massimo Di Pierro wrote: > What do people think? > > http://code.google.com/p/web2py/issues/detail?id=370 > > I do not have a strong opinion.

Re: [web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread Ross Peoples
Mariano, The IDE sounds awesome! I am really looking forward to seeing this.

[web2py] Re: Mix query and string types?

2011-08-11 Thread Massimo Di Pierro
Good point... You can subclass them. Problem is this is how they work: Consider db.table.field.something() db.table.field is a Field with Extends expression "something" is a method of Field or Expression and delegates to self.table.field.db._adapter.SOMETHING() which performs the action.

[web2py] Re: issue RFC

2011-08-11 Thread Ross Peoples
I'd be fine with either way. Easily minifying JS and CSS would be nice too (even though this would be more difficult to implement), as that's the one thing that always gives my apps a low score when running speed test tools is the lack of minification.

[web2py] issue RFC

2011-08-11 Thread Massimo Di Pierro
Should this go in trunk? Perhaps in contrib or as an option for render? Not at all? http://code.google.com/p/web2py/issues/detail?id=369#makechanges

[web2py] Re: FYI jQuery Events Stop (Mis)Using Return False

2011-08-11 Thread Massimo Di Pierro
This has been addressed in trunk but not tested. Can you check your {{=LOAD(...)}} forms still work with the new web2py_ajax.js in trunk. You will need to install trunk and cp static/js/web2py_ajax.js into your existing app and/or make a new minimalist app from scratch. On Aug 8, 8:44 am, DenesL

[web2py] how do I use new simplejson?

2011-08-11 Thread Carl
I'm using @service.jsonrpc as a decorator to controller functions and setting service=Service(globals()) in db.py what needs to change to move to the new simplejson that later versions of Web2py uses? I'd like to have datetime and T objects translated into strings so want to move to the better app

[web2py] Re: JQuery Mobile

2011-08-11 Thread António Ramos
I replaced "jQuery" for $ and still the page is blank! Em 11 de agosto de 2011 11:16, António Ramos escreveu: > Hello, > i had troubles using jquery mobile plugin. > It did not fit properly in my samsung galaxy. > The buttons and text boxes are too small. > Something is not ok > so i bought a bo

Re: [web2py] Re: infoworld put web2py in the top of python frameworks

2011-08-11 Thread Mariano Reingart
There is online shell debugger (based on PDB) approach already included with web2py: http://code.google.com/p/web2py/issues/detail?id=156&can=1&q=debugger It need testing and some polish, but the as it depend on threads and locking with a command line interface, it is not ready for the casual use

[web2py] RFC about issue

2011-08-11 Thread Massimo Di Pierro
What do people think? http://code.google.com/p/web2py/issues/detail?id=370 I do not have a strong opinion.

[web2py] JQuery Mobile

2011-08-11 Thread António Ramos
Hello, i had troubles using jquery mobile plugin. It did not fit properly in my samsung galaxy. The buttons and text boxes are too small. Something is not ok so i bought a book about jquery mobile. I did not include the jquery mobile layout and it works ok now. The problem is, i need a date picke

[web2py] Re: Bug in virtualfields w/ session

2011-08-11 Thread Massimo Di Pierro
This is really interesting. Please give me some time to study it, meanwhile, so that I do not forget, please open an issue and post the code there. Massimo On Aug 10, 7:11 pm, Michael Toomim wrote: > Ok. The basic idea is to allow you to define helpers methods on rows, > sort of like the Models

[web2py] Re: Error in compileapp

2011-08-11 Thread Massimo Di Pierro
You must have a view somewhere (perhaps unused) that extends 'layout.html' and you no longer have it. On Aug 11, 1:29 am, Adi wrote: > I'm getting this error when I try to compile the application from the > command line: > > python -c "import gluon.compileapp; > gluon.compileapp.compile_applicati

  1   2   >