[web2py] Re: powerTable plugin - video demonstration

2011-01-05 Thread Vidul Petrov
Brilliant plugin! Thank you. On Jan 5, 6:20 am, Bruno Rocha wrote: > Video about powerTable on Vimeo (no audio)http://vimeo.com/18447603 > > -- > Bruno Rochahttp://about.me/rochacbruno/bio

[web2py] Re: web2py+FastCGI

2011-01-05 Thread cjrh
On Jan 4, 8:55 pm, walter wrote: > What permissions should I install? The files and folders need to be writable by the Apache process. You can probably get that account or group name off the "www" or "public_html" folder, whichever, or similar, is available to you.

[web2py] Datepicker to UTC time

2011-01-05 Thread rāma
Does/Can web2py store tzinfo in the datetime by the datepicker so that we can do time conversion easily to server time or UTC time. Time conversion was hell for me for the past two days. How is this issue typically approached? For my case, it has to be accurate as tasks are scheduled client side

Re: [web2py] Re: Learning Management System survey

2011-01-05 Thread Steve Shepherd
Massimo I am happy to be the project manager initially I have some time available but we may need extra resources. I use BasecampHQ.com for managing projects though. I have already developed a lot of design documents for an LMS. I have watched Moodles development and heard of the usability of Blac

[web2py] Re: patch for URL() in meta-menu (plugin_wiki)

2011-01-05 Thread blackthorne
ok What about the menu option "/Computer /option", wouldn it be caught by the same regex currently used? On Jan 5, 1:07 am, mdipierro wrote: > No it would not because ? is not allowed in args. > > On Jan 4, 5:58 pm, blackthorne wrote: > > > > > there I'm just giving you counter-examples that m

Re: [web2py] Re: Memory leak - followup

2011-01-05 Thread ron_m
I don't have permission to post in web2py-developers but I added a comment to the bug report. I think the problem is the cached object is the class definition, not an instance of the class. The class definition likely has references to the environment or global namespace in order it to function

Re: [web2py] Error form

2011-01-05 Thread contatogilson...@gmail.com
After days, I found the error. I enter "*.requires" instead of "*.label" into two camps: P Thanks for helping. _ *Gilson Filho* *Desenvolvedor Web Blog:* gilson-filho.blogspot.com *Twitter:* twitter.com/gilsonfilho 2011/1/5 Bruno Rocha > lazyT is us

[web2py] Change Favicon css

2011-01-05 Thread dederocks
Hello, Sorry for this probably very beginner question -- how & where can you change the layout for the favicon (e.g. favicon.png in the application's static folder) that shows up on the top left of the example application for example? My knowledge in css is limited, but in any case I can't find in

[web2py] need help with db table

2011-01-05 Thread pk
hi, i know that i can check one field with IS_NOT_IN_DB() but i need the two fields which deposit not together in one row, in my case 'hauptperson' and 'freund'. here is my table: # ## Tabelle Freunde

Re: [web2py] Change Favicon css

2011-01-05 Thread rochacbruno
This is not in base.css this is defined in views/layout.html Enviado via iPhone Em 05/01/2011, às 08:36, dederocks escreveu: > Hello, > > Sorry for this probably very beginner question -- how & where can you > change the layout for the favicon (e.g. favicon.png in the > application's static f

Re: [web2py] Re: unique constraint of multiple columns (at database level)

2011-01-05 Thread Manuele Pesenti
Trying quite the same solution I got a different error: Traceback (most recent call last): File "/home/manuele/Progetti/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/manuele/Progetti/web2py/applications/wrf_dbi/models/wrfdb.py"

[web2py] Re: Change Favicon css

2011-01-05 Thread dederocks
Thanks! BTW, the favicon (favicon.ico) shows up well in Chrome & IE, but not with FF! On 5 jan, 11:53, rochacbruno wrote: > This is not in base.css this is defined in views/layout.html > > Enviado via iPhone > > Em 05/01/2011, às 08:36, dederocks escreveu: > > > Hello, > > > Sorry for this proba

Re: [web2py] Re: unique constraint of multiple columns (at database level)

2011-01-05 Thread Manuele Pesenti
I beg your pardon... it works! the problem was that I used 'unique' as the field name that is a not valid name :) so it coud be a solution to manage uniques bye M. Il 05/01/2011 12:04, Manuele Pesenti ha scritto: Trying quite the same solution I got a different error: [omissis] I used

Re: [web2py] why not PHP?

2011-01-05 Thread Branko Vukelić
On Wed, Jan 5, 2011 at 2:00 AM, Kuba Kucharski wrote: >> Comments below the original post for full explanation. > > ok, I thought there is smth more there that I missed ;) Well, I just thought some have missed the fact that this bug is platform-specific. What I absolutely hate about PHP is that t

