To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47270
Issue #:|47270
Summary:|OOo crash with python macro
Component:|api
Version:|680m91
Platform:|All
URL:|
OS/Version:|Linux
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|sw
Reported by:|michele_petrazzo
------- Additional comments from [EMAIL PROTECTED] Tue Apr 12 08:19:29 -0700
2005 -------
I create a new documente with a button. I assign to this button a python macro
that I have create, and I put to ~/.openoffice.org1.9.91/user/Scripts/python/.
When I press the button, the first time nothing happen, and at the second press,
OOo crash! I think that the problems is the dir() python function.
This is my macro:
import uno, unohelper
def try_bug(*args):
model = XSCRIPTCONTEXT.getDocument()
print dir(model)
g_exportedScripts = (try_bug,)
---------------------------------------------------------------------
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]