Differences
This shows you the differences between the selected revisions of the page.
| 2021-07-20 | 2021-07-20 | ||
| paths anchor (martin) | sections (martin) | ||
| Line 2: | Line 2: | ||
| ===== [[common]] Common Problems ===== | ===== [[common]] Common Problems ===== | ||
| - | There are three common reasons why a script does not work, when a connectivity is otherwise possible: | + | There are three common reasons why a script does not work, when a connectivity is otherwise possible |
| - | * You run script from a different environment (under a different account/service; with a different configuration) than the GUI. \\ See another FAQ: [[faq_scheduler|*]] ((Although it covers a different topic, its recommendations are valid for this case as well.)) | + | ==== Environment ==== |
| - | * You have your [[session_configuration|session configured]] differently in the script and in the %%GUI%%. | + | You run script from a different environment (under a different account/service; with a different configuration) than the GUI. |
| - | ····* 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). | + | |
| - | ····* 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%%. | + | See another FAQ: [[faq_scheduler|*]] (Although it covers a different topic, its recommendations are valid for this case as well). |
| - | ····* With [[webdav|WebDAV]] and [[s3|S3]] protocols, it is possible that [[faq_root_path|you do not have an access to the root folder (bucket list in S3)]]. | + | |
| - | ·* You use different ==paths== in the script than in the GUI. | + | ==== Configuration === |
| - | ···* Always make sure you that use the //exact// paths that you see on the label above the [[ui_file_panel|file panel]] in the GUI. Use //Copy Path to Clipboard// command to avoid typing errors. | + | |
| - | ···* Common mistake is using paths that are relative to the home folder as absolute paths. For example, when there's ''data'' folder in your ''/home/user'' folder, you cannot refer to the folder as ''/data''. Either use an absolute path ''/home/user/data'' (recommended) or relative path ''data''. | + | You have your [[session_configuration|session configured]] differently in the script and in the %%GUI%%. |
| - | ···* Remote paths are case sensitive. So ''Data'' is not the same as ''data''. | + | ··* 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). |
| + | ··* 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%%. | ||
| + | ··* With [[webdav|WebDAV]] and [[s3|S3]] protocols, it is possible that [[faq_root_path|you do not have an access to the root folder (bucket list in S3)]]. | ||
| + | |||
| + | ==== [[paths]] Paths ==== | ||
| + | |||
| + | You use different paths in the script than in the GUI. | ||
| + | ·* Always make sure you that use the //exact// paths that you see on the label above the [[ui_file_panel|file panel]] in the GUI. Use //Copy Path to Clipboard// command to avoid typing errors. | ||
| + | ·* Common mistake is using paths that are relative to the home folder as absolute paths. For example, when there's ''data'' folder in your ''/home/user'' folder, you cannot refer to the folder as ''/data''. Either use an absolute path ''/home/user/data'' (recommended) or relative path ''data''. | ||
| + | ·* Remote paths are case sensitive. So ''Data'' is not the same as ''data''. | ||
| ===== Logging ===== | ===== Logging ===== | ||