After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783178 - mkdb: TypeError: can't multiply sequence by non-int of type 'float'
mkdb: TypeError: can't multiply sequence by non-int of type 'float'
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-28 19:12 UTC by Ernestas Kulik
Modified: 2017-05-28 20:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ernestas Kulik 2017-05-28 19:12:36 UTC
Getting this for gst-plugins-base:

Error in gtkdoc helper script:
'gtkdoc-mkdb' failed with status 1
Traceback (most recent call last):
  • File "/home/ernestas/jhbuild/install/bin/gtkdoc-mkdb", line 62 in <module>
    mkdb.Run(options)
  • File "/home/ernestas/jhbuild/install/share/gtk-doc/python/gtkdoc/mkdb.py", line 341 in Run
    ReadObjectHierarchy(OBJECT_TREE_FILE)
  • File "/home/ernestas/jhbuild/install/share/gtk-doc/python/gtkdoc/mkdb.py", line 4482 in ReadObjectHierarchy
    tree.append(' ' * (level * 4) + xref)
TypeError: can't multiply sequence by non-int of type 'float'

Comment 1 Ernestas Kulik 2017-05-28 19:17:47 UTC
(this is with Python 3.6.1)
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2017-05-28 20:28:22 UTC
Thanks. Fixed by:

commit 357ff8926c0a0cf82bdefbe37b76c02081190c46 (origin/master, origin/HEAD)
Author: Stefan Sauer <ensonic@users.sf.net>
Date:   Sun May 28 22:26:04 2017 +0200

    mkdb: use integer division
    
    Fixes compat with python 3.
    See #783178