[web2py] Integrate PHP project with web2py

2012-01-23 Thread ganesh waghmare
Hi all, I have devloped a web2py site and I want to include chat application into it which is implemented in php. How can I include this php in web2py. Thanks..

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread peter
The problem I found was that Plesk requires python 2.4 and Web2py requires at least python 2.5. So one has to install python 2.5 or higher (I use 2.6), and use this in parallel with the python 2.4. I could get web2py working with the rocket server. I never did get it working with Apache so I will

Re: [web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread Roberto De Ioris
Il giorno 23/gen/2012, alle ore 10:09, peter ha scritto: The problem I found was that Plesk requires python 2.4 and Web2py requires at least python 2.5. So one has to install python 2.5 or higher (I use 2.6), and use this in parallel with the python 2.4. I could get web2py working with the

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread LightDot
I believe this is the OS's requirement, not Plesk's. Plesk itself has no python parts and AFAIK uses mod_python to enable python for customer's sites. If you are, ie., using CentOS/RHEL 5.x, than stock python version is 2.4 and that's hard to upgrade due to some core systems depending on it,

[web2py] Re: PSTV [Paradigm Shift Television] Powered by Inclusion

2012-01-23 Thread Rahul
This is a wonderful site. I liked it very much. Thanks. Rahul On Jan 21, 10:09 am, Andrew Evans andrew.rusty...@gmail.com wrote: Yes was made by me and a partner/friend of mine and ty On Fri, Jan 20, 2012 at 8:52 PM, Bruno Rocha rochacbr...@gmail.com wrote: looks very nice on

[web2py] Re: Auth.registration_requires_invitation

2012-01-23 Thread tsvim
Hi all, I'd be happy to collaborate on such a feature if needed, as it is something on my roadmap for my app. Basically, I want to allow 2 users to collaborate on the same data, by allowing a user to invite a friend to collaborate. If you have some code already, please share. Tsvi

[web2py] Re: Integrate PHP project with web2py

2012-01-23 Thread Alan Etkin
What kind of inclusion are you looking for? I suppose the most obvious way is to append a php app to a web2py view trough AJAX. For interaction perhaps it is possible to use web2py's XML and JSON views and RPC calls between applications. You could also have web2py and php share a database system

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread Ross Peoples
You can install Python 2.6 on CentOS by using the EPEL yum repository. It will leave the system's Python 2.4 installation alone, since you don't want to mess that up. The Python 2.6 name will then be python26 instead of just python.

[web2py] Re: dig command or something like that

2012-01-23 Thread Niphlod
Never used before, but I just found this http://www.dnspython.org/ it seems better not to reinvent the wheel spawning a process and parsing the output of a full dig command. I just love to find this pieces of software around written in python. On 22 Gen, 23:54, Kenneth Lundström

[web2py] Re: accepts KeyError: '_id', latest trunk with postgresql

2012-01-23 Thread Alan Etkin
There are similar error reports in this threads. For my error report, I started a fix from trunk files, but I think that the developers are working on this errors already. http://groups.google.com/group/web2py/browse_thread/thread/691542fa739e67d1

Re: [web2py] Re: web2py.com is down

2012-01-23 Thread Vasile Ermicioi
http://docs.webfaction.com/user-guide/overview.html WebFaction performs daily backups of all your data and stores those backups for ten days. You will be able to contact our support team to recover your data as soon as you need it.

[web2py] email_auth works on web2py server, but not GAE

2012-01-23 Thread pattu
Hi - I have found 150 answers to different questions already by googling my way through this list, but I didn't find anything addressing email_auth (using an smtp server). Here is code that works fine running the web2py server, but seems to fail both on the GAE development server and also

[web2py] Re: DAL IMAPAdapter

2012-01-23 Thread Alan Etkin
And modified limitby to accept a tuple. set.select(..., limitby=(int:int))

[web2py] Re: email_auth works on web2py server, but not GAE

2012-01-23 Thread Massimo Di Pierro
Did you try it? How does it fail? On Jan 23, 4:07 am, pattu itapplicationmanagem...@gmail.com wrote: Hi - I have found 150 answers to different questions already by googling my way through this list, but I didn't find anything addressing email_auth (using an smtp server).  Here is code that

[web2py] google code (mercurial) problem

2012-01-23 Thread Massimo Di Pierro
I messed up something with mercurial and the google code repository has not been updated since Jan 17. The git repository on github should be fine. You will find about 10 tickets marked as closed but the trunk in googlecode will not show the fix. Hopefully this will be fixed today. Apologies.

[web2py] Re: passing navigational links in the header and ajax woes

2012-01-23 Thread web-dev-m
Massimo, Thank you very much for your reply. I have made the changes to my code, but it still didn't solve my problem with the AJAX call not working. Any suggestions? On Jan 21, 11:40 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: In your code you have many calls to this:    

[web2py] Setting up Eclipse Indigo for a Web2py-based project

2012-01-23 Thread Carl
I'm moving to eclipse indigo but am missing some set-up sets. I get 4 attempts like this one... DEBUG: connect attempt 4, connection error: Traceback (most recent call last): File E:\projects\ws\9birthdays\web2py\gluon\dal.py, line 4736, in __init__ self._adapter =

Re: [web2py] Re: web2py.com is down

2012-01-23 Thread Bruce Wade
Oh you work for WebFaction? That explains why you like them ;) lol On Mon, Jan 23, 2012 at 5:31 AM, Vasile Ermicioi elff...@gmail.com wrote: http://docs.webfaction.com/user-guide/overview.html WebFaction performs daily backups of all your data and stores those backups for ten days. You will

