Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Missing output files - Frescobaldi 3.3.0

17 views
Skip to first unread message

Rodrigo Lopez

unread,
Nov 21, 2023, 10:52:44 AM11/21/23
to Frescobaldi
Hello,

I'm using Frescobaldi 3.3.0 ( from flathub) on Ubuntu 22.04. Everything goes, apparently, OK:
-----------------------------

Starting lilypond 2.24.2 [siyahamba.ly]...

Processing `/tmp/frescobaldi-5gth4ty7/tmp2xpx20mu/siyahamba.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Interpreting music...

MIDI output to `siyahamba.midi'...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Converting to `siyahamba.pdf'...

Success: compilation successfully completed

__________________


but I can't find the, supposedly generated .pdf and .midi files, in the same directory in the source .ly file or anywhere else.


How can I force them to be generated in the sorce file's directory?



Viktor Mastoridis

unread,
Nov 21, 2023, 3:35:01 PM11/21/23
to fresc...@googlegroups.com
The files are in
`/tmp/frescobaldi-5gth4ty7/tmp2xpx20mu/siyahamba.ly
As the terminal output says.

To have them in the source directory, first save the file after you made changes, and then generate the pdf.

You can alter this behaviour in Frescobaldi's preferences, telling it to first save the file, before generating the pdf.
I hope this helps.

Viktor

rolo...@gmail.com

unread,
Nov 24, 2023, 4:37:01 PM11/24/23
to fresc...@googlegroups.com
I've found the (pdf.midi) files but I still cannot force Frescobaldi to generate those files in the same directory where the source .ly file is located.

Rodrigo López 


--
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/group/frescobaldi
Issue tracker: https://github.com/frescobaldi/frescobaldi/issues
---
You received this message because you are subscribed to a topic in the Google Groups "Frescobaldi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/frescobaldi/_3vkg7VPCTc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to frescobaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/frescobaldi/LO0P265MB56843268FE6D7BED1017A182A7BBA%40LO0P265MB5684.GBRP265.PROD.OUTLOOK.COM.

Viktor Mastoridis

unread,
Nov 26, 2023, 3:23:43 PM11/26/23
to fresc...@googlegroups.com
On Fri, 24 Nov 2023 at 21:37, <rolo...@gmail.com> wrote:
I've found the (pdf.midi) files but I still cannot force Frescobaldi to generate those files in the same directory where the source .ly file is located.

Did you save the .ly file first in some folder?

rolo...@gmail.com

unread,
Nov 26, 2023, 3:49:27 PM11/26/23
to fresc...@googlegroups.com
It has been saved, all the time, on a local folder but whenever you compile it, a temporary folder appears where everything happens including the generation of pdf and midi files. 

--
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/group/frescobaldi
Issue tracker: https://github.com/frescobaldi/frescobaldi/issues
---
You received this message because you are subscribed to a topic in the Google Groups "Frescobaldi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/frescobaldi/_3vkg7VPCTc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to frescobaldi...@googlegroups.com.

Viktor Mastoridis

unread,
Nov 26, 2023, 4:02:07 PM11/26/23
to fresc...@googlegroups.com
On Sun, 26 Nov 2023 at 20:49, <rolo...@gmail.com> wrote:
It has been saved, all the time, on a local folder but whenever you compile it, a temporary folder appears where everything happens including the generation of pdf and midi files.

Ok, try these steps:
1. On the Frescobaldi menu, click Lilypond and check the Automatic Engrave option.
2. Again on the menu, click Edit > Preferences and click the Lilypond Preferences tab on the left; on the lower right, in the Running Lilypond section, make sure that both 'Save document if possible' and 'Delete intermediate output files' are checked.

Generate the pdf/midi files by using your keyboard, Ctrl+M.

Let me know if you can see the file in your root folder.

Jean Abou Samra

unread,
Nov 26, 2023, 4:09:30 PM11/26/23
to fresc...@googlegroups.com
It has been saved, all the time, on a local folder but whenever you compile it, a temporary folder appears where everything happens including the generation of pdf and midi files. 


If the temp folder is in /tmp/, it typically means that you made some changes to the file in the editing window and didn't save the file (then there is a "Save" icon next to the file name in the tab title). In that case, Frescobaldi puts the current content of the editing window in a temporary file and compiles that. So you should not only save the file once, but really save it before each compilation.

If the temp folder is in /run/user/, then it means that Frescobaldi doesn't have access to the directory due to Flatpak's sandboxing restrictions. In that case, you should upgrade Frescobaldi (perhaps by uninstalling and reinstalling it); the restriction in question has been removed two months ago from the package on Flathub.

signature.asc

rolo...@gmail.com

unread,
Nov 28, 2023, 12:18:05 PM11/28/23
to fresc...@googlegroups.com
Thanks for the information. I'm in the "Flatpak's sandboxing restrictions" situation.



--
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/group/frescobaldi
Issue tracker: https://github.com/frescobaldi/frescobaldi/issues
---
You received this message because you are subscribed to a topic in the Google Groups "Frescobaldi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/frescobaldi/_3vkg7VPCTc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to frescobaldi...@googlegroups.com.

Viktor Mastoridis

unread,
Nov 28, 2023, 2:47:20 PM11/28/23
to fresc...@googlegroups.com
On Tue, 28 Nov 2023 at 17:18, <rolo...@gmail.com> wrote:
Thanks for the information. I'm in the "Flatpak's sandboxing restrictions" situation.

Ah, I used Frescobaldi via Flatpak in the past. You need to open the Flatpak application, locate the Frescobaldi tab and there look at the permissions. I think that you need to select something which involves a 'user directory', if I am not mistaken.
I remember clicking several checkboxes to make it work.

Jean Abou Samra

unread,
Nov 28, 2023, 2:52:25 PM11/28/23
to fresc...@googlegroups.com

Le mardi 28 novembre 2023 à 19:46 +0000, Viktor Mastoridis a écrit :

Ah, I used Frescobaldi via Flatpak in the past. You need to open the Flatpak application, locate the Frescobaldi tab and there look at the permissions. I think that you need to select something which involves a 'user directory', if I am not mistaken. I remember clicking several checkboxes to make it work.

You used to need to do this in the Flatseal application (there is no “Flatpak application”) but it is not necessary anymore.

signature.asc

Viktor Mastoridis

unread,
Nov 28, 2023, 3:58:09 PM11/28/23
to fresc...@googlegroups.com

You used to need to do this in the Flatseal application (there is no “Flatpak application”) but it is not necessary anymore.

--
Of course, it was Flatseal.
But of not needed anymore, then the quotation remind: why he can't get the files in the home directory?
VM

Jean Abou Samra

unread,
Nov 28, 2023, 4:01:47 PM11/28/23
to fresc...@googlegroups.com

> Of course, it was Flatseal.
> But of not needed anymore, then the quotation remind: why he can't get the files in the home directory?

That problem should be gone after updating Frescobaldi to the latest build of the Flatpak package.

My understanding is that the OP has already solved his problem by doing that; if not, please follow up.

rolo...@gmail.com

unread,
Nov 28, 2023, 6:56:39 PM11/28/23
to fresc...@googlegroups.com
I've reinstalled Frescobaldi from Flatpack and nothing has changed; although, I now know where to find the generated files ;-)

thanks,

Rodrigo López 


--
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/group/frescobaldi
Issue tracker: https://github.com/frescobaldi/frescobaldi/issues
---
You received this message because you are subscribed to a topic in the Google Groups "Frescobaldi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/frescobaldi/_3vkg7VPCTc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to frescobaldi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages