Skip to content

Error Codes

Khai Duong edited this page Jan 7, 2022 · 3 revisions

A detailed overview of possible errors that may occur. If any errors occur and cannot be found here, raise an issue detailing the error.

List of Issues

Error 1: Directory [name] not found

Full message: Directory [name] not found

Reason Some directories are required by some commands. If these directories are not present or not successfully created, then the command will return an error.

Fix: Ensure that the specified command is available. For specifics about the specified directory, head over to Directory Not Found for details. If the problem persists, then raise an issue at GitHub.

Error 2: Command [command] not found

Full message: Error 2: Command [command] not found

Reason: The given command was not found on the system The panda-manager script uses global available commands or aliases to execute commands. If they are not available or not found, then the script will fail to execute code.

Fix: Make sure that the command is installed and available. For more info on the specific commands not found, see commands list

Error 3: File [file] in remote repository not found

Full message: Error 3: File [file] in remote repository not found

Reason: The script in the remote repository is currently unavailable.
The ICMP ECHO_REQUEST to the server failed to respond with the HTTP response code 200. The device either does not have internet connection, or the script was moved or renamed.

Fix: Manually go to the github page and fetch the file required. Be sure to view the file as raw first before downloading it. Also raise an issue to notify the contributors about this error.

Error 4: Module pandahttp was not found

Full message: Error 4: Module pandahttp was not found

Reason: The server utilizes custom modules to keep the code clean and organized. The pandahttp module could not be found.

Fix: The module exists as a folder in the project's root directory. Ensure that it is named pandahttp. If the module does not exist at all, then use the following commands to download the files (make sure that you are in the project directory first): bash panda-manager -d pandahttp

No virtual environment was found

Full message: No virtual environment was found. Use the following command to setup one up: panda-manager --download modules

Reason: The project is setup to require a virtual environment. This is activated using the activate script within the virtual environment directory. If the directory or the script is not found, then this error will be thrown.

Fix: Use the following command:

panda-manager --download modules

Clone this wiki locally