[web2py] Reliability of built-in web server

2010-12-20 Thread Martin H
Hi, I am normally a Django guy. I want to create a 'webadmin' tool for my customers to administer their accounts. Many of the servers that I want to provide this on, do not have a web server installed (and I don't want to install one). So I am essentially looking for a python based framework

[web2py] Re: Reliability of built-in web server

2010-12-20 Thread mdipierro
web2py comes with Rocket. I have experience with 1.89.* (the web2py before this week) and I can say the web server is very stable and secure (uses the python built-in ssl module). It is small and uses very little memory. Tim, the author, can point you to some benchmarks compared to other web

[web2py] Re: How to mail.send() asynchronously?

2010-12-20 Thread mdipierro
look in the book for how to handle a background task queue. On Dec 20, 12:52 am, cjrh caleb.hatti...@gmail.com wrote: There is enough of a delay when calling mail.send() that I want to find ways to send the mail asynchronously.    Has anyone else tried this, or looked into other methods of

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread mdipierro
Is this with the most recent version or also with the previous version. What os? massimo On Dec 20, 12:46 am, Dan d...@imojo.de wrote: Hi, I'm using web2py with the Rocket webserver over SSL. Every now and than I'm getting this error message when I'm uploading a file. If I'm trying to

[web2py] Re: How to mail.send() asynchronously?

2010-12-20 Thread cjrh
On Dec 20, 10:11 am, mdipierro mdipie...@cs.depaul.edu wrote: look in the book for how to handle a background task queue. Ok, guess I will that route then.

[web2py] Crud error in 1.90.4

2010-12-20 Thread szimszon
web2py™ Version 1.90.4 (2010-12-19 21:13:03) Python Python 2.6.6: /usr/bin/python Traceback (most recent call last): File /home/szimszon/fejlesztes/sajat/web2py/gluon/restricted.py, line 188, in restricted exec ccode in environment File

[web2py] encoding and decoding spaces in request.args

2010-12-20 Thread Hasanat Kazmi
Hey, I am generating URLs on the go and then decoding when they are called by user. e.g. application/controller/funtion/foo/bar/. I encode foo and bar individually so that if they have spaces, they get encoded to %20 not _ which seems liked default. but when I decode it (After user calls

[web2py] Error while updating the form

2010-12-20 Thread sushanth
Getting below error while inserting a records through form. When i insert same values in mysql console it works.i have found that it looks like FK constraint,but schema looks fine. Can you please help on this, Traceback (most recent call last): File /var/www/web2py/gluon/restricted.py, line

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread Dan
Hi Massimo, thanks a lot for your reply. I can't find the current installed version nummer. My setup is like 4 month old. The admin area has still the old design. The system is running on a debian 5 linux system with Python 2.5.2. Is this a known issue in any version? Thanks again! On Dec

[web2py] help desk app

2010-12-20 Thread Richard
I am looking for a help desk style app. Something that receives emails, creates a ticket, sends replies, set ticket status, etc Can you recommend anything? Ideally web2py based so easier to modify.

[web2py] Running web2py on Hostgator Shared hosting!

2010-12-20 Thread GoldenTiger
I think a lot of users will be happy of seeing this: web2py running on hostgator. Demo: http://hostgator.web2py.es(steps to install included) There are a lot of people using Hostgator shared hosting, It is maybe one of the best over the net, and their servers are very fast. I've seen a

[web2py] Re: help desk app

2010-12-20 Thread Richard
here is one from the Django world: http://www.jutdahelpdesk.com/

[web2py] How to do this in web2py..?

2010-12-20 Thread Fabiano
Hi, I am new to web2py and sure not if I am doing things the best way. I am designing an app and would like your opinion on my choices and also how could I implement some stuff in web2py. My problem: I have classes of stuff that I want to store on the database. Stuff here is very generic and

Re: [web2py] Re: help desk app

2010-12-20 Thread Richard Vézina
I posted the same thing a mouth ago! ;-) I took some time to test jutdahelpdesk but didn't succeed to make it works cause of my weak knowledge of Dango and the time I give myself to make it works... If you make it works, I would be really interrested in a howto... Also, I ask web2py core dev

[web2py] Re: layout.html and static/css suggestion

2010-12-20 Thread DenesL
Maybe I am not understanding something but admin is an app and it has its own files. On Dec 19, 5:28 pm, weheh richard_gor...@verizon.net wrote: Anyone doing customization of their web2py layout knows that they are going to heavily modify both the layout.html and static/css files. This can

[web2py] web2py CGI problem

2010-12-20 Thread hytters
Hi, I know its not recommended to run web2py as CGI script but its the only thing my hosting environment allows. But I cannot get it to work. All I get is : *ERROR:web2py:Traceback (most recent call last):* * File XXX/XXX/www/web2py/cgi-bin/gluon/main.py, line 347, in wsgibase* *if not

[web2py] Re: Crud error in 1.90.4

2010-12-20 Thread mdipierro
This is not a 1.90.4 specific error. The bug was there for some time. I think I just fixed it in trunk but I did not try it with your code. Please let us know if it now works for you. On Dec 20, 2:39 am, szimszon szims...@gmail.com wrote: web2py™       Version 1.90.4 (2010-12-19 21:13:03)

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread mdipierro
it is in the file web2py/VERSION On Dec 20, 7:35 am, Dan d...@imojo.de wrote: Hi Massimo, thanks a lot for your reply. I can't find the current installed version nummer. My setup is like 4 month old. The admin area has still the old design. The system is running on a debian 5 linux

[web2py] Re: Running web2py on Hostgator Shared hosting!

2010-12-20 Thread mdipierro
+1 On Dec 20, 7:56 am, GoldenTiger goldenboy...@gmail.com wrote: I think a lot of users will be happy of seeing this:  web2py running on hostgator. Demo:  http://hostgator.web2py.es   (steps to install included) There are a lot of people using Hostgator shared hosting, It is maybe one of

[web2py] Re: web2py CGI problem

2010-12-20 Thread mdipierro
You, nothing. I did something wrong. replace line if not environ['PATH_INFO'] and environ['REQUEST_URI']: in gluon/main.py with if not environ.get('PATH_INFO',None) and environ.get('REQUEST_URI',None): It is also now fixed in trunk. Massimo On Dec 20, 8:27 am, hytters

Re: [web2py] Re: layout.html and static/css suggestion

2010-12-20 Thread Bruno Rocha
I think he is talking about the appadmin controller. Just go to /views/appadmin.html and remove the {{extend 'layout.html'}} or include a new layout only to appadmin controller. 2010/12/20 DenesL denes1...@yahoo.ca Maybe I am not understanding something but admin is an app and it has its own

[web2py] Re: layout.html and static/css suggestion

2010-12-20 Thread mdipierro
I think you are talking about appadmin, not admin. appadmin inherits your application layout, not the admin layout. Perhaps there should be an appadmin option to use the admin layout as opposed to the app specific layout. Massimo On Dec 19, 4:28 pm, weheh richard_gor...@verizon.net wrote:

[web2py] Re: layout.html and static/css suggestion

2010-12-20 Thread mdipierro
One way to achieve this is the following: 1) in applications/admin/views/layout.html replace line {{response.files.append(URL('static','css/styles.css'))}} with {{response.files.append(URL('admin','static','css/styles.css'))}} 2) in applications/yourapp/views/appadmin.html replace

