[osgeo4w] #564: run eric6 python ide along with qgis3/qt5 error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[osgeo4w] #564: run eric6 python ide along with qgis3/qt5 error

OSGeo4W
#564: run eric6 python ide along with qgis3/qt5 error
--------------------+-------------------------------------
Reporter:  muellea  |      Owner:  osgeo4w-dev@…
    Type:  defect   |     Status:  new
Priority:  major    |  Component:  Package
 Version:           |   Keywords:  python3 pyqt5 ide eric6
--------------------+-------------------------------------
 I tried to install the python ide eric6 version 18.02 with python and qt
 provided by OSGEO4W (eric6 itself is written in python by the way).
 Install works without any errors, but eric won't start - after the splash
 screen python crashes. Though I can see errors when i start it manually
 calling eric6.py:

 Warning: translation file 'qt_de_DE'could not be loaded.
 Using default.
 Warning: translation file 'qscintilla_de_DE'could not be loaded.
 Using default.
 BackgroundService listening on: 61573
 Could not find QtWebEngineProcess.exe
 Traceback (most recent call last):
   File "C:\tmp\q3\apps\Python36\Lib\site-
 packages\eric6\Utilities\BackgroundClient.py", line 141, in run
     header = self.__receive(struct.calcsize(b'!II'))
   File "C:\tmp\q3\apps\Python36\Lib\site-
 packages\eric6\Utilities\BackgroundClient.py", line 99, in __receive
     newData = self.connection.recv(length - len(data))
 ConnectionResetError: [WinError 10054] Eine vorhandene Verbindung wurde
 vom Remotehost geschlossen

 So it seems, that i am missing QtWebEngineProcess.exe? I searched my
 computer for any occurrence and found one under the dropbox install
 folder, so there are applictions using it. Is it part of "standard" PyQt5
 and missing in the osgeo4w-packages?

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/564>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #564: run eric6 python ide along with qgis3/qt5 error

OSGeo4W
#564: run eric6 python ide along with qgis3/qt5 error
------------------------------------+----------------------------
Reporter:  muellea                  |       Owner:  osgeo4w-dev@…
    Type:  defect                   |      Status:  closed
Priority:  major                    |   Component:  Package
 Version:                           |  Resolution:  worksforme
Keywords:  python3 pyqt5 ide eric6  |
------------------------------------+----------------------------
Changes (by jef):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 `qt5-devel` contains `QtWebEngineProcess.exe`

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/564#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #564: run eric6 python ide along with qgis3/qt5 error

OSGeo4W
In reply to this post by OSGeo4W
#564: run eric6 python ide along with qgis3/qt5 error
------------------------------------+----------------------------
Reporter:  muellea                  |       Owner:  osgeo4w-dev@…
    Type:  defect                   |      Status:  closed
Priority:  major                    |   Component:  Package
 Version:                           |  Resolution:  worksforme
Keywords:  python3 pyqt5 ide eric6  |
------------------------------------+----------------------------

