Skip to content

PaperCLI v1.0.2 - PDF Processing Fix

Choose a tag to compare

@SXKDZ SXKDZ released this 13 Jul 19:21
· 72 commits to main since this release

What's Changed in v1.0.2

πŸ› Bug Fixes

  • Fixed PDF processing error during edits - Resolved "are the same file" error when editing papers without changing the PDF path
  • Added fallback database creation - Application now gracefully handles missing Alembic configuration by falling back to direct SQLAlchemy table creation
  • Improved installation reliability - Better handling of different installation scenarios (pipx, pip, source)

πŸ“š Documentation Updates

  • Updated OpenAI API key documentation - Clarified that OpenAI API key is required (not optional) for AI features
  • Added API key setup to Quick Start - Users are now guided to set up the OpenAI API key as the first step
  • Fixed source installation instructions - Corrected README to use python -m app.papercli for running from source

πŸ”§ Technical Improvements

  • Enhanced PDF file handling with duplicate path detection
  • More robust database initialization with graceful Alembic fallback
  • Better error handling for edge cases in paper editing workflow

πŸ“¦ Installation

# Recommended: Install via pipx
pipx install git+https://github.com/SXKDZ/papercli.git

# Alternative: Install via pip  
pip install git+https://github.com/SXKDZ/papercli.git

# Run from source
git clone https://github.com/SXKDZ/papercli.git
cd papercli
pip install -r requirements.txt
python -m app.papercli

πŸš€ Quick Start Reminder

  1. Set up your OpenAI API key: echo "OPENAI_API_KEY=your_key_here" > .env
  2. Launch PaperCLI: papercli
  3. Add your first paper: /add arxiv 2307.10635

This release fixes the PDF processing bug that was preventing paper edits and improves overall stability across different installation methods.