openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Schmidt <jogischm...@gmail.com>
Subject Re: [CODE]: regression, Python won't work on MacOS
Date Tue, 16 Apr 2013 13:40:15 GMT
On 4/16/13 3:31 PM, Ariel Constenla-Haile wrote:
> Hi Jürgen,
> 
> On Tue, Apr 16, 2013 at 11:16:16AM +0200, Jürgen Schmidt wrote:
>> Hi,
>> 
>> during my work on the 3layer drop I noticed that Python don't
>> work on MacOSX. I thought it is a problem with my work but a
>> cross check with the trunk version showed that it is broken on
>> trunk as well :-(
>> 
>> The first problem I notice is that in pythonloader.py and uno.py
>> the syntax for excpetions has changed, e.g. except ImportError,
>> e: -> except ImportError as e:
>> 
>> This seems to be the first error but changing this doesn't help.
> 
> Andre reported
> https://issues.apache.org/ooo/show_bug.cgi?id=122057#c2 that he
> couldn't install the Watching Window extension from 
> http://extensions.openoffice.org/en/project/watchingwindow on
> Windows, it might be broken there too (looks like a change tested
> only on *nix broke this).

I can test this extension, I found already a solution. We used a
really old Python coming with the platform SDK and is automatically
configured.
I have to improve configure on MacOS in a way to use the system python
under /Library/Framework and ensure that we use the 2.7 version.

I can't remember the reason why we use the system Python instead of
bundling it. But using 2.7.4 brings Python support back, at least the
HelloWorld.py script works.

The good thing for me is that is not bound to my 3 layer work ;-)

Juergen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message