Troubleshooting
This guide provides solutions to common issues encountered while installing or using TLKCore. If you cannot find a solution here, please check the official documentation or contact support.
Q1: Issues during TLKCore installation or usage
If you encounter any problems during tlkcore installation or usage, please check the following:
Dependencies: Ensure you have the required dependencies installed. Refer to the prerequisites section for hardware and software requirements.
Python Version: Check the compatibility of your Python version. TLKCore supports Python 3.8+.
Configuration: Review the documentation for any specific configuration steps. Ensure your environment matches the prerequisites (e.g., USB drivers, network settings).
Logs: Check console output or logs for error messages and search for them online or in the documentation.
Q2: CERTIFICATE_VERIFY_FAILED error
If you encounter a CERTIFICATE_VERIFY_FAILED error, it is often due to SSL certificate issues. Try the following steps:
Update pip: Update your pip to the latest version:
pip install --upgrade pip
Proxy Settings: If you are behind a corporate firewall, configure your proxy settings. For example, in Windows Command Prompt:
Disable SSL Verification (not recommended for production): Install with trusted hosts:
pip install tlkcore --trusted-host pypi.org --trusted-host files.pythonhosted.org
Custom CA Certificates: Download cacert.pem from https://curl.se/ca/cacert.pem and set the environment variable.
On Windows:
set SSL_CERT_FILE={$your_path}\cacert.pem
On Linux/macOS:
export SSL_CERT_FILE={$your_path}/cacert.pem
Q3: USB device not recognized
If your USB device (e.g., for scanning or connection) is not recognized:
Drivers: Ensure USB drivers are installed. Follow the installation guides in the prerequisites.
Permissions: On Linux, check udev rules as described in prerequisites. Reload rules with:
sudo udevadm control --reload-rules sudo udevadm trigger
Reconnect: Unplug and replug the USB device.
Device Manager: On Windows, check Device Manager for unrecognized devices and update drivers.
Q4: Network connection issues (Ethernet/RJ-45)
If you cannot connect via Ethernet:
DHCP/Static IP: Ensure the device and host PC are on the same network. For static IP, configure as per prerequisites (192.168.100.xxx with subnet mask 255.255.255.0).
Firewall: Disable firewalls temporarily to test.
Ping Test: Ping the device’s IP address to verify connectivity.
Q5: ComPort issues
If ComPort is not working:
Device Manager: On Windows, check Device Manager for the port.
Udev Rules: On Linux, ensure udev rules are set as in prerequisites, including ModemManager blacklist.
Reload Rules: Reload udev rules and replug the device.
Permissions: Ensure your user has access to the port (e.g., in plugdev group).