Opened 13 years ago

Closed 13 years ago

#31065 closed defect (wontfix)

kmymoney4(-devel) will not start when launched from finder

Reported by: linuxstuff@… Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: kmymoney4

Description (last modified by nerdling (Jeremy Lavergne))

Hi Guys still having some problems with Kmymoney4. Using snow Leopard 10.6.8, Xcode 3.2.5. When I go to finder I and type in Kmymoney it launches the program then a few seconds it launches drkonqi and a error report is created. Please see attached. I think I looked at a previous case #27205 which appears to be similar to my case.

I have uninstalled kmymoney4 and re-installed it again however I still get no joy.

Regards Kevin

Attachments (4)

kmymoney error on launch.txt (35.1 KB) - added by linuxstuff@… 13 years ago.
kmymoney4 crash report.txt (35.0 KB) - added by linuxstuff@… 13 years ago.
kmymoney4-devel crash report.txt (35.0 KB) - added by linuxstuff@… 13 years ago.
main.log (33.6 KB) - added by linuxstuff@… 13 years ago.

Download all attachments as: .zip

Change History (32)

Changed 13 years ago by linuxstuff@…

Changed 13 years ago by linuxstuff@…

Attachment: kmymoney4 crash report.txt added

comment:1 Changed 13 years ago by linuxstuff@…

I've attached a more recent crash report in the last minutes the first one is an old log sorry about that.

Regards Kevin

comment:2 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: mk@… added
Description: modified (diff)
Keywords: kmymoney4 not launching removed
Port: kmymoney4 added

comment:4 Changed 13 years ago by mkae (Marko Käning)

Did you try whether the error also happens with kmymoney4-devel port?

comment:5 Changed 13 years ago by mkae (Marko Käning)

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

comment:6 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… removed

comment:7 Changed 13 years ago by linuxstuff@…

Hello I've installed the latest version of Xcode for snow leopard 3.2.6,uninstalled kmymoney4, installed kmymoney4-devel did a selfupdate and upgraded outdated ports too. I ran kmymoney from the finder tool, kmyoney4-devel starts bouncing on my dock bar, looking good then, the drkonqi icon appears on my dockbar then a error log is generated. please see attached file. I appear to have problems running any kde4 applications. I installed kate and that crashes too.

Regards Kevin

Changed 13 years ago by linuxstuff@…

comment:8 Changed 13 years ago by mkae (Marko Käning)

What does

ps aux | grep dbus

report on your system?

On what do you get for

launchctl list | grep dbus
sudo launchctl list | grep dbus

over there?

comment:9 Changed 13 years ago by mkae (Marko Käning)

Summary: kmymoney will not start when launched from finderkmymoney4(-devel) will not start when launched from finder

comment:10 Changed 13 years ago by linuxstuff@…

hello when I run ps aux | grep dbus I get the following: -- ps aux | grep dbus messagebus 79 0.0 0.0 2435472 716 ?? Ss 5:21PM 0:00.01 /opt/local/bin/dbus-daemon --system --nofork doggieboneuk 15066 0.0 0.0 2426928 336 s000 R+ 11:02PM 0:00.00 grep dbus

launchctl list | grep dbus

sudo launchctl list | grep dbus Password: 79 - org.freedesktop.dbus-system

Kevin

comment:11 Changed 13 years ago by mkae (Marko Käning)

Please use code formatting (that's achieved with the three curly braces) for your console output.

But what I already see from above is that your session dbus isn't working correctly. No dbus process with --session is alive. Also the user's launchctl's output is empty.

What you must do is to start your session dbus as the user you are logged on with by calling

launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

That should start up the agent. Verify whether it has been started with the above "launchctl list" command. If it still doesn't get started you may have run into the same problem as I did previously in issue #29409 .

comment:12 Changed 13 years ago by linuxstuff@…

thank for the advice on formatting :)

When I run the above command I launchctl command and check the two list I get the following

launchctl list | grep dbus

