Re: [web2py] Re: Please help us test the 2.9.12 binaries

2015-03-02 Thread Niphlod
note for anyone: stable doesn't mean that nothing changes. It means that documented API's as explained in the book are stable. web2py doesn't send your application's code back to web2py.com for further analysis :-P If you don't test yourself (or add tests to the default test suite)...well, we

Re: [web2py] Re: Problems after upgrading to 2.9.12

2015-03-02 Thread Naveed Ahmed
Looks like it’s caused by this line of code in index.html in the welcome app: {{=(response.json(['foo', {'bar': ('baz', None, 1.0, 2)}])) }} From: Niphlod Sent: Monday, March 02, 2015 1:56 PM To: web2py@googlegroups.com Subject: Re: [web2py] Re: Problems after upgrading to 2.9.12 that's

Re: [web2py] Re: Please help us test the 2.9.12 binaries

2015-03-02 Thread Pablo Angulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Dave! El 02/03/15 a las 21:26, Dave S escribió: Well, from the original message in this thread: 2.9.12 includes mostly bug fixes but there is some major DAL refactoring so we are concerned about backward compatibility. We think it works

[web2py] Fwd: Get a Web2py cloud instance in less than 30 seconds

2015-03-02 Thread Massimo DiPierro
from Enrique @ terminal.com: We were playing a little bit with web2py and we think it's a really good product, so we decided create a new snapshot with web2py and add it to our app store. In short, that means that you can start our own fully-functional web2py cloud instance in less than

Re: [web2py] Re: Please help us test the 2.9.12 binaries

2015-03-02 Thread Dave S
On Monday, March 2, 2015 at 1:21:25 PM UTC-8, Pablo Angulo wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Dave! El 02/03/15 a las 21:26, Dave S escribió: Well, from the original message in this thread: 2.9.12 includes mostly bug fixes but there is some major DAL

[web2py] Re: Anyone interested in web2py consulting?

2015-03-02 Thread Dave S
On Sunday, March 1, 2015 at 11:22:32 AM UTC-8, Ron Chatterjee wrote: Hello, I am learning web2py framework and I am new in web design. So, I would like to work with someone on few projects and hopefully learn a lot. Anyone interested in consulting/tutoring? I am open for

[web2py] Re: logout error

2015-03-02 Thread Alex Glaros
Is this wrong also for decorating functions? Should only have the admin membership decorator? @auth.requires_login() @auth.requires_membership(admin) thanks Alex Glaros On Friday, February 14, 2014 at 8:03:28 PM UTC-8, Massimo Di Pierro wrote: You should NOT have both:

Re: [web2py] Re: cache.disk.clear() crashes in appadmin

2015-03-02 Thread Eric Christiaanse
Hi, It took me a LONG time to check the update, but I just did. I've updated to Web2Py 2.9.12 (this version contains the fix), and copied the appadmin.py to my project. When I call cacke.disk.clear() I still get an error :( To be exact this one: Traceback (most recent call last): File

[web2py] Re: belongs statement for grid

