View Single Post
Old 02-23-2026, 10:47 AM   #1
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,306
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Cal9 Portable From Source - BG Jobs All Fail?

I'm trying to run Cal 9.3.1 from source using Portable on win10.

Any background job I try (Create Catalog, FFF plugin, Calibre Convert) all fail with:

Spoiler:
Code:
Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "C:\Users\user\Desktop\nook\calibre\src\calibre\utils\ipc\worker.py", line 207, in main
  File "C:\Users\user\Desktop\nook\calibre\src\calibre\utils\ipc\worker.py", line 156, in get_func
  File "importlib\__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1314, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1314, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\Users\user\Desktop\nook\calibre\src\calibre\gui2\__init__.py", line 1712, in <module>
  File "C:\Users\user\Desktop\nook\calibre\src\calibre\build_forms.py", line 93, in build_forms
  File "C:\Users\user\Desktop\nook\calibre\src\calibre\build_forms.py", line 37, in ensure_icons_built
  File "C:\Users\user\Desktop\nook\calibre\src\calibre\utils\rcc\__init__.py", line 131, in compile_icon_dir_as_themes
  File "C:\Users\user\Desktop\nook\calibre\src\calibre\utils\rcc\__init__.py", line 30, in compile_qrc
OSError: [Errno 22] Invalid argument: 'C:\\Users\\user\\Desktop\\nook\\calibre\\resources\\icons.rcc'

I don't know anything about icons.rcc, but it is a generated file.

This is the DOS bat file I use to start it:

"testport src"

Spoiler:
Code:
set PYTHONIOENCODING=UTF-8

python makeplugin.py

set CALPORT_VERSION=9

rem set CALPORT_VERSION=8.16.2

rem set CALPORT_VERSION=7.6

rem set CALPORT_VERSION=6.29

rem py3.8.5
rem set CALPORT_VERSION=5.44

rem Python 2.7.16+
rem set CALPORT_VERSION=4.23

rem set CALPORT_VERSION=3.48
rem set CALPORT_VERSION=2.85.1

set CALPORT_SHARED_DIR=C:\Users\%USERNAME%\Desktop\nook\CalibrePorts
set CALPORT_DIR=%CALPORT_SHARED_DIR%\%CALPORT_VERSION%

set CALIBRE_DEVELOP_FROM=
set CALIBRE_OVERRIDE_LANG=
set CALIBRE_USE_DARK_PALETTE=false

set CALIBRE_CONFIG_DIRECTORY=%CALPORT_DIR%\Calibre Settings
set CALIBRE_LIBRARY_DIRECTORY=%CALPORT_SHARED_DIR%\Shared Port Library

if "%1" == "src" (set CALIBRE_DEVELOP_FROM=C:\Users\%USERNAME%\Desktop\nook\calibre\src) else (set CALIBRE_DEVELOP_FROM=)

"%CALPORT_DIR%\Calibre\calibre-customize" -a FanFicFare.zip

SET STARTINGDIR="%cd%"

cd "%CALPORT_DIR%\Calibre"
"%CALPORT_DIR%\Calibre\calibre-debug" -g

cd "%STARTINGDIR%"


Any guidance on getting this working?
JimmXinu is offline   Reply With Quote