Hi Anders

I confirm the problem on Windows 7.
Detailed versions:

Frescobaldi: 3.0.1
Python: 3.5.2
python-ly: 0.9.4
Qt: 5.8.0
PyQt: 5.8.1
sip: 4.19.1
poppler: 0.52.0
python-poppler-qt: 0.24.2
OS: Windows-7-6.1.7601-SP1

I wonder if any Windows user using Frescobaldi 3 can confirm it. That's why I've added lilypond-user in Cc.

My **guess** is that Frescobaldi is trying to use the bundled python3 to run convert-ly (which is a LilyPond file) and this is going to fail. It does even on Linux:

$ python3 /usr/bin/convert-ly /home/fede/tmp/lilypond/converting.ly
Traceback (most recent call last):
 File "/usr/bin/convert-ly", line 52, in <module>
   import lilylib as ly
 File "/usr/share/lilypond/2.19.82/python/lilylib.py", line 238
   print log[0]
           ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(log[0])?

The best fix would be make LilyPond convert-ly work on python3 as well... Even though Frescobaldi should handle better this kind of errors and at least print some information instead of being silent.

Best
Federico

In the meanwhile, you may install the latest Python 2.7 (put a tick to add python to PATH) and run convert-ly in PowerShell. See for example:


PS C:\Users\fede\Documents> python.exe 'C:\Program Files (x86)\LilyPond\usr\bin\convert-ly.py' .\convert-test.ly
convert-ly.py (GNU LilyPond) 2.19.28

convert-ly.py: Processing `.\convert-test.ly'...
Applying conversion: 2.17.0, 2.17.4, 2.17.5, 2.17.6, 2.17.11, 2.17.14, 2.17.15, 2.17.18, 2.17.19, 2.17.20, 2.17.2 .27, 2.17.29, 2.17.97, 2.18.0, 2.19.2, 2.19.7, 2.19.11, 2.19.16, 2.19.22, 2.19.24, 2.19.28


\version "2.19.28"

{
 \tuplet 3/2 { c8 d e }

}




Il giorno dom 9 set 2018 alle 9:36, andis.eriks...@gmail.com ha scritto:
Hello,

I just updated from version 2 to the latest version 3 for Windows (Frescobaldi.Setup.3.0.0-2.exe)
When I try to use convert-ly nothing happens!

The dialog shows up as usual, with the current version and the new version, but that's it!

If I run convert.ly in the Lilypond bin directory then it works...



What's wrong?

// Anders
--
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/group/frescobaldi
Issue tracker: https://github.com/wbsoft/frescobaldi/issues


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to