Troubleshooting
This page helps you resolve common issues with the MSM Data Collector Client.
Application Won't Start
Python Not Found
Symptom: Error message "python is not recognized as a command"
Solution:
- Verify Python is installed: Open terminal and run
python --version - If not installed, see Installation Guide
- On Windows, ensure "Add Python to PATH" was checked during installation
- Try using
python3instead ofpython(macOS/Linux)
Missing Dependencies
Symptom: Import errors or module not found errors
Solution:
pip install -r requirements.txt
If that fails, try:
pip install --user -r requirements.txt
Tkinter Not Available
Symptom: "tkinter module not found" error
Solution:
- Windows/Mac: Tkinter should come with Python. Reinstall Python if missing.
- Linux: Install tkinter package:
sudo apt-get install python3-tk
Connection Issues
Can't Connect to MSM Server
Symptom: SSH connection failed or timeout errors
Solution:
- Verify MSM server is online and accessible
- Check
config.yamlhas correct host, port, username, and password - Test SSH connection manually:
ssh username@msm-server-hostname - Verify firewall allows SSH connections (port 22)
- Contact your network administrator if issues persist
Database Connection Failed
Symptom: PostgreSQL connection errors
Solution:
- Verify SSH tunnel to MSM server is working
- Check
config.yamldatabase credentials are correct - Verify database is running on the MSM server
- Check database name, username, and password
- Contact your database administrator
Upload Failures
Symptom: Can't upload to cloud platform
Solution:
- Check your internet connection
- Verify
api.base_urlinconfig.yamlis correct - Test API accessibility:
ping data-collector.aws.ayk-services.com - Check with administrator about cloud platform status
- Try Offline Mode then upload later
Performance Issues
Extraction is Very Slow
Symptom: Data extraction takes much longer than expected
Solutions:
- Reduce batch size to 500 or 250
- Check your network connection speed
- Verify MSM server is not under heavy load
- Use Offline Mode for better performance
- Extract data in smaller date ranges
Application Uses Too Much Memory
Symptom: Computer becomes slow or unresponsive
Solutions:
- Reduce batch size in extraction settings
- Close other applications
- Extract data in smaller date ranges
- Restart the application between large extractions
Slow Upload Speed
Symptom: File uploads take very long
Solutions:
- Check internet connection speed
- Upload during off-peak hours
- Use wired connection instead of WiFi
- Close bandwidth-heavy applications
- Upload smaller files or split large extractions
Data Issues
No Data Extracted
Symptom: Extraction completes but zero records
Solutions:
- Verify date range has data in the database
- Check
table_nameinconfig.yamlis correct - Verify
timestamp_columnmatches database schema - Check database permissions for your user account
- Review logs at
logs/extraction.log
Duplicate Data
Symptom: Same data uploaded multiple times
Solutions:
- Don't restart extractions from the same start date
- Track last successful extraction timestamp
- Use that timestamp as start date for next extraction
- Check logs to find last processed record
- Contact administrator to remove duplicates from cloud
Missing Data
Symptom: Some records not extracted
Solutions:
- Check logs for error messages during extraction
- Verify date range covers intended period
- Check for interruptions during extraction
- Re-run extraction for missing date ranges
- Verify database had data for that period
Configuration Issues
Invalid Configuration File
Symptom: Error loading config.yaml
Solutions:
- Verify YAML syntax is correct (use a YAML validator)
- Check indentation (use spaces, not tabs)
- Ensure all required fields are present
- Remove any special characters from passwords
- Compare with the configuration template
Authentication Failed
Symptom: Invalid credentials errors
Solutions:
- Double-check username and password in
config.yaml - Verify there are no extra spaces before/after credentials
- Check if password contains special characters that need escaping
- Confirm account is active with your administrator
- Test credentials manually via SSH
File and Storage Issues
Can't Create Output Files
Symptom: Permission denied errors when saving files
Solutions:
- Check you have write permissions to the application folder
- Create
offline_extractions/folder manually if missing - Run application with appropriate permissions
- Choose a different output directory with write access
Disk Space Full
Symptom: Not enough space errors
Solutions:
- Free up disk space
- Delete old extraction files after successful upload
- Extract smaller date ranges
- Use different drive with more space
- Clean up log files in
logs/folder
Can't Delete Files
Symptom: Permission errors when deleting files
Solutions:
- Close the application first
- Ensure no other program has files open
- Check file permissions
- Delete files manually from file explorer
Interface Issues
Application Window Not Appearing
Symptom: Command runs but no window appears
Solutions:
- Check terminal for error messages
- Verify tkinter is installed:
python -c "import tkinter" - Check if window appeared behind other windows
- Try running with elevated permissions
- Check display settings (especially on Linux with remote sessions)
Interface Frozen
Symptom: Window doesn't respond to clicks
Solutions:
- Check terminal for errors
- Wait - large operations take time
- Close and restart the application
- Check logs at
logs/extraction.log
Progress Not Updating
Symptom: Progress bar stuck or not moving
Solutions:
- Wait - large batches take time
- Check terminal for error messages
- Check logs at
logs/extraction.log - Restart extraction if genuinely stuck
Error Messages
"Connection refused"
Cause: Can't reach the server
Solution: Check network connection, firewall settings, and server address
"Authentication failed"
Cause: Invalid credentials
Solution: Verify username and password in config.yaml
"Permission denied"
Cause: Insufficient file system or database permissions
Solution: Check file permissions or contact administrator for database access
"Timeout error"
Cause: Operation took too long
Solution: Reduce batch size, check network connection, or split into smaller extractions
"File not found"
Cause: Missing required file
Solution: Verify file path, check file exists, or recreate from template
Getting Additional Help
If you can't resolve your issue:
Check the Logs
Detailed logs are in:
logs/extraction.log
Look for ERROR or WARNING messages.
Information to Provide
When contacting support, include:
- Error message (exact text)
- What you were doing when error occurred
- Relevant log entries from
logs/extraction.log - Your Python version:
python --version - Operating system and version
- Screenshot of the error (if applicable)
Contact Support
- Technical Issues: Contact your system administrator
- Data Questions: Contact your data team
- Access Issues: Contact your IT support team
Frequently Asked Questions
See the FAQ page for common questions about usage and features.