[web2py] Re: Problem with python3 / pdf output (encoding): UnicodeDecodeError utf-8 invalid continuation byte

2020-03-02 Thread 'Silvan Marco Fin' via web2py-users
I believe this to be a bug, so I submitted a bug report: https://github.com/web2py/web2py/issues/2289 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- Y

[web2py] Re: Problem with python3 / pdf output (encoding): UnicodeDecodeError utf-8 invalid continuation byte

2020-02-28 Thread 'Silvan Marco Fin' via web2py-users
Hi Clemens, thanks for your answer, but I think that your code does not help to solve the problem. I just ran some more tests and if the 'content' variable only contains ASCII characters (tried 'Data without german umlauts.'), the problem happens all the same. IMHO it is not a problem with non

[web2py] Problem with python3 / pdf output (encoding): UnicodeDecodeError utf-8 invalid continuation byte

2020-02-28 Thread 'Silvan Marco Fin' via web2py-users
Hi! I have a problem with pdf output running in python3 environment. The problem I'm trying to solve is more complex, but I managed to strip it down to a very small example. If I get this running, I'm sure to manage in my actual situation. I created a new application with a controller like this

[web2py] locally stored auth information / user_groups

2017-12-01 Thread 'Silvan Marco Fin' via web2py-users
Hi! I've successfully set up ldap auth (against an Active Directory), allowing users to log in with their username/password credential. But I've two issues related to ldap auth remaining: 1. Why do I get no user_groups, if user log's in with scope, eg. 'testuser' vs. 'testu...@example.co

[web2py] Re: _next-Parameter to become an array during login

2017-10-27 Thread 'Silvan Marco Fin' via web2py-users
I think I misunderstood your answer the first time I read it. Am Freitag, 27. Oktober 2017 15:39:33 UTC+2 schrieb Anthony: > > The Auth login method adds _next as a hidden input in the login form, so > _next ends up in both request.get_vars and request.post_vars. Because > request.vars combines

[web2py] Re: _next-Parameter to become an array during login

2017-10-27 Thread 'Silvan Marco Fin' via web2py-users
Reading your answer I realize, that I'm not doing it "the right way" :) I don't know when I added the next-parameter to the return value, but that was clearly a mistake. I'll remove it and try again! Many thanks for your answer, Silvan -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: _next-Parameter to become an array during login

2017-10-27 Thread 'Silvan Marco Fin' via web2py-users
Sry, forgot to mention: Ubuntu Linux Ubuntu 14.04.5 LTS with web2py 2.15.2-stable -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this mess

[web2py] _next-Parameter to become an array during login

2017-10-27 Thread 'Silvan Marco Fin' via web2py-users
Hi! I found the _next-parameter to become an array during login and I wonder if this is a feature and if I'm using it "the right way(tm)". Situation is as follows: def user(): import logging logging.warn('default/user _next={}'.format(request.vars._next)) return dict(form=auth(), ne