ValueError using lxml when evaluating tags in worker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Observed with maas 1.4+bzr1676+
Traceback (most recent call last):
File "/usr/lib/
R = retval = fun(*args, **kwargs)
File "/usr/lib/
tags.
File "/usr/lib/
batch_
File "/usr/lib/
partial(
File "/usr/lib/
for ident, subject in subjects:
File "/usr/lib/
yield system_id, merge_details(
File "/usr/lib/
return _details_
File "/usr/lib/
detail = etree.fromstrin
File "lxml.etree.pyx", line 2993, in lxml.etree.
File "parser.pxi", line 1607, in lxml.etree.
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedcontrib/maas-http.conf (+1/-1)
description: | updated |
Changed in maas: | |
assignee: | nobody → Gavin Panella (allenap) |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | none → 13.10 |
Changed in maas (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in maas: | |
status: | Fix Committed → Fix Released |
The cause of this is bug 1237615.