Bug 1677838 - [abrt] itstool: setProp(): libxml2.py:3588:setProp:libxml2.treeError: xmlSetProp() failed
Summary: [abrt] itstool: setProp(): libxml2.py:3588:setProp:libxml2.treeError: xmlSetP...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: itstool
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:680d44178d9260fbf04ed9cb9b4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-16 08:21 UTC by Wolfgang Ulbrich
Modified: 2020-11-24 17:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-24 17:49:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (610 bytes, text/plain)
2019-02-16 08:21 UTC, Wolfgang Ulbrich
no flags Details
File: cgroup (331 bytes, text/plain)
2019-02-16 08:21 UTC, Wolfgang Ulbrich
no flags Details
File: cpuinfo (1.75 KB, text/plain)
2019-02-16 08:21 UTC, Wolfgang Ulbrich
no flags Details
File: environ (3.34 KB, text/plain)
2019-02-16 08:21 UTC, Wolfgang Ulbrich
no flags Details
File: mountinfo (3.84 KB, text/plain)
2019-02-16 08:22 UTC, Wolfgang Ulbrich
no flags Details
File: namespaces (129 bytes, text/plain)
2019-02-16 08:22 UTC, Wolfgang Ulbrich
no flags Details
File: open_fds (244 bytes, text/plain)
2019-02-16 08:22 UTC, Wolfgang Ulbrich
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.