[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-03-29 Thread Karoly Kantor
As the issue is still unresolved, i have unchecked the "no action needed" flag on this topic. Any help would be appreciated. Thank you. On Thursday, March 30, 2017 at 6:33:07 AM UTC+2, Karoly Kantor wrote: > > This issue still seems to be unsolved. I have a fresh installation on GAE, > reset pas

[web2py] Re: Social network plug-in

2017-03-29 Thread Nico de Groot
It's pythonic, an expression list see https://docs.python.org/2/reference/expressions.html for the basics. I didn't check but the web2py source code juste handles it like there is an & present. Nico de Groot -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://g

[web2py] trouble with request.var.checkbox list

2017-03-29 Thread Nico de Groot
Hi Frank, This list is very active. I had trouble getting in sync after a week of absence. In any case welcome! The variable is a string like '31' so if you Len() it you get 2. Just use int() to make it a number. Nico de Groot -- Resources: - http://web2py.com - http://web2py.com/book (Docu

[web2py] appconfig.ini versus models/0.py

2017-03-29 Thread Nico de Groot
The 0.db solution is the old approach. Nothing very wrong with it, but the new approach is more user configurable. And it is cacheable. Model files are processed at every request, 0.db slows it down a little. Nico de Groot -- Resources: - http://web2py.com - http://web2py.com/book (Documenta

Re: [web2py] Web2Py NoneType is not call able when accessing the webpage

2017-03-29 Thread Kiran Subbaraman
I see a typo there. Should be room = str(request.*vars*(1)) Kiran Subbaraman http://subbaraman.wordpress.com/about/ On Tue, 28-03-2017 3:53 PM, Michi Schmid wrote: I am currently working on my diploma thesis and we are using web2py. But I have an issue w

[web2py] Re: We do not delete posts

2017-03-29 Thread Karoly Kantor
Me too. :-) On Monday, March 20, 2017 at 2:42:16 PM UTC+1, ross mclean wrote: > > I've made 2 post put neither appear to have been published, assuming this > is due to me being a new member. If possible please could one of the > moderators review and approve. Ross > > On Monday, July 20, 2015 at

[web2py] smartgrid with linked_tables and constraints broke the links

2017-03-29 Thread Pot
Hi there, I am very new to web2py, i posted 1 question here a week ago, but never got reply (if anyone sees my post, please let me know if I missed anything), I am trying luck with another question now. I have a customer table, an invoice table and an item table. I simplified them below: db.de

[web2py] auth_user referencing customer table AND linked_tables link broke when constraints was used issues

2017-03-29 Thread Rudy
Hi there, this is my 3 attempts sending questions to this forum, i see people sending questions here, but I don't see mine after I posted and didn't get any reply. If someone can provide pointers, it's much appreciated. (I just checked everything in the "Membership and email setting", hope this

[web2py] 'numpy.ndarray' object has no attribute 'lower'

2017-03-29 Thread Nitish kumar
I am doing text classification using scikit and numpy but i am getting this error. 'numpy.ndarray' object has no attribute 'lower' -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issu

[web2py] Web2Py NoneType is not call able when accessing the webpage

