Thanks for the info. I will retry with dbus and qdbus
Also will keep looking for the pattern in the failures in writing the config file. All Vcards are now shown, but there seem to be a number of things that do not work as expected, e.g. in the right click menu,I will report in detail later Cheers Andrew On 15/06/12 16:41, Emmanuel Lepage wrote: > Hi, > > Your dbus-send command work fine for me. But an alternative is "qdbus", it is > probably already installed on your system. > > About the dock config serialization, I made another commit to try to fix it > (I hide and show the dock very quickly to try to make sure they are in sync > with the config), but I am on the dark on this, I really can't reproduce the > issue. > > If this does not solve the issue, how are your dock positioned? I have tried > right clicking on the menu to hide/show them? In that case, does it save > correctly? Do you use Ubuntu Unity or some other WM/DE that might mess up the > GUI layout without notifying the application? > > And by the way, have my VCARD fix worked for you? Does contact load fine now? > > ----- Original Message ----- > From: "Andrew Myers" <[email protected]> > To: "Emmanuel Lepage" <[email protected]> > Cc: [email protected] > Sent: Friday, June 15, 2012 8:09:45 AM > Subject: Re: [SFLphone] SFLPhone KDE > > New nightly build this morning > > Run KDE client > Check Settings - no data shown for any accounts. > Quit client - did not crash on close (In fact the crash on close appears > to have been cured - if I do not speak too soon) > > I suspect that I had two separate problems - the crash on close, and the > incorrect configs being saved. > > The incorrect configs are still being saved: > > rc file changed from > alsaPlugin=default - line omitted > displayBookmarkdock=true changed to false > displayContactdock=true changed to false > displayHistorydock=true changed to false > > Also I have found that the code: > > dbus-send \ > --type="method_call" \ > --dest="org.sflphone.SFLphone" \ > "/org/sflphone/SFLphone/CallManager" \ > "org.sflphone.SFLphone.CallManager.placeCall" \ > string:"$ACCOUNT" \ > string:"$CALLID" \ > string:"$NUMBER" > > throws an error from dbus "--type=method_call: command not found". > > Is there another way of placing a call from the command line? > > > Cheers > > Andrew > > > > > > On 12/06/12 16:29, Emmanuel Lepage wrote: >> Hi, >> >> None of these warning have something to do with your problem, I still fixed >> most of them. What happen is simple, SFLPhone crash before the config is >> saved (on quit). I could hack around this, but it would be hacky. I prefer >> to fix the segfault. As it is on quit, it is a destructor going mad, but >> which one... In GDB, you can enter "backtrace" after the segfault, but it >> might not say anything, segfault on quit are harder to catch than regular >> one. As I can't reproduce it locally, you could also try to comment a few of >> the destructor (function starting with ::~) to see if you can find the >> culprit. >> >> ----- Original Message ----- >> From: "Andrew Myers" <[email protected]> >> To: "Emmanuel Lepage" <[email protected]> >> Cc: [email protected] >> Sent: Tuesday, June 12, 2012 8:45:06 AM >> Subject: Re: [SFLphone] SFLPhone KDE >> >> Here is a list of all the error messages and debug information that I >> can find. I do not know what is relevant. Sorry I cannot be of more help. >> >> Cheers >> >> Andrew >> >> On 12/06/12 10:31, Andrew Myers wrote: >>> Thanks for that, I will look into the failure to write the config file >>> correctly and see if I can find out what is happening. It happens on >>> both of my installations :( >>> >>> (Fully updated Arch Linux - x86-64 - KDE 4.8.4) >>> >>> Cheers >>> >>> Andrew >>> >>> >>> On 11/06/12 23:35, Emmanuel Lepage wrote: >>>> Hi, >>>> >>>> I have fixed (I think) the vCard issues, it was what I was thinking it >>>> was. I also fixed the accoutn status, it should update itself correctly >>>> most of the time. >>>> >>>> I failed to reproduce the visible dock issue, I tried every cases I know >>>> about and all seem to work as advertised. I haven't worked on that code in >>>> the last 2 week, if it was working once, it should keep working. >>>> >>>> ----- Original Message ----- >>>> From: "Andrew Myers" <[email protected]> >>>> To: "Emmanuel Lepage" <[email protected]> >>>> Cc: [email protected] >>>> Sent: Monday, June 11, 2012 9:57:49 AM >>>> Subject: Re: [SFLphone] SFLPhone KDE >>>> >>>> I am wondering if this has something to do with the changes to the >>>> Ringtone settings. When I open the settings window for sflphone I get >>>> two errors: >>>> >>>> sflphone-client-kde(19794)/kdeui (KConfigDialogManager) >>>> KConfigDialogManager::parseChildren: A widget named ' "kcfg_ringtone" ' >>>> was found but there is no setting named ' "ringtone" ' >>>> sflphone-client-kde(19794)/kdeui (KConfigDialogManager) >>>> KConfigDialogManager::parseChildren: A widget named ' >>>> "kcfg_destinationFolder" ' was found but there is no setting named ' >>>> "destinationFolder" ' >>>> >>>> Also, and in passing, I get the following warnings immediately on start up >>>> >>>> QDBusConnection: session D-Bus connection created before >>>> QCoreApplication. Application may misbehave. >>>> QObject::startTimer: QTimer can only be used with threads started with >>>> QThread >>>> >>>> and after the accounts have been "Tried" >>>> >>>> QDBusConnection: name 'org.sflphone.SFLphone' had owner '' but we >>>> thought it was ':1.1995' >>>> >>>> Cheers >>>> >>>> Andrew >>>> >>>> >>>> On 09/06/12 09:52, Andrew Myers wrote: >>>>> I am not sure about this. I updated from git last night, opened the kde >>>>> client this morning and it showed the wrong settings for the window (no >>>>> contact , no history, no bookmarks etc) I re-enable all of these and >>>>> then quit the client with no reported errors. I then checked >>>>> sflphone-kde-clientrc and it was date-stamped when I closed the client, >>>>> but had the wrong settings: >>>>> ---cut--- >>>>> [main] >>>>> addPrefix=false >>>>> alsaOutputDevice=-1 >>>>> alsaPlugin=default >>>>> displayBookmarkDock=false >>>>> displayCallIcon=false >>>>> displayContactDock=false >>>>> displayHistoryDock=false >>>>> displayOnStart=false >>>>> displayVolume=true >>>>> enableAddressBook=false >>>>> ---cut--- >>>>> >>>>> file permissions are 0600 owner $USER >>>>> >>>>> I removed sflphone-kde-clientrc and restarted the client with the >>>>> default settings (not showing the volume controls) I enabled the volume >>>>> controls and then quit the client (it crashed this time) >>>>> sflphone-kde-clientrc was recreated but, apparently due to the crash, it >>>>> only contains: >>>>> >>>>> [MainWindow] >>>>> Height 768=512 >>>>> State=AAAA/wAAAAD9AAAAAQAAAAIAAAMyAAABu/wBAAAAA/sAAAAWAGMAbwBuAHQAYQBjAHQARABvAGMAawEAAAAAAAAA6gAAAIoBAAAF+wAAAB >>>>> AAYwBhAGwAbABEAG8AYwBrAQAAAO0AAAEHAAABBwEAAAX8AAAB9wAAATsAAAEQAP////oAAAABAQAAAAL7AAAAGABiAG8AbwBrAG0AYQByAGsARA >>>>> BvAGMAawEAAAAA/////wAAAPoBAAAF+wAAABYAaABpAHMAdABvAHIAeQBEAG8AYwBrAQAAAAD/////AAABEAEAAAUAAAMyAAAAAAAAAAQAAAAEAA >>>>> AACAAAAAj8AAAAAQAAAAIAAAABAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAA== >>>>> ToolBarsMovable=Disabled >>>>> Width 1366=818 >>>>> >>>>> [Notification Messages] >>>>> systemtrayquitSFLphone KDE Client=false >>>>> >>>>> Relaunched the client - no volume controls, re-enabled volume controls, >>>>> quit client. (did not crash this time) >>>>> >>>>> sflphone-client-kderc now contains >>>>> >>>>> [MainWindow] >>>>> Height 768=512 >>>>> State=AAAA/wAAAAD9AAAAAQAAAAIAAAMyAAABu/wBAAAAA/sAAAAWAGMAbwBuAHQAYQBjAHQARABvAGMAawEAAAAAAAABDgAAAIoBAAAF+wAAAB >>>>> AAYwBhAGwAbABEAG8AYwBrAQAAAREAAAEOAAABBwEAAAX8AAACIgAAARAAAAEQAP////oAAAABAQAAAAL7AAAAGABiAG8AbwBrAG0AYQByAGsARA >>>>> BvAGMAawEAAAAA/////wAAAPoBAAAF+wAAABYAaABpAHMAdABvAHIAeQBEAG8AYwBrAQAAAAD/////AAABEAEAAAUAAAMyAAAAAAAAAAQAAAAEAA >>>>> AACAAAAAj8AAAAAQAAAAIAAAABAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAA== >>>>> ToolBarsMovable=Disabled >>>>> Width 1366=818 >>>>> >>>>> [Notification Messages] >>>>> systemtrayquitSFLphone KDE Client=false >>>>> >>>>> [main] >>>>> addPrefix=false >>>>> alsaPlugin=default >>>>> displayBookmarkDock=false >>>>> displayContactDock=false >>>>> displayHistoryDock=false >>>>> displayVolume=true >>>>> enableAddressBook=false >>>>> enableHooksIAX=false >>>>> enableHooksSIP=false >>>>> hooksCommand=x-www-browser >>>>> hooksSIPHeader=X-sflphone-url >>>>> notifOnMessages=false >>>>> >>>>> As you can see, these settings, at least, have been saved incorrectly: >>>>> displayBookmarkDock=false, displayContactDock=false, >>>>> displayHistoryDock=false >>>>> >>>>> Cheers >>>>> >>>>> Andrew >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On 08/06/12 17:09, Emmanuel Lepage wrote: >>>>>>>> After one of the recent updates from git I had to remove the >>>>>>>> sflphone-kde-clientrc file to be able to save any changed the settings >>>>>>>> - >>>>>>>> just for info. >>>>>> That happen for every KDE app once in a while. In the early days of >>>>>> KDE4, I had to flush them almost everyday. The KDE KConfigSkeleton >>>>>> update path probably failed during the writeConfig() call. >>>>> _______________________________________________ >>>>> SFLphone mailing list >>>>> [email protected] >>>>> http://lists.savoirfairelinux.net/mailman/listinfo/sflphone >>>>> >>> _______________________________________________ >>> SFLphone mailing list >>> [email protected] >>> http://lists.savoirfairelinux.net/mailman/listinfo/sflphone >>> >> > > _______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
