harmonySEQ aborts at startup

Asked by Larry Holish

Running pretty up to date Debian unstable. Installation went smoothly. This is the msg I get:

ljholish@cairo:~/builds/harmonyseq-0.14$ harmonySEQ
terminate called after throwing an instance of 'Glib::FileError'
Aborted

Let me know if there is something I can do to help debug this issue further.

Question information

Language:
English Edit question
Status:
Solved
For:
harmonySEQ Edit question
Assignee:
No assignee Edit question
Solved by:
Rafał Cieślak
Solved:
Last query:
Last reply:
Revision history for this message
Rafał Cieślak (rafalcieslak256) said :
#1

Please run

harmonySEQ -d

and paste the output.

Revision history for this message
Larry Holish (larry-holish) said :
#2

ljholish@cairo:~/builds/harmonyseq-0.14$ harmonySEQ -d
Debug mode started.
Alsa midi driver init successfull.
harmonySEQ icon found at: /usr/local/share/icons/hicolor/48x48/apps/harmonyseq.png
terminate called after throwing an instance of 'Glib::FileError'
Aborted

Revision history for this message
Larry Holish (larry-holish) said :
#3

And here is (some of ) what strace says:
.
.
open("/usr/local/share/harmonyseq/icons/hicolor/24x24/actions/harmonyseq.png", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7f99e70823c4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48
write(2, "Glib::FileError", 15Glib::FileError) = 15
write(2, "'\n", 2'
) = 2
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(21251, 21251, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Aborted

Revision history for this message
Rafał Cieślak (rafalcieslak256) said :
#4

Could you please check whether file "/usr/local/share/harmonyseq/icons/hicolor/24x24/actions/harmonyseq.png" exist?

Revision history for this message
Rafał Cieślak (rafalcieslak256) said :
#5

And, moreover, whether file "/usr/local/share/icons/hicolor/48x48/apps/harmonyseq.png" exist?

Revision history for this message
Larry Holish (larry-holish) said :
#6

No to the first question, yes to the second. Here are the contents of directories you asked about:

ljholish@cairo:/usr/local/share/harmonyseq/icons/hicolor/24x24/actions$ ls -l
total 4
-rw-r--r-- 1 root staff 1088 Apr 5 09:01 metronome.png

ljholish@cairo:/usr/local/share/icons/hicolor/48x48/apps$ ls -l
total 4
-rw-r--r-- 1 root staff 2845 Apr 5 09:01 harmonyseq.png

I don't find a 24x24 png in the source tarball either:

ljholish@cairo:~/builds/harmonyseq-0.14$ find . -name harmonyseq.png
./pixmaps/32x32/apps/harmonyseq.png
./pixmaps/48x48/apps/harmonyseq.png
./pixmaps/192x192/apps/harmonyseq.png

Revision history for this message
Best Rafał Cieślak (rafalcieslak256) said :
#7

Ok, got it! HarmonySEQ wanted to load the metronome icon, but due to my fault it looked for "harmonyseq.png" instead of "metronome.png". I have just fixed that in the trunk, so the upcoming release won't have this bug.

Temporary workarounds for harmonySEQ 0.14:
a) rename manually /usr/local/share/harmonyseq/icons/hicolor/24x24/actions/metronome.png to harmonyseq.png
OR
b) install harmonySEQ to /usr instead of /usr/local
OR
c) change the patch in the source: file src/main.cpp, line 219 SHOULD be:
        metronome_icon_24 = Gdk::Pixbuf::create_from_file("/usr/local/share/harmonyseq/icons/hicolor/24x24/actions/metronome.png");
compile & install

Choose whichever solution you like, they all should help.

And great thanks to you for reporting that bug! :)

Revision history for this message
Larry Holish (larry-holish) said :
#8

Thanks for the workaround, I'm up and running. And thanks for making your sequencer available to the linux audio community!

Regards, Larry

Revision history for this message
Larry Holish (larry-holish) said :
#9

Thanks Rafal Cieslak, that solved my question.