Issue 116259 - pyuno: will not load (wrong architecture)
Summary: pyuno: will not load (wrong architecture)
Status: UNCONFIRMED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 3.2.1
Hardware: Mac Mac OS X 10
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-30 10:27 UTC by austux
Modified: 2013-07-30 02:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description austux 2010-12-30 10:27:51 UTC
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
Comment 1 hanya 2012-07-24 05:31:53 UTC
You were trying to load pyuno.so by different Python from PyUNO build.
PyUNO on MacOS X is compiled against Python 2.3.X, many difference between 2.3 and 2.6.
So please request to update Python version for PyUNO on MacOS X first.
Comment 2 hanya 2012-07-24 06:01:06 UTC
(In reply to comment #1)
> So please request to update Python version for PyUNO on MacOS X first.
issue 110637 has been requested.
Comment 3 Rob Weir 2013-07-30 02:39:45 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.