FS#50607 - [python-qscintilla-qt5] eric 6.1.8-1 fails to launch, TypeError unexpected type 'Shell'
Attached to Project:
Community Packages
Opened by Brenton Horne (fusion809) - Wednesday, 31 August 2016, 06:25 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 16 February 2017, 18:19 GMT
Opened by Brenton Horne (fusion809) - Wednesday, 31 August 2016, 06:25 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 16 February 2017, 18:19 GMT
|
Details
Description:
eric-6.1.8-1 fails to launch on 64-bit Arch Linux. It crashes due to a TypeError, here is the exact output of running eric6 from a terminal: $ eric6 Invalid Context= "Notifications" line for icon theme: "/usr/share/icons/Sardi/scalable/notifications/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/16x16/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/22x22/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/24x24/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/16/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/16@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/22/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/22@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/24/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/24@2x/panel/" Invalid Context= "Notifications" line for icon theme: "/usr/share/icons/Numix/48/notifications/" Invalid Context= "Notifications" line for icon theme: "/usr/share/icons/Numix/48@2x/notifications/" Warning: translation file 'qt_en_GB'could not be loaded. Using default. Warning: translation file 'eric6_en_GB'could not be loaded. Using default. Warning: translation file 'qscintilla_en_GB'could not be loaded. Using default. BackgroundService listening on: 32889 An unhandled exception occurred. Please report the problem using the error reporting dialog or via email to <eric-bugs@eric-ide.python-projects.org>. A log has been written to "/home/fusion809/.eric6/eric6_error.log". Error information: -------------------------------------------------------------------------------- 2016-08-31, 16:20:24 -------------------------------------------------------------------------------- <class 'TypeError'>: QsciLexerPython(parent: QObject = None): argument 1 has unexpected type 'Shell' -------------------------------------------------------------------------------- File "/usr/lib/python3.5/site-packages/eric6/eric6.py", line 359, in <module> main() File "/usr/lib/python3.5/site-packages/eric6/eric6.py", line 340, in main restartArgs) File "/usr/lib/python3.5/site-packages/eric6/UI/UserInterface.py", line 232, in __init__ self.__createLayout(debugServer) File "/usr/lib/python3.5/site-packages/eric6/UI/UserInterface.py", line 634, in __createLayout self.__createSidebarsLayout(debugServer) File "/usr/lib/python3.5/site-packages/eric6/UI/UserInterface.py", line 867, in __createSidebarsLayout ShellAssembly(debugServer, self.viewmanager, True) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Shell.py", line 48, in __init__ self.__shell = Shell(dbs, vm, self) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Shell.py", line 233, in __init__ self.__bindLexer() File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Shell.py", line 315, in __bindLexer self.lexer_ = Lexers.getLexer(self.language, self) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Lexers/__init__.py", line 209, in getLexer return LexerPython(language, parent) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Lexers/LexerPython.py", line 31, in __init__ QsciLexerPython.__init__(self, parent) -------------------------------------------------------------------------------- Version Numbers: Python 3.5.2 Qt 5.7.0 PyQt 5.7 sip 4.18 QScintilla 2.9.2 WebKit 538.1 eric6 6.1.8 (rev. a8a747768561) Platform: linux 3.5.2 (default, Jun 28 2016, 08:46:01) [GCC 6.1.1 20160602] -------------------------------------------------------------------------------- Distribution Info: /etc/arch-release Arch Linux release /etc/lsb-release LSB_VERSION=1.4 DISTRIB_ID=Arch DISTRIB_RELEASE=rolling DISTRIB_DESCRIPTION="Arch Linux" /etc/os-release NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" ANSI_COLOR="0;36" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" Additional info: * pkgver: 6.1.8, pkgrel: 1 * /home/fusion809/.eric6/eric6_error.log is: -------------------------------------------------------------------------------- 2016-08-31, 16:20:24 -------------------------------------------------------------------------------- <class 'TypeError'>: QsciLexerPython(parent: QObject = None): argument 1 has unexpected type 'Shell' -------------------------------------------------------------------------------- File "/usr/lib/python3.5/site-packages/eric6/eric6.py", line 359, in <module> main() File "/usr/lib/python3.5/site-packages/eric6/eric6.py", line 340, in main restartArgs) File "/usr/lib/python3.5/site-packages/eric6/UI/UserInterface.py", line 232, in __init__ self.__createLayout(debugServer) File "/usr/lib/python3.5/site-packages/eric6/UI/UserInterface.py", line 634, in __createLayout self.__createSidebarsLayout(debugServer) File "/usr/lib/python3.5/site-packages/eric6/UI/UserInterface.py", line 867, in __createSidebarsLayout ShellAssembly(debugServer, self.viewmanager, True) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Shell.py", line 48, in __init__ self.__shell = Shell(dbs, vm, self) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Shell.py", line 233, in __init__ self.__bindLexer() File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Shell.py", line 315, in __bindLexer self.lexer_ = Lexers.getLexer(self.language, self) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Lexers/__init__.py", line 209, in getLexer return LexerPython(language, parent) File "/usr/lib/python3.5/site-packages/eric6/QScintilla/Lexers/LexerPython.py", line 31, in __init__ QsciLexerPython.__init__(self, parent) -------------------------------------------------------------------------------- Version Numbers: Python 3.5.2 Qt 5.7.0 PyQt 5.7 sip 4.18 QScintilla 2.9.2 WebKit 538.1 eric6 6.1.8 (rev. a8a747768561) Platform: linux 3.5.2 (default, Jun 28 2016, 08:46:01) [GCC 6.1.1 20160602] -------------------------------------------------------------------------------- Distribution Info: /etc/arch-release Arch Linux release /etc/lsb-release LSB_VERSION=1.4 DISTRIB_ID=Arch DISTRIB_RELEASE=rolling DISTRIB_DESCRIPTION="Arch Linux" /etc/os-release NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" ANSI_COLOR="0;36" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" Steps to reproduce: 1. Run eric6 in a terminal. |
This task depends upon
Closed by Antonio Rojas (arojas)
Thursday, 16 February 2017, 18:19 GMT
Reason for closing: Fixed
Additional comments about closing: qscintilla has been updated since
Thursday, 16 February 2017, 18:19 GMT
Reason for closing: Fixed
Additional comments about closing: qscintilla has been updated since
Comment by
Brenton Horne (fusion809) -
Wednesday, 31 August 2016, 06:27 GMT
Comment by
Evgeniy Alexeev (arcan1s) - Monday,
05 September 2016, 14:58 GMT
This error is apparently related to QScintilla bindings not being
updated after a PyQt update, according to this upstream bug
report
http://die-offenbachs.homelinux.org:48888/issues/issue202.
yeah, may confirm this bug and the fact that updating qscintilla
solves the issue