You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If oFileAccess.exists(sTmpPath &"PdfToSvg-cannot_execute") Then 'PdfToSvg execution error
480
-
If StringFromFile (sLilyPondOutput, sTmpPath &constOLyFileName &"-PdfToSvg.out") Then'can happen under Linux if pdf2svg can't find a pdf file
481
-
MsgBox (oMessages.getPropertyValue ("sMsgPdfToSvgConversionFailed") &Chr(10)&Chr(10) & sLilyPondOutput, iMsgBox_E, oMessages.getPropertyValue ("sCaptionError"))
482
-
Else
483
-
MsgBox (oMessages.getPropertyValue ("sMsgPdfToSvgCannotExecute") & Chr(10) & Chr(10) & sPdfToSvgPrologue & ConvertFromURL(sTmpPath) & constOLyFileName &".pdf"& sPdfToSvgEpilogue, iMsgBox_E, oMessages.getPropertyValue ("sCaptionError"))
484
-
End If
485
-
Else ' No PdfToSvg execution error
486
-
If Not oFileAccess.exists(sTmpPath & constOLyFileName &".svg") Then
474
+
If Not oFileAccess.exists(sTmpPath & constOLyFileName &".svg") Then
475
+
bNoFileCreated = True
476
+
If Not oFileAccess.exists(sTmpPath & constOLyFileName &".pdf") Then ' no PDF created
477
+
' MsgBox("No pdf output is found", 0, "Error")
If oFileAccess.exists(sTmpPath &"PdfToSvg-cannot_execute") Then'PdfToSvg execution error
481
+
If StringFromFile (sLilyPondOutput, sTmpPath &constOLyFileName&"-PdfToSvg.out") Then ' can happen under Linux if pdf2svg can't find a pdf file
482
+
MsgBox (oMessages.getPropertyValue ("sMsgPdfToSvgConversionFailed") & Chr(10) & Chr(10) & sLilyPondOutput, iMsgBox_E, oMessages.getPropertyValue ("sCaptionError"))
483
+
Else
484
+
MsgBox (oMessages.getPropertyValue ("sMsgPdfToSvgCannotExecute") & Chr(10) & Chr(10) & sPdfToSvgPrologue & ConvertFromURL(sTmpPath) & constOLyFileName &".pdf"& sPdfToSvgEpilogue, iMsgBox_E, oMessages.getPropertyValue ("sCaptionError"))
485
+
End If
486
+
Else ' No PdfToSvg execution error
487
487
If StringFromFile (sLilyPondOutput, sTmpPath & constOLyFileName &"-PdfToSvg.out") Then
488
488
MsgBox (oMessages.getPropertyValue ("sMsgPdfToSvgConversionFailed") & Chr(10) & Chr(10) & sLilyPondOutput, iMsgBox_E, oMessages.getPropertyValue ("sCaptionError"))
0 commit comments