On 01/07/12 15:23, webmaster-Kracked_P_P wrote:
On 07/01/2012 07:54 AM, Alex Thurgood wrote:
On 01/07/2012 13:02, Ulf Göransson wrote:
/usr/lib/libreoffice/share/Scripts/python/HelloWorld.py to the same
location, just in case there had become something wrong with my files
but that doesn't show up either.
However, when I did the opposite and put my script under /usr/lib/...,
it worked alright. So I guess it is only my local directory that isn't
working for some reason. Has the default directory name changed? Can it
be edited somewhere?
So looks like something got screwed up in the migration of your user
configuration. Would be a good idea to report this as a bug, far too
many user configuration migration failures go unnoticed by the devs.
The more people report them, even if it turns out to be duplicate of
one already registered, the more chance there is that attention will
be given to the migration process.
I seem to recall however, that this was indeed one of the side
effects of the migration from 3.4.x to 3.5.x.
For 3.5.4 running Ubuntu 10.4 . . .
In the Options / LibreOffice / Paths
Most of the paths used by LibreOffice are
/home/"username"/.config/libreoffice/3/user/. . . . . . . .
AutoCorrect, AutoText, Backups, Gallery, and Graphics all use that path.
So, would it be correct to assume that LO might want to have the
Python Macros to be in that path as well?
In my system there is a "/3/user/Scripts" folder there but it is
empty since I have not created any scripts.
Yes, that's it. I solved it myself a few moments ago but hadn't quite
prepared a reply yet...
I found this page, that points out that the user profile has indeed
moved in 3.5.x: http://wiki.documentfoundation.org/Documentation/UserProfile
The old one was in ~/.libreoffice/3 and now I see that there is actually
an empty file there called MIGRATED.
Tools - Options - LibreOffice - Paths pointed me to the new location,
~/.config/libreoffice/3, which had an empty Scripts folder. When I moved
my old python folder into that, everything started working.
The comments on this bug report
suggest to me that LibreOffice does no migration at all, could that be
true? In that case, who did it? Ubuntu?
Anyway, thanks for all the clues!
For unsubscribe instructions e-mail to: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: 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