Attention
These docs are a bit ambitious. The steps described are accurate but IronPLC cannot yet run programs.
P0023¶
- Code
P0023
- Message
Unable to canonicalize the path
This error occurs when the compiler is unable to canonicalize a file path, typically due to invalid path components, permission issues, or filesystem problems.
Example¶
This error typically occurs when:
The path contains invalid characters for the filesystem
The path references non-existent parent directories
There are permission issues accessing the path
The filesystem is corrupted or inaccessible
To fix this error, ensure that:
The file path is valid for your operating system
All parent directories exist and are accessible
You have appropriate permissions to access the path
The filesystem is functioning correctly
# Example of problematic paths that might cause this error:
ironplcc check "/invalid\0path/file.st" # Invalid null character
ironplcc check "//server/missing/file.st" # Non-existent network path
ironplcc check "/root/restricted/file.st" # Permission denied