[Solved] Macro Not Displaying (Fedora)

Issues with installing under all GNU/Linux Distributions
Post Reply
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

[Solved] Macro Not Displaying (Fedora)

Post by Campbell1992 »

Hi I'm writing a report and would like a macro that gave me a live word count so I stumbled upon http://bitbucket.org/yawaramin/oo.o-liv ... /wiki/Home. I downloaded wc.py moved it into ~/.openoffice.org/3/user/Scripts/python and it's definitely there I've checked. However when I go into Tools/macros/runmacro... then mymacros standard module 1 wc.py does not appear in the right hand pannel. I have tried changing its privileges to all rwx ect... with no success I have also tried changing my security options to medium and adding the location as a trusted source also to no avail. Any Idea's on how I can get it working I searched round before posting this sorry if something similar has come up before. I'm using OO3.20 on fedora 13

Thanks
Last edited by Campbell1992 on Wed Nov 24, 2010 1:15 am, edited 2 times in total.
OpenOffice 3.2.0 on Fedora 13
FJCC
Moderator
Posts: 9274
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Macro Not Displaying

Post by FJCC »

If I'm following you correctly, I would not expect wc.py to appear in the Standard library. It should appear as its own library directly under My Macros
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

Ok sorry my mistake however it is not appearing under my macros either. Any ideas of why that could be?
OpenOffice 3.2.0 on Fedora 13
User avatar
therabi
Volunteer
Posts: 763
Joined: Wed Sep 01, 2010 10:01 pm
Location: USA

Re: Macro Not Displaying

Post by therabi »

Campbell1992 wrote:Hi I'm writing a report and would like a macro that gave me a live word count so I stumbled upon http://bitbucket.org/yawaramin/oo.o-liv ... /wiki/Home. I downloaded wc.py moved it into ~/.openoffice.org/3/user/Scripts/python and it's definitely there I've checked. However when I go into Tools/macros/runmacro... then mymacros standard module 1 wc.py does not appear in the right hand pannel. I have tried changing its privileges to all rwx ect... with no success I have also tried changing my security options to medium and adding the location as a trusted source also to no avail. Any Idea's on how I can get it working I searched round before posting this sorry if something similar has come up before. I'm using OO3.20 on fedora 13

Thanks
Works here under Ubuntu 9.10 and Go-oo3.2 and OOo 3.3 RC5.
OpenOffice.org v3.3, LibO v3.32 on Ubuntu 10.10 and Win7
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

Hmmm very strange is there a way i can check that OO is looking for macro's in that folder? Because the file is definitely in there. By the way I installed Open office using yum install if that makes any difference.
OpenOffice 3.2.0 on Fedora 13
User avatar
therabi
Volunteer
Posts: 763
Joined: Wed Sep 01, 2010 10:01 pm
Location: USA

Re: Macro Not Displaying

Post by therabi »

I can not find a way to tell where OOo looks for macros. The only place that I see it is Tools> Macros> Organize> Python
wc-py.png
OpenOffice.org v3.3, LibO v3.32 on Ubuntu 10.10 and Win7
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

It doesn't appear under Tools> Marcos> Organizemacros either
OpenOffice 3.2.0 on Fedora 13
User avatar
therabi
Volunteer
Posts: 763
Joined: Wed Sep 01, 2010 10:01 pm
Location: USA

Re: Macro Not Displaying

Post by therabi »

It should appear at Tools> Macros> Organize Macros> Python then you get the screen above.
OpenOffice.org v3.3, LibO v3.32 on Ubuntu 10.10 and Win7
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

5196273526_5f52138859_b.jpg
5195673681_8b0b02436a_b.jpg
5195673735_c3972727c1_b.jpg
That's what I see
OpenOffice 3.2.0 on Fedora 13
User avatar
therabi
Volunteer
Posts: 763
Joined: Wed Sep 01, 2010 10:01 pm
Location: USA

Re: Macro Not Displaying

Post by therabi »

Wow, that does not look good. That must be the Fedora version. Can you update to another version?
tools-macro.png
OpenOffice.org v3.3, LibO v3.32 on Ubuntu 10.10 and Win7
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

Yeah exactly what I thought that it wasn't too good. I think I may uninstall it then install from source as yum update (the fedora equivalent to apt-get) says there is no update.
OpenOffice 3.2.0 on Fedora 13
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Macro Not Displaying

Post by RoryOF »

You could install the version from http://download.openoffice.org/ rather than the Fedora version.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

Thanks I might give that a go http://qa.openoffice.org/issues/show_bug.cgi?id=93994 this is the same problem and it says resolved but the attachement is just a text file any idea if this could help fix the issue?
OpenOffice 3.2.0 on Fedora 13
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Macro Not Displaying

Post by RoryOF »

Sorry. no idea. I don't need to do macros.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

Ok thanks anyway I'll install the standard version and post on if it works or not.
OpenOffice 3.2.0 on Fedora 13
Campbell1992
Posts: 9
Joined: Sun Nov 21, 2010 6:42 pm

Re: Macro Not Displaying

Post by Campbell1992 »

Hi, thank you everyone for your help in the end I followed these instructions http://www.if-not-true-then-false.com/2 ... -hat-rhel/ to remove my current version of OOo and install another. Others should note when following these instructions that you should not install the update suggested after installation as it will cause your copy of OOo not to work to ignore updates of this package do the following.

Change directory too etc:

Code: Select all

cd /etc
Change permission of yum.conf

Code: Select all

sudo chmod u+w yum.conf
Open yum.conf in gedit:

Code: Select all

gedit yum.conf
Add the following code to the bottom of the file:

Code: Select all

exclude=openoffice.org-ure*
Then click save and restart for changes to take effect

Also make sure you are not a root user when you first run openoffice or it will not work as a standard user

The above instructions are for fedora users only.
OpenOffice 3.2.0 on Fedora 13
Post Reply