2015-03-02 Thread Niphlod
On Monday, March 2, 2015 at 5:57:30 AM UTC+1, Alex Glaros wrote: works perfect Niphlod, 1. is underscore var name preferable to camel case in w2py? nope. the way you named it though revealed a lot on the shortcircuits 2. is there any difference between .select and ._select? (in my

[web2py] Re: Please help us test the 2.9.12 binaries

2015-03-02 Thread Dave S
On Sunday, March 1, 2015 at 2:43:14 AM UTC-8, pa...@cancamusa.net wrote: In my app I also have several errors importing Table and Row from DAL in modules. They sure can be fixed, but there is no hint at the changelog, and web2py used to advertise as has never broken backwards

Re: [web2py] pycharm python console

2015-03-02 Thread Richard Vézina
Hello Tim, Try your setup, which seems to work great... But I would know if you have the same issue then me... In the debugger python console I get python prompt corrupted character.. Se attach screenshot... Do you have the same issue? Richard ​ On Thu, Feb 26, 2015 at 5:12 PM, Tim

[web2py] Re: future of markmin

2015-03-02 Thread Leonel Câmara
I use markdown because there are great javascript implementations (like marked https://github.com/chjj/marked) I can use with ractive to render parts of the template where I use it. To be honest I would still use markdown even with a javascript markmin implementation because people already use

[web2py] Re: Ajax call issues.

2015-03-02 Thread Niphlod
you can't expect something in ..//static/python/the_mailer.py to be magically executed just POSTing to that path... use a proper function in a proper controller... On Monday, March 2, 2015 at 7:24:30 AM UTC+1, John Costantino wrote: Hey so I have a mail script written in python which works

Re: [web2py] future of markmin

2015-03-02 Thread Michele Comitini
IMHO it would be nice to have markmin interpreter running anywhere, and better have a single source, not a port to different languages. But I understand it would be hard to do. 2015-03-02 7:24 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com: I believe the future of Markmin is

[web2py] Re: Using CAS for non web2py apps

2015-03-02 Thread Kenneth
Hi, after reading the web2py book and some testing it starts to look like this is not possible. The Drupal installation will be on a different server Kenneth Den torsdag 26 februari 2015 kl. 11:15:58 UTC+2 skrev Kenneth: Hello, I'm trying to get an Drupal with the Drupal CAS module to

[web2py] Re: Problems after upgrading to 2.9.12

2015-03-02 Thread Niphlod
it's a bug that got fixed. You used to rely on response.json() to return a string, while it had to return a javascript object. Now response.json() sets the content-type header to application/json as it is supposed to. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: cache.disk.clear() crashes in appadmin

2015-03-02 Thread Leonel Câmara
Hey Robin, If the code is just that you probably have stuff in your cache folder from the previous way of using it that shouldn't be there anymore. If you manually delete all files and folders in your cache folder you should stop seeing this error in the future. -- Resources: -

[web2py] Re: cache.disk.clear() crashes in appadmin

2015-03-02 Thread Robin Manoli
Thanks Leonel! Actually the code is just this: def cache_clear(): cache.disk.clear(None) Den onsdag 25 februari 2015 kl. 13:29:09 UTC+1 skrev Leonel Câmara: Hey Robin, This was my fix for this issue https://github.com/web2py/web2py/commit/9d4b2e66c4736c218033e8be70d135cdf0fc718f If

Re: [web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2015-03-02 Thread António Ramos
coming next April.. rapyd2py 2015-03-01 17:14 GMT+00:00 Massimo Di Pierro massimo.dipie...@gmail.com: What can I say. What was a good April's fool in 2014 may actually be a good idea on 2015. ;-) http://www.rapydscript.com/ Massimo On Sunday, 1 March 2015 05:27:58 UTC-6, lucas wrote:

Re: [web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2015-03-02 Thread Michele Comitini
+1 let's steal it ASAP! 2015-03-02 17:26 GMT+01:00 António Ramos ramstei...@gmail.com: coming next April.. rapyd2py 2015-03-01 17:14 GMT+00:00 Massimo Di Pierro massimo.dipie...@gmail.com: What can I say. What was a good April's fool in 2014 may actually be a good idea on 2015. ;-)

[web2py] Re: Weird Error Message From Web2py - OSError: [Errno 24] Too many open files ???????

2015-03-02 Thread Massimo Di Pierro
This usually happens when you open but you do not close connections. It can happen if you put open connections in cache-ram. Do you open many files? On Monday, 2 March 2015 00:24:57 UTC-6, Yusuf Kaka wrote: I've got the same error, was there any resolution? On Monday, February 22, 2010 at

Re: [web2py] Re: Weird Error Message From Web2py - OSError: [Errno 24] Too many open files ???????

2015-03-02 Thread Angelo Compagnucci
Hi Yannick, Probably it's a regression with hardcron, if you search the list you can find several thread about that problem. I had it several times in the past and simply I gave up using hard cron in web2py. I ususally use the plain and simple unix cron to schedule activities! Sincerely, Angelo

[web2py] Re: get user name and email on External cas login

2015-03-02 Thread Yusuf Kaka
Hi, I have the same scenario. Is your work-around the correct way to do this? I thought that the CAS consumer would grab all the fields automatically? Regards, Yusuf On Friday, September 20, 2013 at 12:53:01 PM UTC+2, ora marin wrote: Hi All, I have successfully configure my applications

[web2py] Re: Error code: Unhandled Exception in PythonAnywhere hosting

2015-03-02 Thread Moiz Nagpurwala
In addition to my above question, it would be great help if someone could guide me to do a clean install of web2py 2.9.11 on pythonanywhere. I have only one application, which I would like to retain. I'm in touch with pythonanywhere support. I'll update here when I get any answer from them.

[web2py] SQL.grid - cvs=true

2015-03-02 Thread Dmitry Ermolaev
make table view: t = t and SQLFORM.smartgrid(db[t], maxtextlengths = { 'fonds.name': 60, 'fonds.info': 200 }, upload=URL('download'), links_in_grid=False, csv=False, ) open url:

[web2py] Re: future of markmin

2015-03-02 Thread Massimo Di Pierro
This new version is not quite compatible with the web2py but it is easier to extend. Also it allows embedding arbitrary html and it gets sanitized so one does not have to choose between markmin syntax or html. I do not like markdown because run_me and call_me gets rendered as runmeme and

[web2py] Can anyone help how to Delete title of Confirm Popup in javascript?

2015-03-02 Thread Nipun Bhardwaj
asp:Button ID=btnID runat=server Text=ID Width=100px meta:resourcekey=btnIDResourceKey OnClientClick =return confirm http://www.codeproject.com/Questions/882105/Can-anyone-help-how-to-Delete-title-of-Confirm-Pop# ('message'); I want to delete default message from oppup Thanks -- Resources:

[web2py] LinkedIn API Please help for the love of god.

2015-03-02 Thread John Costantino
I have been trying to get this to work now for over 3 weeks. I have pulled data with the javascript API no problem but I wan't users to be able to log in using there linkedin accounts. I have tried the way suggested in the book as well as many of the various other implementations on the

[web2py] Re: Error code: Unhandled Exception in PythonAnywhere hosting

2015-03-02 Thread Moiz Nagpurwala
With the kind help of support team from PythonAnywhere, I was able to resolve the problem. below is the summary of my correspondence with the support team: Did a clean install of web2py. I first moved the old web2py folder to a backup. In a Bash console, like so: mv ~/web2py ~/web2py.bak

[web2py] Re: Integration with Jasig CAS

2015-03-02 Thread Yusuf Kaka
I've managed to get web2py to sign-on with JASIG CAS, however, none of the attributes are being populated on web2py. All user fields in the DB are set to None. Any ideas? On Monday, August 11, 2014 at 1:59:33 PM UTC+2, Tanu Mittal wrote: Is It possible to integrate web2py with Jasig CAS ?

Re: [web2py] Re: Problems after upgrading to 2.9.12

2015-03-02 Thread Naveed Ahmed
Makes sense for the json response, but why is the index which uses an html view returning as json? From: Niphlod Sent: Monday, March 02, 2015 2:41 AM To: web2py@googlegroups.com Subject: [web2py] Re: Problems after upgrading to 2.9.12 it's a bug that got fixed. You used to rely on

[web2py] Re: LinkedIn API Please help for the love of god.

2015-03-02 Thread Derek
It would help if you describe what you are doing, some code behind how you are doing it, and what errors you are having. That said, I've had much success with Auth0. https://auth0.com On Monday, March 2, 2015 at 10:56:36 AM UTC-7, John Costantino wrote: I have been trying to get this to

[web2py] Re: Can anyone help how to Delete title of Confirm Popup in javascript?

2015-03-02 Thread Niphlod
the code comes from an asp page, not a web2py one. are you sure you're asking in the right forum ? On Monday, March 2, 2015 at 6:56:35 PM UTC+1, Nipun Bhardwaj wrote: asp:Button ID=btnID runat=server Text=ID Width=100px meta:resourcekey=btnIDResourceKey OnClientClick =return confirm

[web2py] Re: SQL.grid - cvs=true

2015-03-02 Thread Niphlod
csv=False should disable exports alltogether: how can you reach that url ? On Monday, March 2, 2015 at 7:21:12 PM UTC+1, Dmitry Ermolaev wrote: make table view: t = t and SQLFORM.smartgrid(db[t], maxtextlengths = { 'fonds.name': 60, 'fonds.info': 200 },

Re: [web2py] Re: Problems after upgrading to 2.9.12

2015-03-02 Thread Niphlod
that's definitely not related to the upgrade. that being said, if you can show some code with an app that reproduces the issue, I'll be glad to pinpoint the cause -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -