Error with OpenOffice

w chun wescpy at gmail.com
Fri Jun 23 20:23:00 EDT 2006


> Subject: Error with OpenOffice
> From: "Mario Lacunza" <mlacunza at gmail.com>
> Date: Thu Apr 20 06:30:19 CEST 2006
>
> I try to make the exercises found in Ooo website but I receipt this
> error:
>
> mario at laptop:~$ python
> Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
> [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import uno
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.4/site-packages/uno.py", line 37, in ?
>     import pyuno
> SystemError: dynamic module not initialized properly
>
> Any idea??
>
> Mi configuracion/My config:
>
> Ubuntu Breezy 5.10
> Linux Kernel 2.6.12-10-386
> Python 2.4.2
> wxPython 2.6.1.1Pre
> OpenOffice 2.0.1


hola mario,

of the software you listed above, did you manually compile any?
i am using the exact same release as you:

Ubuntu Breezy 5.10
Linux Kernel 2.6.12-10-386
Python 2.4.2

the only difference is that i'm using OpenOffice2 version 1.9.129.
i have not loaded wxPython yet, but all of the software listed was
installed as Ubuntu packages (not hand-built).

i am able to do this:

$ python
Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
>>> import sys
>>>
>>> sys.modules['uno']
<module 'uno' from '/usr/lib/python2.4/site-packages/uno.pyc'>
>>>
>>> sys.modules['pyuno']
<module 'pyuno' from '/usr/lib/python2.4/site-packages/pyuno.so'>

-wesley

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
python training and technical consulting
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com



More information about the Python-list mailing list