#40139: frescobaldi @2.0.10 ------------------------------+---------------------- Reporter: davide.liessi@… | Owner: g5pw@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: frescobaldi | ------------------------------+---------------------- Comment (by davide.liessi@…): Replying to [comment:12 g5pw@…]:
When I pressed Engrave nothing happened. I looked quickly around for any error message, but found none. [...] By the way, the application fails at runtime on my machine (MacBook 10.9) with this error: {{{ Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/frescobaldi_app/engrave/__init__.py", line 86, in engraveRunner self.engravePreview() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/frescobaldi_app/engrave/__init__.py", line 90, in engravePreview self.engrave(True) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/frescobaldi_app/engrave/__init__.py", line 127, in engrave self.runJob(command.defaultJob(doc, preview), doc) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/frescobaldi_app/engrave/__init__.py", line 148, in runJob jobmanager.manager(document).startJob(job) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/frescobaldi_app/jobmanager.py", line 62, in startJob job.start() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/frescobaldi_app/job.py", line 131, in start self._process.start(self.command[0], self.command[1:]) TypeError: arguments did not match any overloaded call: QProcess.start(QString, QStringList, QIODevice.OpenMode mode=QIODevice.ReadWrite): argument 1 has unexpected type 'bool' QProcess.start(QString, QIODevice.OpenMode mode=QIODevice.ReadWrite): argument 1 has unexpected type 'bool' }}}
I don't know if it's related to the fact that I don't have LilyPond installed.
Yes, it is related to that, and it is a bug. Also the lack of a message explaining the need to install LilyPond or to point Frescobaldi's preferences to an existing LilyPond installation is surely a bug in Frescobaldi. I'm going to fix this tonight. With respect to the choice of LilyPond installation, I think I changed my mind. Despite the fact that many Linux distributions include a LilyPond package, LilyPond developers encourage people to download and install LilyPond manually, to ensure that the user has a recent version. But as far as I can see the LilyPond ports are kept reasonably up to date (latest stable, only one development version behind), so installing through MacPorts doesn't have that kind of disadvantage. I've also noticed that Frescobaldi packages in Linux distributions have LilyPond as a dependency. I'll think about it and discuss with Frescobaldi's main author, but I think that adding a dependency on LilyPond is OK. Anyway I would depend on the LilyPond binary (with default port set to lilypond) rather than lilypond port. -- Ticket URL: <https://trac.macports.org/ticket/40139#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X