Bug 47968 - uua fails when downloading attachments with umlauts ÜÄÖüäö
uua fails when downloading attachments with umlauts ÜÄÖüäö
Status: NEW
Product: USI
Classification: Unclassified
Component: univention-support-info
unspecified
Other Linux
: P5 normal
: ---
Assigned To: USI maintainer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-12 13:11 CEST by Christian Völker
Modified: 2018-10-12 13:12 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018092421000723
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Völker univentionstaff 2018-10-12 13:11:54 CEST
Updating a ticket to download a new attachment with uua fails:
===========================================================
2018-10-12 13:02:01,863 DEBUG - global pwd file not found - trying user scope [/home/cvoelker]...
2018-10-12 13:02:01,863 DEBUG - PASSWORD file loaded
2018-10-12 13:02:01,863 DEBUG - Connection established.
2018-10-12 13:02:01,863 DEBUG - Credentials registered.
2018-10-12 13:02:01,982 DEBUG - User Session started.
	> SessionID: 'None'
Retrieving Ticket 981891 ... done
2018-10-12 13:03:37,308 DEBUG - Attachments: '5'
2018-10-12 13:03:37,308 DEBUG - Filename: 'syslog'
	cID: None
	CTy: application/octet-stream
	CAl: None
	Idx: 0
	Size: 5.2 MBytes
2018-10-12 13:03:37,308 DEBUG - 'syslog' already saved.
FAIL!
EXCEPTION: 'ascii' codec can't encode character u'\xfc' in position 1: ordinal not in range(128)

Ticket 2018092421000723
===========================================================

Possible reason for this behaviour: the attachment has an umlaut ("ü") in it's name.

uua should be able to deal with....