[web2py] insert records using dictionary

2010-12-20 Thread rāma
Hi all, I'm aware that you can bulk insert using a dictionary but is there a way to : dictionary={'field1':'value','field2':'value' ...} db.table.insert(dictionary) It would be really easy if I can do this.

[web2py] Re: insert records using dictionary

2010-12-20 Thread mdipierro
db.table.insert(**dictionary) On Dec 20, 9:19 am, rāma ranjeev...@gmail.com wrote: Hi all, I'm aware that you can bulk insert using a dictionary but is there a way to : dictionary={'field1':'value','field2':'value' ...} db.table.insert(dictionary) It would be really easy if I can do this.

[web2py] Re: insert records using dictionary

2010-12-20 Thread rāma
Cool!! Thanks On Dec 20, 11:23 pm, mdipierro mdipie...@cs.depaul.edu wrote: db.table.insert(**dictionary) On Dec 20, 9:19 am, rāma ranjeev...@gmail.com wrote: Hi all, I'm aware that you can bulk insert using a dictionary but is there a way to :

[web2py] Re: How to do this in web2py..?

2010-12-20 Thread mdipierro
This is very well possible. This is a bit complex. It cannot be completely handled at the db level. The best solution depends on whether you have a max/small number types of stuff or arbitrary. Let me give some more thought to this and get back to you. Meanwhile other users may have some ideas.

