[Libreoffice-bugs] [Bug 124719] EXTENSION: The togglr bookmarks script doesn't work
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon May 13 19:18:05 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=124719
--- Comment #10 from rolfofsaxony at gmail.com ---
(In reply to paulmcquad from comment #6)
> Created attachment 151323 [details]
> Libreoffice-Dev
>
> Version: 6.3.0.0.alpha0
>
>
> Message: <class 'KeyError'>: 'bookmarktoggle.oxt'
> File
> "/home/gamer/Downloads/LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_rpm/RPMS/
> opt/libreofficedev6.3/program/pythonscript.py", line 1037, in getScript
> self.provCtx.uriHelper.getStorageURI(scriptUri) );
> File
> "/home/gamer/Downloads/LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_rpm/RPMS/
> opt/libreofficedev6.3/program/pythonscript.py", line 407, in
> getStorageUrlFromPersistentUrl
> package = self.mapPackageName2Path[ packageName ]
I have tested your attachment in both LO 6.0 and 6.2 on Linux Mint 19.1 (Ubuntu
18.04) where it functions happily.
I do not as yet have a copy of LO 6.3 but if I can load it up I will.
With regard to the issue about working on Windows, the code does nothing Linux
specific, so unless there is some difference in the implementation/installation
between Windows and Linux, I would expect it to function, as long as the person
installing it has the requiste libraries loaded i.e, python, pyuno and
libreoffice-python-script-provider and the description of the extension does
specify that.
The issue of testing in on Windows is, I don't own a windows OS and refuse
point blank to allow it in the house, so I won't be testing it on Windows.
However it is a simple python script, so it wouldn't be difficult, if someone
had the urge, it's only creating annotations for each bookmark found.
As I said, I don't see why it wouldn't work on Windows but as I don't use that
OS, I specified it to be Linux only to cover for the fact that I can't test it.
One last point, the error "Class KeyError", there is no such Class in the
script, that error must be coming out of the LO script "pythonscript.py" over
which I have no control. Perhaps modifying the HotKey from Alt+1 to something
else might shed some light on the problem.
Feel free to come back to me with any comments or suggestions.
Regards
RolfofSaxony
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190513/1af46b3d/attachment.html>
More information about the Libreoffice-bugs
mailing list