Bug 430852 - appimage for Linux doesnt run on opensuse 15.2
Summary: appimage for Linux doesnt run on opensuse 15.2
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 20.12.3
Platform: Appimage Linux
: NOR critical
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-27 13:26 UTC by Harri
Modified: 2021-03-12 18:49 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: timeline_corruption+


Attachments
Screenshot of error message (13.94 KB, image/png)
2021-02-12 11:24 UTC, gerd.muncke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harri 2020-12-27 13:26:20 UTC
SUMMARY

MLT crashes when I try to render

STEPS TO REPRODUCE
1. create simple project
2. start rendering

OBSERVED RESULT
mlt crashes.
The log says:
Rendern von /home/jj-15.2/Videos/Unbenannt.mp4 abgestürzt

mlt_repository_init: failed to dlopen /tmp/.mount_kdenliZQREMe/usr/lib/mlt//libmltgdk.so (/usr/lib64/libpangoft2-1.0.so.0: undefined symbol: hb_ot_var_named_instance_get_design_coords)

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
I'm using an *appimage*
20.08.3 works fine
Comment 1 Harri 2021-01-08 17:15:14 UTC
I'ld like to emphasize, that I'm running an appimage and get an 'undefined symbol' in an appimage lib. 
As I understood the idea of appimages, something like that should never occure.
Comment 2 Harri 2021-01-13 22:49:41 UTC
Problem is also in 20.12.1
Comment 3 Harri 2021-02-04 21:43:50 UTC
Problem persists in 20.12.1b
Comment 4 gerd.muncke 2021-02-10 15:16:51 UTC
Problem still present in 20.12.2 - possibly the path to the library libmltgdk is wrong: '...mlt//libmltgdk.so..' ptobably should read '...mlt/libmltgdk.so..'
Comment 5 Andrew Findlay 2021-02-11 17:35:41 UTC
Possible workaround:

The version of melt distributed with OpenSuSE 15.2 seems happy to process .mlt scripts written by the 20.12.1 appimage (YMMV - this depend on not using any features or bugfixes introduced between melt 6.20.0 and 6.25.0).

When the render process crashes you will find the .mlt file in the kdenlive-renderqueue directory, so just melt it like this:

/usr/bin/melt .../kdenlive-renderqueue/my-render-project.mlt

I have done this exactly once so far and it worked OK. I am hoping that it will cope with the rest of the project...
Comment 6 Marcelo 2021-02-11 19:11:22 UTC
(In reply to Andrew Findlay from comment #5)
> Possible workaround:
> 
> The version of melt distributed with OpenSuSE 15.2 seems happy to process
> .mlt scripts written by the 20.12.1 appimage (YMMV - this depend on not
> using any features or bugfixes introduced between melt 6.20.0 and 6.25.0).
> 
> When the render process crashes you will find the .mlt file in the
> kdenlive-renderqueue directory, so just melt it like this:
> 
> /usr/bin/melt .../kdenlive-renderqueue/my-render-project.mlt
> 
> I have done this exactly once so far and it worked OK. I am hoping that it
> will cope with the rest of the project...

I was unable do find the .mlt file.  The log says it should be on /tmp but the file is not there.  Maybe that's the problem.
Comment 7 Harri 2021-02-11 19:29:13 UTC
@gerd.muncke: As the error message from the rendering says, the problem ist not that the libmltgdk.so is not found, rather that the existing lib doesnt contain the symbol hb_ot_var_named_instance_get_design_coords. So the problem appears to be an inconsistent appimage.
By the way: file paths with multiple consecutive slashes are no problem on unixoid file systems.
And thanks for testing 20.12.2! - saved me a little time and dissapointed hope ;-)
Comment 8 Andrew Findlay 2021-02-11 22:59:10 UTC
If you can't find the .mlt file then try the 'Generate Script' button on the 'Render Project' tab. That should create one.
Comment 9 gerd.muncke 2021-02-12 11:24:33 UTC
Created attachment 135628 [details]
Screenshot of error message

I get this error message when trying to execute the MyProject.mlt file.
Comment 10 Andrew Findlay 2021-02-13 16:58:13 UTC
Gerd: I suspect you have an old binding for .mlt files in your desktop setup.
.mlt should be processed with 'melt' which is a command-line program. I doubt that kdenlive can read .mlt files usefully.

My workaround work-flow is now:

