Bug 411650 - Python plugin errors.
Summary: Python plugin errors.
Status: RESOLVED UPSTREAM
Alias: None
Product: Falkon
Classification: Applications
Component: extensions (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 18:40 UTC by noname
Modified: 2020-01-03 16:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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