I am creating a module for a graduate class that I teach at the Johns Hopkins University that covers gem5 and gem5 GUI. The gem5 code seems to work as expected. When I installed the GUI code, the installation seemed to complete without errors. I can see that I have python 3.7.18 and pyside 5.13.2 with shiboken2 (version 5.13.2). However when I try to run the gui against the gem5.opt that I built (successfully and ran a script against). I get the following:
~/gem5/build/X86/gem5.opt gui.py
gem5 Simulator System. https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 version 22.1.0.0
gem5 compiled Apr 18 2023 20:48:40
gem5 started Apr 19 2023 12:55:02
gem5 executing on besernd1-vm5, pid 823044
command line: /home/besernd1/gem5/build/X86/gem5.opt gui.py
TypeError: 'Shiboken.ObjectType' object is not iterable
I researched the error, and it suggested that the version of python or the version of pyside2 was out of sync. (The web reference was not for a gem5 error). I could use some advice to get around this error.
Thank-you,
Nick Beser
Hi Nick,
Unfortunately, we haven't been able to keep the gem5 gui up to date with
either gem5 or python. I'm afraid that the code has undergone a lot of
bitrot over the past couple of years.
If it's any help, I can point you to what I use in my grad classes:
https://jlpteaching.github.io/comparch/modules/gem5/index/
Cheers,
Jason
On Wed, Apr 19, 2023 at 11:52 AM Beser, Nicholas D. via gem5-dev <
gem5-dev@gem5.org> wrote:
I am creating a module for a graduate class that I teach at the Johns
Hopkins University that covers gem5 and gem5 GUI. The gem5 code seems to
work as expected. When I installed the GUI code, the installation seemed to
complete without errors. I can see that I have python 3.7.18 and pyside
5.13.2 with shiboken2 (version 5.13.2). However when I try to run the gui
against the gem5.opt that I built (successfully and ran a script against).
I get the following:
~/gem5/build/X86/gem5.opt gui.py
gem5 Simulator System. https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 version 22.1.0.0
gem5 compiled Apr 18 2023 20:48:40
gem5 started Apr 19 2023 12:55:02
gem5 executing on besernd1-vm5, pid 823044
command line: /home/besernd1/gem5/build/X86/gem5.opt gui.py
TypeError: 'Shiboken.ObjectType' object is not iterable
I researched the error, and it suggested that the version of python or the
version of pyside2 was out of sync. (The web reference was not for a gem5
error). I could use some advice to get around this error.
Thank-you,
Nick Beser
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-leave@gem5.org