[web2py] complete change log missing

2011-01-05 Thread develucas
Hi everyone I'm PM in software company and there is annoying problem for big teams... After my developers team created huge system using web2py it is really inconvenient for us to find bugs caused by undescribed changes. In my opinion web2py has big potential, unfortunately it will be wasted with

[web2py] web2py permissions

2011-01-05 Thread walter
I want to ask what folders should be accessible for writing? Which folders should be set to permissions 644? Who must to be owner all folders and files?

[web2py] Re: web2py+FastCGI

2011-01-05 Thread walter
I have not asked the previous question correctly. I wanted to ask what folders should be accessible for writing and for which permission must be set to 644? Who must to be owner all folders?

[web2py] Re: complete change log missing

2011-01-05 Thread mdipierro
Dear Lucas, we consider backward compatibility a goal. Every feature described in the manual version 1 (published 2 years ago) should still work as far as we know. When we accidentally broke backward compatibility, we considered it a bug and fixed it. There are two possibilities: 1) we made a ch

Re: [web2py] web2py permissions

2011-01-05 Thread Branko Vukelić
If you want 644 perms on the directory, the owner should be the user that starts web2py. If webserver starts it, then the webserver user (nobody, http, www, etc) should own the directory (or have permissions to write to it anyway). If you start it manually, then the user you used to start web2py ow

Re: [web2py] Re: powerTable plugin - video demonstration

2011-01-05 Thread Martín Mulone
Excellent, very complete. 2011/1/5 Vidul Petrov > Brilliant plugin! Thank you. > > On Jan 5, 6:20 am, Bruno Rocha wrote: > > Video about powerTable on Vimeo (no audio)http://vimeo.com/18447603 > > > > -- > > Bruno Rochahttp://about.me/rochacbruno/bio > -- My blog: http://martin.tecnodoc.com

Re: [web2py] Re: powerTable plugin - video demonstration

2011-01-05 Thread António Ramos
Yes, i agree. But, to push you a litle more here is my suggestion for a dummy programmer. In your video i can see you have all paramenters in your head. The regular programmer dont know all that so why not create a wizard or a webpage with all parameters to create a table and the user just fills th

[web2py] Re: web2py permissions

2011-01-05 Thread mdipierro
If the web2py server runs as www-data thatn web2py/ should be owned by www-data and it should have read write permissions. You can then lock your apps running web2py/scripts/web2py-lock.sh On Jan 5, 6:50 am, Branko Vukelić wrote: > If you want 644 perms on the directory, the owner should be the

Re: [web2py] Re: powerTable plugin - video demonstration

2011-01-05 Thread Bruno Rocha
I'll try to finish the powerTable documentation and tutorials this week (But I do not know if I have time, because I have some articles to write this week) Now you can find the complete list of parameters are here : https://bitbucket.org/rochacbruno/powertable/src/e4c3122ebbc1/controllers/default.

Re: [web2py] onlinestatus

2011-01-05 Thread Arun K.Rajeevan
On Tuesday, January 4, 2011 3:05:46 PM UTC-5, Richard wrote: > > > On Mon, Jan 3, 2011 at 5:13 PM, pk wrote: > >> hi together, >> >> i have a function for the onlineuser: >> >> usersall=db(db.online.last_visit>time.time()-dt) > > (db.online.user_id==db.auth_user.id).select(db.auth_user.ALL) >> >

[web2py] Re: powerTable plugin - video demonstration

2011-01-05 Thread Seeker
+1 ! On Jan 5, 10:09 am, Vidul Petrov wrote: > Brilliant plugin! Thank you. > > On Jan 5, 6:20 am, Bruno Rocha wrote: > > > > > Video about powerTable on Vimeo (no audio)http://vimeo.com/18447603 > > > -- > > Bruno Rochahttp://about.me/rochacbruno/bio- Hide quoted text - > > - Show quoted text -

Re: [web2py] Re: Learning Management System survey

2011-01-05 Thread Arun K.Rajeevan
I can contribute some time coding. That said, I haven't used a LMS system.

Re: [web2py] Re: patch for URL() in meta-menu (plugin_wiki)

2011-01-05 Thread Jonathan Lundell
On Jan 5, 2011, at 2:25 AM, blackthorne wrote: > > ok > > What about the menu option "/Computer /option", wouldn it be caught by > the same regex currently used? I haven't been following this thread too closely, but all this stuff should be fine in vars. Question marks, slashes, spaces--all oug

[web2py] Re: web2py permissions

2011-01-05 Thread walter
Where can I read more detailed about it? Is there it in the web2py book?

[web2py] Re: DIV Helper and .append

2011-01-05 Thread meentsbk
Wow, that's good to know then. So does that mean this is just isolated to the shell only, or does it also affect doing something similar from a controller? On Jan 5, 2:31 am, mdipierro wrote: > You can, in fact reproduce the problem here:http://shell.appspot.com/ > > Google App Engine/1.4.1 > Py

Re: [web2py] Re: powerTable plugin - video demonstration

2011-01-05 Thread Bruno Rocha
datatables released version 2 of table Tools, I am going to add it to the powerTable plugin, take a look: http://datatables.net/release-datatables/extras/TableTools/ -- Bruno Rocha http://about.me/rochacbruno/bio

Re: [web2py] Re: powerTable plugin - video demonstration

2011-01-05 Thread Bruno Rocha
> > datatables released version 2 of table Tools, > > I am going to add it to the powerTable plugin, take a look: > http://datatables.net/release-datatables/extras/TableTools/ > I did not mention, but this is about the ability to export data to Excel, PDF, CSV, Copy and Print

Re: [web2py] onlinestatus

2011-01-05 Thread Richard Vézina
On Wed, Jan 5, 2011 at 8:14 AM, Arun K.Rajeevan wrote: > On Tuesday, January 4, 2011 3:05:46 PM UTC-5, Richard wrote: > >> >> >> On Mon, Jan 3, 2011 at 5:13 PM, pk wrote: >> >>> hi together, >>> >>> i have a function for the onlineuser: >>> >>> usersall=db(db.online.last_visit>time.time()-dt) >>

[web2py] Re: 1.79.2 -> 1.91.6 migration error (SQL Server BIT field seems to break)

2011-01-05 Thread Roman Bataev
The change you suggested did not make any difference - I get the same errors for both mssql:// and mssql2://. (and also, SQL Sever doesn't use utf8, it uses UCS-2). Here is what print says: 1.79.2: Both mssql2 and mssql: SELECT Employees.employeeID, Employees.firstName, Employees.networkUsern

[web2py] jquery.tooltip & jquery.cluetip do not work

2011-01-05 Thread Martin Weissenboeck
Hi, I want to use tooltips like http://jquery.bassistance.de/tooltip/demo/ or http://plugins.learningjquery.com/cluetip/ on my website "test10ui" One jquery-problem is solved, an includefile from ajax.googleapis.com works. But it is not possible to get nice tooltip - I can only see the standard HT

