[Sugar-devel] Error testing collaboration using 2 Oracle virtual machines

ANIKET MATHUR amathur at ec.iitr.ac.in
Mon Jun 10 04:21:23 EDT 2019


*Is the "Protocol 'jabber' not found on CM 'gabble'" tracebackreproducible?*
No, it is not reproducible. I get it only when I start sugar desktop for
the first time after setting sugar.

 *I don't know what you mean by "able to see the buddy icon".  In the*
*context of the thread, I'm confused.*
I meant to say that we are able to see the buddy icon of the other vm in
the neghbourhood view only if the two Vms are on the same network. So if we
are able to see the buddy icon, this means that the vm's are able to
interact, isn't it?

Thanks!

On Mon, Jun 10, 2019 at 12:53 PM James Cameron <quozl at laptop.org> wrote:

> Thanks.
>
> Without the Collaboration Server configured, Sugar will use link-local
> Salut.  This is a normal configuration, and is the default.  It does
> not require internet.  When using VMs, they must be on the same network.
>
> With the Collaboration Server configured, Sugar will use Jabber via
> Gabble.  This is a normal configuration, but is not the default.  It
> does require internet, or a Jabber server on a local network.  When
> using VMs, they may be on different networks.
>
> Both of these normal configurations should be tested when porting,
> thanks.  Most of my testing is link-local only.
>
> We have a Jabber server jabber.sugarlabs.org for testing.
>
> Is the "Protocol 'jabber' not found on CM 'gabble'" traceback
> reproducible?
>
> I don't know what you mean by "able to see the buddy icon".  In the
> context of the thread, I'm confused.
>
> On Mon, Jun 10, 2019 at 10:07:26AM +0530, ANIKET MATHUR wrote:
> > Do you have a Collaboration Server configured in My Setting - Network?
> > No, I don't have it configured, since . I am using both the vm's on the
> same
> > internal network, do I have to configure it.
> > Also, I am able to see the buddy icon of other instance in the
> neighbourhood
> > view of the first instance and vice versa.
> > Thanks!
> >
> > On Mon, Jun 10, 2019 at 7:42 AM James Cameron <[1]quozl at laptop.org>
> wrote:
> >
> >     G'day,
> >
> >     Thanks for your problem report.
> >
> >     I've tested using two KVM instances of Ubuntu 19.04, with Sugar
> 0.112.
> >     After login but before taking any action, these lines are in
> >     shell.log;
> >
> >     ```
> >     /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:1630: Warning:
> >     g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
> >       return _Gtk_main(*args, **kwargs)
> >     /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:1630: Warning:
> unable
> >     to set property 'buddy' of type 'PyObject' from value of type
> '(null)'
> >       return _Gtk_main(*args, **kwargs)
> >     ```
> >
> >     For Ubuntu 18.04, with Sugar 0.114, these lines are in shell.log;
> >
> >     ```
> >     /usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> >     g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
> >       Gtk.main()
> >     /usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning: unable
> to set
> >     property 'buddy' of type 'PyObject' from value of type '(null)'
> >       Gtk.main()
> >     ```
> >
> >     I've seen these two log lines often.  I'd like them fixed, but I've
> >     not found the cause.  Prefix varies, but the two log lines correspond
> >     in time to the startup of Sugar, and not to the "Make friend" option.
> >     You have equivalent lines in your log.  All log lines are in time
> >     order.
> >
> >     On both Ubuntu 18.04 and 19.04, in the Neigbourhood View of each the
> >     buddy icon of the other is shown.  When I click on "Make friend"
> >     option, the buddy icon remains visible.  When I switch to Group View,
> >     the buddy icon of the new friend is shown.
> >
> >     The traceback in your log happened during startup of Sugar, after the
> >     instance of Neighborhood was created, and completion of an
> >     asynchronous request for valid accounts.
> >
> >     Given when the traceback happened during startup, the traceback is
> >     unrelated to the "Make friend" option.
> >
> >     I've not been able to reproduce the traceback.
> >
> >     The error "Protocol 'jabber' not found on CM 'gabble'" suggests that
> >     the telepathy-gabble connection manager has either;
> >
> >     - failed,
> >
> >     - taken too long to start, (especially likely on a virtual machine),
> or;
> >
> >     - has not established a connection to your Jabber server.
> >
> >     You reported the same error in your post of 21st May.
> >     [2]
> http://lists.sugarlabs.org/archive/sugar-devel/2019-May/056916.html
> >
> >     Nobody else has reported this error.
> >
> >     Given you saw this before, and you probably did not use "Make friend"
> >     at the time, the traceback is again unrelated to "Make friend".
> >
> >     Do you have a Collaboration Server configured in My Setting -
> Network?
> >
> >     Is the traceback reproducible?  If so, enable debug logging for
> >     telepathy-gabble so you can find out why the connection manager has
> no
> >     protocol 'jabber'.  If the traceback is not reproducible, then ignore
> >     it; it was likely because telepathy-gabble process did not finish
> >     starting by the time Sugar tried to create an account on the
> >     connection.
> >
> >     Speculating; this is a race condition problem; a race between Sugar
> >     startup and Telepathy, and the fix may have to be done in Telepathy.
> >
> >     On Sat, Jun 08, 2019 at 12:04:32PM +0530, ANIKET MATHUR wrote:
> >     > Hello everyone,
> >     > I am using 2 Oracle Vm's having Ubuntu 18.04, using Sugar 0.112,
> both
> >     attached
> >     > to the same internal network. In the neigbourhood view of each the
> buddy
> >     icon
> >     > of other is shown. But when I click on `Make friend` option, the
> buddy
> >     icon
> >     > disappears and I have the following as the traceback
> >     >
> >     > ```
> >     > Traceback (most recent call last):
> >     >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line
> 604,
> >     in
> >     > msg_reply_handler
> >     >     reply_handler(*message.get_args_list(**get_args_opts))
> >     >   File
> "/usr/lib/python2.7/dist-packages/jarabe/model/neighborhood.py",
> >     line
> >     > 738, in __got_accounts_cb
> >     >     self._server_account =
> self._ensure_server_account(account_paths)
> >     >   File
> "/usr/lib/python2.7/dist-packages/jarabe/model/neighborhood.py",
> >     line
> >     > 851, in _ensure_server_account
> >     >     properties)
> >     >   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line
> 70, in
> >     __call__
> >     >     return self._proxy_method(*args, **keywords)
> >     >   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line
> 145, in
> >     > __call__
> >     >     **keywords)
> >     >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line
> 651,
> >     in
> >     > call_blocking
> >     >     message, timeout)
> >     > dbus.exceptions.DBusException:
> >     org.freedesktop.Telepathy.Error.NotImplemented:
> >     > Protocol 'jabber' not found on CM 'gabble'
> >     > /usr/lib/python2.7/dist-packages/jarabe/main.py:379: Warning:
> >     > g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
> >     >   Gtk.main()
> >     > /usr/lib/python2.7/dist-packages/jarabe/main.py:379: Warning:
> unable to
> >     set
> >     > property 'buddy' of type 'PyObject' from value of type '(null)'
> >     >   Gtk.main()
> >     > ```
> >     > Need help. Thanks!
> >
> >     > _______________________________________________
> >     > Sugar-devel mailing list
> >     > [3]Sugar-devel at lists.sugarlabs.org
> >     > [4]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >     --
> >     James Cameron
> >     [5]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:quozl at laptop.org
> > [2] http://lists.sugarlabs.org/archive/sugar-devel/2019-May/056916.html
> > [3] mailto:Sugar-devel at lists.sugarlabs.org
> > [4] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [5] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190610/c2e3589e/attachment-0001.html>


More information about the Sugar-devel mailing list