Re: [web2py] Re: help desk app

2010-12-20 Thread Richard Baron Penman
Yes would be good if a clone existed. The only web2py helpdesk I found... needs work: http://y-a-t-s-y.appspot.com/ I expect the hardest part is receiving emails - adding to correct ticket, attachments, encoding problems, etc. This page describes the different kinds of ticket systems well:

[web2py] Re: help desk app

2010-12-20 Thread mdipierro
I just added to trunk: scripts/tickets2email.py you can run a background process with cp scripts/tickets2email.py applications/yourapp/private/ [edit top portion to configure email server] python web2py.py -S yourapp -N -R applications/yourapp/private/ tickets2email.py and it will send

[web2py] Re: help desk app

2010-12-20 Thread mdipierro
ps. It should not be difficult to combine scripts/tickets2db.py with tickets2email.py in a single app so that when a ticket is issued both the email is sent and a copy of the ticket is stored in a database table (in a separate app). One can then use plugin_wiki to add comments to the ticket

Re: [web2py] Re: Web2py with Nginx using FCGI and no Apache

2010-12-20 Thread Andrew Thompson
On 12/19/2010 7:13 PM, GoldenTiger wrote: What do you want? aktzero app as init app? did you change routes.py? No, don't want it as the init app. I have about 4 different sites/apps running from this instance of fcgi. With lighttpd, I was able to specify per domain, what app the web2py/fcgi

[web2py] Re: web2py 1.90.1 is OUT