[web2py] Re: Crontab

2011-01-05 Thread stefaan
> > Yes they can. They should all run from the main web2py folder (do not > > use os.chdir(...)!) > > Digression: I'd like to fix that eventually. It's not so bad to require the > cwd to be web2py for startup, but it shouldn't matter after that. I think it's a bad idea to use os.chdir because AF

[web2py] Re: DIV Helper and .append

2011-01-05 Thread mdipierro
shell only. The shell does some weird things in keeping the state in order to work on GAE. On Jan 5, 8:21 am, meentsbk wrote: > Wow, that's good to know then. > > So does that mean this is just isolated to the shell only, or does it > also affect doing something similar from a controller? > > On

[web2py] Re: 1.79.2 -> 1.91.6 migration error (SQL Server BIT field seems to break)

2011-01-05 Thread mdipierro
This helps. I can fix it by tomorrow. Sorry for the inconvenience. Massimo On Jan 5, 9:39 am, Roman Bataev wrote: > The change you suggested did not make any difference - I get the same errors > for both mssql:// and mssql2://. (and also, SQL Sever doesn't use utf8, it > uses UCS-2). > > Here is

[web2py] Re: Crontab

2011-01-05 Thread mdipierro
What you say is true but Jonathan is talking at startup, before the web server starts and before any thread is created. On Jan 5, 10:19 am, stefaan wrote: > > > Yes they can. They should all run from the main web2py folder (do not > > > use os.chdir(...)!) > > > Digression: I'd like to fix that e

[web2py] Recaptcha (...., options='', comment='')

2011-01-05 Thread Martin Weissenboeck
Massimo, thanks for adding "options" to Recaptcha I think, there should be an additional line in def __init__ in class Recaptcha in file /gluon/tools self.options = options Without this line, self.options does not get any value. Maybe there should be an additional formal parameter of Recaptcha

[web2py] web2py Job on San Diego, CA

2011-01-05 Thread Bruno Rocha
A new web2py Job http://www.startuply.com/Jobs/Web_Py_Web_Developer_1856_1.aspx

[web2py] Re: need help with db table

2011-01-05 Thread pk
nobody??? On 5 Jan., 11:49, pk wrote: > hi, > i know that i can check one field with IS_NOT_IN_DB() > but i need the two fields which deposit not together in one row, > in my case 'hauptperson' and 'freund'. > > here is my table: > > ###

[web2py] Re: need help with db table

2011-01-05 Thread DenesL
If you want the combination of two fields a,b from table t to be unique then use: db.t.b.requires = IS_NOT_IN_DB(db(db.t.a==request.vars.a),db.t.b)

Re: [web2py] need help with db table

2011-01-05 Thread Richard Vézina
Not sure to understand... Why not referring to the to auth_user.id? Why copy user information and not querring it when you are ready from db.auth_user ??? Richard On Wed, Jan 5, 2011 at 5:49 AM, pk wrote: > hi, > i know that i can check one field with IS_NOT_IN_DB() > but i need the two field

[web2py] Unknown Ticket

2011-01-05 Thread Magnitus
Hi, some of my users have encountered a weird error on my mock production server. They get the following ticket when the first page (login) tries to load: Internal error Ticket issued: unknown Rebooting the server fixed the problem, but I'd still like to get some insight into what could have g

Re: [web2py] Unknown Ticket

2011-01-05 Thread Kenneth Lundström
If I remember right Unknown ticket is displayed when web2py/webserver is not able to write a ticket into ticket directory. Kenneth Hi, some of my users have encountered a weird error on my mock production server. They get the following ticket when the first page (login) tries to load: Inte

[web2py] Re: jquery.tooltip & jquery.cluetip do not work

2011-01-05 Thread Brian M
What does the FireBug extension for FireFox tell you?

[web2py] Re: Unknown Ticket

