Bug 411650

Summary: Python plugin errors.
Product: [Applications] Falkon Reporter: noname <edpil02>
Component: extensionsAssignee: David Rosca <nowrep>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jurajoravec
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description noname 2019-09-06 18:40:11 UTC
Compiled latest git,tried latest extensions and others from falkon store,
but got same error: 
TypeError: 'Shiboken.ObjectType' object is not iterable.


1)
from toolbartools.Spacer import Spacer
File "/home/edmond/.config/falkon/plugins/toolbartools/Spacer.py", line 20, in <module>
class Spacer(QtWidgets.QWidget):
TypeError: 'Shiboken.ObjectType' object is not iterable
Failed to import module "toolbartools"


2)
File "/usr/lib64/qt5/plugins/falkon/runaction/__init__.py", line 18, in <module>
from .runaction import *
File "/usr/lib64/qt5/plugins/falkon/runaction/runaction.py", line 20, in <module>
from runaction import actionmanager, button
File "/usr/lib64/qt5/plugins/falkon/runaction/actionmanager.py", line 20, in <module>
import subprocess
File "/usr/lib64/python3.8/subprocess.py", line 49, in <module>
import signal
File "/usr/lib64/python3.8/signal.py", line 8, in <module>
IntEnum._convert_(
File "/usr/lib64/python3.8/enum.py", line 461, in _convert_
cls = cls(name, members, module=module)
File "/usr/lib64/python3.8/enum.py", line 306, in __call__
return cls._create_(value, names, module=module, qualname=qualname, type=type, start=start)
File "/usr/lib64/python3.8/enum.py", line 416, in _create_
enum_class = metacls.__new__(metacls, class_name, bases, classdict)
File "/usr/lib64/python3.8/enum.py", line 164, in __new__
enum_class = super().__new__(metacls, cls, bases, classdict)
TypeError: 'Shiboken.ObjectType' object is not iterable
Failed to import module "runaction"
Comment 1 Juraj 2020-01-03 16:20:54 UTC
This error is due to Qt (5.13 and lower) not supporting Python 3.8.

The support for Python 3.8 is in Qt 5.14, and this error will not show up there.


But there is still another bug which blocks Python extensions:
https://bugs.kde.org/show_bug.cgi?id=409575