1) Set rendering options on the 'Render Project' tab of the Rendering dialogue
2) Click on 'Generate Script'
3) Note the filename allocated for the rendering
4) Run the OS-supplied version of melt using that filename:
melt kdenlive-renderqueue/<filename>.mlt
Comment 11 gerd.muncke 2021-02-13 19:28:27 UTC
Andrew, as you said it's an easy workaround. Thanks very much!
Comment 12 emohr 2021-02-13 19:59:37 UTC
Delete kdenlive-appimagerc and try again. See here: https://community.kde.org/Kdenlive/Configuration
Comment 13 Harri 2021-02-13 22:53:15 UTC
(In reply to emohr from comment #12)
> Delete kdenlive-appimagerc and try again. See here:
> https://community.kde.org/Kdenlive/Configuration

That didn_t help. Same error as before.
Comment 14 Marcelo 2021-03-08 20:38:40 UTC
Problem still present in 20.12.3
Comment 15 farid 2021-03-10 20:54:14 UTC
(In reply to Marcelo from comment #14)
> Problem still present in 20.12.3

Open a terminal and run kdenlive, what do you get? Any warning or any other helpful output?
Comment 16 Harri 2021-03-10 21:57:51 UTC
(In reply to farid from comment #15)
> (In reply to Marcelo from comment #14)
> > Problem still present in 20.12.3
> 
> Open a terminal and run kdenlive, what do you get? Any warning or any other
> helpful output?

As mentioned in the bug-description, the log window says:

Rendern von /home/jj-15.2/Videos/Unbenannt.mp4 abgestürzt
mlt_repository_init: failed to dlopen /tmp/.mount_kdenliZQREMe/usr/lib/mlt//libmltgdk.so (/usr/lib64/libpangoft2-1.0.so.0: undefined symbol: hb_ot_var_named_instance_get_design_coords)

The console output probably wont help much, it is:

* CREATED JOB WITH ARGS:  ("/tmp/.mount_kdenli81umFR/usr/bin/melt", "/tmp/kdenlive-HaqmCu.mlt", "/home/jj-15.2/Videos/Unbenannt.mp4", "-pid:7919")
starting kdenlive_render process using:  "/tmp/.mount_kdenli81umFR/usr/bin/kdenlive_render"
No org.kde.JobViewServer registered, trying to start kuiserver
Skipped method "slotUpdateDockLocation" : Unregistered input type in parameter list: Qt::DockWidgetArea
Skipped method "slotEditSubtitle" : Type not registered with QtDBus in parameter list: QMap<QString,QString>
Unsupported return type 65 QPixmap in method "grab"
Unsupported return type 65 QPixmap in method "grab"
Comment 17 farid 2021-03-11 14:36:31 UTC
(In reply to Harri from comment #16)
> (In reply to farid from comment #15)
> > (In reply to Marcelo from comment #14)
> > > Problem still present in 20.12.3
> > 
> > Open a terminal and run kdenlive, what do you get? Any warning or any other
> > helpful output?
> 
> As mentioned in the bug-description, the log window says:
> 
> Rendern von /home/jj-15.2/Videos/Unbenannt.mp4 abgestürzt
> mlt_repository_init: failed to dlopen
> /tmp/.mount_kdenliZQREMe/usr/lib/mlt//libmltgdk.so
> (/usr/lib64/libpangoft2-1.0.so.0: undefined symbol:
> hb_ot_var_named_instance_get_design_coords)
> 
> The console output probably wont help much, it is:
> 
> * CREATED JOB WITH ARGS:  ("/tmp/.mount_kdenli81umFR/usr/bin/melt",
> "/tmp/kdenlive-HaqmCu.mlt", "/home/jj-15.2/Videos/Unbenannt.mp4",
> "-pid:7919")
> starting kdenlive_render process using: 
> "/tmp/.mount_kdenli81umFR/usr/bin/kdenlive_render"
> No org.kde.JobViewServer registered, trying to start kuiserver
> Skipped method "slotUpdateDockLocation" : Unregistered input type in
> parameter list: Qt::DockWidgetArea
> Skipped method "slotEditSubtitle" : Type not registered with QtDBus in
> parameter list: QMap<QString,QString>
> Unsupported return type 65 QPixmap in method "grab"
> Unsupported return type 65 QPixmap in method "grab"

Out of curiosity are you on X or Wayland?
Comment 18 Harri 2021-03-12 13:25:57 UTC
(In reply to farid from comment #17)
> Out of curiosity are you on X or Wayland?

I'm on X
Comment 19 farid 2021-03-12 18:20:29 UTC
(In reply to Harri from comment #18)
> (In reply to farid from comment #17)
> > Out of curiosity are you on X or Wayland?
> 
> I'm on X

Please try this one: https://download.kde.org/stable/kdenlive/20.12/linux/kdenlive-20.12.3a-x86_64.appimage.mirrorlist
Comment 20 Harri 2021-03-12 18:48:39 UTC
(In reply to farid from comment #19)
> (In reply to Harri from comment #18)
> > (In reply to farid from comment #17)
> > > Out of curiosity are you on X or Wayland?
> > 
> > I'm on X
> 
> Please try this one:
> https://download.kde.org/stable/kdenlive/20.12/linux/kdenlive-20.12.3a-
> x86_64.appimage.mirrorlist

Hurray, it works (finally) - thank you!