[MacPorts] #51417: mailman @2.1.22_0: ImportError: cannot import name C_

MacPorts noreply at macports.org
Thu Jun 16 12:26:45 PDT 2016


#51417: mailman @2.1.22_0: ImportError: cannot import name C_
----------------------+-------------------
  Reporter:  gotow@…  |      Owner:  mps@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.3.4
Resolution:           |   Keywords:
      Port:  mailman  |
----------------------+-------------------

Comment (by macports-bug-report-yf@…):

 I've read mail/mailman/Portfire rev 149395.

 In line 105-106, ./bin/check_perms will try to import Mailman.i18n module
 not from ./Mailman (= ${destroot}${sharedir}/Mailman) but
 ${sharedir}/Mailman if exists,
 because check_perms script has import paths.py which insert
 ${sharedir}/Mailman into
 top of module search path, then import Mailman.i18n module. So if older
 version of
 mailman has been installed and check_perms script uses incompatible module
 with older version,
 it can cause an error.

-- 
Ticket URL: <https://trac.macports.org/ticket/51417#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list