XcelerateDL

XcelerateDL Troubleshooting Guide

This guide addresses common issues you might encounter while using XcelerateDL and provides solutions.

Installation Issues

Python Version Compatibility

Issue: Error message about incompatible Python version.

Solution:

Missing Dependencies

Issue: Error messages about missing modules during startup.

Solution:

ffmpeg Not Found

Issue: YouTube downloads fail with errors about missing ffmpeg.

Solution:

Startup Issues

Port Already in Use

Issue: Error “Address already in use” when starting the server.

Solution:

GUI Not Starting

Issue: GUI mode fails to start.

Solution:

Download Issues

Downloads Not Starting

Issue: Downloads stay in “queued” status and never start.

Solution:

Slow Download Speeds

Issue: Downloads are slower than expected.

Solution:

Downloads Failing Consistently

Issue: Downloads immediately fail or fail after a short time.

Solution:

Downloads Stuck at Specific Percentage

Issue: Download progress stalls at a specific percentage.

Solution:

YouTube Download Issues

YouTube Downloads Fail

Issue: YouTube downloads fail with errors.

Solution:

Audio Extraction Problems

Issue: Audio extraction from YouTube videos fails.

Solution:

Video Quality Issues

Issue: YouTube videos download in lower quality than expected.

Solution:

WebSocket Issues

Real-time Updates Not Working

Issue: Download progress doesn’t update in real time.

Solution:

WebSocket Disconnecting

Issue: Frequent “Connection lost” messages.

Solution:

File Organization Issues

Files Downloaded to Wrong Location

Issue: Files are saved in unexpected locations.

Solution:

Incorrect File Categorization

Issue: Files are categorized incorrectly.

Solution:

Performance Issues

High CPU Usage

Issue: Application uses excessive CPU resources.

Solution:

High Memory Usage

Issue: Application consumes too much memory.

Solution:

Application Becomes Unresponsive

Issue: UI freezes or application stops responding.

Solution:

Scheduled Download Issues

Scheduled Downloads Not Starting

Issue: Downloads don’t start at the scheduled time.

Solution:

Peak Hours Settings Not Working

Issue: Downloads don’t respect peak hours settings.

Solution:

Recurring Downloads Not Working

Issue: Recurring downloads don’t repeat as expected.

Solution:

Advanced Troubleshooting

Enabling Debug Logging

For more detailed troubleshooting, enable debug logging:

  1. Create a file named logging.conf in the project root with: ```ini [loggers] keys=root

[handlers] keys=consoleHandler,fileHandler

[formatters] keys=simpleFormatter

[logger_root] level=DEBUG handlers=consoleHandler,fileHandler

[handler_consoleHandler] class=StreamHandler level=INFO formatter=simpleFormatter args=(sys.stdout,)

[handler_fileHandler] class=FileHandler level=DEBUG formatter=simpleFormatter args=(‘xceleratedl.log’, ‘w’)

[formatter_simpleFormatter] format=%(asctime)s - %(name)s - %(levelname)s - %(message)s


2. Start the application with logging configuration:
```bash
python -m app.main --log-config logging.conf
  1. Check the generated log file for detailed information.

Restoring Default Settings

If settings are causing issues, reset to defaults:

  1. Stop the application
  2. Delete or rename these files:
    • downloads/download_data.json
    • downloads/bandwidth_settings.json
  3. Restart the application

Cleaning Up Corrupted Downloads

If you have problematic partial downloads:

  1. Stop the application
  2. Run the cleanup script:
    # Windows
    delete_downloads.bat
       
    # macOS/Linux
    rm -rf downloads/*
    
  3. Restart the application

Diagnostic Commands

Use these commands to diagnose common issues:

# Check Python version
python --version

# Check installed packages
pip list

# Verify ffmpeg installation
ffmpeg -version

# Check disk space
# Windows
dir
# macOS/Linux
df -h

# Test internet connection
ping example.com

# Check port usage
# Windows
netstat -ano | findstr :8000
# macOS/Linux
lsof -i :8000

Getting Help

If you’ve tried the solutions above and still have issues:

  1. Check the GitHub Issues page for similar problems
  2. Open a new issue with:
    • Detailed description of the problem
    • Steps to reproduce
    • System information (OS, Python version)
    • Relevant log output
    • Screenshots if applicable