Re: [gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-20 Thread Carlos Sura
On 19 April 2011 13:38, walt w41...@gmail.com wrote:

 On 04/17/2011 05:32 PM, Carlos Sura wrote:



 On 17 April 2011 16:14, walt w41...@gmail.com mailto:w41...@gmail.com
 wrote:

On 04/17/2011 11:38 AM, Carlos Sura wrote:


But, trying as a normal user, isn't working and I dont have any
 clue
about what is making this problem, there is no log or error to
trace.

So, I've unistalled libreoffice, and installed again, but... Isn't
working yet... I'm not really sure what's this problem, since I
 don't
have any clue or any idea to trace this error.


Try strace this way (as normal user):

$strace -f -o outputfile /usr/bin/libreoffice

The -f flag allows strace to follow as the shell-script starts the real
binary executable.  Look through 'outputfile' for messages that look
fatal :)





 Hello Walt, thank you for your answer

 This is the paste: http://tinypaste.com/dde0e1


 The trace clearly shows a segfault, which is what you would expect given
 how
 the program behaves -- but I can't tell what's causing it.  Maybe someone
 else
 can tell us.

 I can suggest a few things to check, though.  I'd try moving or deleting
 your
 ~/.libreoffice directory to see if something in there is corrupted.  If LO
 wants to import old settings from OO try saying no.

 I notice you're using iced-tea for java.  Have you used java-config-2 to
 make sure it's all set up correctly?  Note that the java settings in LO
 need to be edited by hand if you change java versions :(Dumb, but doesn't
 cause a segfault for me.)

 Are you running python-3 instead of python-2?

 Do you get the same segfault by running
 /usr/lib64/libreoffice/program/soffice.bin
 directly?

 Good idea to create a new (ordinary) user account so you can try failing
 programs
 with a completely fresh environment -- not at all the same as running
 something
 as root, of course, and very safe if you use a strong password for the new
 user.

 Out of ideas for the moment.




Hello Walt, thank you for your answer, after several days without
libreoffice working, you told me the answer,  I'd try deleting your
~/.libreoffice directory, after that, LibreOffice was working fine again.

Thank you...

Also it would be nice to know the cause of this problem.

Regards


-- 
Carlos Sura.-


[gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-19 Thread walt

On 04/17/2011 05:32 PM, Carlos Sura wrote:



On 17 April 2011 16:14, walt w41...@gmail.com mailto:w41...@gmail.com wrote:

On 04/17/2011 11:38 AM, Carlos Sura wrote:


But, trying as a normal user, isn't working and I dont have any clue
about what is making this problem, there is no log or error to
trace.

So, I've unistalled libreoffice, and installed again, but... Isn't
working yet... I'm not really sure what's this problem, since I don't
have any clue or any idea to trace this error.


Try strace this way (as normal user):

$strace -f -o outputfile /usr/bin/libreoffice

The -f flag allows strace to follow as the shell-script starts the real
binary executable.  Look through 'outputfile' for messages that look
fatal :)





Hello Walt, thank you for your answer

This is the paste: http://tinypaste.com/dde0e1


The trace clearly shows a segfault, which is what you would expect given how
the program behaves -- but I can't tell what's causing it.  Maybe someone else
can tell us.

I can suggest a few things to check, though.  I'd try moving or deleting your
~/.libreoffice directory to see if something in there is corrupted.  If LO
wants to import old settings from OO try saying no.

I notice you're using iced-tea for java.  Have you used java-config-2 to
make sure it's all set up correctly?  Note that the java settings in LO
need to be edited by hand if you change java versions :(Dumb, but doesn't
cause a segfault for me.)

Are you running python-3 instead of python-2?

Do you get the same segfault by running 
/usr/lib64/libreoffice/program/soffice.bin
directly?

Good idea to create a new (ordinary) user account so you can try failing 
programs
with a completely fresh environment -- not at all the same as running something
as root, of course, and very safe if you use a strong password for the new user.

Out of ideas for the moment.