2011-01-05 Thread Magnitus
So I guess it would be indicative of a lower level issue at a layer below the framework? I guess its time to dust off those Apache logs then. On Jan 5, 3:42 pm, Kenneth Lundström wrote: > If I remember right Unknown ticket is displayed when web2py/webserver is > not able to write a ticket into t

[web2py] congratulations on making it to pycon2011 :)

2011-01-05 Thread Stefaan Himpe
Seems like good news to start 2011 :) Best regards, Stefaan.

[web2py] Newbie Problems with Cherokee + Web2py

2011-01-05 Thread Offray Vladimir Luna Cárdenas
Hi all, This is my first post to the list, after a long time (a couple of years maybe) without being here. In that moment I have not the time for learning web2py and keeping the peace with the list, so I unsubscribed myself. But now I want to re-enable my participation here. I have installed Insta

Re: [web2py] Newbie Problems with Cherokee + Web2py

2011-01-05 Thread Offray Vladimir Luna Cárdenas
Hi all again, Some other test. When I put "http" as the user and group for executing cherokee I get a 503 error. The documentation of cherokee says that is probably because cherokee can not find the defined source or have not the proper permissions to execute it (if I understand well). I hope this

[web2py] Re: need help with db table

2011-01-05 Thread pk
hi thanks for your help but i still get this: friends.id friends.userid friends.hauptperson friends.freund friends.freundseit friends.bestaetigt 9 5 nueva_vido makir 2011-01-04 18:09:46 False 11 5 nueva_vido makir 2011-01-05 23:47:54 Fals

[web2py] Re: Unknown Ticket

2011-01-05 Thread Massimo Di Pierro
You will not finding anything at tha apache log error. This is a web2py error and it is indeed its failure to write to the filesystem. On Jan 5, 3:30 pm, Magnitus wrote: > So I guess it would be indicative of a lower level issue at a layer > below the framework? > > I guess its time to dust off t

[web2py] Re: congratulations on making it to pycon2011 :)

2011-01-05 Thread Massimo Di Pierro
I just found out. Here is a complete list: am happy to announce that we have been able to accept the following tutorials for PyCon 2011: Wednesday AM (7) * Python 101 * Pinax Solutions * Web2py Secrets * Scientific Python Tools not only for Scientists and Engineers * Distributed and Cloud computi

[web2py] Very minor bug in Version 1.91.6

2011-01-05 Thread Matt
Hi there, A very small bug has crept into this version that means you can no longer raise Service.JsonRpcExceptions without getting the following error: "TypeError: exceptions must be classes, instances or strings (depreciated) not JsonRpcException" This line (3487) in tools.py needs to be amend

[web2py] Using fossil-scm as a distributed backed for web2py and unhosted (on-linf off-line) apps.

2011-01-05 Thread Offray Vladimir Luna Cárdenas
Hi all, I'm just enjoying my time as a newbie in this community and maybe because I don't know so much (no even how to publish web2py sites under cherokee) I imagine possibilities for web2py that I don't even know if are impossible. Some time ago I discovered Fossil-scm[1] a distributed source co

[web2py] Re: Newbie Problems with Cherokee + Web2py

2011-01-05 Thread John-Kim Murphy
Try using the most recent instructions for getting Web2Py working with Cherokee . I documented the steps I took about two weeks ago. The other instructions

Re: [web2py] Re: Another web2py powered site

2011-01-05 Thread Alexandre Andrade
I have turned my main website (hipercenter.com ) from Cycling news agregator (hipercenter.com/ciclismo) into a classifieds website ( hipercenter.com/classificados). Still working in it. Sugestions are welcome. Atenciosamente Alexandre Andrade Hipercenter.com Classificados Grátis e Inteligent

Re: [web2py] Re: congratulations on making it to pycon2011 :)

2011-01-05 Thread Bruno Rocha
Good News! I would like to attend, but it is so far away. ** *Web Frameworks:* It should not be surprising that the next biggest area of interest came from addressing the web and the various ways Python can make it easier to create web applications. *Django and Web2Py* both ranked highly in*

