Attachment upload with umlaut in filename fails on Windows
I tried to create an attachment with umlauts in the filename and got the following error message:
> Traceback (most recent call last):
> File "tryton\gui\window\form.pyc", line 637, in attach_drag_data_received
> File "tryton\gui\window\attachment.pyc", line 49, in add_uri
> File "urllib.pyc", line 87, in urlopen
> File "urllib.pyc", line 213, in open
> File "urllib.pyc", line 469, in open_file
> File "urllib.pyc", line 483, in open_local_file
> IOError: [Errno 2] Das System kann die angegebene Datei nicht finden: 'P:\\
> with-umlaut-\xc3\xa4.txt'
The attachment upload works as expected as soon as the umlaut is replaced with 'ae'. No related log entry on the server. Happens on drag-and-drop and on manual selection. The attachment upload works on a Linux client.
Tryton version: 3.8.4 on Windows 7 SP1