Traceback (most recent call last):


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner

self.run()


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker

xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'

Traceback (most recent call last):


 "/opt/privacyidea/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/opt/privacyidea/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/opt/privacyidea/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/opt/privacyidea/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/opt/privacyidea/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/opt/privacyidea/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/api/lib/prepolicy.py", line 154, in policy_wrapper

return wrapped_function(*args, **kwds)


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/api/lib/prepolicy.py", line 154, in policy_wrapper

return wrapped_function(*args, **kwds)


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/api/lib/prepolicy.py", line 154, in policy_wrapper

return wrapped_function(*args, **kwds)

[Previous line repeated 1 more time]


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/api/lib/postpolicy.py", line 108, in policy_wrapper

response = wrapped_function(*args, **kwds)


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/api/lib/postpolicy.py", line 108, in policy_wrapper

response = wrapped_function(*args, **kwds)


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/api/lib/postpolicy.py", line 108, in policy_wrapper

response = wrapped_function(*args, **kwds)

[Previous line repeated 3 more times]


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/lib/event.py", line 99, in event_wrapper

f_result = func(*args, **kwds)


 "/opt/privacyidea/lib/python3.7/site-packages/privacyidea/api/auth.py", line 370, in get_auth_token

secret, algorithm='HS256').decode('utf8')
AttributeError: 'str' object has no attribute 'decode'
