[MacPorts] #51931: frescobaldi[-devel]: NameError: global name '_' is not defined

MacPorts noreply at macports.org
Fri Jul 29 01:09:47 PDT 2016


#51931: frescobaldi[-devel]: NameError: global name '_' is not defined
--------------------------------------------+-----------------------------
  Reporter:  mojca@…                        |      Owner:  davide.liessi@…
      Type:  defect                         |     Status:  new
  Priority:  Normal                         |  Milestone:
 Component:  ports                          |    Version:
Resolution:                                 |   Keywords:
      Port:  frescobaldi frescobaldi-devel  |
--------------------------------------------+-----------------------------

Comment (by mojca@…):

 I'm sorry about that stupid reinplace remark. Being used to see the short
 `/opt/local/bin/perl5.24` my subconscious mind skipped over the initial
 `/opt/local` in the path you mention above (I was probably expecting
 something like `/opt/local/bin/python2.7` :) and I thought that the system
 python from `/Library/Frameworks` was being referenced. Please ignore that
 part.

 The main problem still remains though. I asked on the python mailing list
 and some devs claimed that it seemed strange to them that the code worked
 at all. Some suggested that lines like `gettext.install()` might be
 missing in the code (https://docs.python.org/2/library/gettext.html), but
 I have no idea how `pyqt` is supposed to handle translations, so I don't
 know any way forward (and also don't want to "blame myself" with
 stupidities on the upstream bug tracker as I'm not a python expert).

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


More information about the macports-tickets mailing list