[MacPorts] #56636: Eric4 is obsolete. Update to Eric6

MacPorts noreply at macports.org
Sun Apr 28 00:52:29 UTC 2019

#56636: Eric4 is obsolete. Update to Eric6
  Reporter:  josephsacco  |      Owner:  (none)
      Type:  update       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.5.2
Resolution:               |   Keywords:
      Port:  eric4        |

Comment (by josephsacco):


 Listing me as a maintainer is probably a bad idea as I have limited
 knowledge of development environment for MacPorts.   Case in point:  It
 took me a while to locate the Portfile and patch file you submitted [the
 links in comment #35 did not work for me].

 Anyway... I have tried building py-eric-ide. Here is what I have found:

 * {{{port:py${python.version}-qscintilla-qt5}}}
    Is listed in the Portfile twice.  Remove line 66

 * There is a socket connection problem with the python2 version.
 $ eric6
 Warning: translation file 'qscintilla_en_US'could not be loaded.
 Using default.
 BackgroundService listening on: 62987
 Traceback (most recent call last):
 /site-packages/eric6/Utilities/BackgroundClient.py", line 209, in <module>
 /site-packages/eric6/Utilities/BackgroundClient.py", line 198, in run
 line 228, in meth
     return getattr(self._sock,name)(*args)
 socket.error: [Errno 57] Socket is not connected

 During the initialization, a dialog box pops up with the message
 The background client for Python2 disconnected because of an unknown
 Should it be restarted?

 If you say,  "yes",  The initialization progresses, until the background
 client disconnects again, whereupon the dialog reappears.  Say "yes" a
 second time and the initialization progresses further until the background
 client disconnects again, whereupon the dialog reappears.  Say "yes" a
 third time, and the application launches.

 This socket problem occurs when  py27-eric6-ide built with +qt4 or +qt5.
 The socket problem does '''NOT''' occur  with py37-eric-ide built with
 either +qt4 or +qt5.

 I did not see this problem in the past.  What has changed?

 I retreated back to earlier versions of eric6:  {{{ 19.02.1, 19.02,
 18.10}}} and witnessed the same behavior. That leads me to believe the
 problem is elsewhere:
 * Garbage on my iMac
 * PyQt issues.

 When I get some more free cycles I will attempt to isolate the python27
 build within a virtual environment.  To do that I will need to build
 PyQt[45] from source, since pip will not install it.
 pip install PyQt5
 DEPRECATION: Python 2.7 will reach the end of its life on January 1st,
 2020. Please upgrade your Python as Python 2.7 won't be maintained after
 that date. A future version of pip will drop support for Python 2.7.
 Collecting PyQt5
   ERROR: Could not find a version that satisfies the requirement PyQt5
 (from versions: none)
 ERROR: No matching distribution found for PyQt5


Ticket URL: <https://trac.macports.org/ticket/56636#comment:36>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list