[web2py] Re: email_auth works on web2py server, but not GAE

2012-01-23 Thread pattu
Hi - Fairly silently. In the case of running the dev_appserver.py - submitting a correct email and password to login form just shows a very quick response of invalid login (flash message). Compared to running the web2py built in web server the response is too fast to let me believe that my

[web2py] Redirect Auth based on Membership

2012-01-23 Thread Andrew Evans
I want to redirect the admin user if they login as admin vs logging in as a regular user if auth.requires_membership('admin'): auth.settings.login_next = URL('control_panel', 'index') auth.settings.logout_next = URL('control_panel', 'index') that is in my model atm but does not seem to

[web2py] Output web2py Errors to stdout/shell/commandline

2012-01-23 Thread Iwan Gabovitch
Hello, I run web2py locally, to develop a website. Whenever there is an error, I see a website that looks like this: *Internal errorTicket issued: *vpp2py/127.0.0.1.2012-01-23.17-14-03.ef3e7489-1e25-4aaf-e143-9b27004c4a2chttp://example.com/ I would prefer to see the traceback in the shell.

[web2py] Re: passing navigational links in the header and ajax woes

2012-01-23 Thread Massimo Di Pierro
I'd recommend you use the LOAD helper instead of ajax. If you repost your more current code I will try help. On Jan 23, 9:10 am, web-dev-m mgrave...@gmail.com wrote: Massimo, Thank you very much for your reply.  I have made the changes to my code, but it still didn't solve my problem with the

[web2py] Re: Setting up Eclipse Indigo for a Web2py-based project

2012-01-23 Thread Carl
I've followed http://pierreth.blogspot.com/2010/10/web2py-eclipse-pydev-recipe.html but without success. Is there an up to date page of instructions for using Eclipse with Web2py?

[web2py] Re: Redirect Auth based on Membership

2012-01-23 Thread Andrew Evans
Nevermind got everything sorted my logic was a bit off *cheers :D On Mon, Jan 23, 2012 at 9:20 AM, Andrew Evans andrew.rusty...@gmail.comwrote: I want to redirect the admin user if they login as admin vs logging in as a regular user if auth.requires_membership('admin'):

[web2py] Re: google code (mercurial) problem

2012-01-23 Thread apple
Worked fine for me yesterday and today via mercurial. 13 revisions in last 3 days. On Jan 23, 2:35 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I messed up something with mercurial and the google code repository has not been updated since Jan 17. The git repository on github should

Re: [web2py] google code (mercurial) problem

2012-01-23 Thread Bruno Rocha
in google repository just change the branch to pg8000 and you will see last updates. On Mon, Jan 23, 2012 at 12:35 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I messed up something with mercurial and the google code repository has not been updated since Jan 17. The git repository

Re: [web2py] Re: web2py.com is down

2012-01-23 Thread qasimak...@gmail.com
In last 2 years i have tried many VPS companies and trust me found linode the best, service as well as customer support. You guys can trust me because i dont work for them :). On Mon, Jan 23, 2012 at 9:39 PM, Bruce Wade bruce.w...@gmail.com wrote: Oh you work for WebFaction? That explains why

Re: [web2py] Re: web2py.com is down

2012-01-23 Thread Bruce Wade
Yeah I second Linode, I have tried webfaction for ethicaldeal.com however I wasn't very happy considering they hike their prices fast always saying you are consuming more memory and need to upgrade. You don't have that problem with Linode which we are using for youadworld.com. On Mon, Jan 23,

Re: [web2py] Re: web2py.com is down

2012-01-23 Thread Alvaro Lizama Molina
linode is a good options :) +1 2012/1/23 Bruce Wade bruce.w...@gmail.com Yeah I second Linode, I have tried webfaction for ethicaldeal.com however I wasn't very happy considering they hike their prices fast always saying you are consuming more memory and need to upgrade. You don't have that

Re: [web2py] Re: web2py.com is down

2012-01-23 Thread qasimak...@gmail.com
BTW when every you buy linode just open a ticket to them and they will convert your 50Mb port speed to 100Mb for free :) On Tue, Jan 24, 2012 at 2:54 AM, Alvaro Lizama Molina nek...@gmail.comwrote: linode is a good options :) +1 2012/1/23 Bruce Wade bruce.w...@gmail.com Yeah I second

