Troubleshooting Guide
This guide helps you diagnose and resolve common issues with TonieToolbox v1.0.0a1.
Installation Issues
"tonietoolbox: command not found"
Symptoms: The system doesn't recognize the tonietoolbox command.
Solutions:
-
Check if TonieToolbox is installed:
-
Install using pipx (recommended):
-
Or install with pip:
-
Alternative execution methods:
-
Check Python PATH:
GUI Won't Start
Symptoms: tonietoolbox --gui fails or shows PyQt6 errors.
Solutions:
-
Install PyQt6 (required for GUI):
-
Check PyQt6 installation:
-
System-specific issues:
Install Visual C++ Redistributables: - Download from Microsoft - Required for PyQt6 to work
Try different Python version:
Install using official Python: - Download from python.org - System Python may have compatibility issues
Check Rosetta on Apple Silicon:
FFmpeg Auto-Download Issues
Symptoms: --auto-download fails to download FFmpeg.
Solutions:
-
Check network connectivity:
-
Manual FFmpeg installation:
Using winget:
Manual download:
1. Download from ffmpeg.org
2. Extract to C:\ffmpeg
3. Add C:\ffmpeg\bin to system PATH
- Specify custom FFmpeg path:
Permission Errors
Symptoms: "Permission denied" errors during installation or execution.
Solutions:
-
Use pipx (recommended):
-
Use user installation:
-
Virtual environment (for development):
-
Fix directory permissions:
Conversion Issues
"FFmpeg not found"
Symptoms: FFmpeg dependency error during conversion.
Quick Fix:
Verify FFmpeg:
Audio Conversion Failures
Symptoms: Conversion starts but fails with audio processing errors.
Debugging Steps:
- Enable debug logging:
Logs saved to: ~/.tonietoolbox/tonietoolbox_YYYYMMDD_HHMMSS.log
-
Check input file:
-
Try different settings:
Common Causes: - Corrupted input file: Try different audio files - Unsupported format: Check FFmpeg supports the format - Insufficient disk space: Check available storage - File permissions: Ensure read/write access to input/output directories
Large File Issues
Symptoms: Conversion fails or is extremely slow with large files (>500MB).
Solutions:
-
Check available disk space:
-
Use lower bitrates:
-
Split large files:
-
Monitor resource usage:
File Format Issues
Unsupported Input Format
Symptoms: "Unsupported audio format" or conversion errors.
Solutions:
- Check supported formats:
- MP3 (recommended)
- FLAC
- WAV
- M4A/AAC
- OGG Vorbis
-
WMA (limited support)
-
Convert format first:
-
Verify file integrity:
Corrupted TAF Files
Symptoms: Generated TAF files don't play or show errors.
Debugging:
-
Analyze the TAF file:
-
Compare with reference file:
-
Regenerate with debugging:
GUI Player Issues
TAF File Won't Play
Symptoms: GUI launches but TAF files don't play or show errors.
Solutions:
-
Verify TAF file:
-
Check audio backend:
- Ensure system audio is working
- Try different audio output device
-
Check system volume settings
-
Launch with debugging:
-
Test with command-line player:
Plugin Issues
Symptoms: Plugins won't load or cause crashes.
Solutions:
- Check plugin status:
- Open GUI → Plugin Manager tab
- Check enabled/disabled status
-
Look for error messages
-
Disable problematic plugins:
-
Clear plugin cache:
-
Reinstall plugins:
- Remove plugin directory
- Restart TonieToolbox
- Reinstall via Plugin Manager
GUI Performance Issues
Symptoms: Slow or unresponsive GUI.
Solutions:
- Reduce playlist size:
- Large playlists (>100 files) may slow down GUI
-
Split into smaller playlists
-
Disable resource-intensive plugins:
- Check Plugin Manager for active plugins
-
Disable unnecessary visualization or analysis plugins
-
Clear cache:
TeddyCloud Integration Issues
Connection Problems
Symptoms: Upload fails with connection errors.
Debugging:
-
Test basic connectivity:
-
Check TeddyCloud status:
- Verify TeddyCloud is running
- Check server logs
-
Ensure network connectivity
-
Debug upload:
-
Increase timeouts:
SSL Certificate Issues
Symptoms: SSL verification errors.
Solutions:
- For self-signed certificates:
!!! warning "Security Warning"
Only use --ignore-ssl-verify with trusted servers you control.
- Install certificate:
- Add self-signed cert to system trust store
-
Or use certificate-based authentication
-
Use HTTP for local testing:
Authentication Failures
Symptoms: 401 Unauthorized or 403 Forbidden errors.
Solutions:
-
Basic authentication:
-
Certificate authentication:
-
Configuration file (recommended):
-
Verify TeddyCloud settings:
- Check user permissions
- Verify authentication is enabled
- Check TeddyCloud logs
Upload Failures
Symptoms: Upload starts but fails partway through.
Solutions:
-
Increase retry settings:
-
Check file size limits:
- TeddyCloud may have upload size limits
- Check server configuration
-
Monitor server logs during upload
-
Use smaller chunks:
- Not configurable via CLI
- Edit config.json:
application.teddycloud.chunk_size
Performance Issues
Slow Conversion
Symptoms: Conversions take much longer than expected.
Solutions:
- Use faster storage:
- Move files to SSD
-
Avoid network drives for temp files
-
Close other applications:
- Free up CPU and memory
-
Stop background processes
-
Optimize encoding settings:
-
Disable unnecessary features:
High Memory Usage
Symptoms: System becomes unresponsive, out of memory errors.
Solutions:
-
Process files individually:
-
Disable parallel processing:
-
Increase system resources:
- Close other applications
- Add RAM if consistently hitting limits
- Use swap/page file
Configuration Issues
Config File Corruption
Symptoms: TonieToolbox fails to start or shows config errors.
Solutions:
-
Validate config file:
-
Reset to defaults:
-
Manual repair:
- Open
~/.tonietoolbox/config.jsonin editor - Fix JSON syntax errors
- Validate with JSON linter
Settings Not Persisting
Symptoms: Configuration changes don't save or revert.
Solutions:
-
Check file permissions:
-
Verify config location:
- Check for multiple configs:
- Ensure only one config file exists
- CLI arguments override config file
Getting More Help
Enable Comprehensive Logging
For any issue, enable detailed logging:
Log location: ~/.tonietoolbox/tonietoolbox_YYYYMMDD_HHMMSS.log
Collect System Information
When reporting issues, gather:
# TonieToolbox version
tonietoolbox --version
# Python version
python --version
# FFmpeg version
ffmpeg -version
# Operating system
uname -a # Linux/macOS
# Windows: Settings → System → About
Where to Get Help
- Documentation: https://tonietoolbox.github.io/TonieToolbox/
- GitHub Issues: https://github.com/TonieToolbox/TonieToolbox/issues
- GitHub Discussions: https://github.com/TonieToolbox/TonieToolbox/discussions
- Search existing issues: Many common problems already have solutions
Creating Good Bug Reports
Include these details:
- TonieToolbox version:
tonietoolbox --version - Operating system: Windows 11, macOS 14, Ubuntu 22.04, etc.
- Python version:
python --version - Installation method: pip, pipx, development install
- Complete command: The exact command that failed
- Full error message: Complete error text, not just "it doesn't work"
- Input file details: Format, size, duration
- Log files: Attach logs from
--trace --log-file - Steps to reproduce: Detailed steps to recreate the issue
Debug Command Patterns
# Basic debugging
tonietoolbox input.mp3 --debug
# Full debugging with logs
tonietoolbox input.mp3 --trace --log-file --keep-temp
# Test with minimal options
tonietoolbox input.mp3 --bitrate 96
# Test dependencies
tonietoolbox input.mp3 --auto-download
# Test without network
tonietoolbox input.mp3 --skip-update-check
# GUI debugging
tonietoolbox --gui --debug --log-file
# Test specific file
tonietoolbox --info suspicious.taf
Known Issues (v1.0.0a1)
Alpha Release Limitations
TonieToolbox v1.0.0a1 is an alpha release. Known issues:
- GUI translation incomplete: Some UI elements may show English only
- Plugin stability: Community plugins may have compatibility issues
- CLI integration tests: 15 tests failing (documented in CHANGELOG)
- Theme switching: Requires restart in some cases
- Large playlist performance: GUI may slow with >100 files
These are being addressed in upcoming releases. Check CHANGELOG.md for updates.
Common Error Messages
"No such file or directory: 'ffmpeg'"
Cause: FFmpeg not installed or not in PATH
Solution:
"PyQt6 is not installed"
Cause: GUI dependencies not installed
Solution:
"Permission denied: ~/.tonietoolbox/config.json"
Cause: Config file not writable
Solution:
"Connection refused" or "Connection timeout"
Cause: TeddyCloud server unreachable
Solution:
- Verify server is running
- Check network connectivity
- Increase timeout: --connection-timeout 30
"Invalid TAF file format"
Cause: Corrupted or incomplete TAF file
Solution:
Remember: Most issues can be resolved with:
1. Update dependencies: pip install --upgrade tonietoolbox
2. Enable debugging: --debug --log-file
3. Check logs: ~/.tonietoolbox/tonietoolbox_*.log
4. Verify FFmpeg: ffmpeg -version
5. Reset config: Delete ~/.tonietoolbox/config.json