Sunday, December 13, 2009

Smb4k "org.freedesktop.DBus.Error.NoReply" problem in Kubuntu Karmic Koala

I was trying to start Sbm4k today and after running the command I noticed that the application was doing nothing besides creating an entry in the task bar that disappears in a while. After executing Smb4k from the console I got the following error:

(4408)/: Communication problem with  "smb4k" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 


Well it seems that there is a bug related to this problem in launchpad that has been fixed but obviously doesn't work in my system and after reading for a while I found the following suggestion:

"remove the ~/.kde4/share/apps/smb4k/custom_options.xml"

Smb4k is running on an infinite loop mounting things on startup. In my system I couldn't find such file and I noticed that I have the fixed version of this application as described in the launchpad bug, but since this is the first time I run Smb4k since the update, the old setting that was causing the bug was still being used and it was trying to remount old bookmarked  locations on startup hence falling in the infinite loop.

The solution in my case was to rename the bookmark file before starting smb4k:

"/.kde/share/apps/smb4k$ mv bookmarks.xml bookmarks.xmlBAK"

Then changing it back to its previous name, I hope it helps ;)