Differences
This shows you the differences between the selected revisions of the page.
2015-10-26 | 2015-12-23 | ||
special characters + passhrase/password (martin) | 5.8 Script or .NET assembly code template can be generated in GUI. (martin) | ||
Line 3: | Line 3: | ||
* You run script from a different environment (under a different account/service; with a different configuration) than the GUI. See another [[faq_scheduler|F.A.Q.]] ((Although it covers a different topic, its recommendations are valid for this case as well.)) | * You run script from a different environment (under a different account/service; with a different configuration) than the GUI. See another [[faq_scheduler|F.A.Q.]] ((Although it covers a different topic, its recommendations are valid for this case as well.)) | ||
* You have your [[session_configuration|session configured]] differently in the script and in the %%GUI%%. | * You have your [[session_configuration|session configured]] differently in the script and in the %%GUI%%. | ||
- | * Use a [[ui_generateurl|Generate URL]] command to avoid common mistakes in manually typed URL's. \\ A common problem is [[session_url#special|special characters]] in some part of the [[session_url|session URL]] (typically a password or a username). | + | * Use a [[ui_generateurl|Generate Session URL/Code]] command to avoid common mistakes in manually typed URL's or code; and to make sure all the settings from your GUI configuration is used in the script. \\ A common problem is [[session_url#special|special characters]] in some part of the [[session_url|session URL]] (typically a password or a username). |
- | * Try using the %%GUI%% site from the script, using an ''open <site>'' command to see, to see if it makes the script working. Though do not use this solution for a production code. It's not recommended to [[scripting#configuration|rely on a GUI configuration in the script]]. | + | |
* Passphrase to an SSH private key is not a password, you need to specify it using ''[[scriptcommand_open|-passphrase]]'' switch, not in a password part of the session %%URL%%. | * Passphrase to an SSH private key is not a password, you need to specify it using ''[[scriptcommand_open|-passphrase]]'' switch, not in a password part of the session %%URL%%. | ||