2017-03-29 Thread Michi Schmid
I am currently working on my diploma thesis and we are using web2py. But I have an issue which i can not comprehend -- def index(): import datetime """ example action using the internationalization operator T and flash rendered by vie

{Disarmed} Re: [web2py] Re: web2pyslices

2017-03-29 Thread Carlos Cesar Caballero Díaz
Hi Richard, gitter looks like a great tool, but I can't see how he can replace google groups (maybe because I don't know the tool). They seem two completely different things. Greetings. El 23/03/17 a las 10:00, Richard Vézina escribió: If this is possible without headache it would be wonderfu

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-03-29 Thread Karoly Kantor
This issue still seems to be unsolved. I have a fresh installation on GAE, reset password emails fail due to "need string or buffer, lazyT found" Is there something I can do? Thanks. On Friday, July 29, 2016 at 7:49:14 AM UTC+2, webm...@trytha.com wrote: > > I just uploaded an updated version o

[web2py] Re: Social network plug-in

2017-03-29 Thread subtilis
I know that the topic is very old but I am bumping my head for hours now. Why is the '&' missing? I am trying to implement something similar to one of my projects but cannot seem to find the logic behind this syntax (...I could use it like this but I need to understand how it works!) Can someb

[web2py] trouble with request.var.checkbox list

2017-03-29 Thread Frank Claessen
Hi all, This is my first question for the list; up to now i have been lurking and learning mainly. Not sure if this list is still active. I think it is fair to say I am not an experienced python programmer so - this might just be my lack of knowledge. Forgive me please if my question shows just

[web2py] appconfig.ini versus models/0.py

2017-03-29 Thread Jared Priddle
Hi guys, I created a new application with the wizard and noticed a lot of settings in models/0.py that I hadn't seen before. What is the purpose of this file versus appconfig.ini? I'd rather have all the private settings in once place if possible and there seems like significant duplication b

[web2py] Re: Cassandra and web2py

2017-03-29 Thread Nicolas Petitclerc
Hi, I'm using external Python driver (e.g., https://github.com/datastax/python-driver) to use Cassandra in web2py, but the issue I have is that I need to get a new Cassandra connection on every query (and this is quite slow, 2-3 sec). *So I wonder if there is a way to preserve a connection?*

Re: [web2py] Access DB2/400 from IBM i (AS/400) PASE environment

2017-03-29 Thread Jim Steil
I need a DAL adapter for the ibm_db_dbi connector and have no idea where to even begin. It's on the back-burner for now but will pick it up again when I have some free time. -Jim On Wed, Mar 29, 2017 at 12:03 PM, António Ramos wrote: > PLEASE SHARE AS SOON AS YOU DO IT ! > :) > > 2017-03-29 17

Re: [web2py] Access DB2/400 from IBM i (AS/400) PASE environment

2017-03-29 Thread António Ramos
PLEASE SHARE AS SOON AS YOU DO IT ! :) 2017-03-29 17:14 GMT+01:00 Jim Steil : > Yes, I knew bottle was available. But, I don't like this from their > slides: > > "We ship a slightly-modified version of the open-source bottle.py" > > And of course, I want to run web2py! > > On Wed, Mar 29, 2017 a

Re: [web2py] Access DB2/400 from IBM i (AS/400) PASE environment

2017-03-29 Thread Jim Steil
Yes, I knew bottle was available. But, I don't like this from their slides: "We ship a slightly-modified version of the open-source bottle.py" And of course, I want to run web2py! On Wed, Mar 29, 2017 at 10:33 AM, António Ramos wrote: > just sharing my search of python and iseries ( looks lik

Re: [web2py] cache.redis in module

2017-03-29 Thread Richard Vézina
Did you try passing cache.redis to current like db : # Model from gluon.contrib.redis_utils import RConn from gluon.contrib.redis_cache import RedisCache rconn = RConn(host='localhost', port=6379, db=None, password='', socket_timeout=None, socket_connect_timeout=None) cache.redis =

Re: [web2py] Access DB2/400 from IBM i (AS/400) PASE environment

2017-03-29 Thread António Ramos
just sharing my search of python and iseries ( looks like bottle framework is supported by ibm...) https://www.gateway400.org/documents/Gateway400/Handouts/GetStartedWithPythonOnIBMi2016.pdf https://www.youtube.com/watch?v=-fbrQwBKQ_I&t=929s 2017-03-20 22:42 GMT+00:00 Jim Steil : > I've got 2.

[web2py] Re: validator IS_URL() throws error for google group URLs

2017-03-29 Thread Leonel Câmara
You should submit a patch to fix the IS_URL validator as this is actually a valid URL. The problem seems to be the | character which is actually only valid in the fragment part of an URL. If you do submit a patch make sure to also add this case as a test in test_validators.py If you don't wan

Re: [web2py] cache.redis in module

2017-03-29 Thread Richard Vézina
Had the same issue, not had time to work on it. Will post here any progress... Maybe Simone can help us, I recall he wrote the redis contrib. Richard On Mon, Mar 27, 2017 at 4:09 PM, Pierre wrote: > Hi everyone, > > I have a *cache.redis* defined in a db.py file like so: > > from gluon.contrib

[web2py] validator IS_URL() throws error for google group URLs

2017-03-29 Thread Gaurav Vichare
I am using IS_URL() validator to validate URLs, but it doesn't accepts following url and similar google group urls Example: https://groups.google.com/forum/#!searchin/web2py/url$20validation$20problem|sort:relevance/web2py/69KmsrYAF44/Sgk_hA_6TlcJ Should I create custom URL validato with simple