Bug 1677838

Summary: [abrt] itstool: setProp(): libxml2.py:3588:setProp:libxml2.treeError: xmlSetProp() failed
Product: [Fedora] Fedora Reporter: Wolfgang Ulbrich <raveit65.sun>
Component: itstoolAssignee: Matthias Clasen <mclasen>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: gnome-sig, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7e1aa4a14fd3fdec7aae333c66c17656b2ff0e65
Whiteboard: abrt_hash:680d44178d9260fbf04ed9cb9b46e432a48cb293;VARIANT_ID=matecompiz;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-24 17:49:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Wolfgang Ulbrich 2019-02-16 08:21:54 UTC
Description of problem:
compiling mate-utils.

  GEN      pt/pt.mo
  GEN    pt/
Traceback (most recent call last):
  File "/usr/bin/itstool", line 1611, in <module>
    doc.merge_translations(translations, opts.lang, strict=opts.strict)
  File "/usr/bin/itstool", line 999, in merge_translations
    lcnode.setProp(attr, origlang)
  File "/usr/lib64/python3.7/site-packages/libxml2.py", line 3588, in setProp
    if ret is None:raise treeError('xmlSetProp() failed')
libxml2.treeError: xmlSetProp() failed
make[3]: *** [Makefile:602: pt/pt.stamp] Fehler 1
make[3]: Verzeichnis „/media/Data-2/Programme/Linux/Mate-Desktop/git-version/github-matedesktop/mate-utils-dist/gsearchtool/help“ wird verlassen
make[2]: *** [Makefile:443: all-recursive] Fehler 1

This is a well known issue which can be happend randomly if compiling languages for .po files.
With all languages. The .po files are fine and doesn't have any xml language releated errors.
Curiously compiling didn't stop with next run of 'make' at this point.
Related bug reports of this issue.
https://github.com/itstool/itstool/issues/36
https://github.com/mate-desktop/mate-utils/issues/210
https://github.com/mate-desktop/mate-utils/issues/211
In other report someone did blame this upstream commit
https://github.com/itstool/itstool/commit/d3adf0264ee2b6fd28b7eff7dec33501d6e75a7c

Version-Release number of selected component:
itstool-2.0.5-3.fc30

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/bin/itstool -m ../pt/pt.mo ..//C/index.docbook ..//C/legal.xml
crash_function: setProp
exception_type: libxml2.treeError
executable:     /usr/bin/itstool
interpreter:    python3-3.7.2-5.fc30.x86_64
kernel:         5.0.0-0.rc4.git2.2.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
libxml2.py:3588:setProp:libxml2.treeError: xmlSetProp() failed

Traceback (most recent call last):
  File "/usr/bin/itstool", line 1611, in <module>
    doc.merge_translations(translations, opts.lang, strict=opts.strict)
  File "/usr/bin/itstool", line 999, in merge_translations
    lcnode.setProp(attr, origlang)
  File "/usr/lib64/python3.7/site-packages/libxml2.py", line 3588, in setProp
    if ret is None:raise treeError('xmlSetProp() failed')
libxml2.treeError: xmlSetProp() failed

Local variables in innermost frame:
self: <xmlNode (text) object at 0x7f5e112b19e8>
name: 'lang'
value: 'en'
ret: None

Comment 1 Wolfgang Ulbrich 2019-02-16 08:21:56 UTC
Created attachment 1535377 [details]
File: backtrace

Comment 2 Wolfgang Ulbrich 2019-02-16 08:21:57 UTC
Created attachment 1535378 [details]
File: cgroup

Comment 3 Wolfgang Ulbrich 2019-02-16 08:21:58 UTC
Created attachment 1535379 [details]
File: cpuinfo

Comment 4 Wolfgang Ulbrich 2019-02-16 08:21:59 UTC
Created attachment 1535380 [details]
File: environ

Comment 5 Wolfgang Ulbrich 2019-02-16 08:22:00 UTC
Created attachment 1535381 [details]
File: mountinfo

Comment 6 Wolfgang Ulbrich 2019-02-16 08:22:03 UTC
Created attachment 1535382 [details]
File: namespaces

Comment 7 Wolfgang Ulbrich 2019-02-16 08:22:03 UTC
Created attachment 1535383 [details]
File: open_fds

Comment 8 Ben Cotton 2019-08-13 17:13:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 9 Ben Cotton 2019-08-13 19:34:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 10 Ben Cotton 2020-11-03 15:10:17 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Ben Cotton 2020-11-24 17:49:52 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.