eric ide

Issue250

Classification
Title: MacOs doesn't run eric6-17.11 after updating from 17.10
Type: crash Product: eric6
Process
Priority: critical    
Status: closed Resolution: fixed
Superseder: Nosy List: Qb, detlev, glt
Assigned to: detlev Keywords:

Created on 2017-11-06.12:54:41 by Qb, last changed by glt.

Messages (4.0)
msg1598 (view) Author: glt Date: 2022-02-27.20:38:52
Oops. Dumb mistake changing title to "Mojave" when I thought I was searching for "Mojave".

I changed the title back to what it was
msg935 (view) Author: Qb Date: 2017-11-07.10:32:52
I see. My fault. Sorry. I assumed that all required Qt5 libraries were
installed. In fact, neither QtWebKitWidgets nor QWebEngineWidgets for Qt 5.9
were installed in my system. I should had checked that before posting.

Just for notice: I have discovered that MacPorts builds PyQt 5.9 without
supporting WebEngine and WebKit unless those variants were called on installing.

After reinstalling py36-pyqt5 package (with +webengine and +webkit variants), I
have been able to run eric6 17.11.

Thanks.
msg934 (view) Author: detlev Date: 2017-11-06.19:05:21
You seemed to be missing QtWebEngineWidgets and/or QtWebKitWidgets. The next 
version of eric will make the HTML based code documentation viewer optional.
msg933 (view) Author: Qb Date: 2017-11-06.12:54:41
After updating from 17.10 to 17.11, eric6 cannot be run and the following error
message has been issued (I finally downgraded to 17.10):

--------------------------------------------------------------------------------
2017-11-06, 13:37:07
--------------------------------------------------------------------------------
<class 'ModuleNotFoundError'>: 
No module named 'PyQt5.QtWebKitWidgets'
--------------------------------------------------------------------------------
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/eric6.py",
line 379, in <module>
    main()
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/eric6.py",
line 360, in main
    disablecrash, restartArgs)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/UserInterface.py",
line 254, in __init__
    self.__createLayout(debugServer)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/UserInterface.py",
line 694, in __createLayout
    self.__createSidebarsLayout(debugServer)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/UserInterface.py",
line 907, in __createSidebarsLayout
    self.codeDocumentationViewer = CodeDocumentationViewer(self)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/CodeDocumentationViewer.py",
line 200, in __init__
    self.__setupUi()
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/CodeDocumentationViewer.py",
line 289, in __setupUi
    self.__richTextViewer = WebViewDocumentationViewer(self)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/eric6/UI/CodeDocumentationViewer.py",
line 126, in __init__
    from PyQt5.QtWebKitWidgets import QWebPage, QWebView

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.6.3
  Qt 5.9.2
  PyQt 5.9
  sip 4.19.4
  QScintilla 2.10.1
  eric6 17.11 (rev. 02c25eed0ff2)

Platform: darwin
3.6.3 (default, Oct  7 2017, 10:00:26) 
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]

---------------------------------------------------------------------------------------------------------------------------


Additionally,

- My machine runs MacOs Sierra 10.12.6
- Python, Qt, PyQt, sip, and QScintilla have been installed from macports
(version 2.4.2)



Once I have downgraded to 17.10, eric6 runs smoothly again.

I have updated and downgraded several times and I get always the same result.

Thanks a lot
History
Date User Action Args
2022-02-27 20:38:52gltsetmessage_count: 3.0 -> 4.0
messages: + msg1598
nosy: + glt
title: mojave -> MacOs doesn't run eric6-17.11 after updating from 17.10
2022-02-27 20:36:05gltsetnosy: + Qb, - Qb
title: MacOs doesn't run eric6-17.11 after updating from 17.10 -> mojave
2017-11-07 10:32:52Qbsetmessage_count: 2.0 -> 3.0
messages: + msg935
2017-11-06 19:05:21detlevsetmessage_count: 1.0 -> 2.0
messages: + msg934
resolution: fixed
status: open -> closed
2017-11-06 19:04:09detlevsetassignedto: detlev
nosy: + detlev
status: new -> open
2017-11-06 12:54:41Qbcreate