trouble with console run Boost.Python.ArgumentError

Help
WWS III
2014-03-10
2014-03-10
  • WWS III

    WWS III - 2014-03-10

    Python Script 0.9.2.0
    Python 2.7.1
    Notepad++ 6.5.3

    ------------Code
    console.run(r'C:\Program Files (x86)\Zorba XQuery Processor 2.9.1\bin\zorba.exe -q "%s" ' % notepad.getCurrentFilename() ,editor)

    ------------Console Output
    <.>:1,3: static error [err:XPST0003]: invalid expression: syntax error, unexpected ":", expecting "end of file" or "," or "}"

    Thanks
    This is a great addon!

     
    Last edit: WWS III 2014-03-10
  • WWS III

    WWS III - 2014-03-10

    I figured it out.....

     
    • Dave Brotherstone

      Just for anyone else - the first command should be console.run(...), not
      console.write(....)

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks