[mcstas-users] Fwd: Pyqt problem on fresh install

Jean-Francois Moulin jean-francois.moulin at hereon.de
Wed Mar 23 13:16:18 CET 2022



Hello,


I just tried a fresh install of mcstas on a linux mint box and could not 
start mcgui. The backtrace seems to point to a conflict with the 
installed pyqt5:


Original exception was:
Traceback (most recent call last):
   File "/usr/share/mcstas/2.7.1/bin/../tools/Python/mcgui/mcgui.py", 
line 945, in <module>
     main()
   File "/usr/share/mcstas/2.7.1/bin/../tools/Python/mcgui/mcgui.py", 
line 935, in main
     mcguiApp.ctr = McGuiAppController()
   File "/usr/share/mcstas/2.7.1/bin/../tools/Python/mcgui/mcgui.py", 
line 417, in __init__
     self.view = McView()
   File "/usr/share/mcstas/2.7.1/tools/Python/mcgui/viewclasses.py", 
line 23, in __init__
     self.ew = McCodeEditorWindow()
   File "/usr/share/mcstas/2.7.1/tools/Python/mcgui/viewclasses.py", 
line 281, in __init__
     self.__initScintilla()
   File "/usr/share/mcstas/2.7.1/tools/Python/mcgui/viewclasses.py", 
line 471, in __initScintilla
     from PyQt5 import Qsci
ValueError: PyCapsule_GetPointer called with incorrect name



I tried both 2.7 and 3 versions, both show the same behaviour.


For Info, pip3 list returns the following

PyQt5                                5.15.6
PyQt5-Qt5                         5.15.2
PyQt5-sip                          12.9.1


Any help appreciated!

Jean-François




Bitte beachten Sie: Die Helmholtz-Zentrum Geesthacht - Zentrum für Material- und Küstenforschung GmbH hat sich am 31.03.2021 in Helmholtz-Zentrum hereon GmbH umbenannt. Informationen dazu finden Sie unter www.hereon.de/name <https://www.hereon.de/name>

Please note: Since the 31st of March 2021 the Helmholtz-Zentrum Geesthacht – Center for Materials and Coastal Research has a new name: Helmholtz-Zentrum hereon GmbH. More information www.hereon.de/rebranding <https://www.hereon.de/rebranding>

------------------------------------------------------------------------------
Helmholtz-Zentrum hereon GmbH
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany

Geschäftsführung I Board of Management: Prof. Dr. Matthias Rehahn, Silke Simon
Vorsitzender des Aufsichtsrates I Chairman of the Supervisory Board: Ministerialdirigent Engelbert Beyer
Amtsgericht Lübeck HRB 285 GE (Register Court)
Internet: www.hereon.de <https://www.hereon.de>


More information about the mcstas-users mailing list