Downloaded Furnace Tracker starts but can't open or save files (Solved)

Moderator: BarryK

Post Reply
vormgear
Posts: 4
Joined: Wed Aug 02, 2023 6:11 pm
Has thanked: 2 times
Been thanked: 1 time

Downloaded Furnace Tracker starts but can't open or save files (Solved)

Post by vormgear »

I download and was able to run furnace tracker version 0.6
But i cant save or open files. When i try i get a dialogue window with the option buttons for OK or cancel but no way to select a folder location. I've run this version of furnace tracker on a arch and and Debian based system before without a problem.

Im running easyOS kirkstone 5.4.9 off a USB drive.

Last edited by vormgear on Fri Aug 04, 2023 2:45 pm, edited 1 time in total.
User avatar
kamemo
Posts: 9
Joined: Fri Jul 28, 2023 4:55 pm
Has thanked: 6 times
Been thanked: 1 time

Re: Downloaded application starts but cant open or save files

Post by kamemo »

I've never used this app, but I downloaded furnace-0.6pre7-linux.tar.gz from https://github.com/tildearrow/furnace/releases.
I hope, this is the right app.
After extracting, the app started normally. Then I tried to open or save a file and got the same error as you.

Screenshot.png
Screenshot.png (22.17 KiB) Viewed 1169 times

That is the first time, I see this bug. With other apps I got no problems so far. I am also using EasyOS 5.4.9.
This is a pre-release version in beta state. Perhaps it is a bug in the app.

vormgear
Posts: 4
Joined: Wed Aug 02, 2023 6:11 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Downloaded application starts but cant open or save files

Post by vormgear »

I don't think its just furnace I got the same problem with vcv rack. I also tried some other programs to see if i could duplicate the weird save dialogue. Krita, Audacity and My paint all seemed to work correctly by displaying the correct file dialogue for saving files.

Attachments
Vcvrack_save_Screenshot(1).png
Vcvrack_save_Screenshot(1).png (342.76 KiB) Viewed 1150 times
User avatar
MochiMoppel
Posts: 1239
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 439 times

Re: Downloaded application starts but cant open or save files

Post by MochiMoppel »

What you see is a yad dialog, but that's not what Furnace expects:

https://github.com/tildearrow/furnace/issues/570 wrote:

Zenity/KDialog must be installed on Linux for the system file picker to work.

I can confirm that both Furnace-0.6pre1.AppImage and furnace-0.6pre7-linux.tar.gz run fine in Bookworm64, but the file picker does not work. Puppies, and I guess that EasyOS is no exception, have yad installed, often with zenity symlinked to yad. I've never seen an original zenity. AFAIK yad is a fork of zenity and *should* be compatible. Obviously it is not.

If you are really keen to go to the bottom, here is how zenity/yad is called from Furnace:

Code: Select all

zenity --file-selection --filename=/root/ --title Open File --separator= --file-filter compatible files|*.fur *.dmf *.mod *.fc13 *.fc14 *.smod *.fc --file-filter all files|* --confirm-overwrite

Yad doesn't understand --file-selection. For yad it should be --file. Some of the following options are also not understood by yad. Your best bet is to obtain an original zenity. Maybe copying it from the "Debian based system" would work?

vormgear
Posts: 4
Joined: Wed Aug 02, 2023 6:11 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Downloaded application starts but cant open or save files

Post by vormgear »

Thank you for the help. To get zeneity set up would i just need to grab the Debian package and install it on easyos or would the solution require something more involved?

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2627 times
Contact:

Re: Downloaded application starts but cant open or save files

Post by rockedge »

I think you can grab the dependencies and it should work.

Noticed your user name :thumbup:

I made some electronic music using the name WormGear

wg-album_cover.jpg
wg-album_cover.jpg (12.71 KiB) Viewed 1080 times
User avatar
mikewalsh
Moderator
Posts: 6163
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 795 times
Been thanked: 1983 times

Re: Downloaded application starts but cant open or save files

Post by mikewalsh »

@vormgear :-

Try this. It's the Zenity .deb package for Debian 11. I've had to add a 'fake' .gz to the end for the forum to allow upload, so just remove it before use.....that will return it to a standard .deb package. Attached below.

(It's now a shared library, rather than a binary like the older ones, but that shouldn't prevent it from functioning. You may need to run 'ldd' on the 'zenity' library to see if there's any missing dependencies.)

Code: Select all

/usr/bin/zenity --ldd

Mike. ;)

Attachments
zenity_3.32.0-6_amd64.deb.gz
Remove the fake .gz from the end....
(268.88 KiB) Downloaded 58 times
User avatar
BarryK
Posts: 2694
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: Downloaded application starts but cant open or save files

Post by BarryK »

The yad project has a zenity-compatibility script:

https://github.com/v1cont/yad/blob/mast ... /zenity.sh

Maybe we could improve that a bit, have /usr/bin/zenity as a script rather than a symlink to yad.

User avatar
MochiMoppel
Posts: 1239
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 439 times

Re: Downloaded application starts but cant open or save files

Post by MochiMoppel »

BarryK wrote: Fri Aug 04, 2023 2:36 am

Maybe we could improve that a bit, have /usr/bin/zenity as a script rather than a symlink to yad.

This function just adds icons to the dialog but what we need is change the syntax. I tried to modify the function but it didn't work. Some arguments have spaces in them and proper quoting gets lost during the process. But using zenity as a wrapper script rather than a symlink is definitely the way to go...

@vormgear I think I have found a very easy solution. Please replace the symlink /usr/bin/zenity with following script /usr/bin/zenity:

Code: Select all

#!/bin/bash
exec yad "${@/--file-selection/--file}"

Fixes the file picker but otherwise works just like the symlink.

zenity.png
zenity.png (71.6 KiB) Viewed 1019 times
vormgear
Posts: 4
Joined: Wed Aug 02, 2023 6:11 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Downloaded application starts but cant open or save files

Post by vormgear »

Success the script replacement worked. :D

Thank you.

User avatar
BarryK
Posts: 2694
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: Downloaded Furnace Tracker starts but can't open or save files (Solved)

Post by BarryK »

@MochiMoppel
Thanks for that script, I have put it into EasyOS, instead of the symlink.

Post Reply

Return to “EasyOS”