To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116259
                 Issue #|116259
                 Summary|pyuno: will not load (wrong architecture)
               Component|udk
                 Version|OOo 3.2.1
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jbu
             Reported by|austux





------- Additional comments from [email protected] Thu Dec 30 10:27:51 
+0000 2010 -------
I am trying to load PyUNO on Mac OS X (10.6.5) on Intel. Although I found the 
pyuno.so binary, it will 
not load saying it's the wrong architecture.

I try to load PyUNO in a script that contains the following:

test.py:
#!/usr/bin/python2.6

import sys
sys.path.append('/Applications/OpenOffice.org.app/Contents/basis-link/program')
import uno

With the following output:
$ ./test.py 
Traceback (most recent call last):
  File "./test.py", line 6, in <module>
    import uno
  File "/Applications/OpenOffice.org.app/Contents/basis-link/program/uno.py", 
line 29, in <module>
    import pyuno
ImportError: 
dlopen(/Applications/OpenOffice.org.app/Contents/basis-link/program/pyuno.so, 
2): no 
suitable image found.  Did find:
        /Applications/OpenOffice.org.app/Contents/basis-link/program/pyuno.so: 
mach-o, but wrong 
architecture

$ python2.6 -V
Python 2.6.1

---------------------------------------------------------------------
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