Setup & Installation Issues
Python version error: Requires Python 3.12
Python version error: Requires Python 3.12
-
Check your Python version:
-
Install Python 3.12 if needed:
- macOS (Homebrew):
- Ubuntu/Debian:
- Windows: Download from python.org
- macOS (Homebrew):
-
Recreate virtual environment:
ModuleNotFoundError: No module named 'X'
ModuleNotFoundError: No module named 'X'
-
Activate virtual environment:
-
Reinstall dependencies:
-
If using a specific module like
faster-whisper:
Permission denied when running scripts
Permission denied when running scripts
bash: ./script.sh: Permission deniedSolution:Make scripts executable:Firefox Profile Issues
Firefox profile not found or invalid
Firefox profile not found or invalid
ValueError: Firefox profile path does not exist or is not a directoryCause: Incorrect path to Firefox profile in config.jsonSolution:Find your Firefox profile path:-
macOS:
Look for a directory ending in
.default-releaseExample:~/Library/Application Support/Firefox/Profiles/abc123xyz.default-release -
Linux:
Look for a directory ending in
.default-releaseExample:~/.mozilla/firefox/abc123xyz.default-release -
Windows:
Example:
C:\Users\YourName\AppData\Roaming\Mozilla\Firefox\Profiles\abc123xyz.default-release
YouTube/Twitter login not persisting
YouTube/Twitter login not persisting
-
Create a dedicated Firefox profile:
- Open Firefox
- Navigate to
about:profiles - Click “Create a New Profile”
- Name it (e.g., “MoneyPrinterV2”)
- Note the “Root Directory” path
-
Log into your accounts:
- Launch Firefox with this profile
- Log into YouTube, Twitter/X manually
- Save cookies/stay logged in
- Close Firefox
- Update config.json with the new profile path
-
Test automation:
Selenium WebDriver errors with Firefox
Selenium WebDriver errors with Firefox
WebDriverException: Message: Expected browser binary location, but unable to find binary in default locationCause: GeckoDriver or Firefox not foundSolution:-
Ensure Firefox is installed:
-
Reinstall webdriver-manager:
-
Clear GeckoDriver cache:
- Run again - it will auto-download GeckoDriver
Ollama & LLM Issues
Ollama is not reachable
Ollama is not reachable
[FAIL] Ollama is not reachable at http://127.0.0.1:11434Cause: Ollama service not runningSolution:-
Check if Ollama is running:
-
Start Ollama:
- macOS: Ollama runs automatically if installed via Homebrew or app
- Linux:
- Windows: Launch Ollama desktop app
-
Verify installation:
-
Pull a model if none installed:
No models found on Ollama
No models found on Ollama
-
Pull recommended models:
-
Verify models are installed:
-
Re-run setup:
This will auto-detect and configure the best available model
Generated text is low quality or nonsensical
Generated text is low quality or nonsensical
-
Use a larger, more capable model:
-
Update config.json:
-
Test generation:
Ollama timeout or slow responses
Ollama timeout or slow responses
-
Use a smaller model:
-
Check system resources:
Close unnecessary applications
-
Adjust Ollama settings (if running
ollama serve):
Image Generation Issues
Nano Banana 2 API errors (Gemini)
Nano Banana 2 API errors (Gemini)
[FAIL] nanobanana2_api_key is emptyCause: Missing or invalid Gemini API keySolution:-
Get a Gemini API key:
- Visit Google AI Studio
- Create a new API key
-
Set in config.json:
Or set as environment variable:
-
Verify connectivity:
Image generation fails or returns no image
Image generation fails or returns no image
[WARN] Nano Banana 2 did not return an image payloadCause: API quota exceeded, model unavailable, or malformed promptSolution:-
Check API quota:
- Visit Google Cloud Console
- Ensure you haven’t exceeded free tier limits
-
Verify model availability:
Update
config.jsonto use stable model: - Simplify prompts: Avoid overly complex or NSFW content that might be filtered
Video Generation Issues
ImageMagick not found - subtitle rendering fails
ImageMagick not found - subtitle rendering fails
[WARN] imagemagick_path is not set to a valid executable pathCause: ImageMagick not installed or path not configuredSolution:-
Install ImageMagick:
macOS:
Ubuntu/Debian:Windows:
- Download from imagemagick.org
- Install and note installation path (e.g.,
C:\Program Files\ImageMagick-7.1.0-Q16\magick.exe)
-
Update config.json:
-
Verify:
MoviePy errors during video rendering
MoviePy errors during video rendering
OSError: MoviePy Error: creation of None failed because of the following errorCause: Missing codecs, ffmpeg issues, or insufficient disk spaceSolution:-
Ensure ffmpeg is installed:
If not installed:
-
Check disk space:
Videos are written to
.mp/directory -
Lower thread count in
config.json: -
Try regenerating:
Delete partial files in
.mp/and run again
Audio/video sync issues
Audio/video sync issues
- Regenerate the video: Audio duration is calculated dynamically; retry generation
-
Check TTS configuration:
Ensure
tts_voiceinconfig.jsonis valid: -
Manually adjust timing:
Edit
src/classes/YouTube.py:552(combine method) to tweak duration calculations
Speech & Subtitle Issues
faster-whisper import error
faster-whisper import error
ModuleNotFoundError: No module named 'faster_whisper'Cause: faster-whisper not installed (required for local STT)Solution:-
Use AssemblyAI instead:
-
Get AssemblyAI API key:
- Visit assemblyai.com
- Sign up for free tier
Subtitles not appearing in video
Subtitles not appearing in video
-
Check ImageMagick:
-
Enable verbose logging:
Re-run and check for error messages
-
Verify STT provider:
Ensure
stt_provideris set correctly: -
Check .mp/ directory:
Look for generated
.srtfiles - if missing, STT failed
Whisper model not found or slow
Whisper model not found or slow
-
Use a smaller model:
Available models:
tiny,base,small,medium,large -
Pre-download models:
Models are auto-downloaded on first use but you can pre-cache:
Upload & Automation Issues
YouTube upload fails at file picker
YouTube upload fails at file picker
-
Check video file exists:
-
Disable headless mode for debugging:
Watch browser interactions to see where it fails
-
Update Selenium selectors:
YouTube’s HTML changes frequently. Check
src/classes/YouTube.py:703(upload_video method) and update element selectors if needed - Ensure logged in: Open Firefox with your profile manually and verify YouTube login persists
Twitter/X post button not found
Twitter/X post button not found
CRON jobs not running
CRON jobs not running
-
Test manual execution:
-
Check cron logs:
-
Use absolute paths in crontab:
-
Verify crontab syntax:
Performance Issues
Video generation is very slow
Video generation is very slow
-
Use faster models:
- LLM:
llama3.2:3borphi4:latest - Whisper:
tinyorbase
- LLM:
-
Reduce thread count (counterintuitively can help on some systems):
-
Limit script length:
-
Profile bottlenecks:
Enable verbose mode and time each step:
High memory usage or crashes
High memory usage or crashes
- Close other applications
-
Use smaller models:
- Ollama: 3B parameter models
- Whisper:
tinyorbase
-
Limit Ollama concurrent models:
- Process videos one at a time: Don’t run multiple automation jobs in parallel
Debugging Tips
Enable Verbose Logging
Check Log Files
MoneyPrinter V2 doesn’t create log files by default, but you can redirect output:Inspect Generated Files
All temporary files are in.mp/ directory:
.png- Generated images.wav- TTS audio.srt- Subtitle files.mp4- Final videos
Test Individual Components
Use Python Debugger
Getting Help
If you’re still stuck:- Check existing issues: GitHub Issues
- Search documentation: This site covers most scenarios
- Ask on Discord: Fuji Community Discord
- Open a new issue: Provide:
- Operating system and Python version
- Full error message and stack trace
- Relevant
config.json(redact API keys) - Steps to reproduce