Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Openhab2 problem with script parameter in ' '(Eclipse error message in Openhab2)
Openhab2 problem with script parameter in ' ' [message #1859395] Mon, 05 June 2023 08:49 Go to next message
Eclipse UserFriend
Hi,
I have a problem when calling a python script with parameter between apostrophs.
If parameter is e.g. only 'info' all is correct.

But if a parameter uses points inside e.g. 'xcom.xt1.3000'
a error message appears.

val String answer = executeCommandLine("/etc/openhab2/scripts/openstuder-examples-python/cli/./sicli@@localhost@@'read xcom.xt1.3000'", 5000)

[INFO ] [lipse.smarthome.model.script.Result=] - *** Unknown syntax: "read xcom.xt1.3000"

Thanks for help.
Re: Openhab2 problem with script parameter in ' ' [message #1859424 is a reply to message #1859395] Wed, 07 June 2023 00:29 Go to previous messageGo to next message
Eclipse UserFriend
Where does Eclipse and something from eclipse.org come into this scenario?
Re: Openhab2 problem with script parameter in ' ' [message #1859426 is a reply to message #1859424] Wed, 07 June 2023 09:54 Go to previous message
Eclipse UserFriend
If you don't have a idea close the topic please.
Previous Topic:Java fx
Next Topic:IRC
Goto Forum:
  


Current Time: Sat Feb 08 20:29:01 GMT 2025

Powered by FUDForum. Page generated in 0.09096 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top