Macro Shell Command Broken [closed]

asked 2014-06-05 03:49:21 +0200

Stuart gravatar image

updated 2015-09-05 13:34:01 +0200

Alex Kemp gravatar image

Since upgrading to an earler 4.x release of Libreoffice, my Read-Text extension has been broken. When the latest upgrade (4.2.4.2) didn't fix it, I dug into the read-text macro and determined that the extension is working correctily. The problem is it uses a shell command to run espeak, and the shell command is just not working at all. The command an temp file are created by the macro correctly and if I send the command to python from the commad line, espeak loads and reads normally. But when the macro tries to call it through shell, nothing happens--not even if I modify the shell command to run fullscreen.

I cannot back out to libreoffice 3. I need the enhancements to Microsoft document compatability. But I also need read text to work. Any idea how to get the shell command working again?

Thanks

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2016-02-24 13:48:45.011568

Comments

I've been playing around with this and have determined the following:

  1. The read-test extension (macro) works correclty up to the point of invoking shell.
  2. The output of the macro is the correct input to python. If I copy the command that the macro is sending to shell and feed it to python in the terminal, it works and reads the text.
  3. shell is not completely broken. From a test macro in the same LibreOffice document, I can run shell to open a text file in mousepad---but not python/espeak.
Stuart gravatar imageStuart ( 2014-06-07 04:01:39 +0200 )edit