[web2py] bug in 1.91.6 validators and GAE and list:reference

2011-01-05 Thread howesc
I'm trying to be a good person and post my issues to google code. FYI for others seeing an issue, my bug report is here: http://code.google.com/p/web2py/issues/detail?id=147

[web2py] couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-05 Thread David Watson
Hello, I am running CouchDBX 1.0.1 on Mac OS X 10.6 with couchdb-python version 0.8. I am using the following code in db.py: db=DAL('couchdb://127.0.0.1:5984') db.define_table('person',Field('name')) id=db.person.insert(name='Jim') print id row=db.person(id) print row

[web2py] FOSDEM 2011

2011-01-05 Thread Albert Abril
Will somebody here be in FOSDEM ( http://www.fosdem.org/2011/ ) ? Regards.

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-05 Thread mdipierro
this should now be fixed.please try. On Jan 5, 8:21 pm, David Watson wrote: > Hello, > > I am running CouchDBX 1.0.1 on Mac OS X 10.6 with couchdb-python > version 0.8. I am using the following code in db.py: > >     db=DAL('couchdb://127.0.0.1:5984') >     db.define_table('person',Field('name'))

[web2py] Re: 1.79.2 -> 1.91.6 migration error (SQL Server BIT field seems to break)

2011-01-05 Thread mdipierro
I believe this is now fixed in trunk. Please revert to mssql:// if that is what you had before. This was a new dal compatibility issues with BIT types. Massimo On Jan 5, 9:39 am, Roman Bataev wrote: > The change you suggested did not make any difference - I get the same errors > for both mssql:/

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-05 Thread David Watson
Hi Massimo, I updated and now it fails with a similar exception on close: Traceback (most recent call last): File "/Users/david/web2py/gluon/main.py", line 466, in wsgibase BaseAdapter.close_all_instances('commit') File "/Users/david/web2py/gluon/dal.py", line 283, in close_all_instances

Re: [web2py] why not PHP?

2011-01-05 Thread rochacbruno
Zend released a security service pack http://bit.ly/he53vN Enviado via iPhone Em 05/01/2011, às 10:23, Branko Vukelić escreveu: > On Wed, Jan 5, 2011 at 2:00 AM, Kuba Kucharski > wrote: >>> Comments below the original post for full explanation. >> >> ok, I thought there is smth more there

[web2py] Multi Tabbed Menu - Any Suggestions.

2011-01-05 Thread David J.
I was wondering if anyone on the list has seen an good multi-level horizontal tab menu. I have Company Overview Our People Products Product 1 Product 2 Obviously the second layer is visible on the "selected" tab. I was hoping there might be something already made that does this.

[web2py] Re: couchdb sample: AttributeError: 'Server' object has no attribute 'commit'

2011-01-05 Thread David Marko
I have the same problem here. Whats more with latest trunk I cant open http://127.0.0.1:8000/welcome/default/index . It raises: Traceback (most recent call last): File "c:\java\web2py\gluon\restricted.py", line 188, in restricted exec ccode in environment File "c:/java/web2py/application

[web2py] Upgrade

2011-01-05 Thread Martin Weissenboeck
Good morning! The upgrade-button works very fine in a Linux installation. The Windows-versions shows: - unable to upgrade because "[Errno 13] Permission denied: 'C:\\Web2Py\\web2py_win\\web2py/MSVCR71.dll'" I have tried to set very file in web2py_win directory to read-write. Regards, Mart

[web2py] Re: Unknown Ticket

2011-01-05 Thread Magnitus
Well, not very reassuring, but thanks for confirming that. On Jan 5, 6:28 pm, Massimo Di Pierro wrote: > You will not finding anything at tha apache log error. This is a > web2py error and it is indeed its failure to write to the filesystem. > > On Jan 5, 3:30 pm, Magnitus wrote: > > > > > So I