Project

Profile

Help

Issue #767

closed

When applying errata Pulp throws UnicodeEncodeError on Czech locale

Added by lzap@redhat.com about 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.4.3
Platform Release:
2.6.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

When applying errata to Rhel 6 client the following error is produced

Mar 12 10:06:42 capb01 goferd: [INFO][worker-0] gofer.rmi.dispatcher:612 - call: Content.install() sn=76320c0f-115a-436f-9e0e-02f5af879f62 info={'task_id': '065e9ec5-e5f3-48a6-ae96-5b654e173b48', 'consumer_id': 'e7dedd9e-edec-4b55-9ae1-9bf76c9ab044'}
Mar 12 10:06:43 capb01 goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:80 - handler failed
Mar 12 10:06:43 capb01 goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:80 - Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 76, in install report = handler.install(conduit, units, dict(options)) File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 100, in install details = pkg.install(names) File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 135, in install caught.value = '%s: %s' % (pattern, str(caught)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Mar 12 10:06:43 capb01 goferd: [INFO][worker-0] gofer.agent.rmi:149 - sn=76320c0f-115a-436f-9e0e-02f5af879f62 processed in: 1.633 (seconds

pulp-server-2.4.4-1.el6sat.noarch from Satellite 6

https://bugzilla.redhat.com/show_bug.cgi?id=1202193

The server has Czech LOCALE set.

QA: When testing this, please do additional testing of other workflows on a system configured with Czech language please. Here is an example of some input that can cause issues: "Příliš žluťoučký kůň úpěl ďábelské ódy". Thanks.

ps - I dont see 2.4.4 in Version field, setting 2.4.3

Also available in: Atom PDF