Red Hat Bugzilla – Bug 1033000
Augeas bindings don't convert python unicode for C api
Last modified: 2014-12-18 01:07:29 EST
python-augeas passes python unicode strings directly to the C api. Python unicode seems to use wide characters, causing the C api to misinterpret the \0 in the first character as the end of the string. Therefore, all unicode paths are interpreted as '/':
>>> from augeas import Augeas
>>> h = Augeas()
The fix for this is already upstream in commit 0199f75bbdfe8ace02c5d38f4cfa27791eb97e44. However, there doesn't appear to be an upstream commit which contains it. This error is pretty severe, so perhaps upstream could be convinced to do a new release containing it.
(In reply to Matthew Booth from comment #0)
> However, there doesn't appear to
> be an upstream commit which contains it.
python-augeas-0.5.0-1.fc20 has been submitted as an update for Fedora 20.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-augeas-0.5.0-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-augeas-0.5.0-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.