Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Sat, Feb 26, 2011 at 3:11 PM, Christian Lohmaier
<lohmaier+libreoffice@googlemail.com> wrote:
Hi Alexander, *,

On Fri, Feb 25, 2011 at 8:59 AM, Alexander Thurgood
<alex.thurgood@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 final on MacOSX
10.6.6. Any idea why ?

confirming on PPC (10.4) - the HelloWorld one is present and working though.

And the module pythonSamples→TableSample is also visible in the tree,
but it is empty.
Capitalize also exists, but only the beanshell one is listed.

Looking at the files I found the cause, the
 g_exportedScripts
isn't working correctly, it hides all methods.

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':
                        print "found g_exportedScripts %s" % (node.expr)
                        for item in node.expr:
                            print "won't reach this on Mac"
                            if item.__class__.__name__ == 'Name':
                                g_exportedScripts.append(item.name)
                        print "and not even this point"
                        return g_exportedScripts


So what is wrong with "for item in node.expr:"?

ciao
Christian

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.