Bug 358999

Summary: 15.13.0 git master - Kdenlive won't open after install, "Next" button on start-up wizard is greyed out.
Product: [Applications] kdenlive Reporter: Unknown <null>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: crash CC: null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: example
example of MLT window that pops up before the start-up wizard

Description Unknown 2016-02-04 21:50:32 UTC
I compiled and installed Ubuntu from source (after a miraculous amount of research :) ), but when I run Kdenlive for the first time, the "Next" button on the wizard is greyed out. I can't continue to the program. (See attached image).

Running from terminal shows this:
Could not find drkonqi at /usr/lib/x86_64-linux-gnu/libexec/drkonqi
begin true
end
begin true
end
begin true
end
"Trying to convert empty KLocalizedString to QString."

Reproducible: Always

Steps to Reproduce:
1. Install all package dependencies
2. Compile/install Ubuntu from git master source
3. Run Kdenlive

Actual Results:  
The start-up wizard "Back" and "Next" buttons are greyed out; I can't move forward in the wizard

Expected Results:  
Wizard progresses as normal to get into the program.

Tested on Kdenlive 15.13.0 on Ubuntu GNOME x64, GNOME 3.18
Comment 1 Unknown 2016-02-04 21:50:52 UTC
Created attachment 97014 [details]
example
Comment 2 Unknown 2016-02-04 22:16:52 UTC
Not sure if this is related, but when I start Kdenlive (every time), a window opens saying "Cannot find your MLT Profiles. Please give a path." with an input field that's filled with this by default: "/usr/local/share/mlt/profiles/". Changing it to "/usr/share/mlt/profiles/" seems to work, then proceeds to the start-up wizard, where the OP issue starts.
Comment 3 Unknown 2016-02-04 22:17:18 UTC
Created attachment 97015 [details]
example of MLT window that pops up before the start-up wizard
Comment 4 Unknown 2016-02-06 21:34:14 UTC
I installed a fresh copy of kubuntu 15.10 x64 with Plasma 5.5.3 (via kubuntu's backports PPA) and build & installed MLT git master, then kdenilve git master. Same issue pops up. running from console produces this:

jesse@Cerberus:~$ kdenlive
begin true
end
begin true
end
begin true
end
Trying to convert empty KLocalizedString to QString.
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 3: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 5: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 7: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 9: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 11: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 12: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 13: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 14: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 15: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 17: " Invalid entry (missing '=')
"KConfigIni: In file /home/jesse/Downloads/mlt/profiles/Makefile, line 18: " Invalid entry (missing '=')
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
The DeckLink drivers are not installed.
Comment 5 Jean-Baptiste Mardelle 2016-02-06 22:40:42 UTC
Looks like Kdenlive somehow tries an incorrect location for MLT.
Can you try starting in a terminal with following syntax:

kdenlive --mlt-path /usr/share/mlt/profiles/
Comment 6 Unknown 2016-02-07 01:38:16 UTC
Thanks for the suggestion JB. but the problem persists: the "Next" button is still greyed out/un-clickable.

When running "./configure" in the mlt directory, this showed up in Konsole:

Jesse@Cerberus:~/Downloads/mlt$ ./configure
Configuring framework:                                           
Configuring modules:                                             
Configuring modules/avformat:                                    
Package libavformat was not found in the pkg-config search path. 
Perhaps you should add the directory containing `libavformat.pc' 
to the PKG_CONFIG_PATH environment variable                      
No package 'libavformat' found                                   
- libavformat not found: disabling                               
Configuring modules/core:
Configuring modules/decklink:
Configuring modules/feeds:
Configuring modules/frei0r:
Package frei0r was not found in the pkg-config search path.
Perhaps you should add the directory containing `frei0r.pc'
to the PKG_CONFIG_PATH environment variable
No package 'frei0r' found
- frei0r plugin disabled. Install frei0r-plugins and make sure frei0r.h is available.
Configuring modules/gtk2:
- GTK2 components not found: disabling
Configuring modules/jackrack:
Configuring modules/kdenlive:
Configuring modules/lumas:
Configuring modules/oldfilm:
Configuring modules/opengl:
- movit not found: disabling
Configuring modules/plus:
- fftw not found: disable fft and dance filters
Configuring modules/rtaudio:
Configuring modules/sdl:
- sdl development libs not found: disabling
Configuring modules/sox:
- sox not found: disabling
Configuring modules/swfdec:
- swfdec not found: disabling
Configuring modules/vmfx:
Configuring modules/xml:
- xml2 not found: disabling xml module
Configuring mlt++:
Configuring swig:
LGPLv2.1 license used; GPL components disabled

Could it be improperly configuring MLT?
Comment 7 Unknown 2016-02-07 01:48:33 UTC
Sorry, I know this issue probably isn't a bug with Kdenlive per se, but if I can get this method set up for Ubuntu, then I can keep testing the latest git version and better offer user support & feedback. Had to switch back to Kubuntu for more reliable software purposes.

I've been documenting what I'm doing to build and install from git on Kubuntu. If I can make it fool-proof, and can contribute the steps as documentation for others. :)
Comment 8 Unknown 2016-02-07 02:13:04 UTC
UPDATE: In the "./configure" process of MLT, I realized I needed more Ubuntu dev packages (e.g. libavformat-dev), and that seems to remove some of the errors. I'm attempting to install all of the apparent needed packages, then I'll see if that'll resolve the issue.
Comment 9 Unknown 2016-02-07 02:53:37 UTC
Yes! Installing the -dev packages for the missing MLT dependencies during build and install fixed the issue; the "Next" button works! there's still a few features (Qimage, pixbuf, and the titler widget) I need to work out, but I think I'll soon have a complete, easy to use (truly) step-by-step process to building kdenlive git master from source in Kubuntu.

Marking this bug as fixed.