Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2016 15:20:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211908] devel/eric6: fails to start if PyQt5 is installed
Message-ID:  <bug-211908-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211908

            Bug ID: 211908
           Summary: devel/eric6: fails to start if PyQt5 is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bsam@FreeBSD.org
          Reporter: dbn@FreeBSD.org
             Flags: maintainer-feedback?(bsam@FreeBSD.org)
          Assignee: bsam@FreeBSD.org

I have the following installed:
```
pkg info | grep -i py27-qt
py27-qt4-core-4.11.4,1         Python bindings for the Qt4 toolkit, QtCore
module
py27-qt4-dbussupport-4.11.4_1  Qt event loop support for dbus-python
py27-qt4-declarative-4.11.4    Python bindings for the Qt4 toolkit,
QtDeclarative module
py27-qt4-designer-4.11.4,1     Python bindings for the Qt4 toolkit, QtDesig=
ner
module
py27-qt4-gui-4.11.4,1          Python bindings for the Qt4 toolkit, QtGui
module
py27-qt4-help-4.11.4           Python bindings for the Qt4 toolkit, QtHelp
module
py27-qt4-network-4.11.4,1      Python bindings for the Qt4 toolkit, QtNetwo=
rk
module
py27-qt4-opengl-4.11.4,1       Python bindings for the Qt4 toolkit, QtOpenGL
module
py27-qt4-phonon-4.11.4         Python bindings for the Qt4 toolkit, Phonon
module
py27-qt4-qscintilla2-2.9.1,1   Python bindings for QScintilla2 (PyQt4), QSci
module
py27-qt4-script-4.11.4,1       Python bindings for the Qt4 toolkit, QtScript
module
py27-qt4-sql-4.11.4,1          Python bindings for the Qt4 toolkit, QtSql
module
py27-qt4-svg-4.11.4,1          Python bindings for the Qt4 toolkit, QtSvg
module
py27-qt4-webkit-4.11.4         Python bindings for the Qt4 toolkit, QtWebKit
module
py27-qt4-xml-4.11.4,1          Python bindings for the Qt4 toolkit, QtXml
module
py27-qt5-core-5.5.1            Python bindings for the Qt5 toolkit, QtCore
module
py27-qt5-gui-5.5.1             Python bindings for the Qt5 toolkit, QtGui
module
py27-qt5-network-5.5.1         Python bindings for the Qt5 toolkit, QtNetwo=
rk
module
py27-qt5-printsupport-5.5.1    Python bindings for the Qt5 toolkit,
QtPrintSupport module
py27-qt5-qscintilla2-2.9.1     Python bindings for QScintilla2 (PyQt5), QSci
module
py27-qt5-svg-5.5.1             Python bindings for the Qt5 toolkit, QtSvg
module
py27-qt5-webkit-5.5.1          Python bindings for the Qt5 toolkit, QtWebKit
module
py27-qt5-webkitwidgets-5.5.1   Python bindings for the Qt5 toolkit,
QtWebKitWidgets module
py27-qt5-widgets-5.5.1         Python bindings for the Qt5 toolkit, QtWidge=
ts
module
py27-qt5-xmlpatterns-5.5.1     Python bindings for the Qt5 toolkit,
QtXmlPatterns module
```

And starting eric6 results in:
```
eric6
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 "/usr/local/home/dbn/.eric6/eric6_error.log".

Error information:
---------------------------------------------------------------------------=
-----
2016-08-16, 17:19:39
---------------------------------------------------------------------------=
-----
<type 'exceptions.RuntimeError'>:=20
the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class
---------------------------------------------------------------------------=
-----
  File "/usr/local/share/eric6/eric6.py", line 359, in <module>
    main()
  File "/usr/local/share/eric6/eric6.py", line 335, in main
    from UI.UserInterface import UserInterface
  File "/usr/local/share/eric6/UI/UserInterface.py", line 45, in <module>
    from E5Gui.E5ZoomWidget import E5ZoomWidget
  File "/usr/local/share/eric6/E5Gui/E5ZoomWidget.py", line 15, in <module>
    from .Ui_E5ZoomWidget import Ui_E5ZoomWidget
  File "/usr/local/share/eric6/E5Gui/Ui_E5ZoomWidget.py", line 9, in <modul=
e>
    from PyQt4 import QtCore, QtGui

---------------------------------------------------------------------------=
-----
Version Numbers:
  Python 2.7.12
  Qt 5.5.1
  PyQt 5.5.1
  sip 4.17
  QScintilla 2.9.1
  WebKit 538.1
  eric6 6.1.7 (rev. bacf24bb4129)

Platform: freebsd10
2.7.12 (default, Jul 26 2016, 01:23:30)=20
[GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 20803=
2)]
```

This can be fixed by added `--pyqt4` to the eric6 command.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211908-13>