LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2011, 10:04 AM   #1
kauuttt
Member
 
Registered: Dec 2008
Location: Atlanta, GA, USA
Distribution: Ubuntu
Posts: 135

Rep: Reputation: 26
DBUS errors


Hi,

I am using DBUS for communicating between my server and client.

Previously, everything was working properly, but for the methods I added lately, I am getting strange runtime error..

There is nothing wrong during compilation time. And I am quite sure that coding is also okay.


I am using the following commands to generate the stub code..
kd@otp-build:~/source_code$ dbus-binding-tool --mode=glib-server --prefix=lupin myDBUS.xml > stub_server.h
kd@otp-build:~/source_code$ dbus-binding-tool --mode=glib-client --prefix=lupin myDBUS.xml > stub_client.h


My CLIENT application is getting crashed with:

LOG: Error message = Method "CheckFileSystemSpace" with signature "s(sus)" on interface "PlatformUpdateService.Interface" doesn't exist


The snap-shot of my xml file is:
<method name="CheckFileSystemSpace">
<arg type="s" name="pkg_path" direction="in" />
<arg type="(sus)" name="pkg_desc" direction="in" />
<arg type="b" name="return_value" direction="out" />
</method>

Please help me out. Its eating my brain out!

Kd
 
Old 02-17-2011, 11:54 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,925

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by kauuttt View Post
Hi,
I am using DBUS for communicating between my server and client. Previously, everything was working properly, but for the methods I added lately, I am getting strange runtime error..

There is nothing wrong during compilation time. And I am quite sure that coding is also okay.

I am using the following commands to generate the stub code..
kd@otp-build:~/source_code$ dbus-binding-tool --mode=glib-server --prefix=lupin myDBUS.xml > stub_server.h
kd@otp-build:~/source_code$ dbus-binding-tool --mode=glib-client --prefix=lupin myDBUS.xml > stub_client.h

My CLIENT application is getting crashed with:

LOG: Error message = Method "CheckFileSystemSpace" with signature "s(sus)" on interface "PlatformUpdateService.Interface" doesn't exist

The snap-shot of my xml file is:
<method name="CheckFileSystemSpace">
<arg type="s" name="pkg_path" direction="in" />
<arg type="(sus)" name="pkg_desc" direction="in" />
<arg type="b" name="return_value" direction="out" />
</method>
Please help me out. Its eating my brain out!
Not sure what we can help you WITH. You don't say what version/distro of Linux you're using, what the program(s) do, post the programs, or give us any details.

However, reading what you posted would lead one to assume that your code is broken. You say it was working, until you added something, and now it's not....that's a fairly obvious problem. If your OLD code works, and your NEW code doesn't, then you've got a problem in your new code. Again, you don't say what it does, or provide details, but that's the first place to look.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dbus and hal errors borisko Slackware 2 08-01-2010 06:21 AM
LXer: Firewire Audio on Linux: Fixing FFADO dbus-service Errors LXer Syndicated Linux News 0 07-14-2010 03:10 PM
dbus "rm /var/run/dbus/Desktop can't remove..." longus Slackware 6 12-15-2008 04:33 AM
Fedora Core 9 update dbus.exception & dbus.proxies & DBus.Error.AccessDenied errors trien27 Fedora 1 12-09-2008 12:23 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 09:30 AM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration