Client crash when database name contains path separator
Hello,
I've installed Tryton server and Tryton client on a Gnome-boxes VM. Tryton is 3.8.3 and the OS is Fedora 23.
As a testing, I've created a sqlite DB. When connecting with Tryton client, the server acknowledges my connection:
"INFO trytond.protocols.dispatcher successful login 'admin' from ::1:40052 using JSON-RPC on database '/home/tryton/tryton'
"
But the client reports an erreur:
"Traceback (most recent call last):
File "/usr/bin/tryton", line 66, in <module>
client.TrytonClient().run()
File "/usr/lib/python2.7/site-packages/tryton/client.py", line 101, in run
main.sig_login()
File "/usr/lib/python2.7/site-packages/tryton/gui/main.py", line 890, in sig_login
log_response = rpc.login(*res)
File "/usr/lib/python2.7/site-packages/tryton/rpc.py", line 103, in login
IPCServer(host, port, database).run()
File "/usr/lib/python2.7/site-packages/tryton/ipc.py", line 37, in run
self.setup()
File "/usr/lib/python2.7/site-packages/tryton/ipc.py", line 106, in setup
os.symlink(self.filename, self.config)
OSError: [Errno 2] Aucun fichier ou dossier de ce type"
And no other option than closing the client.
Thanks,
Eric.