dbus error while building sugar

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Shankar Pokharel
While trying to setup sugar environment in Fedora Core 5, I get the
following error:

File "dbus_bindings.pyx", line 1695, in dbus_bindings.bus_get
dbus_bindings.DBusException: No reply within specified time

What to do?

--Shankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060715/38d7e48a/attachment.html
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Marco Pesenti Gritti
Shankar Pokharel wrote:
> While trying to setup sugar environment in Fedora Core 5, I get the
> following error:
>
> File "dbus_bindings.pyx", line 1695, in dbus_bindings.bus_get
> dbus_bindings.DBusException: No reply within specified time

How did you build sugar? Which version? Can you post the full output?

Marco
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Shankar Pokharel
Marco, I'm very very sorry for posting here and there.

I tried to build the Sugar in Fedora Core 5 with the steps given in OLPC
wiki: http://wiki.laptop.org/go/Sugar_on_Fedora_Core

In the last step "Run Sugar", I get following console o/p:

[root@localhost sugar--devel]# ./sugar/sugar
Running sugar from . ...
Redirecting output to the console, press ctrl+d to open it.
./cut-n-paste/google.py:58: DeprecationWarning: SOAPpy not imported. Trying
legacy SOAP.py.
  import GoogleSOAPFacade
Traceback (most recent call last):
  File "./sugar/sugar", line 77, in ?
    session.start()
  File "./sugar/session/session.py", line 12, in start
    shell.main()
  File "./sugar/shell/shell.py", line 393, in main
    console = ConsoleLogger()
  File "./sugar/shell/shell.py", line 337, in __init__
    session_bus = dbus.SessionBus()
  File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 266, in
__new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, use_default_mainloop, private)
  File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 99, in __new__
    bus._connection = dbus_bindings.bus_get(bus_type, private)
  File "dbus_bindings.pyx", line 1695, in dbus_bindings.bus_get
dbus_bindings.DBusException: No reply within specified time
[root@localhost sugar--devel]#

I did complete all the steps above that.

On 7/15/06, Marco Pesenti Gritti <[hidden email]> wrote:

>
> Shankar Pokharel wrote:
> > While trying to setup sugar environment in Fedora Core 5, I get the
> > following error:
> >
> > File "dbus_bindings.pyx", line 1695, in dbus_bindings.bus_get
> > dbus_bindings.DBusException: No reply within specified time
>
> How did you build sugar? Which version? Can you post the full output?
>
> Marco
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060715/132457c2/attachment.html
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Marco Pesenti Gritti
Shankar Pokharel wrote:
> Marco, I'm very very sorry for posting here and there.
>
> I tried to build the Sugar in Fedora Core 5 with the steps given in
> OLPC wiki: http://wiki.laptop.org/go/Sugar_on_Fedora_Core 
> <http://wiki.laptop.org/go/Sugar_on_Fedora_Core>

Ugh, that's horribly outdated!

I'll put up better instructions tomorrow. I don't have FC5 here to test
but maybe you can help out  with that :)

Marco
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Shankar Pokharel
>
>
> Ugh, that's horribly outdated!
>
> I'll put up better instructions tomorrow. I don't have FC5 here to test
> but maybe you can help out  with that :)


Marco, I'll certainly test it, and post the results.

Shankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060716/6c7ebbad/attachment.html
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Marco Pesenti Gritti
Shankar Pokharel wrote:

>
>
>     Ugh, that's horribly outdated!
>
>     I'll put up better instructions tomorrow. I don't have FC5 here to
>     test
>     but maybe you can help out  with that :)
>
>
> Marco, I'll certainly test it, and post the results.
>
> Shankar
>

Here you are:
http://wiki.laptop.org/go/Sugar_on_Fedora_Core_5

It should be pretty simple, let me know if you can get it running (or if
you have problems).

Marco
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Shankar Pokharel
Marco,

Everything worked fine, upto Building Sugar. But when I tried to run Sugar a
blank window named "Xnest" opens with the following console o/p:



[root@localhost sugar-jhbuild]# ./sugar-jhbuild run
Running the installed sugar...
Redirecting output to the console, press F3 to open it.
Could not init font path element /usr/share/X11/fonts/OTF, removing from
list!
Could not init font path element /usr/share/X11/fonts/CID/, removing from
list!
mbpixbuf: no shared memory extension
Owner 'root' using port 51948
Traceback (most recent call last):
  File "/home/shankar/sugar-jhbuild/build/bin/sugar", line 55, in ?
    session.start()
  File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Session.py",
line 54, in start
    shell.start()
  File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Shell.py", line
53, in start
    self._owner = ShellOwner()
  File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Owner.py", line
46, in __init__
    self._pservice.register_service(self._service)
  File
"/home/shankar/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/presence/PresenceService.py",
line 542, in register_service
    dbus.UInt16(rs_port), info,)
  File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in
__call__
    ret = self._proxy_method (*args, **keywords)
  File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 93, in
__call__
    iter.append(arg)
  File "dbus_bindings.pyx", line 1084, in dbus_bindings.MessageIter.append
  File "dbus_bindings.pyx", line 1308, in
dbus_bindings.MessageIter.append_arrayIndexError: list index out of range




I tried to locate "dbus_bindings.pyx" but there was only "dbus_bindings.so"
in the directory.

Regards,
Shankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060716/11a42357/attachment.html
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Marco Pesenti Gritti
Shankar Pokharel wrote:

>
> Marco,
>
> Everything worked fine, upto Building Sugar. But when I tried to run
> Sugar a blank window named "Xnest" opens with the following console o/p:
>
>
>
> [root@localhost sugar-jhbuild]# ./sugar-jhbuild run
> Running the installed sugar...
> Redirecting output to the console, press F3 to open it.
> Could not init font path element /usr/share/X11/fonts/OTF, removing
> from list!
> Could not init font path element /usr/share/X11/fonts/CID/, removing
> from list!
> mbpixbuf: no shared memory extension
> Owner 'root' using port 51948
> Traceback (most recent call last):
>   File "/home/shankar/sugar-jhbuild/build/bin/sugar", line 55, in ?
>     session.start()
>   File
> "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Session.py", line
> 54, in start
>     shell.start()
>   File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Shell.py",
> line 53, in start
>     self._owner = ShellOwner()
>   File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Owner.py",
> line 46, in __init__
>     self._pservice.register_service(self._service)
>   File
> "/home/shankar/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/presence/PresenceService.py",
> line 542, in register_service
>     dbus.UInt16 (rs_port), info,)
>   File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in
> __call__
>     ret = self._proxy_method (*args, **keywords)
>   File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 93, in
> __call__
>     iter.append(arg)
>   File "dbus_bindings.pyx", line 1084, in dbus_bindings.MessageIter.append
>   File "dbus_bindings.pyx", line 1308, in
> dbus_bindings.MessageIter.append_arrayIndexError: list index out of range
Dan, any idea about this one? I'm not really sure what could be going
wrong...

I also installed sugar on a clean FC5 today and it worked without any
problems.

Marco
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Shankar Pokharel
Marco, Dan,

I think the problem is with the lines 4 and 5 in the console o/p below.

1>>[root@localhost sugar-jhbuild]# ./sugar-jhbuild run
2>> Running the installed sugar...
3>> Redirecting output to the console, press F3 to open it.
4>> Could not init font path element /usr/share/X11/fonts/CID/, removing
from list!
5>> mbpixbuf: no shared memory extension
6>> Owner 'root' using port 56279
7>> Traceback (most recent call last):
  File "/home/shankar/sugar-jhbuild/build/bin/sugar", line 55, in ?
    session.start()
  File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Session.py",
line 54, in start
    shell.start()
  File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Shell.py", line
53, in start
    self._owner = ShellOwner()
  File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Owner.py", line
46, in __init__
    self._pservice.register_service(self._service)
  File
"/home/shankar/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/presence/PresenceService.py",
line 542, in register_service
    dbus.UInt16(rs_port), info,)
  File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in
__call__
    ret = self._proxy_method (*args, **keywords)
  File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 93, in
__call__
    iter.append(arg)
  File "dbus_bindings.pyx", line 1084, in dbus_bindings.MessageIter.append
  File "dbus_bindings.pyx", line 1308, in
dbus_bindings.MessageIter.append_arrayIndexError: list index out of range
[root@localhost sugar-jhbuild]#


Shankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060718/d23ed2ec/attachment.html
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Marco Pesenti Gritti
Shankar Pokharel wrote:

> Marco, Dan,
>
> I think the problem is with the lines 4 and 5 in the console o/p below.
>
> 1>>[root@localhost sugar-jhbuild]# ./sugar-jhbuild run
> 2>> Running the installed sugar...
> 3>> Redirecting output to the console, press F3 to open it.
> 4>> Could not init font path element /usr/share/X11/fonts/CID/,
> removing from list!
> 5>> mbpixbuf: no shared memory extension

These should be fine actually. They are just some Xnest message... I'm
not sure what they are due to but  they doesn't hurt.

Something is going wrong later when sugar try to communicate with avahi
via dbus.

Marco
Reply | Threaded
Open this post in threaded view
|

dbus error while building sugar

Marco Pesenti Gritti
In reply to this post by Shankar Pokharel
Shankar Pokharel wrote:

> Marco, Dan,
>
> I think the problem is with the lines 4 and 5 in the console o/p below.
>
> 1>>[root@localhost sugar-jhbuild]# ./sugar-jhbuild run
> 2>> Running the installed sugar...
> 3>> Redirecting output to the console, press F3 to open it.
> 4>> Could not init font path element /usr/share/X11/fonts/CID/,
> removing from list!
> 5>> mbpixbuf: no shared memory extension
> 6>> Owner 'root' using port 56279
> 7>> Traceback (most recent call last):
>   File "/home/shankar/sugar-jhbuild/build/bin/sugar", line 55, in ?
>     session.start()
>   File
> "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Session.py", line
> 54, in start
>     shell.start ()
>   File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Shell.py",
> line 53, in start
>     self._owner = ShellOwner()
>   File "/home/shankar/sugar-jhbuild/build/share/sugar/shell/Owner.py",
> line 46, in __init__
>     self._pservice.register_service(self._service)
>   File
> "/home/shankar/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/presence/PresenceService.py",
> line 542, in register_service
>     dbus.UInt16 (rs_port), info,)
>   File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in
> __call__
>     ret = self._proxy_method (*args, **keywords)
>   File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 93, in
> __call__
>     iter.append(arg)
>   File "dbus_bindings.pyx", line 1084, in dbus_bindings.MessageIter.append
>   File "dbus_bindings.pyx", line 1308, in
> dbus_bindings.MessageIter.append_arrayIndexError: list index out of range
> [root@localhost sugar-jhbuild]#

Ok, this one should finally be fixed in cvs!

Marco