Issue 96710 - Can't run python macro from toolbar
Summary: Can't run python macro from toolbar
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 3.0
Hardware: Unknown All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-11-29 16:08 UTC by chkur
Modified: 2013-07-30 02:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Python exception (18.38 KB, image/png)
2008-11-29 16:09 UTC, chkur
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description chkur 2008-11-29 16:08:24 UTC
1. Add new button to toolbar. Take python macro from OOo (for example, 
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

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


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 

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.