[web2py] Re: {{=LOAD()}} and JavaScript function

2012-07-01 Thread Annet
Hi Anthony, I read the jQuery API doc and tried your solution, for some reason it doesn't work. I hope that when I provide you with more code, you'll be able to help me to get this to work. This is the site/index.html view: {{extend 'site/generic.html'}} $(document).ready(function(){ $('

Re: [web2py] Re: advice and help on csv input

2012-07-01 Thread Johann Spies
On 30 June 2012 07:44, song wrote: > > >> country_iso,subcountry_code,**name,subcountry_level >> >> You need an id-column in the csv. The easiest way to get that is to export an empty csv file of the table from your appadmin. That wil ensure the correct column headings. Then paste the data into

Re: [web2py] Re: Error with Janrain integration

2012-07-01 Thread hasan alnator
Dear Massimo, when anyone is logged in using Janrain and use any "a href" that is when a normal link like this "http://www.site.com/test"; the user loges out automatically but if i use a link using the URL() it works fine , why is that ?? Regards, On Mon, Jul 2, 2012 at 1:21 AM, Massimo Di Pie

[web2py] Re: web2py book now free in PDF

2012-07-01 Thread chinakr
Excellent work, thanks a lot, Massimo! 在 2012年6月12日星期二UTC+8下午9时17分46秒,Massimo Di Pierro写道: > > The official web2py book is now free for everybody: > > https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf > > Massimo >

[web2py] Re: {{=LOAD()}} and JavaScript function

2012-07-01 Thread Anthony
Sorry, misunderstood the requirement -- edited my original response. On Sunday, July 1, 2012 9:11:53 AM UTC-4, Anthony wrote: > > You can use a jQuery ajaxSuccess() > handler to determine when the classes > component has loaded. Something like > this inside y

Re: [web2py] Re: Getting auth.settings.register_next to work...

2012-07-01 Thread Anthony
> > > I don't think it's a bug, per se, but the behavior (and documentation) > could > > be improved. > > ??? The documentation is quite direct and clear that you can set > auth.settings.register_next to control where the user goes next. It > doesn't work. It's not even clear that it can work

Re: [web2py] Re: Launch of Web2py 2

2012-07-01 Thread Kevin Miller
Thank you pbreit. Since web2py is the easiest web framework to move your app around, I will definately try this version shortly. On Sun, Jul 1, 2012 at 10:35 PM, pbreit wrote: > The most current changeset from Google Code is probably the most stable > version of Web2py: > http://code.google.com/

Re: [web2py] new feature in trunk, redirects via routes

2012-07-01 Thread Alec Taylor
Wow, that looks rather useful =D On Mon, Jul 2, 2012 at 1:46 PM, Massimo Di Pierro wrote: > Please help me test this > > in routes.py you can do > > routes_in = [ >('/google', '303->http://google.com'), >('/yahoo', '303->http://yahoo.com'), >('/search/$anything', '303->http://google.c

[web2py] new feature in trunk, redirects via routes

2012-07-01 Thread Massimo Di Pierro
Please help me test this in routes.py you can do routes_in = [ ('/google', '303->http://google.com'), ('/yahoo', '303->http://yahoo.com'), ('/search/$anything', '303->http://google.com?q=$anything'), ('/hello/$anything','303->/welcome/$anything' ]

Re: [web2py] How much Python is needed to learn to learn web2py?

2012-07-01 Thread Bruce Wade
Just to start developing sites with web2py you must know basic python which is covered in the manual. To build very complicated efficient sites that is a different story and you will have to become very good with python and for some situations c/c++. On Sun, Jul 1, 2012 at 8:23 AM, Aniket Kadam wr

Re: [web2py] Learning web2py need advise

2012-07-01 Thread Bruce Wade
My suggestion is read the online manual front-back. Creating a large site is going to be very challenging as I am running into some problems. Some tips I have learned. 1) Separate your models into modules, then instead of importing modules for every action use web2pys model folder structure syste

Re: [web2py] Re: uWSGI + Cherokee + web2py - a howto.

2012-07-01 Thread pbreit
It's pointing to: /etc/alternatives/uwsgi-plugin-python Is there anything there? Are the permissions OK? I run my Ubuntu server under www-data:www-data.

[web2py] GAE supports SSL for custom domains now

2012-07-01 Thread chinakr
GAE supports SSL for custom domains now. We can choose Server Name Indication (SNI) with 5 certificates for $9/month, or Virtual IP (VIP) with multi domain certificate for $99/month. Is there anything that web2py can do with it? Reference: (Google App Engine 1.7.0 Released at Google I/O](http

[web2py] Re: Launch of Web2py 2

2012-07-01 Thread pbreit
The most current changeset from Google Code is probably the most stable version of Web2py: http://code.google.com/p/web2py/source/checkout I'm not sure how mission critical your app is but you can generally feel comfortably using the most recent version of the source code.

[web2py] Re: image thumb

2012-07-01 Thread pbreit
Have a look at the slices: http://www.web2pyslices.com/slice/search?q=thumbnail

Re: [web2py] standalone we-app example

2012-07-01 Thread Gianni
See https://github.com/mdipierro/web2py-recipes-source/blob/master/source/11_Other_Tips_and_Tricks/13_Making_standalone_apps_with_web2py_and_wxPython/my_gui2py_app.py from "web2py Application Development Cookbook". It's a web2py+wxPython solution. Hope that could help you. Unfortunately I'm more Q

[web2py] Re: web2py book now free in PDF

2012-07-01 Thread Aniket Kadam
good On Tuesday, June 12, 2012 5:47:46 PM UTC+4:30, Massimo Di Pierro wrote: > > The official web2py book is now free for everybody: > > https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf > > Massimo >

[web2py] How much Python is needed to learn to learn web2py?

2012-07-01 Thread Aniket Kadam
hi i want to build a fully funtional website i know Ruby on Rails but i work on windows and u know its terrible to run rails on windows so i m looking at web2py currently learning python so how much one should master python to enter the whole new world of web2py Please help thank you

Re: [web2py] Re: develop iphone apps with web2py with this plugin

2012-07-01 Thread samrat kafle
I tried this but not worked well I am searching a complete guide for developing iphone apps and i have found one cool articles which i recommend ofr dummies here's a link "developing iphone apps" if you are really search

[web2py] How much python is needed to learn web2py

2012-07-01 Thread priyanka kadam
i want to focus on developing world class web app i started python but can i learn web2py side by side what you say people advise me thank you

Re: [web2py] web2pyslices seems to be down

2012-07-01 Thread ANIKET KADAM
its working in India On Sun, Jul 1, 2012 at 5:59 PM, Michele Comitini wrote: > Must be an open transaction somewhere (in the queue consumer script?) > that never closes. > Il giorno 01/lug/2012 14:04, "Bruno Rocha" ha > scritto: > > Thats ok now! >> >> It was a problem with notification system,

[web2py] Learning web2py need advise

2012-07-01 Thread ACK
hello people i have worked with Ruby on Rails / PHP / Html and Css currently i m learning python for web2py so my question it is possible to learn python and web2py side by side if yes then please guide me well my vacation is going on, so i m willing to give full time to my learning and my other

[web2py] Re: using deck.js with web2py?

2012-07-01 Thread Massimo Di Pierro
Sorry the second link was supposed to be: https://dl.dropbox.com/u/18065445/MarkminSlides/test.html On Sunday, 1 July 2012 22:14:51 UTC-5, Massimo Di Pierro wrote: > > In the end I preferred reveal.js to deck.js > > This integrates reveal.js with markmin. > https://github.com/mdipierro/markmin-rev

[web2py] Re: using deck.js with web2py?

2012-07-01 Thread Massimo Di Pierro
In the end I preferred reveal.js to deck.js This integrates reveal.js with markmin. https://github.com/mdipierro/markmin-reveal-slides python libs/make.py test.mm makes the test.html example which you can try here: https://github.com/mdipierro/markmin-reveal-slides Hope this is useful. It woul

[web2py] using deck.js with web2py?

2012-07-01 Thread Doug Philips
>From my 'search engine' results, it looks as if the last this was discussed was back in Sept of last year. Including a very intriguing comment from Massimo on Sept 9, 2011: > This is really nice. I can see this integrated with markmin in a > simple web app that we can all use... I need such a thin

Re: [web2py] Re: Getting auth.settings.register_next to work...

2012-07-01 Thread Doug Philips
On Sat, Jun 30, 2012 at 11:11 AM, Anthony wrote: > I don't think it's a bug, per se, but the behavior (and documentation) could > be improved. ??? The documentation is quite direct and clear that you can set auth.settings.register_next to control where the user goes next. It doesn't work. It's no

[web2py] Encoding and cp1252

2012-07-01 Thread Matt
Hi there, I'm using web2py on GAE and have recently run into some problems with cp1252 characters being submitted via cut and posted text in forms. At present whenever this happens I get exceptions complaining that the string isn't valid unicode. Looking through the web2py codebase I can see t

[web2py] Encoding and cp1252

2012-07-01 Thread Matt
Hi there, I'm using web2py on GAE and have recently run into some problems with cp1252 characters being submitted via cut and posted text in forms. At present whenever this happens I get exceptions complaining that the string isn't valid unicode. Looking through the web2py codebase I can see t

[web2py] String encoding and cp1252 issues

2012-07-01 Thread Matt
Hi there, I'm using web2py on GAE and have recently run into some problems with cp1252 characters being submitted via cut and posted text in forms. At present whenever this happens I get exceptions complaining that the string isn't valid unicode. Looking through the web2py codebase I can see t

[web2py] String encoding and cp1252 issues

2012-07-01 Thread Matt
Hi there, I'm using web2py on GAE and have recently run into some problems with cp1252 characters being submitted via cut and posted text in forms. At present whenever this happens I get exceptions complaining that the string isn't valid unicode. Looking through the web2py codebase I can see t

[web2py] Re: Error with Janrain integration

2012-07-01 Thread Massimo Di Pierro
Sorry, I do not understand the problem. On Sunday, 1 July 2012 04:01:25 UTC-5, Hassan Alnatour wrote: > > Dear ALL, > > I am using Janrain with the normal login in my site it works well > but lately i have notice that if i am login in using it and using use > normal links on the site like : *www

[web2py] Re: Invalid Query when trying to export a CVS file

2012-07-01 Thread Niphlod
without any code noone can say if this is an error in our query or perhaps a web2py limitation please show us your query and/or your model of what you're trying to do when the error is raised On Sunday, July 1, 2012 6:12:12 PM UTC+2, Yannick wrote: > > Hello mate, > > I'm trying to exp

Re: [web2py] How does keepvalues work?

2012-07-01 Thread Marin Pranjić
Form values are stored in session Marin On Sun, Jul 1, 2012 at 12:47 PM, Keith Edmunds wrote: > What is the mechanism that 'keepvalues=True' uses? > > I have a form that uses keepvalues=True, and it includes combo box. > Occasionally the values in the combo change, and the previous value is >

Re: [web2py] Connection with DB not Working... Help!

2012-07-01 Thread Marco Tulio Cicero de M. Porto
Just to be sure, is your postgres configured properly? Postgres need a few adjustments on some config files in order to grant access to the database (specially if it's an external access - other than localhost). Just check that first, ok ? Good Luck! 2012/7/1 Yannick > Hello Mate, > > I can'

[web2py] Invalid Query when trying to export a CVS file

2012-07-01 Thread Yannick
Hello mate, I'm trying to export a CVS file and I have an error message in the screen saying: invalid query : current transaction is aborted, commands ignored until end of transaction block Any idea why ? Thanks

Re: [web2py] Re: Multi_tenant

2012-07-01 Thread Cliff Kachinske
Ovidio, The snippet in my post is Web2py. I referred to PHP only to show that the technique is well established and workable. On Saturday, June 30, 2012 11:51:07 AM UTC-4, Ovidio Marinho wrote: > > sorrry, im not user PHP programin, is web2py/Python. > > Thanks. > > > >Ovidio Marinh

Re: [web2py] web2pyslices seems to be down

2012-07-01 Thread Bruno Rocha
Thats the Movuca notification worker script: https://github.com/rochacbruno/Movuca/blob/master/private/notification_worker.py I used the /book example, and I know it needs to be improved. Maybe It can use w2p scheduler for that... *Bruno Cezar Rocha* http://www.CursoDePython.com.br [image: Fac

Re: [web2py] Connection with DB not Working... Help!

2012-07-01 Thread Michele Comitini
Seems that no service is listening on port 5432. Check that postgres is running and check the port number where it is listening. mic Il giorno 01/lug/2012 11:33, "Yannick" ha scritto: > Hello Mate, > > I can't seems to connect to my DB postgres from my application in a linux > box... Here is t

Re: [web2py] web2pyslices seems to be down

2012-07-01 Thread Michele Comitini
Must be an open transaction somewhere (in the queue consumer script?) that never closes. Il giorno 01/lug/2012 14:04, "Bruno Rocha" ha scritto: > Thats ok now! > > It was a problem with notification system, I am using a background task > queue and for some reason it has blocked postgres. > > Tha

[web2py] Re: debugging procedure

2012-07-01 Thread Vineet
This link might help. https://groups.google.com/forum/?fromgroups#!searchin/web2py/eclipse$20debug$20vineet/web2py/zIOn-NZzuTo/U5hYaI8jJUQJ On Saturday, 30 June 2012 02:43:06 UTC+5:30, Janath wrote: > > Hi, > > So far I have connected the algorithms that I developed in python IDLE to > web2py.

[web2py] Re: {{=LOAD()}} and JavaScript function

2012-07-01 Thread Anthony
If the tabs are the only Ajax requests on the page (at least during initial page load), you can use a jQuery ajaxSuccess()handler to count the number of Ajax calls and equalize the heights after the third Ajax call. Something like this (not tested): var num_

Re: [web2py] web2pyslices seems to be down

2012-07-01 Thread vinicius...@gmail.com
It's up and running here, in Brazil. On 07/01/2012 08:36 AM, Jose C wrote: Just starting on a project and been trying to access web2pyslices.com occasionally. It's been returning 504 errors since Friday (since I started on this project). Does anyone know if this site is still active or who is

Re: [web2py] web2pyslices seems to be down

2012-07-01 Thread Jose C
> Thank you for reporting! No problem, thanks for the quick response. I'll let you know sooner if it happens again.

Re: [web2py] web2pyslices seems to be down

2012-07-01 Thread Bruno Rocha
Thats ok now! It was a problem with notification system, I am using a background task queue and for some reason it has blocked postgres. Thank you for reporting! *Bruno Cezar Rocha* http://www.CursoDePython.com.br [image: Facebook] [image: Twitter]

[web2py] web2pyslices seems to be down

2012-07-01 Thread Jose C
Just starting on a project and been trying to access web2pyslices.com occasionally. It's been returning 504 errors since Friday (since I started on this project). Does anyone know if this site is still active or who is responsible for it?

[web2py] How does keepvalues work?

2012-07-01 Thread Keith Edmunds
What is the mechanism that 'keepvalues=True' uses? I have a form that uses keepvalues=True, and it includes combo box. Occasionally the values in the combo change, and the previous value is missing. I want to check for that and reset the default value for the combo box if it isn't valid. Thanks,

[web2py] {{=LOAD()}} and JavaScript function

2012-07-01 Thread Annet
I am using this JavaScript to equalize column heights: $(document).ready(function(){ $('a[href=#{{=tab}}]').tab('show'); $(function() { $('#equalize1').equalHeights(); }); $(function() { $('#equalize2').equalHeights(); }); }); ... ... The problem is tha

[web2py] Connection with DB not Working... Help!

2012-07-01 Thread Yannick
Hello Mate, I can't seems to connect to my DB postgres from my application in a linux box... Here is the error message I have: File "/home/www-data/web2py/gluon/dal.py", line 3665, in __init__ raise RuntimeError, "Failure to connect, tried 5 times:\n%s" % error RuntimeError: Failure to conn

[web2py] Re: Error with Janrain integration

2012-07-01 Thread Hassan Alnatour
i Tried using this link , it works fine now , but why is this happening ??? regards, On Sunday, July 1, 2012 12:01:25 PM UTC+3, Hassan Alnatour wrote: > > Dear ALL, > > I am using Janrain with the normal login in my site it works well > but lately i have notice that if i am login in using it

[web2py] Error with Janrain integration

2012-07-01 Thread Hassan Alnatour
Dear ALL, I am using Janrain with the normal login in my site it works well but lately i have notice that if i am login in using it and using use normal links on the site like : *www.i3zif.com/PlayVideo/18* , it logs out but if i am using the normal login it works well , what do you think the