← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 778676] Re: Crash on Edit Profile

 

Actually H (capital) is more correct than i.  H is an unsigned short.

Check out /usr/include/X11/Xauth.h

typedef struct xauth {
    unsigned short   family;
    unsigned short   address_length;
    char            *address;
    unsigned short   number_length;
    char            *number;
    unsigned short   name_length;
    char            *name;
    unsigned short   data_length;
    char            *data;
} Xauth;

It should be an unsigned short (H) instead of just a short (h). Int (i)
happens to work as well but unsigned short is more correct.

For those who just want sabayon to work do
sudo nano +276 /usr/lib/pymodules/python2.7/sabayon/protosession.py
and make the h's into H's so it looks like
pack_format = ">HH%dsH%dsH%dsH%d" % (display_addr_len, display_num_len, xauth_name_len, xauth_data_len) 

** Patch added: "protosession.py.patch"
   https://bugs.launchpad.net/ubuntu/+source/sabayon/+bug/778676/+attachment/2237598/+files/protosession.py.patch

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to sabayon in Ubuntu.
https://bugs.launchpad.net/bugs/778676

Title:
  Crash on Edit Profile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sabayon/+bug/778676/+subscriptions


References