[MacPorts] #51931: frescobaldi[-devel]: NameError: global name '_' is not defined
MacPorts
noreply at macports.org
Thu Jul 28 07:09:05 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:
Keywords: | Port: frescobaldi frescobaldi-devel
---------------------+-------------------------------------------
I opened an upstream issue as well:
* https://github.com/wbsoft/frescobaldi/issues/843
I installed frescobaldi-devel, but I'm unable to run it:
{{{
Traceback (most recent call last):
File "/opt/local/bin/frescobaldi", line 13, in <module>
main.main() # Parse command line, create windows
etc
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/frescobaldi_app/main.py", line 185, in main
args = parse_commandline()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/frescobaldi_app/main.py", line 53, in parse_commandline
argparse._ = _ # let argparse use our translations
NameError: global name '_' is not defined
}}}
I tried to explicitly set a python from MacPorts, but that didn't really
help.
Unrelated (and to be put in a separate ticket eventually): I believe that
the port should do some reinplace and use the Python interpreter provided
by MacPorts if you want to rely on existence of pyqt.
--
Ticket URL: <https://trac.macports.org/ticket/51931>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list