2010-12-20 Thread iiijjjiii
I get an error if I try to copy a row that has a date field. import copy db.define_table('test_table', db.Field('test_field', 'date'), migrate=True) db.test_table.insert(test_field='2010-12-20') 1 row = db(db.test_table.id==1).select()[0] row_copy = copy.copy(row) Traceback (most recent

[web2py] List of fields to orderby expression

2010-12-20 Thread Lorin Rivers
How do I turn a list of fields to an orderby expression? In other words, If I have this: [db.table.field1, db.table.field2] I want this: db(db.table).select(orderby = db.table.field1 | db.table.field2) Thanks! -- Lorin Rivers Mosasaur: Killer Technical Marketing http://www.mosasaur.com

[web2py] Re: web2py 1.90.1 is OUT

2010-12-20 Thread iiijjjiii
I was able to get around the problem by converting the row to a dictionary. import copy db.define_table('test_table', db.Field('test_field', 'date'), migrate=True) db.test_table.insert(test_field='2010-12-20') 1 row = db(db.test_table.id==1).select()[0] row_copy = copy.copy(row.as_dict())

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread Dan
...this file is empty? On Dec 20, 3:30 pm, mdipierro mdipie...@cs.depaul.edu wrote: it is in the file web2py/VERSION On Dec 20, 7:35 am, Dan d...@imojo.de wrote: Hi Massimo, thanks a lot for your reply. I can't find the current installed version nummer. My setup is like 4 month

[web2py] Re: List of fields to orderby expression

2010-12-20 Thread villas
Hi Lorin So doesn't that work? This is what the book says: And you can sort the records according to multiple fields by concatenating them with a |: for row in db().select(db.person.ALL, orderby=db.person.name|db.person.id): print row.name Regards, -D On Dec 20, 5:07 pm, Lorin

[web2py] Re: web2py 1.90.1 is OUT

2010-12-20 Thread mdipierro
Thanks Jim, I just fixed it in trunk and posting 1.90.6. Thanks for reporting the issue. Massimo On Dec 20, 11:02 am, iiijjjiii iiijjj...@gmail.com wrote: I get an error if I try to copy a row that has a date field. import copy db.define_table('test_table', db.Field('test_field', 'date'),

[web2py] Re: List of fields to orderby expression

2010-12-20 Thread mdipierro
I think this is what you are asking: myorderlist = [db.table.field1, db.table.field2] orderby = reduce(lambda a,b:a|b, myorderlist) rows = db(db.table).select(orderby = orderby) On Dec 20, 11:07 am, Lorin Rivers lriv...@mosasaur.com wrote: How do I turn a list of fields to an orderby

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread mdipierro
Something very bad happened. That file comes with web2py and is never overwritten. It should contain the version. My advice is backup everything, upgrade to 1.90.6 (posted now), check if you can reproduce the error. Massimo On Dec 20, 11:21 am, Dan d...@imojo.de wrote: ...this file is empty?

[web2py] 1.90.6 is OUT

2010-12-20 Thread mdipierro
1.90.6 is OUT please upgrade (in particular from other 1.90.* version). - fixed some compatibility issues with new dal - disable poll in rocket (web server) because it was causing occasional problems due to a known poll-python bug. Massimo

[web2py] Re: web2py 1.90.1 is OUT

2010-12-20 Thread mdipierro
db.users.team.requires = IS_IN_DB(db, 'dogs.teamname', '% (dogs.teamname)') should be db.users.team.requires = IS_IN_DB(db, 'dogs.teamname', '% (teamname)s') On Dec 20, 11:40 am, sushanth sushant...@gmail.com wrote: db=DAL('mysql://root:test1234...@localhost/new') db.define_table('dogs',    

[web2py] Re: Crud error in 1.90.4

2010-12-20 Thread szimszon
Works. Thank you. On dec. 20, 15:29, mdipierro mdipie...@cs.depaul.edu wrote: This is not a 1.90.4 specific error. The bug was there for some time. I think I just fixed it in trunk but I did not try it with your code. Please let us know if it now works for you. On Dec 20, 2:39 am, szimszon

[web2py] Re: web2py 1.90.1 is OUT

2010-12-20 Thread sushanth
thanks thats got fix,if i nesrt any value ,i am getting below error RACEBACK 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File /home/sushanth/Desktop/web2py/gluon/restricted.py, line 188, in restricted exec ccode in environment File

Re: [web2py] Re: List of fields to orderby expression

2010-12-20 Thread Lorin Rivers
Yep, thanks! On Dec 20, 2010, at 11:28 , mdipierro wrote: I think this is what you are asking: myorderlist = [db.table.field1, db.table.field2] orderby = reduce(lambda a,b:a|b, myorderlist) rows = db(db.table).select(orderby = orderby) On Dec 20, 11:07 am, Lorin Rivers

[web2py] Re: party time

2010-12-20 Thread DenesL
No vacation time left, but thanks for the offer. On Dec 20, 12:18 am, Jason Brower encomp...@gmail.com wrote: Ahh shucks. That would have been nice. Best Regards, jason brower - Original message - I am thinking of organizing a party between Christmas and New Year's eve. Who

Re: [web2py] party time

2010-12-20 Thread ron_m
What we need is a low cost transporter beam like Star Trek (no sarcasm intended). It would be great to meet the fantastic group of people that participate in this community surrounding web2py. Kind thought to all. Thanks for the invite Massimo. Ron

[web2py] Re: web2py 1.90.1 is OUT

2010-12-20 Thread mdipierro
I strongly suggest you move this discussion to a private discussion with Denes. The DAL has limited support for legacy tables and all the work on this topic was done by Denes. I doubt anybody else can help you and it is a complex matter. Massimo On Dec 20, 12:09 pm, sushanth

[web2py] Re: help desk app

2010-12-20 Thread mdipierro
Here is a web2py helpdesk app. http://web2py.com/examples/static/web2py.app.helpdesk.w2p Please help me test and improve it. 1) edit applications/helpdesk/models/0.py set the email info and set the list of apps to be monitored 2) on each server (one if you only have one) run python

Re: [web2py] party time

2010-12-20 Thread Richard Vézina
We could set a web2py app with livestream with webcam then we could all drink beer together! [?] Richard On Mon, Dec 20, 2010 at 1:52 PM, ron_m ron.mco...@gmail.com wrote: What we need is a low cost transporter beam like Star Trek (no sarcasm intended). It would be great to meet the

Re: [web2py] Re: help desk app

2010-12-20 Thread Richard Vézina
Hello Massimo, What to do with Exchange? Richard On Mon, Dec 20, 2010 at 2:06 PM, mdipierro mdipie...@cs.depaul.edu wrote: Here is a web2py helpdesk app. http://web2py.com/examples/static/web2py.app.helpdesk.w2p Please help me test and improve it. 1) edit

[web2py] Re: help desk app

2010-12-20 Thread mart
I think there would need to be something with a form or 2 and some tables to hold useful data, along with email and form flow/routing capabilities ? A help desk in the sense of hey, my mouse isn't working, can someone from the helpdesk come and fix it? my 2 cents, Mart something like this (but

Re: [web2py] Re: help desk app

2010-12-20 Thread Richard Vézina
Hello Massimo, Found this : http://www.aspose.com/documentation/.net-components/aspose.network-for-.net/send-email-messages-using-exchange-server.html On Mon, Dec 20, 2010 at 2:06 PM, mdipierro mdipie...@cs.depaul.edu wrote: Here is a web2py helpdesk app.

Re: [web2py] Re: help desk app

2010-12-20 Thread Richard Vézina
Hello Mart, You are talking about a helpdesk for all IT deparment... I was searching for something tiny just for monitor app defect that I build with web2py since user are not of great help by telling that they had a Ticket... I think they don't even notice that there is a problem... ;-) Richard

[web2py] Re: Run Web2py as a Service? on Ubuntu Lucid?

2010-12-20 Thread ghoulmann
Web2py isn't running as a service for me. I relied on the instructions here: http://web2py.com/book/default/chapter/11#Start-as-Linux-Daemon . The file, /etc/init.d/web2py is owned by root and executable. Python is at /bin/python, and web2py is at /usr/lib/web2py/web2py.py . No pid file is being

Re: [web2py] Re: help desk app

2010-12-20 Thread Richard Vézina
Also, It stock to 3 tickets no matter that I change the parameter of my testing function I made just for the purpose... Richard On Mon, Dec 20, 2010 at 4:45 PM, Richard Vézina ml.richard.vez...@gmail.com wrote: I try to make it work with gmail without success... ickets2db.py not finding the

[web2py] Re: help desk app

2010-12-20 Thread mart
:) I should have see that one coming! ;) oh well... I still like the work flow idea On Dec 20, 4:05 pm, Richard Vézina ml.richard.vez...@gmail.com wrote: Hello Mart, You are talking about a helpdesk for all IT deparment... I was searching for something tiny just for monitor app defect that I

[web2py] Getting the focus of the tk gui

2010-12-20 Thread Manu
Hi , Here is my 2cents tip to earn few seconds when i lauch web2py !!! I usually add these lines to the widget.py file to ensure that i get the focus as soon as i start the application to enter my password and have also bound the RETURN key to the start method self.password =

Re: [web2py] request for error log to default to list by ticket

2010-12-20 Thread Thadeus Burgess
I think it depends on what mode. In production, I want to view by exception In development, by ticket would be more appropriate. -- Thadeus On Sat, Dec 18, 2010 at 5:11 PM, Kuba Kucharski kuba.kuchar...@gmail.comwrote: +1

[web2py] Re: How to do this in web2py..?

2010-12-20 Thread Fabiano
(...) The best solution depends on whether you have a max/small number types of stuff or arbitrary. The number of Stuffs (or classes of stuff) will be big and arbitrary. The two most common application use cases, its the purpose, and what will be happening all the time during entire application

[web2py] Re: help desk app

2010-12-20 Thread mdipierro
I forgot to pass the settings parameters to the mail.settings in db.py. 1 is to low. Try 60 seconds. On Dec 20, 3:45 pm, Richard Vézina ml.richard.vez...@gmail.com wrote: I try to make it work with gmail without success... ickets2db.py not finding the new ticket base on the 0.py

[web2py] Re: Getting the focus of the tk gui

2010-12-20 Thread mdipierro
OK, where exactly do you insert them? On Dec 20, 4:26 pm, Manu swel...@gmail.com wrote: Hi , Here is my 2cents tip to earn few seconds when i lauch web2py !!!   I usually add these lines to the widget.py file to ensure that i get the focus as soon as i start the application to enter my

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread Dan
I have updated to the latest version but I'm still getting the error. I think the error has nothing to do with web2py but with the rocket webserver. What do you think? web2py™ Version 1.90.6 (2010-12-20 17:36:54) Python Python 2.5.2: /usr/bin/python Traceback (most recent call last): File

Re: [web2py] Re: Getting the focus of the tk gui

2010-12-20 Thread Manu
Right after this line : self.password = Tkinter.Entry(self.root, show='*') which is roughky after line 204 for my version (1.89.5). The the section dealing with the password Entry widget. Cheers, On Mon, Dec 20, 2010 at 11:16 PM, mdipierro mdipie...@cs.depaul.edu wrote: OK, where exactly do

[web2py] Re: Getting the focus of the tk gui

2010-12-20 Thread mdipierro
Uploading to trunk, thanks On Dec 20, 5:38 pm, Manu swel...@gmail.com wrote: Right after this line : self.password = Tkinter.Entry(self.root, show='*') which is roughky after line 204 for my version (1.89.5). The the section dealing with the password Entry widget. Cheers, On Mon, Dec 20,

Re: [web2py] Re: help desk app

2010-12-20 Thread Richard Vézina
Does it work under 1.88.2? I will test with the last version... Richard On Mon, Dec 20, 2010 at 6:15 PM, mdipierro mdipie...@cs.depaul.edu wrote: I forgot to pass the settings parameters to the mail.settings in db.py. 1 is to low. Try 60 seconds. On Dec 20, 3:45 pm, Richard

[web2py] Re: Getting the focus of the tk gui

2010-12-20 Thread mdipierro
Since clicking enter not automatically starts the server, I changed the order of the entry widgets. I hope this ok. On Dec 20, 5:57 pm, mdipierro mdipie...@cs.depaul.edu wrote: Uploading to trunk, thanks On Dec 20, 5:38 pm, Manu swel...@gmail.com wrote: Right after this line :

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread mdipierro
are you going over ssl and using the python ssl? On Dec 20, 5:35 pm, Dan d...@imojo.de wrote: I have updated to the latest version but I'm still getting the error. I think the error has nothing to do with web2py but with the rocket webserver.  What do you think? web2py™       Version 1.90.6

[web2py] Re: SSLError: The read operation timed out on file upload?

2010-12-20 Thread Dan
Yes. On Dec 21, 12:59 am, mdipierro mdipie...@cs.depaul.edu wrote: are you going over ssl and using the python ssl? On Dec 20, 5:35 pm, Dan d...@imojo.de wrote: I have updated to the latest version but I'm still getting the error. I think the error has nothing to do with web2py but with

[web2py] [tip] Python Shell on Chrome

2010-12-20 Thread Bruno Rocha
Python Shell for Chrome https://chrome.google.com/webstore/detail/gdiimmpmdoofmahingpgabiikimjgcia?hl=en-US# Useful to test small code blocks. (would be great to have an online web2py API for testing, I tried to host an exposed web shell to GAE, bur fails)

[web2py] Re: help desk app

2010-12-20 Thread Plumo
hi Massimo, if I understand correctly what you created is for managing web2py tickets, while a helpdesk app is for managing client inquiries. So perhaps rename it to avoid confusion. Noticed an error: File /home/web2py/devel/applications/helpdesk/views/plugin_wiki/page_edit.html, line 99

Re: [web2py] Re: Getting the focus of the tk gui

2010-12-20 Thread Manu
Many thx On Mon, Dec 20, 2010 at 11:58 PM, mdipierro mdipie...@cs.depaul.edu wrote: Since clicking enter not automatically starts the server, I changed the order of the entry widgets. I hope this ok. On Dec 20, 5:57 pm, mdipierro mdipie...@cs.depaul.edu wrote: Uploading to trunk, thanks

Re: [web2py] Powertable remarks

2010-12-20 Thread Ivan Matveev
Thank you Bruno for this beautiful SQLTABLES drop in replacement. Joined Rows, virtual fields on Rows work! You saved my week. Looks great and I love client side sorting and searching. On small(hundreds of rows) its faster than server side.

[web2py] Re: [tip] Python Shell on Chrome

2010-12-20 Thread Bruno Rocha
This is running on GAE : languageshells.appspot.com I really want to know how to do something like this to web2py API. 2010/12/20 Bruno Rocha rochacbr...@gmail.com Python Shell for Chrome https://chrome.google.com/webstore/detail/gdiimmpmdoofmahingpgabiikimjgcia?hl=en-US# Useful to test

Re: [web2py] Re: [tip] Python Shell on Chrome

2010-12-20 Thread Richard Vézina
So Cool! Richard On Mon, Dec 20, 2010 at 7:21 PM, Bruno Rocha rochacbr...@gmail.com wrote: This is running on GAE : languageshells.appspot.com I really want to know how to do something like this to web2py API. 2010/12/20 Bruno Rocha rochacbr...@gmail.com Python Shell for Chrome

[web2py] input time-interval in web2py

2010-12-20 Thread Sahil Arora
I want to take input time to complete a task in format no. of days,hours (time interval) in web2py. Is there any defined field,type for this in SQLField. time module in python allows only max 24 hours time.

Re: [web2py] Powertable remarks

2010-12-20 Thread Bruno Rocha
Hi Ivan, Thanks for testing the plugin. I am finishing some features that will be added this week Filtering by fields Edit button opens a default crud.update form in details Add button at the top opens a crud.create form Progressive scrolling Datatables updated to version 1.75 Internet Explorer

[web2py] Re: input time-interval in web2py

2010-12-20 Thread mdipierro
The easyest way is this: class TimeInterval(object): def __init__(self,error_message='not a valid time interval'): self.error_message=error_message def call(self,value): try: a,b=[int(x.strip()) for x in value.split(',')] return (a*24+b,None)

[web2py] Re: Python Shell on Chrome

2010-12-20 Thread mdipierro
It does not work for me. whatever I type the output is I do not know how they maintain a state. Many things like classes and function definitions are not serializable. On Dec 20, 6:21 pm, Bruno Rocha rochacbr...@gmail.com wrote: This is running on GAE : languageshells.appspot.com I

[web2py] Re: Python Shell on Chrome

2010-12-20 Thread mdipierro
This works and has source http://shell.appspot.com/ On Dec 20, 8:22 pm, mdipierro mdipie...@cs.depaul.edu wrote: It does not work for me. whatever I type the output is I do not know how they maintain a state. Many things like classes and function definitions are not serializable. On

[web2py] reload a div

2010-12-20 Thread Rick
Hi, How to reload/update a div tag as that below with AJAX? div{{=variable}}/div a href=# onclick=ajax( ...something... )update the div/a Thanks in advance for replies.

[web2py] Error in web2py book

2010-12-20 Thread Martin H
Hi, I believe there is a mistake in the web2py book. The last line of the 'Using Replicated Databases Servers' section on http://web2py.com/book/default/chapter/11#One-Step-Production-Deployment currently reads: where 1,2,3 are replicated servers and 3,4,5 are slaves. It should be the other

[web2py] Re: Python Shell on Chrome

2010-12-20 Thread mdipierro
Here is how it works each statement may result in the definition of a new object. a=3 def b(x): return x a is pickalble, b in unpickable. So a is serialized as part of globals(). Objects that are defined an not pickable are re-evaluated at every statement. That means every time you type one

[web2py] Re: reload a div

2010-12-20 Thread mdipierro
div id=target{{=variable}}/div a href=# onclick=ajax('{{=URL('action_name')}}', [],'target')update the div/a On Dec 20, 8:25 pm, Rick sababa.sab...@gmail.com wrote: Hi, How to reload/update a div tag as that below with AJAX? div{{=variable}}/div a href=# onclick=ajax( ...something...

[web2py] reset password

2010-12-20 Thread pk
hi together, i hope somebody can help me. can i reset the password without the default/user/ request_reset_password ? i will create an own controller for this for example reset/ request_reset_password is it possible? thanks peter

[web2py] Re: reset password

2010-12-20 Thread pk
or better to customize it. for example: user_name: email: (button: reset) On 21 Dez., 04:00, pk peter.kirch...@youngdesigners.de wrote: hi together, i hope somebody can help me. can i reset the password without the default/user/ request_reset_password ? i will create an own controller for

Re: [web2py] Re: Python Shell on Chrome

2010-12-20 Thread Richard Vézina
It works for me with chrome 8.0.552.215 beta Richard#1 On Mon, Dec 20, 2010 at 9:29 PM, mdipierro mdipie...@cs.depaul.edu wrote: Here is how it works each statement may result in the definition of a new object. a=3 def b(x): return x a is pickalble, b in unpickable. So a is

Re: [web2py] Re: Python Shell on Chrome

2010-12-20 Thread Richard Vézina
Hahaha! I didn't want to put #1 after my name... Really funny key mistake trying to TAB + Enter to email in gmail ;-) Richard On Mon, Dec 20, 2010 at 10:11 PM, Richard Vézina ml.richard.vez...@gmail.com wrote: It works for me with chrome 8.0.552.215 beta Richard#1 On Mon, Dec 20, 2010 at

Re: [web2py] party time

2010-12-20 Thread Andrew Thompson
On 12/20/2010 3:21 PM, Richard Vézina wrote: We could set a web2py app with livestream with webcam then we could all drink beer together! A while back, a buddy of mine linked me a site that did live web conferences. Seems like it added a new video box for each participant right onto the

Re: [web2py] party time

2010-12-20 Thread Andrew Thompson
On 12/20/2010 10:14 PM, Andrew Thompson wrote: On 12/20/2010 3:21 PM, Richard Vézina wrote: We could set a web2py app with livestream with webcam then we could all drink beer together! A while back, a buddy of mine linked me a site that did live web conferences. Seems like it added a new

[web2py] Re: party time

2010-12-20 Thread dlypka
I'm passing through Chicago airport tomorrow. So I will be thinking of how close I am to web2py HQ. I've been working on a treeview in web2py so that will have to do as my XMAS tree for this year. Happy Holidays! - Dave Lypka. On Dec 20, 10:17 pm, Andrew Thompson andre...@aktzero.com wrote: On

[web2py] Re: Python Shell on Chrome

2010-12-20 Thread mdipierro
Anyway... I merged the google shell with web2py. We now have a new shell: http://127.0.0.1:8000/admin/shell/index/appname should work better then before and should work on GAE too. Please give it a try.

Re: [web2py] Re: Python Shell on Chrome

2010-12-20 Thread Bruno Rocha
Nice! I'll try it now! Is it possible to expose the shell to the public on GAE? 2010/12/21 mdipierro mdipie...@cs.depaul.edu Anyway... I merged the google shell with web2py. We now have a new shell: http://127.0.0.1:8000/admin/shell/index/appname should work better then before and should

[web2py] Re: Python Shell on Chrome

2010-12-20 Thread mdipierro
Actually it did not work but it does now. ;-) On Dec 20, 10:04 pm, Bruno Rocha rochacbr...@gmail.com wrote: Nice! I'll try it now! Is it possible to expose the shell to the public on GAE? 2010/12/21 mdipierro mdipie...@cs.depaul.edu Anyway... I merged the google shell with web2py. We

