Bug 1884585 - [abrt] did: feed(): client.py:445:feed:xml.parsers.expat.ExpatError: mismatched tag: line 39, column 2
Summary: [abrt] did: feed(): client.py:445:feed:xml.parsers.expat.ExpatError: mismatch...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: did
Version: 33
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Šplíchal
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:62c2eb92bd795f4cd91678d61df...
: 1899927 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-02 11:44 UTC by Karel Volný
Modified: 2021-04-19 14:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-19 14:18:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.52 KB, text/plain)
2020-10-02 11:45 UTC, Karel Volný
no flags Details
File: cpuinfo (2.54 KB, text/plain)
2020-10-02 11:45 UTC, Karel Volný
no flags Details
File: environ (4.15 KB, text/plain)
2020-10-02 11:45 UTC, Karel Volný
no flags Details
File: mountinfo (2.44 KB, text/plain)
2020-10-02 11:45 UTC, Karel Volný
no flags Details
File: namespaces (172 bytes, text/plain)
2020-10-02 11:45 UTC, Karel Volný
no flags Details
File: open_fds (461 bytes, text/plain)
2020-10-02 11:45 UTC, Karel Volný
no flags Details

Description Karel Volný 2020-10-02 11:44:58 UTC
Description of problem:
It happens on every did invocation ...

Version-Release number of selected component:
did-0.17-2.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/apps-org.kde.konsole-51bddb2767e1460bbc0c2fba283a13de.scope
cmdline:        /usr/bin/python3 -s /usr/bin/did last week
crash_function: feed
exception_type: xml.parsers.expat.ExpatError
executable:     /usr/bin/did
interpreter:    python3-3.9.0~rc2-1.fc33.x86_64
kernel:         5.8.10-300.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
client.py:445:feed:xml.parsers.expat.ExpatError: mismatched tag: line 39, column 2

Traceback (most recent call last):
  File "/usr/bin/did", line 42, in <module>
    did.cli.main()
  File "/usr/lib/python3.9/site-packages/did/cli.py", line 222, in main
    user_stats.check()
  File "/usr/lib/python3.9/site-packages/did/stats.py", line 157, in check
    stat.check()
  File "/usr/lib/python3.9/site-packages/did/stats.py", line 157, in check
    stat.check()
  File "/usr/lib/python3.9/site-packages/did/stats.py", line 77, in check
    self.fetch()
  File "/usr/lib/python3.9/site-packages/did/plugins/wiki.py", line 33, in fetch
    for change in self.proxy.getRecentChanges(
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1116, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1456, in __request
    response = self.__transport.request(
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1160, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1176, in single_request
    return self.parse_response(resp)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1342, in parse_response
    p.feed(data)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 445, in feed
    self._parser.Parse(data, False)
xml.parsers.expat.ExpatError: mismatched tag: line 39, column 2

Local variables in innermost frame:
self: <xmlrpc.client.ExpatParser object at 0x7fc57936eb50>
data: b'n.css">\n\n<!-- css only for MS IE6/IE7 browsers -->\n<!--[if lt IE 8]>\n   <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wiki-static/modern-rh/css/msie.css">\n<![endif]-->\n\n\n\n\n\n<link rel="Start" href="/QeBookshelf">\n<link rel="Alternate" title="Wiki Markup" href="/QeBookshelf?action=raw">\n<link rel="Alternate" media="print" title="Print View" href="/QeBookshelf?action=print">\n<link rel="Search" href="/FindPage">\n<link rel="Index" href="/TitleIndex">\n<link rel="Glossary" href="/WordIndex">\n<link rel="Help" href="/HelpOnFormatting">\n</head>\n\n<body  lang="en" dir="ltr">\n\n        <div style="background-color:#FF0000;color:#FFFF00">WARNING: This wiki will be migrated to OpenShift soon&trade;. If you\'re a \'standard\' user, there are no further steps required from you. If you\'re an API (XMLRPC) user, please see <a href="http://post-office.corp.redhat.com/archives/urt-list/2020-April/msg00027.html" target="_blank">this email</a> for steps to update your scripts.</div>\n    \n<div id="header">\n<di'

Comment 1 Karel Volný 2020-10-02 11:45:02 UTC
Created attachment 1718416 [details]
File: backtrace

Comment 2 Karel Volný 2020-10-02 11:45:03 UTC
Created attachment 1718417 [details]
File: cpuinfo

Comment 3 Karel Volný 2020-10-02 11:45:05 UTC
Created attachment 1718418 [details]
File: environ

Comment 4 Karel Volný 2020-10-02 11:45:06 UTC
Created attachment 1718419 [details]
File: mountinfo

Comment 5 Karel Volný 2020-10-02 11:45:08 UTC
Created attachment 1718420 [details]
File: namespaces

Comment 6 Karel Volný 2020-10-02 11:45:09 UTC
Created attachment 1718421 [details]
File: open_fds

Comment 7 Karel Volný 2020-11-20 11:52:24 UTC
*** Bug 1899927 has been marked as a duplicate of this bug. ***

Comment 8 Petr Šplíchal 2021-04-19 11:53:39 UTC
This problem has been caused by change in Python:
https://bugs.python.org/issue43433

For more info see also the did issue reported by optak:
https://github.com/psss/did/issues/239

Until the Python fix is available custom end point can be used as a workaround:
https://github.com/psss/did/pull/242

Use the following config to enable the custom endpoint:
[wiki]
type = wiki
api = RPC2
wiki test = http://the.wiki.server/

Comment 9 Petr Šplíchal 2021-04-19 14:18:23 UTC
Fixed upstream, fresh did package with temporary workaround in updates testing:
https://bodhi.fedoraproject.org/updates/?packages=did


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