How to configure proteus on trytond 7.0

Hi, I want to use proteus correctly on 7.0 version.

This code works on 6.8 and earlier.

if __name__ == '__main__':
            user=USER, password=PASSWORD, host=HOST, port=PORT, db=DB))
    current_config = config.get_config()

But in version 7.0 I get this error:

 File "/opt/altos/proteus/", line 20, in <module>
  File "/opt/altos/lib/python3.9/site-packages/proteus/", line 390, in set_xmlrpc
    _CONFIG.current = XmlrpcConfig(url, **kwargs)
  File "/opt/altos/lib/python3.9/site-packages/proteus/", line 357, in __init__
    self._context = self.server.model.res.user.get_preferences(True, {})
  File "/usr/lib/python3.9/xmlrpc/", line 1116, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.9/xmlrpc/", line 1456, in __request
    response = self.__transport.request(
  File "/usr/lib/python3.9/xmlrpc/", line 1160, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.9/xmlrpc/", line 1176, in single_request
    return self.parse_response(resp)
  File "/usr/lib/python3.9/xmlrpc/", line 1348, in parse_response
    return u.close()
  File "/usr/lib/python3.9/xmlrpc/", line 662, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 255: 'permission denied for table ir_cache\n'>

How to fix it? Thanks

It looks like an access right error from the database.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.