Installation Issues
Python Version Incompatibility
Problem: Script fails to run or shows syntax errors Solution: IP-Tracker requires Python 3.8 or higher.Missing Dependencies
Problem:ModuleNotFoundError when running the script
Solution: Install required Python packages:
The main dependencies are:
requests- For API callsphonenumbers- For phone number validation and analysis
IP Validation Errors
Invalid IP Address Format
Error Message:[!] Dirección IP inválida
Cause: The IP address doesn’t match the expected format (XXX.XXX.XXX.XXX)
Solutions:
-
Check Format: Ensure the IP follows IPv4 format:
-
Validate Each Octet: Each number must be between 0-255
-
Remove Extra Spaces: Trim whitespace before/after the IP
Private/Reserved IP Addresses
Error Message:[!] Error: IP inválida o privada
Cause: The API cannot geolocate private or reserved IP ranges
Private IP Ranges (cannot be geolocated):
10.0.0.0-10.255.255.255172.16.0.0-172.31.255.255192.168.0.0-192.168.255.255127.0.0.0-127.255.255.255(localhost)
API Connection Errors
Timeout Errors
Error Message:[!] Error: Tiempo de espera agotado
Causes & Solutions:
-
Slow Internet Connection
-
Firewall Blocking Requests
-
Proxy Configuration (if behind corporate proxy)
Connection Refused
Error Message:[!] Error: No se pudo conectar al servidor
Solutions:
-
Check Internet Connection
-
Verify DNS Resolution
-
Try Alternative Method
- If Method 1 (ip-api.com) fails, try Method 2 (ipinfo.io)
- Or use option 3 to compare both
Rate Limit Exceeded
Error Message: HTTP 429 or temporary failure Cause: API rate limits exceeded Rate Limits:- ip-api.com: 45 requests/minute (free tier)
- ipinfo.io: 50,000 requests/month (free tier)
- Wait and Retry: Wait 1-2 minutes before making more requests
- Use Alternative API: Switch between Method 1 and Method 2
- Upgrade Plan: Consider paid API plans for higher limits
For batch processing, add delays between requests:
Phone Number Validation Errors
Invalid Phone Format
Error Message:[!] Error al parsear número: NumberParseException
Causes & Solutions:
-
Missing Country Code
-
Invalid Country Code
-
Wrong Format for Country
Number Not Valid
Result:[✗] Número no válido
Meaning: The number format is correct but the number itself isn’t valid
Possible Reasons:
- Number range not assigned in that country
- Incorrect digit count
- Invalid area code
Permission Errors
Cannot Create Results Directory
Error:Permission denied when creating Resultados_Tracker/
Solutions:
-
Check Current Directory Permissions
-
Run from Home Directory
-
Fix Permissions (if needed)
Cannot Write Results Files
Error:Permission denied when saving results
Solution:
Termux-Specific Issues
Package Installation Fails
Problem:pip3 install fails on Termux
Solution:
Storage Permission Error
Problem: Cannot save files on Android Solution:Termux requires explicit storage permissions to save files outside its app directory.
Display Issues
Colors Not Showing
Problem: ANSI color codes display as plain text Solutions:-
Terminal Support: Use a terminal that supports ANSI colors:
- ✅ GNOME Terminal, Termux, iTerm2, Windows Terminal
- ❌ Very old terminal emulators
-
Force Color Mode (in some environments):
Clear Screen Not Working
Problem:limpiar_pantalla() leaves artifacts
Solution: The script auto-detects OS (clear for Linux/Mac, cls for Windows)
Results File Issues
Files Not Generated
Problem: No output files created inResultados_Tracker/
Checklist:
- ✅ Query completed successfully (green checkmark shown)
- ✅ Directory exists and is writable
- ✅ No disk space issues:
df -h - ✅ Check exact error messages
Cannot Read Results Files
Problem: Files contain garbled text Solution: Files are UTF-8 encodedGetting Help
If your issue isn’t covered here:1. Check Error Messages
The script provides specific error messages - read them carefully for clues.2. Enable Debug Mode
Modify the script to add debugging:3. Report Issues
GitHub Issues
Report bugs or request features on the GitHub repository
- Operating system and version
- Python version (
python3 --version) - Full error message
- Steps to reproduce
- What you’ve already tried
For general Python help, consult the Python documentation or Stack Overflow.