To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73101
                 Issue #|73101
                 Summary|unable to import uno module
               Component|framework
                 Version|OOo 2.1
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|tm
             Reported by|debyld





------- Additional comments from [EMAIL PROTECTED] Wed Jan  3 15:21:48 -0800 
2007 -------
Unable to load the uno module when trying to automate OOo. The Windows and Linux
versions come with python however if you refer to issue 70763
(http://www.openoffice.org/issues/show_bug.cgi?id=70763) the OSX version is
meant to use the native version of python. However, when you try to import uno
from within the OOo program directory it fails. This is a major problem for
anyone wishing to automate OOo on the Mac, which I do.

For example:

cd /Applications/OpenOffice.org 2.1.app/Contents/MacOS/program
python

>>> import uno
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "uno.py", line 37, in ?
    import pyuno
SystemError: dynamic module not initialized properly

>>> import pyuno
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
SystemError: dynamic module not initialized properly


On Windows or Linux in the program directory you can load the uno module by 
running:
python.sh
>>> import uno

If there is another way you are meant to load the uno modules please advise.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to