Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2022, 02:35 AM   #1
Jasonz
Member
Jasonz began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
Exclamation Error occurs on starting ebook-viewer after setting CALIBRE_DEVELOP_FROM

Error occurs on starting ebook-viewer after setting CALIBRE_DEVELOP_FROM
Quote:
Building icons.rcc
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "B:\Programs\calibre-6.5.0\src\calibre\debug.py", line 231, in main
ebook_viewer(['ebook-viewer'] + args[1:])
File "B:\Programs\calibre-6.5.0\src\calibre\gui_launch.py", line 101, in wrapper
return func(*a, **kw)
File "B:\Programs\calibre-6.5.0\src\calibre\gui_launch.py", line 114, in ebook_viewer
with register_with_default_programs():
File "B:\Programs\calibre-6.5.0\src\calibre\gui_launch.py", line 51, in register_with_default_programs
from calibre.gui2 import gprefs
File "B:\Programs\calibre-6.5.0\src\calibre\gui2\__init__.py", line 1562, in <module>
build_forms(os.environ['CALIBRE_DEVELOP_FROM'], check_for_migration=True)
File "B:\Programs\calibre-6.5.0\src\calibre\build_forms.py", line 92, in build_forms
ensure_icons_built(resource_dir, force_compile, info)
File "B:\Programs\calibre-6.5.0\src\calibre\build_forms.py", line 37, in ensure_icons_built
compile_icon_dir_as_themes(images_dir, icons)
File "B:\Programs\calibre-6.5.0\src\calibre\utils\rcc\__init__.py", line 59, in compile_icon_dir_as_themes
with tempfile.TemporaryDirectory(dir=path_to_dir) as tdir, open(os.path.join(tdir, 'icons.qrc'), 'w') as qrc:
File "tempfile.py", line 796, in __init__
File "tempfile.py", line 368, in mkdtemp
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'B:\\Programs\\calibre-6.5.0\\src\\resourc
es\\images\\tmpo400faow'
Jasonz is offline   Reply With Quote
Old 09-29-2022, 02:41 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,088
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to set CALIBRE_DEVELOP_FROM to the full path to the src sub-directory of the calibre source code.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-29-2022, 02:51 AM   #3
Jasonz
Member
Jasonz began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2022
Device: Windows11
Changing B:\Programs\calibre-6.5.0\src\ to B:\Programs\calibre-6.5.0\src is ok.
Jasonz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 2.66 and 2.68 ebook viewer error gsevrain Calibre 11 09-26-2016 10:42 AM
Ebook Viewer Error on Every Book gabryyl Library Management 3 03-07-2014 06:07 PM
Touch WiFi "Network Error" suddenly occurs CWPitcher Kobo Reader 24 10-07-2011 02:01 PM
CALIBRE_DEVELOP_FROM and ebook-viewer iain_benson Calibre 2 01-11-2010 04:57 PM
Error when trying to open Ebook Viewer, won't show stories cloudyvisions Calibre 1 03-28-2009 04:13 AM


All times are GMT -4. The time now is 09:00 AM.


MobileRead.com is a privately owned, operated and funded community.