Running python bbdrop.py --gui --debug produces:
Run these diagnostic scripts on the failing computer to identify the issue:
python check_crash_logs.py
This will check for:
bbdrop_crash.log in the project directory (from top-level exception handler)~/.bbdrop/crash.log in user directory (from Qt exception hook)What to look for: Any crash logs that contain error messages or tracebacks.
python diagnose_startup.py
This will test each initialization step individually:
What to look for: The FIRST step that shows [FAIL]. This identifies exactly where the startup is breaking.
The diagnostic creates diagnose_startup.log with full details including tracebacks.
On the failing computer, verify:
# Check Python version
python --version
# Check if PyQt6 is installed
python -c "import PyQt6; print(PyQt6.__version__)"
# List installed packages (Windows CMD)
pip list | findstr /i "pyqt requests pillow"
# OR using PowerShell
pip list | Select-String "pyqt|requests|pillow"
Symptom: Diagnostic fails at “Import PyQt6.QtWidgets” Solution:
pip uninstall PyQt6 PyQt6-Qt6 PyQt6-sip
pip install PyQt6==6.9.1
Symptom: Diagnostic fails at “Import requests” or “Import pathlib” Solution:
pip install -r requirements.txt
Symptom: check_crash_logs.py shows database error Solution (Windows CMD):
REM Backup and recreate database
move %USERPROFILE%\.bbdrop\bbdrop.db %USERPROFILE%\.bbdrop\bbdrop.db.backup
REM Run bbdrop again - it will create fresh database
Solution (PowerShell):
# Backup and recreate database
Move-Item $env:USERPROFILE\.bbdrop\bbdrop.db $env:USERPROFILE\.bbdrop\bbdrop.db.backup
# Run bbdrop again - it will create fresh database
Symptom: No output at all, even from diagnostic scripts Solution:
Symptom: Silent failure, no logs created Solution:
Check Windows Defender logs:
Win+R, type eventvwr.mscAdd exclusions (Windows Security):
Test as administrator (diagnostic only - NOT recommended for regular use):
The application has three layers of exception handling:
debug_print() and exit with code 1~/.bbdrop/crash.log in user directorybbdrop_crash.log in project directoryIf NO output appears AND no logs are created, the failure is occurring BEFORE any exception handlers can activate, likely in:
After running the diagnostics, please report:
python --versionpip list | findstr /i "pyqt requests"If diagnostics don’t reveal the issue:
# Create fresh virtual environment
python -m venv venv_new
venv_new\Scripts\activate
pip install -r requirements.txt
# Test with new environment
venv_new\Scripts\python.exe bbdrop.py --gui --debug
Create test_minimal.py in the BBDrop project directory:
import sys
print("Step 1: Python works")
from PyQt6.QtWidgets import QApplication
print("Step 2: PyQt6 imports work")
app = QApplication(sys.argv)
print("Step 3: QApplication created")
from PyQt6.QtWidgets import QMessageBox
msg = QMessageBox()
msg.setText("If you see this, PyQt6 works!")
msg.show()
print("Step 4: Showing QMessageBox...")
sys.exit(app.exec())
Run: python test_minimal.py
This isolates whether the issue is PyQt6-related or specific to BBDrop’s startup sequence.