Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreOffice helpers not working #53

Closed
steelstrings opened this Issue Oct 6, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@steelstrings
Copy link

steelstrings commented Oct 6, 2018

Installation and version

How did you install Parlatype?

  • ArchLinux AUR tarball
    https://aur.archlinux.org/packages/parlatype/
    parlatype --version 1.5.6
    I changed the configure line in the PKGBUILD to enable LibreOffice helpers
    ./configure --prefix=/usr --with-libreoffice --disable-introspection --disable-tests

Your desktop environment

  • Distro: Manjaro Linux
  • WM: i3
  • LibreOffice: v6.0.6.2

Issue

  • LibreOffice helpers don't work / produce an error
  • I never tried previous versions of Parlatype
  • Steps to reproduce:
    I made a toolbar for all Parlatype LibreOffice Macros, if I click on the PlayPause button an error window pops up
com.sun.star.uno.RuntimeException: Error during invoking function PlayPause in module file:///usr/lib/libreoffice/share/Scripts/python/Parlatype.py (<class 'TypeError'>: PlayPause() takes 0 positional arguments but 1 was given
  File "/usr/lib/libreoffice/program/pythonscript.py", line 875, in invoke
    ret = self.func( *args )
)
  • Keyboard shortcuts don't work either and they don't show any error message.
  • Every macro gives a similar error, only the function changes accordingly.
@gkarsay

This comment has been minimized.

Copy link
Owner

gkarsay commented Oct 7, 2018

Thank you for the detailed bug report! I repeated your steps and I have to confirm that it's not working with buttons. I always used keyboard shortcuts and was not aware that with buttons obviously something has to be done in a different way.

I can't confirm however that keyboard shortcuts are not working. Could you please try this part again? In the help pages you'll find instructions, please do it as described there: https://gkarsay.github.io/parlatype/help-online/libreoffice-helpers.html

I just found out that it's possible to close the dialog (2nd screenshot in link above) without clicking on "OK". You have to assign a shortcut to a function AND you have to click on OK! Parlatype has to be open with a file opened.

@gkarsay gkarsay closed this in 1ebc1b7 Oct 8, 2018

@gkarsay

This comment has been minimized.

Copy link
Owner

gkarsay commented Oct 8, 2018

The referenced commit has fixed the issue with buttons. Please reopen it, if you still have some issues with it. You can download the fixed libreoffice macros here: https://raw.githubusercontent.com/gkarsay/parlatype/master/libreoffice/Parlatype.py and save them at /usr/lib/libreoffice/share/Scripts/python/Parlatype.py

@gkarsay gkarsay added this to the v1.6 milestone Oct 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.