[web2py] Re: (OT) Choosing a javascript mvc framework

2012-01-23 Thread Chris May
This might be too late for your application, but I just saw this review of 12 MVC frameworks. http://codebrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/ Quoted from the page: Specifically, the following four features are very important to me: UI Bindings - I’m not just

[web2py] How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread thstart
I need to modify the look and text of: Remember me (for 30 days) How to do that?

[web2py] Re: How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread thstart
Actually I need just to change Remember me (for 30 days) to Remember mebr(for 30 days)

[web2py] Component reshows validation messages.

2012-01-23 Thread Jim Karsten
If a page has a component, the validation error messages may display a second time. In web2py_ajax.html the function web2py_ajax_init() gets called twice, first when the main page loads called by *jQuery(document).ready(function() {});* and second when the component loads, called by function *

[web2py] Re: How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread Anthony
auth.messages.label_remember_me = CAT('Remember me', BR(), '(for 30 days)') or auth.messages.label_remember_me = XML('Remember mebr(for 30 days)') should do it. If you need special CSS styling, you could put the label inside a span with a specific class. Anthony On Monday, January 23, 2012

[web2py] Re: How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread thstart
Thank you Anthony, will try it!

[web2py] Re: Component reshows validation messages.

2012-01-23 Thread Anthony
Do you have an old version of web2py.js? In the current version, it is: jQuery('.error', target).hide().slideDown('slow'); Note that the jQuery selector now includes target, which limits it to just the component div when the component is loaded. I think that should prevent the double display

[web2py] Re: How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread thstart
It worked. Now I want to change *formstyle* and default labels: 1) E-mail to Email 2) The message in red below Email: Invalid email to Please enter a valid email address. 3) The message in red below password: too short to Please enter a valid password. too short is actually misleading because I

[web2py] Re: How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread Anthony
There should be settings for all that stuff here: http://web2py.com/books/default/chapter/29/9#Settings-and-messages -- mostly in auth.messages. Anthony On Monday, January 23, 2012 7:39:45 PM UTC-5, thstart wrote: It worked. Now I want to change *formstyle* and default labels: 1) E-mail to

[web2py] Re: How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread thstart
This is working: auth.settings.formstyle ='divs' This is not working (it remains E-mail): auth.messages.label_email = 'Email' Remember me (for 30 days works) - but there is a space above it up to password - how to remove it?

[web2py] Re: How to modify the look and text of: Remember me (for 30 days)?

2012-01-23 Thread thstart
Also on Sign Up form I got a message 'too short' below the Password field - in the book link there is not correspondent function to change it. Additionally, tried to change auth.messages.invalid_email = 'Please enter a valid email address' But it still shows 'Invalid email'

[web2py] Re: Component reshows validation messages.

2012-01-23 Thread Jim Karsten
Yeah, my version is a bit dated. I'll have a look at the newer stuff. Thanks Anthony.

Re: [web2py] Re: web2py.com is down

2012-01-23 Thread Vasile Ermicioi
Oh you work for WebFaction? That explains why you like them ;) lol I am not working for webfaction, I just cited from the link I gave you Yeah I second Linode, I have tried webfaction for ethicaldeal.com however I wasn't very happy considering they hike their prices fast always saying you

[web2py] Problem with plugin_PowerFormWizard and Internetexplorer

2012-01-23 Thread Oli
I use the plugin_PowerFormWizard for a registration and all works fine with firefox and chrome. But if I use the Internetexplorer 6,7,8,9 nothing happens, no error but also no registration. Is there anybody who could help me? OF. Code def index(): # Ausgewaehlte Veranstaltung

Re: [web2py] Problem with plugin_PowerFormWizard and Internetexplorer

2012-01-23 Thread Bruno Rocha
Seems to be JavaScript problem, can you see any JS message in Firebug or Chrome console? I dont know if I.E has something like Firebug to track JS errors. I just tested the examples in http://labs.blouweb.com/powerformwizard in I.E 8 and worked very well, By the way the plugin uses two Jquery

[web2py] Some database related changes to web2py core

2012-01-23 Thread Ben Goosman
I'm not sure if these are actual bug fixes or simply misinformed hacks (please let me know), but I think they might be useful to the community. My notes are for version 1.99.2 so the line numbers may be a little off. Most of the changes are the result of trying to get Oracle and multiple key

[web2py] to the new user who posted a suggestions...

2012-01-23 Thread Massimo Di Pierro
I just approved a message from a new user but something went wrong and your pending messages (three of them) disappeared. Not sure why. Please post again. massimo

[web2py] Re: to the new user who posted a suggestions...

2012-01-23 Thread Ben Goosman
Thanks Massimo, I didn't realize there was an approval stage. (hence the 3 submissions :)) On Jan 24, 1:33 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I just approved a message from a new user but something went wrong and your pending messages (three of them) disappeared. Not sure