[web2py] Re: country / state / city of the current visitor?

2010-12-20 Thread Plumo
Or you could use this service and cache the values: http://www.geobytes.com/IpLocator.htm?GetLocationtemplate=json.txtipaddress=203.30.195.10

Re: [web2py] Re: Python Shell on Chrome

2010-12-20 Thread Bruno Rocha
I am testing the new shell, it is too much faster! I'll try to host an app on GAE to expose the shell to the public (safe?) -- Bruno Rocha http://about.me/rochacbruno/bio

[web2py] Re: How to do this in web2py..?

2010-12-20 Thread Fabiano
Hi Villas, yes, I know this concept, I have a good background in computer science, but it doesn't fit here, as my data is not hierarchical. Anyway, thanks for the suggestion and the links, that Troels articles seems to be interesting, I will take a look on that sometime. My first e-mail was

[web2py] Re: How to do this in web2py..?

2010-12-20 Thread pbreit
I wonder if a NoSQL DB like Mongo or Couch would work?

Re: [web2py] Re: help desk app

2010-12-20 Thread Phyo Arkar
Hello Massimo, Helpdesk App is something you usually see on IT Support/ Hosting /Callcenters . If you have a web hosting on a popular hosting sites , and if you had requested support you will see it. Here is the most used (and popular) help desk system written in perl .. you can try it there

[web2py] Re: help desk app

2010-12-20 Thread mdipierro
You are right... I will change the name as bugs are fixed, when I post it on appliances. On Dec 20, 11:24 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote: Hello Massimo, Helpdesk App is something you usually  see on IT Support/ Hosting /Callcenters . If you have a web hosting on a popular

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

2010-12-20 Thread mdipierro
We have continued this discussion about the license on the web2py- developers list. It is a complex issue. There is one proposal on the table: http://groups.google.com/group/web2py-developers/msg/863ddc9be36b723b http://groups.google.com/group/web2py-developers/msg/b251cf4aa3ce4ba9 based

  1   2   >