Comment (by muellea):

 Thank you jef,
 now i have QtWebEngineProcess.exe, it's in my path, but python/Qt doesn't
 find it. So it's quite the same.

 I do use this little python script for further testing. It tries to show a
 QWebEngineView.

 {{{
 import sys

 from PyQt5.QtWidgets import QApplication
 from PyQt5.QtWidgets import QMainWindow
 from PyQt5.QtWebEngineWidgets import QWebEngineView
 from PyQt5.QtCore import QUrl
 def main():
     app = QApplication(sys.argv)
     window = QMainWindow()
     window.setWindowTitle('PyQt Demo')
     window.setGeometry(320, 180, 960, 540)
     view = QWebEngineView()
     view.load(QUrl('http://leafletjs.com/')) # error here
     window.setCentralWidget(view)
     window.show()
     sys.exit(app.exec_())
 if __name__ == '__main__':
     main()
 }}}

 QT_PLUGIN_PATH ist set. When I also set QTWEBENGINEPROCESS_PATH to the
 correct path, the error isn't showing -  but then i got new ones:

 {{{
 Qt WebEngine ICU data not found at
 C:/src/Qt/Qt5.9.2-2/5.9.2/msvc2015/resources. Trying parent directory...
 Qt WebEngine ICU data not found at C:/src/Qt/Qt5.9.2-2/5.9.2/msvc2015.
 Trying application directory...
 Qt WebEngine ICU data not found at G:/tmp/q3/apps/Python36. Trying
 fallback directory... The application MAY NOT work.
 Installed Qt WebEngine locales directory not found at location
 C:/src/Qt/Qt5.9.2-2/5.9.2/msvc2015/translations\qtwebengine_locales.
 Trying application directory...
 Qt WebEngine locales directory not found at location
 G:/tmp/q3/apps/Python36\qtwebengine_locales. Trying fallback directory...
 Translations MAY NOT not be correct.
 [0313/220213.363:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU
 data received.
 [0313/220213.370:FATAL:icu_util.cc(297)] Check failed: result.
 }}}

 It seems, qt has a wrong configuration, icudtl.dat is in
 G:\tmp\q3\apps\Qt5\resources, qtwebengine_locales is under
 G:\tmp\q3\apps\Qt5\translations. I used py3_env.bat and qt5_env.bat before
 execution.

 My path:
 {{{
 PATH=G:\tmp\q3\apps\qt5\bin;G:\tmp\q3\apps\Python36;G:\tmp\q3\apps\Python36\Scripts;G:\tmp\q3\apps\qt5\bin;G:\tmp\q3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem;G:\tmp\q3\apps\Python36\Scripts;G:\tmp\q3\apps\qgis\bin
 }}}

 Some entries are doubled, as you can see...

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/564#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #564: run eric6 python ide along with qgis3/qt5 error

OSGeo4W
In reply to this post by OSGeo4W
#564: run eric6 python ide along with qgis3/qt5 error
------------------------------------+----------------------------
Reporter:  muellea                  |       Owner:  osgeo4w-dev@…
    Type:  defect                   |      Status:  closed
Priority:  major                    |   Component:  Package
 Version:                           |  Resolution:  worksforme
Keywords:  python3 pyqt5 ide eric6  |
------------------------------------+----------------------------

Comment (by jef):

 Should be fixed in pyqt5-5.9-2

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/564#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #564: run eric6 python ide along with qgis3/qt5 error

OSGeo4W
In reply to this post by OSGeo4W
#564: run eric6 python ide along with qgis3/qt5 error
------------------------------------+----------------------------
Reporter:  muellea                  |       Owner:  osgeo4w-dev@…
    Type:  defect                   |      Status:  closed
Priority:  major                    |   Component:  Package
 Version:                           |  Resolution:  worksforme
Keywords:  python3 pyqt5 ide eric6  |
------------------------------------+----------------------------

Comment (by muellea):

 Thank you again!
 Missing file was apps\Python36\qt.conf. Please don't forget to textreplace
 qt.conf.tmpl in postinstall.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/564#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #564: run eric6 python ide along with qgis3/qt5 error

OSGeo4W
In reply to this post by OSGeo4W
#564: run eric6 python ide along with qgis3/qt5 error
------------------------------------+----------------------------
Reporter:  muellea                  |       Owner:  osgeo4w-dev@…
    Type:  defect                   |      Status:  closed
Priority:  major                    |   Component:  Package
 Version:                           |  Resolution:  worksforme
Keywords:  python3 pyqt5 ide eric6  |
------------------------------------+----------------------------

Comment (by jef):

 Replying to [comment:4 muellea]:
 > Missing file was apps\Python36\qt.conf. Please don't forget to
 textreplace qt.conf.tmpl in postinstall.

 ouch, was only missing in x86.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/564#comment:5>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev