Opened 13 years ago

Closed 12 years ago

#30957 closed defect (invalid)

kdenlive-0.8 fails to start

Reported by: davidfavor (David Favor) Owned by: ddennedy (Dan Dennedy)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: ak.ml@…
Port: kdenlive

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Executing /Applications/MacPorts/KDE4/kdenlive reports no errors.

launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist says "Already loaded".

~/Library/Preferences/KDE set correctly.

ps auxww | grep -i kde shows...

/Applications/MacPorts/KDE4/kdenlive.app/Contents/MacOS/kdenlive -psn_0_10222015

So kdenlive process is running and no GUI is presented.

No useful console messages.

Someone let me know where the kdenlive startup log lives, to determine the start up problem.

Thanks.

Change History (13)

comment:1 Changed 13 years ago by davidfavor (David Favor)

cd /Applications/MacPorts/KDE4/kdenlive.app/Contents/MacOS

Then doing 'otool -L kdenlive' shows all libraries are found.

Then doing ./kdenlive to execute produces no errors, just a hang with no GUI.

Running xeyes starts XQuartz correctly and xeyes runs as expected.

Seems like in the past kdenlive has started XQuartz and now it doesn't.

comment:2 Changed 13 years ago by davidfavor (David Favor)

Using all latest MacPorts code.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to dan@…

Please remember to cc the maintainer.

comment:4 Changed 13 years ago by ddennedy (Dan Dennedy)

There is no startup log. It does not require XQuartz.

I do not provide individualized general support for the ports I maintain. There are too many things that can go wrong with KDE on MacPorts. This tracker is only appropriate for reporting specific problems with the Portfile and not to get support.

Start here: http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/pre-compiled-packages/mac-os-x-packages-macports

After that, if it still does not work check your process listing to see if dbus (one with --system and one with --session), kdeinit4, and klauncher are running. They are pre-requisites.

comment:5 in reply to:  description Changed 13 years ago by ak.ml@…

Could you try:

open /Applications/MacPorts/KDE4/kdeinit4.app

It solved a similar hang issue with other KDE apps.

comment:6 Changed 13 years ago by ak.ml@…

Cc: ak.ml@… added

Cc Me!

comment:7 Changed 13 years ago by davidfavor (David Favor)

Thanks for the pointer to the Kdenlive page. This resolved my problem.

What's missing from the Port file is the correct message about dbus startup.

Two instances of dbus must be started. One for the session. One for the system.

Here are the commands which start kdenlive for me.

sudo chown -R $USER ~/Library/Preferences/KDE
launchctl load -w /opt/local/Library/LaunchDaemons/org.freedesktop.dbus-system.plist
sudo chown -R $USER /opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist
launchctl load -w /opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist

Drop kdenlive into App Dock + click.

Suggestion: Have the Portfile print out the above (both session and system dbus startup) during install.

comment:8 Changed 13 years ago by ddennedy (Dan Dennedy)

Not a bad suggestion but dbus already displays instructions as well as the kde4 group. The kdenlive Portfile is not the appropriate place to nag or maintain that information. I am willing to display the kdenlive.org link I provided as source of additional help.

comment:9 Changed 13 years ago by ddennedy (Dan Dennedy)

Here is what it would look like:

ddennedy-macbook:ports ddennedy$ port notes kdenlive
kdenlive has the following notes:
  ############################################################################
  # If you have difficulty running Kdenlive after installing please see the
  # instructions under the Download section on http://www.kdenlive.org/.
  ############################################################################

I think it is more likely someone will remember "kdenlive.org download section" than they will copy some long link to save for later (and because most port users are not aware of port notes command).

comment:10 in reply to:  8 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Replying to dan@…:

Not a bad suggestion but dbus already displays instructions as well as the kde4 group. The kdenlive Portfile is not the appropriate place to nag or maintain that information. I am willing to display the kdenlive.org link I provided as source of additional help.

The kde4 PortGroup ui_msg in the post-activate phase would be better as a note outside any phase. All ports that use the kde4 PortGroup would inherit the "note".

comment:11 Changed 13 years ago by ddennedy (Dan Dennedy)

@pixilla, the kde4 ui_msg is not the appropriate place to put a message about kdenlive. Should we put a message in there about kdeinit4? On kdenlive.org, we have manual instructions about how to add it is a Login Item. Not sure what is the best thing to do there. Anyone know a way to make that part of the install/activate?

comment:12 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:13 Changed 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Closing as per comment:7. Open a separate ticket if you want to suggest possible changes to the notes that are displayed.

Note: See TracTickets for help on using tickets.