[web2py] latin characters

2019-09-03 Thread fiubarc
Hello, I have an issue when update a record with latin characters (ñ, á, é, í...) db_codec='latin1' is already set For example, when read from db the record FERNANDO ÁLVAREZ is ok, but when update same data and then read it again, I get FERNANDO ÃLVAREZ Python 3.7 Database MSSQL 2000 Web2py

[web2py] Re: Strange behaviour of calendar size in grid?

2019-05-07 Thread fiubarc
Hello, im have the same problem. Version 2.18.5.. did you resolve it?? Thanks!! El viernes, 5 de octubre de 2018, 12:00:05 (UTC-3), sandeep patel escribió: > > > Hello, > > I am using bootstrap3_stacked formstyle in grid. Everything works fine > except one thing (calendar size) please refer imag

[web2py] Scheduler

2019-01-03 Thread fiubarc
Hello! I have configured the scheduler to start at server restart but it does not take the tasks that already exists in scheduler_task table. Then I have to delete them and reassign them every time I restart the server. These tasks should run once a day, every day Is there a better way to s

[web2py] Re: Help with CAS logout

2018-09-02 Thread fiubarc
think this is a feature, not a bug, as each app has the its own session. > But I see why you would want a different behavior. > Problem is, as implemented, provider has no info about consumer apps. > > On Wednesday, 1 August 2018 13:00:05 UTC-7, fiubarc wrote: >> >> Hello,

[web2py] Re: Can't understand this error in gluon/rewrite.py

2018-09-02 Thread fiubarc
Hello, I think it's more a matter of python language, contenido.id is long type then self.args[0] in 'any string' raise an exception because, as the message says : 'in ' requires string as left operand, not long You can do args=['%s' % contenido.id, or args=[str(contenido.id), Don

[web2py] Re: URL function in admin app adds "/_2.17.1/" to path variable

2018-08-29 Thread fiubarc
Hello, look at db.py ... probably you have uncommented these lines: # response.static_version = myconf.get('app.version') # response.static_version_urls = True http://www.web2py.com/books/default/chapter/29/04/the-core#Static-asset-management El miércoles, 29 de agosto de 2018, 11:08:32 (UTC-3

[web2py] CAS and registration_id field

2018-08-29 Thread fiubarc
Hello, please, I need help with the following: I have the login with CAS configured and when logging in, the user's registry is modified adding registration_id as /cas/[user_email]... It works fine but, when the user does not have an email, then the registration_id field ends as /cas/Non

[web2py] Re: Virtual Method/Field with None value

2018-08-10 Thread fiubarc
Hello!! I did more tests and you're right. It works well when returning null values Thanks El viernes, 3 de agosto de 2018, 20:08:53 (UTC-3), Anthony escribió: > > On Friday, August 3, 2018 at 4:23:05 PM UTC-4, fiubarc wrote: >> >> Hi, im getting AttributeError i

[web2py] Virtual Method/Field with None value

2018-08-03 Thread fiubarc
Hi, im getting AttributeError if the value returned by a virtual method is none.. There is some way to get the none value or i always have to check ['virtualfield'] is in db.table Im running web2py 2.14.6-stable Regards, Romina -- Resources: - http://web2py.com - http://web2py.com/book (Doc

[web2py] Help with CAS logout

2018-08-01 Thread fiubarc
Hello, I am wanting to implement CAS, but during the tests, when I close session in the "provider" application it does not close the session in the rest of the "consumers" applications. I have several applications distributed on several servers and the CAS application on a separate server. T

[web2py] Re: CAS provider Logout Issue

2018-07-25 Thread fiubarc
Hello! I have the same problem with cas logout...any thoughts? Thanks! El jueves, 31 de marzo de 2016, 17:03:49 (UTC-3), Franz Pietz escribió: > > Hello, > > I am using CAS to manage login in my application, with the following > structure: > MainApp -> Main Application > App1 and App2 -> Secon

Re: [web2py] Re: auth tables rname

2018-07-16 Thread fiubarc
uly 16, 2018 at 8:49:48 AM UTC-4, fiubarc wrote: >> >> HI! I can not use db.auth._rname before auth.define_tables and >> auth.define_tables does not work because it does not find the tables >> since they are created in a different scheme than default. >> > > Wha

[web2py] auth tables rname

2018-07-13 Thread fiubarc
Hello, somebody knows how to set rname on auth tables?? It is possible without redefine each table?? I need it because I use Postgres and users in a separete schema. Thanks!! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source c

[web2py] Re: Syntax Error "unknown app...."

2018-07-12 Thread fiubarc
t; need to reload routes.py (or restart the web server), as routes.py is only > executed once upon startup. > > Anthony > > On Wednesday, July 11, 2018 at 9:47:30 AM UTC-4, fiubarc wrote: >> >> Hello, i need help with this behavior >> >> Steps to reproduce: >&g

[web2py] Syntax Error "unknown app...."

2018-07-11 Thread fiubarc
Hello, i need help with this behavior Steps to reproduce: 1) routes.py domains = { "app1.com" : "app1", "app2.com" : "app2"} 2) uninstall app1 3) the app2 can not be accessed, not even the admin interface. Web2py Log: [Tue Jul 10 11:16:58 2018] [error] mod_wsgi (pid=2115): Target WSGI sc