{{{sudo launchctl list | grep dbus

  • 0 org.freedesktop.dbus-session

79 - org.freedesktop.dbus-system}}}

I then tried to start kmymoney4-devel from finder tool it still errors I'm afraid.

comment:13 Changed 13 years ago by mkae (Marko Käning)

Curly braces for code formatting are generated with the 5th icon above the editor text input box.

{{{
And your input hasn't been rendered correctly since there was no space after and before the starting and ending braces.
}}}

Please try again the

ps aux|grep dbus

but I think this time you should see both processes running.

What does irritate me already is that your first launchctl command (as the login user) doesn't return a result...

comment:14 Changed 13 years ago by mkae (Marko Käning)

Better use newlines after the curly braces, that makes code or console output more readable.

comment:15 Changed 13 years ago by linuxstuff@…

Oops i think I've got it now.

I tried the command again it now has a output.

ps aux | grep dbus
messagebus    79   0.0  0.0  2435472    716   ??  Ss    5:21PM   0:00.01 /opt/local/bin/dbus-daemon --system --nofork
doggieboneuk 15202   0.0  0.0  2435120    436 s000  R+   11:58PM   0:00.00 grep dbus

comment:16 Changed 13 years ago by mkae (Marko Käning)

Well, here we see that only the system dbus is actually running...

That's not enough. :-(

The session dbus needs to be working as well...

I understood that you've executed the launchctl command from https://trac.macports.org/ticket/31065#comment:11 so, I am afraid you've got into the same mess like me, i.e. that you're unable for some reason to start the dbus session correctly.

Right now I am unfortunately unable to help you out of this mess, since - as described in #29409 - I cannot say as to why loading dbus session fails. (For some reason after weeks and weeks of unability to run KMyMoney4 I am able to run it again today for the first time. And, funnily enough, I don't know why it works all of a sudden. All I see now is that both system and session dbus run now, which makes KMM4 work w/o trouble.)

I just wonder what we can do now to get you into a working state...

comment:17 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Try this:

$ sudo launchctl unload -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
$ launchctl unload -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
$ sudo launchctl unload -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
$ sudo launchctl list | grep dbus

If the last command returns nothing then lets try what the dbus notes say:

$ port notes dbus
$ sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
$ launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

comment:18 Changed 13 years ago by linuxstuff@…

sudo launchctl unload -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
launchctl: Error unloading: org.freedesktop.dbus-session
launchctl unload -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
launchctl: Error unloading: org.freedesktop.dbus-session
sudo launchctl list | grep dbus

I get no response from the above command.

I ran the commands below port notes gave me the commands as you listed, the other two commands did not error, but i did not any responses either.

I ran the following command as before and received the following below.

sudo launchctl list | grep dbus
998	-	org.freedesktop.dbus-system

comment:19 Changed 13 years ago by mkae (Marko Käning)

What does

launchctl list | grep dbus

return in your case?

comment:20 Changed 13 years ago by linuxstuff@…

If I do the above command I get the following

sudo launchctl list | grep dbus
1487	-	org.freedesktop.dbus-system

comment:21 Changed 13 years ago by mkae (Marko Käning)

Please execute, as requested, the command without "sudo"! :-)

comment:22 Changed 13 years ago by mkae (Marko Käning)

I just realize that a running session dbus isn't actually a sign of a malfunction, since here in my case I see that the session dbus gets started automatically when I run kmymoney4(-devel).

$ ps aux | grep dbus
marko     8678   0.8  0.0  2435116    532 s000  S+   12:44PM   0:00.00 grep dbus
messagebus    52   0.0  0.0  2435472    712   ??  Ss   12:35PM   0:00.01 /opt/macports-test/bin/dbus-daemon --system --nofork

$ (kmymoney)...

$ ps aux | grep dbus
marko     8684   0.0  0.0  2446936    864   ??  S    12:45PM   0:00.01 /opt/macports-test/bin/dbus-daemon --nofork --session
messagebus    52   0.0  0.0  2435472    712   ??  Ss   12:35PM   0:00.01 /opt/macports-test/bin/dbus-daemon --system --nofork
marko     8703   0.0  0.0  2435116    532 s000  S+   12:45PM   0:00.00 grep dbus

