OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Pyuno Segmentation fault

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
quiffhanger
General User
General User


Joined: 22 Dec 2005
Posts: 13

PostPosted: Fri Mar 24, 2006 7:05 am    Post subject: Pyuno Segmentation fault Reply with quote

I cant use Pyuno - I get a segfault whenever I try and connect to my open office installation, i.e. at the following line of the example helloworld program:
Code:

# connect to the running office
ctx = resolver.resolve( "uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" )

Python crashes with the error "Segmentation fault"
I have tried:I am running White Box Enterprise Linux 4 (kernel 2.6.9) & OpenOffice 2.0.2. I have managed to get the same setup working on a FC4 box I have.

My last few lines of an strace are:
Code:

[root@kryten program]# strace ./python.sh ootest.py
...
open("/usr/lib/sse2/libgcc3_urp.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgcc3_urp.so", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0xb7359000, 45773)               = 0
open("./libgcc3_urp.so", O_RDONLY)      = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Any help would be apperciated I am completely failing to find any info on google about it.

regards,

-ross
Back to top
View user's profile Send private message
quiffhanger
General User
General User


Joined: 22 Dec 2005
Posts: 13

PostPosted: Fri Mar 31, 2006 1:08 am    Post subject: Reply with quote

I'm still not getting anywhere with this Sad

I have now also tried:
  • The latest unstable version of OO
  • Replacing the OO version of python following the vaugely relevant instructions from here, here and here
But I am still getting the segfault.

Does anyone have any suggestions?

-ross
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group