[web2py] Re: Object type None error

2020-10-13 Thread T.R.Rajkumar
this is the result of the sp for amcid = 1910 unitidamcnothsktsktssktuskawgdavda pfamtsacamtesiamt ts2AHO20DP0529921.366008865.319458317.76000 31453.642458198133.440.001201554.585840151.72 532868.361460037.93

[web2py] Object type None error

2020-10-13 Thread T.R.Rajkumar
I get this error for a particular amcid = 1910, for others it is working ok. What might be the problem. The sp usr_getconlabqty_amc_new is indeed returning row from db when checked in the backend. please elucidate. Error ticket for "web_ocms" Ticket ID 127.0.0.1.2020-10-14.10-26-27.939fd264

[web2py] Limiting database entries

2020-10-13 Thread mostwanted
Is there a way to limit the number of entries to a database? Like limiting the number of entries to only 100 and nothing more. Regards; Mostwanted -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

[web2py] Re: Can't import gluon.contrib.simplejson after migrating to Python 3

2020-10-13 Thread villas
I'm not sure what you should replace it with. I think the only reason why simplejson is no longer distributed with web2py was that the json module became part of the standard library of python. Therefore, it did not seem necessary to include it. However, if you wish to install simplejson for

[web2py] Share sessions

2020-10-13 Thread 'Annet' via web2py-users
In the model files of my applications I have these lines of code because I want to share the session, so menus etc. reflect the correct state and users need not login twice # share the session cookie among all subdomains under the main domain response.cookies[response.session_id_name]['domain'] =

[web2py] Re: Can't import gluon.contrib.simplejson after migrating to Python 3

2020-10-13 Thread Pie
I have the same problem as the OP. However the function I need to replace is: gluon.contrib.simplejson.encoder.encode_basestring What should I replace this with? On Wednesday, October 9, 2019 at 7:42:30 AM UTC-7 villas wrote: > I think we stopped using simplejson some time ago. > > Now, when y

[web2py] Re: web2py hosting

2020-10-13 Thread 'Annet' via web2py-users
Hi Jose, You're right no regrets at all. Just like you I very much appreciate their willingness to help you solve the problems you run into when deploying your applications. Annet Op dinsdag 13 oktober 2020 om 08:51:21 UTC+2 schreef Jose C: > Hi Annet, > > Just FYI, I'm going on 18 months