#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 dali43@…): I've never seen this problem. I've just tried running Frescobaldi in Snow Leopard and El Capitan and it works as expected. I'll think about this. Replying to [ticket:51931 mojca@…]:
I tried to explicitly set a python from MacPorts, but that didn't really help.
What do you mean?
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.
As far as I understand there's no need for reinplace, since this is done in the destroot phase by Python itself: the first line in my copy of `/opt/local/bin/frescobaldi` says {{{ #!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python }}} -- Ticket URL: <https://trac.macports.org/ticket/51931#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X