Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2024, 03:57 PM   #1
paddyrm
Connoisseur
paddyrm began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Oct 2012
Device: Kindle 3
Error message with Portable Calibre

Trying to run Portable Calibre from USB stick, get this error message:
calibre, version 7.7.0
ERROR: Could not create temporary folder: Could not create temporary folder, calibre cannot start. Click "Show details" for more information.

Traceback (most recent call last):
File "calibre\gui2\__init__.py", line 1177, in __init__
File "calibre\ptempfile.py", line 121, in base_dir
File "tempfile.py", line 368, in mkdtemp
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\UserTmp\\calibre_5fa6_vid'

I don't have a drive D, my USB is F:

Any suggestions? A config file somewhere?

Cheers

Paddy
paddyrm is offline   Reply With Quote
Old 03-20-2024, 05:35 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
D:\UserTmp\ is an 'odd' location

IIRC calibre portable uses the host systems User TEMP environment variable setting, which is usually set to %USERPROFILE%\AppData\Local\Temp.

Do a start panel search for 'environment variables' and you should be led to this:

Click image for larger version

Name:	Screenshot 2024-03-21 082620.jpg
Views:	20
Size:	49.1 KB
ID:	207028

While you're there have a look to see if the CALIBRE_TEMP_DIR EnvVar is set, I'm not sure of portable makes any use of that.

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-20-2024, 05:38 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
open a command prompt

Type the word SET (nothing else) and hit return

Scroll thru: is the a D: anywhere?

BTW UserTmp seems a bit odd

How did you start Calibre-Portable?
Calibre-Portable.exe is what you should run, NOT Calibre.exe
theducks is offline   Reply With Quote
Old 03-21-2024, 05:18 AM   #4
paddyrm
Connoisseur
paddyrm began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Oct 2012
Device: Kindle 3
Yes:
TEMP=D:\UserTmp
TMP=D:\UserTmp
Paddy
paddyrm is offline   Reply With Quote
Old 03-21-2024, 05:42 AM   #5
paddyrm
Connoisseur
paddyrm began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Oct 2012
Device: Kindle 3
Thanks for your help - I renamed the USB drive to be D: and Portable now works fine!
Paddy
paddyrm is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre portable error - failed to add any books lizzielou Library Management 5 12-26-2023 10:15 AM
Calibre Portable - Shouldn't PORTABLE Viewer and PORTABLE Editor open WITH the ebook? Highlighter Calibre 2 10-31-2020 05:48 AM
Strange error using calibre-portable.bat rysktkr Related Tools 8 06-23-2014 07:45 PM
Error Message on Calibre Joy19 Devices 2 02-06-2013 11:21 PM
Error when lauching portable Calibre jmir Calibre 4 08-02-2011 09:25 AM


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


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