Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2021, 05:15 AM   #1
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
5.31.1 will not import from single folder

I just upgraded to 5.31.1.

I find it will import books from 'folder and subfolders' but it will not import from a single folder.

I can use the key 'A' and it will start the process, throwing up the folder tree but it will not allow me to choose a folder.

Whatever I click on it will not go into the selected field and therefore we stop right there.

If I change to add book from folder and subfolders it will work on the folder happily.

Last edited by abrogard; 11-09-2021 at 05:17 AM.
abrogard is offline   Reply With Quote
Old 11-09-2021, 06:02 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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What operating system and the file picker is from the operating system not calibre. You can bypass problems with operating system file pickers by setting the CALIBRE_NO_NATIVE_FILEDIALOGS environment variable as decribed here: https://manual.calibre-ebook.com/cus...ment-variables
kovidgoyal is offline   Reply With Quote
Advert
Old 11-09-2021, 01:45 PM   #3
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
Thank you for that kovid. I should have mentioned it is win10.
I will find the envir var and set it. regards.
abrogard is offline   Reply With Quote
Old 11-09-2021, 03:45 PM   #4
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Works for me on Win10 Version 21H1 build 19043.1288

Do you use a file manager that has an option to replace File Explorer's dialogues, such as Directory Opus or xplorer² Pro. If you do, try disabling that option.

BR
BetterRed is offline   Reply With Quote
Old 11-09-2021, 04:23 PM   #5
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
HMM. no, no file manager, just win explorer.

these env variables. System var or User var? what name? what value?
abrogard is offline   Reply With Quote
Advert
Old 11-09-2021, 06:49 PM   #6
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by abrogard View Post
HMM. no, no file manager, just win explorer.

these env variables. System var or User var? what name? what value?
Customizing calibre — calibre 5.31.1 documentation

User variables

are there any ebook files in the folder

Click image for larger version

Name:	Screenshot 2021-11-10 104709.jpg
Views:	73
Size:	51.1 KB
ID:	190105

Try changing the file type selector to All files

BR
BetterRed is offline   Reply With Quote
Old 11-09-2021, 07:40 PM   #7
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,367
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
@betterred Speaking for myself, I'm back to experiencing this exact issue. It's weird in that for many months all works perfectly, then all of a sudden it stops working and I have to set the environment variable.

I've yet to figure out what happens to cause it to stop working.

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Old 11-09-2021, 09:25 PM   #8
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
User variable. thanks.
What name do I give the variable? I mean is that the name? Or I give any name and that is the 'value' ?

all kinds of files in the folder. It is a subfolder in my windows 'downloads' folder. I create them from time to time and shunt all the downloads off into them to clear a space.

so there's everything/anything in there.

p.s. the problem comes before any question of file types. the system won't allow that folder name into the selected file field.

Or any folder name. I should make that clear. It's any folder. I can't get it to accept a 'single folder' add books thing.

Last edited by abrogard; 11-09-2021 at 09:38 PM.
abrogard is offline   Reply With Quote
Old 11-10-2021, 12:25 AM   #9
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by PeterT View Post
@betterred Speaking for myself, I'm back to experiencing this exact issue. It's weird in that for many months all works perfectly, then all of a sudden it stops working and I have to set the environment variable.

I've yet to figure out what happens to cause it to stop working.
Weird - must be a common glitch on your's and abrogard's setups.

And if it comes and goes, that's even weirder.

Have you tried Safe Mode?

Quote:
Originally Posted by abrogard View Post
User variable. thanks.
What name do I give the variable? I mean is that the name? Or I give any name and that is the 'value' ?

all kinds of files in the folder. It is a subfolder in my windows 'downloads' folder. I create them from time to time and shunt all the downloads off into them to clear a space.

so there's everything/anything in there.

p.s. the problem comes before any question of file types. the system won't allow that folder name into the selected file field.

Or any folder name. I should make that clear. It's any folder. I can't get it to accept a 'single folder' add books thing.
Click image for larger version

Name:	Screenshot 2021-11-10 161657.jpg
Views:	74
Size:	172.6 KB
ID:	190108

FWIW I don't use the Add Books dialogues, I prefer using File Explorer->Send To to add books.

BR

Last edited by BetterRed; 11-10-2021 at 12:30 AM.
BetterRed is offline   Reply With Quote
Old 11-10-2021, 12:57 AM   #10
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
Thanks for that. I just tried the explorer trick and nothing happened. Nothing appeared to happen. And I guess if it had really sent to calibre.exe calibre would have opened.

Thanks for the tip about the variable naming. I guess I've learned something there. Set as '1' means 'true' I guess so it's always set.

I'll have another go at setting it and see if it works now.
abrogard is offline   Reply With Quote
Old 11-10-2021, 05:19 AM   #11
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If you want to try my trick, you need to have a shortcut to calibre.exe in the SendTo folder. Easiest way to find the folder is WinKey+R, type shell:sendto and press Enter.

Create a shortcut on your desktop and move it to the sendto folder.

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2021-11-10 211200.jpg
Views:	77
Size:	115.7 KB
ID:	190112  
BetterRed is offline   Reply With Quote
Old 11-10-2021, 05:42 AM   #12
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
okay. I'll try that. wouldn't mind knowing some of the technicalities behind it all....
abrogard is offline   Reply With Quote
Old 11-10-2021, 03:26 PM   #13
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Behind what specifically?

Environment variables have been a feature of just about every OS since the 1960s, They're data items that have a label and a value that executing programs can access at run time. See ==>> https://en.wikipedia.org/wiki/Environment_variable

Windows Explorer->Send To first surfaced in Windows 95 in the mid 1990s. It is implemented via a folder of shortcuts (destination folders or programs) that is stored in a specific location, usually C:\Users\<xxxxxx>\AppData\Roaming\Microsoft\Windows\SendTo. It's similar to the 'Desktop', but it is accessed via File Explorer - so data can be sent to a program rather than fetched by program.

BR
BetterRed is offline   Reply With Quote
Old 11-10-2021, 03:30 PM   #14
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
I meant specifically your 'trick'. Like why doesn't 'send to' work when I send to calibre.exe right there on win10's win explorer list of where I could send - but it works if I follow your directions?
abrogard is offline   Reply With Quote
Old 11-10-2021, 03:59 PM   #15
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
There is no 'trick'.

AFAIK Calibre won't be in the Send To menu unless there is a shortcut to calibre.exe in the Send To folder, and I'm pretty sure calibre itself doesn't add it at install time.

Could you post a screen shot of what doesn't work.

The boxed items in the attached screen shot were added by me, I'm not sure about the Evernote item, I may have added it, or the Evernote install might have added it. Can't recall why I added Books (it's a calibre library), but I will get rid of it, sending anything there will 'corrupt' the library

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2021-11-10 211200.jpg
Views:	69
Size:	123.1 KB
ID:	190120  
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a single FOLDER to calibre 2.24 Danesh Library Management 1 04-13-2015 11:02 PM
Adding a folder as a single book in Calibre Holmes.Sherlock Calibre 3 03-17-2015 05:10 PM
Mulitple Computers, single shared folder CRussel Library Management 10 11-11-2011 07:34 AM
Converting Books to a Single Folder ednemo Library Management 13 10-02-2011 11:18 PM
Save to disk not in a single folder RandallFlagg Calibre 6 08-25-2009 02:02 AM


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


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