Menu

#1516 Error: One command expansion invalid

None
fixed
nobody
None
1
2015-10-14
2015-10-12
Robert
No

After compiling TXS (HG 9c57ed), all sorts of problems popped up. Some have already been reported in the bugs section, but here is another. If you click on say view pdf, you will get an error saying:

Error: One command expansion invalid.

This is on El Capitan.

Discussion

  • Benito van der Zander

    Which command are you using for view pdf? Internal or external viewer?

    Post the output of Help / Check Latex Installation (at least the lines containing something with pdf)

     
  • Robert

    Robert - 2015-10-13

    I did do a removal and then a reinstall of MacTeX, if it means anything and all was working prior to the latest commit. Here is what I have after agreeing to the reccomendations (as a result of El Capitan).

    Under build & view (when I choose this option, it compiles but does not bring up the resulting pdf):
    txs:///pdflatex | txs:///view-pdf
    Under default viewer:
    txs:///view-pdf
    Under PDF viewer
    txs:///view-pdf-internal --embedded

     
  • Tim Hoffmann

    Tim Hoffmann - 2015-10-13

    Please try the most recent version from the repository hg 5590 (d5117a0e3bc3) or newer. It includes a possibly related bugfix as well as a more detailed error message for command expansion problems.

     
  • Robert

    Robert - 2015-10-13

    I just did and I get

    Error: One command expansion invalid.
    Parent Command: txs:///view-pdf-internal --embedded
    Primary Command: view

     
  • Tim Hoffmann

    Tim Hoffmann - 2015-10-13

    Sorry, I left some testing code with my last commit that always produced the error message. Please update and try again.

     
  • Robert

    Robert - 2015-10-14

    I updated it. Now the buttons and commands seem to work now as before. Thank you!

     
  • Tim Hoffmann

    Tim Hoffmann - 2015-10-14
    • status: open --> fixed
    • Group: -->
     

Log in to post a comment.