Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-03-07 Thread Caolán McNamara
On Thu, 2011-03-03 at 01:07 +0100, Christian Lohmaier wrote: Yes, I wonder why it fails here :-( Gagh, that's frustrating. Can you stick a try: except: block around it and see if an exception is throw, and if so print what it is, e.g. http://docs.python.org/library/traceback.html C.

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-03-07 Thread Christian Lohmaier
Hi Caolán, *, On Mon, Mar 7, 2011 at 12:23 PM, Caolán McNamara caol...@redhat.com wrote: On Thu, 2011-03-03 at 01:07 +0100, Christian Lohmaier wrote: Yes, I wonder why it fails here :-( Gagh, that's frustrating. Can you stick a try: except: block around it Thanks for pushing me into the

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-03-07 Thread Caolán McNamara
On Mon, 2011-03-07 at 16:02 +0100, Christian Lohmaier wrote: The Tuple is a Node-type, that in turn contains a nodes attribute, iterating over those nodes works, so the fix is: - for item in node.expr: + for item in node.expr.nodes: Groan, right, gotcha. The Tuple isn't a tuple. I suggest

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-03-07 Thread Christian Lohmaier
Hi *, On Mon, Mar 7, 2011 at 4:10 PM, Caolán McNamara caol...@redhat.com wrote: On Mon, 2011-03-07 at 16:02 +0100, Christian Lohmaier wrote: [...] Groan, right, gotcha. The Tuple isn't a tuple. I suggest this is a good fix for 3-3 as well, so suggest you commit your fix to master and +1 on

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-03-07 Thread Caolán McNamara
On Mon, 2011-03-07 at 16:37 +0100, Christian Lohmaier wrote: pushed as bef88b2 - so yes, please push also to release-branch, then close https://bugs.freedesktop.org/show_bug.cgi?id=33355 done. C. ___ LibreOffice mailing list

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-03-02 Thread Caolán McNamara
On Sat, 2011-02-26 at 16:45 +0100, Christian Lohmaier wrote: I don't see what's wrong - python people around? this is basis-link/program/pythonscript.py at around line 360: for assignee in node.nodes: if assignee.name == 'g_exportedScripts':

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-03-02 Thread Christian Lohmaier
Hi Caolán, *, On Wed, Mar 2, 2011 at 10:13 PM, Caolán McNamara caol...@redhat.com wrote: On Sat, 2011-02-26 at 16:45 +0100, Christian Lohmaier wrote: I don't see what's wrong - python people around? this is basis-link/program/pythonscript.py at around line 360:                 for assignee

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-02-26 Thread Christian Lohmaier
Hi Alexander, *, On Fri, Feb 25, 2011 at 8:59 AM, Alexander Thurgood alex.thurg...@gmail.com wrote: Despite the scripts being physically present within the app bundle, the python scripts Capitalise and pythonSamples are not visible, or executable via the application GUI - stock LibO 3.3.1

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-02-26 Thread Christian Lohmaier
On Sat, Feb 26, 2011 at 3:11 PM, Christian Lohmaier lohmaier+libreoff...@googlemail.com wrote: Hi Alexander, *, On Fri, Feb 25, 2011 at 8:59 AM, Alexander Thurgood alex.thurg...@gmail.com wrote: Despite the scripts being physically present within the app bundle, the python scripts

Re: [Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-02-26 Thread Caolán McNamara
On Sat, 2011-02-26 at 15:11 +0100, Christian Lohmaier wrote: Hi Alexander, *, Looking at the files I found the cause, the g_exportedScripts isn't working correctly, it hides all methods. Without looking at it, this sounds sort of related to the fix for CVE-2010-0395 but that was done a long

[Libreoffice] Mac - Python scripts not visible / executable in Macros manager

2011-02-24 Thread Alexander Thurgood
Hi all, Despite the scripts being physically present within the app bundle, the python scripts Capitalise and pythonSamples are not visible, or executable via the application GUI - stock LibO 3.3.1 final on MacOSX 10.6.6. Any idea why ? They are all visible and executable on Linux Ubuntu Lucid