Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725670 - dev-python/shiboken2 - TypeError: must be str, not getset_descriptor
Summary: dev-python/shiboken2 - TypeError: must be str, not getset_descriptor
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL: https://bugreports.qt.io/browse/PYSID...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-28 00:41 UTC by Scott Furry
Modified: 2020-10-14 15:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch file correcting problem in Qt Bugreports PYSIDE-1272 (shiboken2-5.14.2-errorhandler.patch,1.36 KB, patch)
2020-05-28 00:43 UTC, Scott Furry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Furry 2020-05-28 00:41:45 UTC
dev-python/shiboken2 - TypeError: must be str, not getset_descriptor


Reproducible: Always

Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/signature/loader.py", line 105, in make_helptext
    return errorhandler.make_helptext(func)
  File "/usr/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/signature/errorhandler.py", line 138, in make_helptext
    msg = sigtext + "\n\n" + existing_doc if existing_doc else sigtext
TypeError: can only concatenate str (not "getset_descriptor") to str
Fatal Python error: handle_doc did not receive a result

Current thread 0x00007f7a742e56c0 (most recent call first):
  File "/usr/lib/python3.7/site-packages/astroid/raw_building.py", line 236 in _base_class_object_build
  File "/usr/lib/python3.7/site-packages/astroid/raw_building.py", line 181 in object_build_class
  File "/usr/lib/python3.7/site-packages/astroid/raw_building.py", line 343 in object_build
  File "/usr/lib/python3.7/site-packages/astroid/raw_building.py", line 308 in inspect_build
  File "/usr/lib/python3.7/site-packages/astroid/builder.py", line 95 in module_build
  File "/usr/lib/python3.7/site-packages/astroid/manager.py", line 262 in ast_from_module
  File "/usr/lib/python3.7/site-packages/astroid/manager.py", line 168 in ast_from_module_name
  File "/usr/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 642 in import_module
  File "/usr/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 547 in getattr
  File "/usr/lib/python3.7/site-packages/pylint/checkers/variables.py", line 1868 in _check_module_attrs
  File "/usr/lib/python3.7/site-packages/pylint/checkers/variables.py", line 1197 in visit_importfrom
  File "/usr/lib/python3.7/site-packages/pylint/utils/ast_walker.py", line 72 in walk
  File "/usr/lib/python3.7/site-packages/pylint/utils/ast_walker.py", line 75 in walk
  File "/usr/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 1107 in _check_astroid_module
  File "/usr/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 1063 in check_astroid_module
  File "/usr/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 930 in _check_file
  File "/usr/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 904 in _check_files
  File "/usr/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 871 in check
  File "/usr/lib/python3.7/site-packages/pylint/lint/run.py", line 338 in __init__
  File "/usr/lib/python3.7/site-packages/pylint/__init__.py", line 22 in run_pylint
  File "/usr/lib/python3.7/site-packages/pylint/__main__.py", line 18 in <module>
  File "/usr/lib/python3.7/runpy.py", line 85 in _run_code
  File "/usr/lib/python3.7/runpy.py", line 193 in _run_module_as_main


Expected Results:  
No Error

Problem identified by Qt.
Patching to be applied to 5.15 branch and cherry-picked into 5.14.2.
Attached patch file is fix for problem for ebuilds.
Comment 1 Scott Furry 2020-05-28 00:43:05 UTC
Created attachment 642122 [details, diff]
patch file correcting problem in Qt Bugreports PYSIDE-1272
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2020-10-14 15:39:03 UTC
fixed in 5.15.1, thanks for the report