Issue 96710

Summary: Can't run python macro from toolbar
Product: General Reporter: chkur <chkur>
Component: scriptingAssignee: AOO issues mailing list <issues>
Status: REOPENED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: helenrussian, issues
Version: OOo 3.0   
Target Milestone: ---   
Hardware: Unknown   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Python exception none

Description chkur 2008-11-29 16:08:24 UTC
1. Add new button to toolbar. Take python macro from OOo (for example, 
HelloWorldPython).
2. Push this button - get exception.

If macros added to menu or hotkey was assigned to it - it runs normally.
Comment 1 chkur 2008-11-29 16:09:06 UTC
Created attachment 58388 [details]
Python exception
Comment 2 helenrussian 2008-11-30 09:09:44 UTC
Confirm with DEV300_m36 on Linux
Comment 3 ab 2009-01-05 12:13:52 UTC
ab->jbu: Please have a look
Comment 4 joergbudi 2009-01-07 07:48:20 UTC
Hi,

the OOo framework wants to pass a parameter (here a document) to your function,
but your function doesn't take any . Please add a parameter to your python
function. 

Bye,

Joerg
Comment 5 chkur 2009-01-07 10:44:40 UTC
Sorry, but I reopen this issue because of:

1. HelloWorldPython is not my macros, this python code is included in OOo 
standard distribution.
2. I can assign and then run the same macros from menu or with hotkey.
3. I can run OOo Basic macro from menu, toolbar or hotkey and I have nothing to 
change.

I don't think that this OOo behaviour is normal.
Comment 6 Rob Weir 2013-07-30 02:40:43 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.