[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Module not importing PyQt5 modules
From: Rich Shepard <rshepard () appl-ecosys ! com>
Date: 2021-06-03 13:16:43
Message-ID: alpine.LNX.2.20.2106030614260.10408 () salmo ! appl-ecosys ! com
[Download RAW message or body]
On Thu, 3 Jun 2021, David Boddie wrote:
> pdb may be the problem:
> https://bugs.python.org/issue39052
> That issue contains a workaround you could try.
David,
Thank you very much for finding this. It applies to linux as well as
windows:
$ python datasource.py
> /home/rshepard/development/business_tracker/datasource.py(7)<module>()
-> from PyQt5 import QtWidgets as qtw
(Pdb) s
--Call--
> /usr/lib64/python3.7/site-packages/PyQt5/__init__.py(1)<module>()
-> # Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com>
(Pdb) s
> /usr/lib64/python3.7/site-packages/PyQt5/__init__.py(1)<module>()
-> # Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com>
(Pdb) s
--Return--
> /usr/lib64/python3.7/site-packages/PyQt5/__init__.py(1)<module>()->None
-> # Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com>
(Pdb) n
--Call--
> /usr/lib64/python3.7/enum.py(283)__call__()
-> def __call__(cls, value, names=None, *, module=None, qualname=None, type=None, start=1):
(Pdb) n
> /usr/lib64/python3.7/enum.py(308)__call__()
-> if names is None: # simple value lookup
(Pdb)
I'll add that patch to all modules and see how the application runs as I can
now continue to develop it.
Regards,
Rich
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic