Common issues and solutions for Libiry.

Installation Issues

”Python not found”

Problem: Running install.bat or run.bat shows Python not found.

Solution:

  1. Install Python 3.12 from python.org
  2. During installation, check “Add Python to PATH”
  3. Restart your terminal/command prompt
  4. Run python --version to verify

”Kivy installation fails”

Problem: pip fails to install Kivy.

Solution:

# Try installing with base dependencies only
pip install kivy[base]
 
# Or install pre-built wheel
pip install kivy --pre --extra-index-url https://kivy.org/downloads/simple/

“PyMuPDF installation fails”

Problem: PyMuPDF (fitz) fails to compile.

Solution:

# Windows - install Visual Studio Build Tools first
# Linux
sudo apt install libmupdf-dev mupdf-tools
 
# macOS
brew install mupdf

Application Issues

Application won’t start

Problem: Double-clicking run.bat does nothing.

Solution:

  1. Run run_debug.bat instead to see error messages
  2. Check if virtual environment exists in venv/ folder
  3. Re-run install.bat

Blank window / no books shown

Problem: Libiry opens but shows nothing.

Solutions:

  1. Check Settings → Location is set correctly
  2. Verify the folder contains supported file types
  3. Check “Only selected file types” setting
  4. Press F5 to refresh

Slow startup

Problem: Libiry takes a long time to start.

Solutions:

  1. Large libraries take longer on first scan
  2. Check network connection (cover lookup may timeout)
  3. Move library to SSD if on HDD
  4. Reduce folder depth (fewer nested folders)
  5. Uncheck the ‘Show tags’ box in Settings

Display Issues

Covers not showing

Problem: Books display without covers.

Solutions:

  1. Check internet connection (for online lookup)
  2. Verify ebooks contain embedded covers
  3. Clear cache: delete ~/.libiry/cache/
  4. For markdown files, check cover field path is valid

Only one cover shown for a multibook file

Problem: A markdown file contains multiple books, but only one cover is shown in the grid

Solution: Change your Libiry field names to match those in the markdown file

Text too small/large

Problem: UI elements are wrong size.

Solution: Edit customize/customize.txt:

Font size: 16

High DPI scaling issues

Problem: UI looks tiny on high-resolution display.

Solution: Increase font size in configuration. Kivy may not auto-scale on all systems.

Tag Issues

Tags not saving (MOBI/AZW)

Problem: Tags disappear after saving.

Solution: MOBI/AZW files use OPF sidecar files. Check if .opf file was created next to the book. Ensure write permissions in the folder.

Tags not saving (PDF)

Problem: PDF tags don’t persist.

Solutions:

  1. Some PDFs can’t be modified (encryption, structure)
  2. Run check_pdf_tags.py to identify problematic PDFs
  3. Problematic PDFs use OPF sidecar files automatically

Tags not reading from Calibre

Problem: Calibre tags not visible in Libiry.

Solution: Calibre stores tags differently. For PDFs, Calibre uses the Subject field while Libiry uses Keywords. Use OPF sidecar files for consistent storage.

Search Issues

Search not finding books

Problem: Books exist but search doesn’t find them.

Solutions:

  1. Search is case-insensitive but exact by default
  2. Enable Fuzzy search in Settings for partial matches
  3. Search depth is limited to 10 folder levels
  4. Check if files have correct extensions

Fuzzy search too broad

Problem: Fuzzy search returns too many results.

Solution: Disable fuzzy search for more precise matching:

Fuzzy search y/n: N

Performance Issues

High memory usage

Problem: Libiry uses too much RAM.

Solutions:

  1. Large markdown files with many books use more memory
  2. Limit to 100 books per markdown file
  3. Close other applications
  4. Reduce grid zoom level

Slow scrolling

Problem: Grid scrolling is laggy.

Solutions:

  1. Reduce number of visible tiles (zoom out less)
  2. Ensure thumbnail cache is working (~/.libiry/cache/)
  3. Use SSD for library storage

File Issues

”Permission denied” when saving

Problem: Can’t save tags or move files.

Solutions:

  1. Check folder permissions
  2. Close files in other applications
  3. Run as administrator (Windows)
  4. Check if files are read-only

Deleted files still showing

Problem: Removed files appear in grid.

Solution: Press F5 to refresh the view.

Moving files fails

Problem: Move operation doesn’t work.

Solutions:

  1. Check destination folder exists
  2. Check write permissions
  3. Ensure file isn’t open in another program

Getting Help

Debug Mode

Run with console output to see errors:

run_debug.bat

Log Files

Check for errors in the console output. No separate log files are created.

Reporting Issues

When reporting bugs, include:

  1. Operating system and version
  2. Python version (python --version)
  3. Error message from debug mode
  4. Steps to reproduce

Report issues at: GitHub Issues