Re: [gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-17 Thread Carlos Sura
On 15 April 2011 16:08, Neil Bothwick n...@digimed.co.uk wrote:

 On Fri, 15 Apr 2011 13:37:50 -0700, walt wrote:

  You can try re-emerging dbus-glib if you haven't already done it.

 This whole glib-dbus thing is a red herring. That error was caused by
 trying to run LO as root, without an available dbus session. It has
 nothing to do with the fact that LO won't run as a user.


 --
 Neil Bothwick

 Barth's Distinction:
 There are two types of people: those who divide people into two types, and
 those who don't.


Hello, This error: GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init:
assertion failed

That is caused by trying to run libreoffice as root (from terminal) I know.

But, trying as a normal user, isn't working and I dont have any clue about
what is making this problem, there is no log or error to trace.

So, I've unistalled libreoffice, and installed again, but... Isn't working
yet... I'm not really sure what's this problem, since I don't have any clue
or any idea to trace this error.

Again, as I said before, I know that I can't run libreoffice as root (from
console), but I've tried as normal user, and clicking at the icon... And no
luck, no error, no logs, no trace, no clue.



-- 
Carlos Sura.-


[gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-17 Thread walt

On 04/17/2011 11:38 AM, Carlos Sura wrote:



But, trying as a normal user, isn't working and I dont have any clue
about what is making this problem, there is no log or error to
trace.

So, I've unistalled libreoffice, and installed again, but... Isn't
working yet... I'm not really sure what's this problem, since I don't
have any clue or any idea to trace this error.


Try strace this way (as normal user):

$strace -f -o outputfile /usr/bin/libreoffice

The -f flag allows strace to follow as the shell-script starts the real
binary executable.  Look through 'outputfile' for messages that look
fatal :)






Re: [gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-17 Thread Carlos Sura
On 17 April 2011 16:14, walt w41...@gmail.com wrote:

 On 04/17/2011 11:38 AM, Carlos Sura wrote:


  But, trying as a normal user, isn't working and I dont have any clue
 about what is making this problem, there is no log or error to
 trace.

 So, I've unistalled libreoffice, and installed again, but... Isn't
 working yet... I'm not really sure what's this problem, since I don't
 have any clue or any idea to trace this error.


 Try strace this way (as normal user):

 $strace -f -o outputfile /usr/bin/libreoffice

 The -f flag allows strace to follow as the shell-script starts the real
 binary executable.  Look through 'outputfile' for messages that look
 fatal :)





Hello Walt, thank you for your answer

This is the paste: http://tinypaste.com/dde0e1

Maybe someone can help me... I'm looking right now for errors.

-- 
Carlos Sura.-


[gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-15 Thread walt

On 04/14/2011 01:21 PM, Carlos Sura wrote:



On 13 April 2011 01:49, Daniel Pielmeier bil...@gentoo.org 
mailto:bil...@gentoo.org wrote:

2011/4/12 Carlos Sura carlos.su...@googlemail.com 
mailto:carlos.su...@googlemail.com:
 
  It might be GLIB? (I've reciently updated)

Do you also use the ~amd64 version of glib? What about downgradeing it
to the version you had before, should be worth a try and quicker than
rebuiding libreoffice on and on.

--
Daniel Pielmeier


Also, I've tried strace, and this is the output:
http://tinypaste.com/e025e0


/usr/bin/libreoffice is just a shell script, not a binary.  To capture the
full output you need to use the -f flag for strace (follow child processes).

I'm on ~amd64 and libreoffice works okay with glib-2.28.6 and dbus-glib-0.92.

You can try re-emerging dbus-glib if you haven't already done it.




Re: [gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-15 Thread Neil Bothwick
On Fri, 15 Apr 2011 13:37:50 -0700, walt wrote:

 You can try re-emerging dbus-glib if you haven't already done it.

This whole glib-dbus thing is a red herring. That error was caused by
trying to run LO as root, without an available dbus session. It has
nothing to do with the fact that LO won't run as a user.


-- 
Neil Bothwick

Barth's Distinction:
There are two types of people: those who divide people into two types, and
those who don't.


signature.asc
Description: PGP signature