So, I guess we need other means to figure out why your system won't allow you to start any KDE apps.

Did you see this ticket comment: http://trac.macports.org/ticket/27205#comment:46? Perhaps installing kate helps in your case.

What happens if you call

kbuildsycoca4

and try running KMM afterwards?

comment:23 Changed 13 years ago by linuxstuff@…

When I run the following command I get

launchctl list | grep dbus
-	0	org.freedesktop.dbus-session

comment:24 Changed 13 years ago by linuxstuff@…

How do you run kmymoney on the commandline, when I type kmymoney4-devel I get the following error but I think I doing this wrong.

iMac:~ doggieboneuk$ kmymoney4-devel
-bash: kmymoney4-devel: command not found

comment:25 Changed 13 years ago by linuxstuff@…

Hi there I looked at the ticket you mentioned I used the following command

sudo port uninstall installed

Then I ran the following command

sudo port install kmymoney4

All was going well until it failed on this point.

--->  Fetching archive for qjson
--->  Attempting to fetch qjson-0.7.1_1.darwin_10.x86_64.tbz2 from http://packages.macports.org/qjson
--->  Fetching qjson
--->  Attempting to fetch qjson-0.7.1.tar.bz2 from http://kent.dl.sourceforge.net/qjson
--->  Verifying checksum(s) for qjson
--->  Extracting qjson
Error: Target org.macports.extract returned: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_qjson/qjson/work/qjson-0.7.1: no such file or directory
Error: Failed to install qjson
Log for qjson is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_qjson/qjson/main.log
Error: The following dependencies were not installed: kde4-runtime kdelibs4 dbusmenu-qt qjson docbook-xsl-ns enchant hunspell flex giflib xorg-libsm xorg-libice gmake grantlee kerberos5 gnupg libusb-compat libusb libart_lgpl liblzma openexr ilmbase gsed pcre qca shared-desktop-ontologies soprano clucene libiodbc raptor2 raptor redland rasqal mpfr strigi ffmpeg XviD dirac cppunit faad2 lame libogg libsdl libtheora libvorbis libvpx yasm schroedinger orc speex texi2html x264 virtuoso gawk libssh openslp oxygen-icons qimageblitz kdepimlibs4 akonadi boost icu mysql5-server mysql5 gpgme libassuan pth libical openldap prison libdmtx ImageMagick ghostscript libpaper xorg-libXt lcms2 p7zip urw-fonts qrencode libalkimia
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I tried to clean and re-install(qjson) however it still failed. Oh dear will I have to uninstall the entire port and start again?

Changed 13 years ago by linuxstuff@…

Attachment: main.log added

comment:26 Changed 13 years ago by linuxstuff@…

Guys

Please don't do any further investigations, I've had to remove kmymoney4-Devel and install Kmymoney 1.0. I was hoping this would be a pain free upgrade but I really do rely on kmymoney for my personal finance.

I'd just like to say thanks for your help and patience. I'll have to install Kmymoney4 in vmwarefusion and try it there.

Thanks guys for your help.

Regards kevin

comment:27 Changed 13 years ago by neverpanic (Clemens Lang)

The qjson port (along with a couple ports) is currently broken because of a regression in MacPorts 2.0.2. This will be fixed shortly by the release of MacPorts 2.0.3. See #31073 for more info.

comment:28 Changed 13 years ago by mkae (Marko Käning)

Resolution: wontfix
Status: newclosed

Oh, no, unfortunately this upgrade isn't pain-free. :-( Never had been, really.

Anyway, I myself also use KMM 1.0.5 most of the time. It's reasonably stable, faster and does almost everything I need.

I brought KMM 4.x to MacPorts to support its further development. That's why port info shows that these ports are EXPERIMENTAL.

Thanks for trying, linuxstuff.

I'm closing this ticket then.

Note: See TracTickets for help on using tickets.