Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS4102

error A script cannot link itself (path).

#What it means

The path of a link names the script it is written in. A script cannot read its own shares through a link: inside the script those values are already there, as ordinary variables.

#Typical cause

  • The link path names this script, at any version.
  • A copy of a consumer was saved under the name of the script it links.

#How to fix it

Use the value directly, or link the other script you meant. See Linking scripts.

#Example

It is reported when a script is saved under the name its own link path names, which a single unsaved script cannot show.

  • CS4103 — Scripts link each other in a circle: path.
  • CS4110 — Cannot link path: reason.

The ChartScript documentation is in English for now; translations will follow.