10-13-2017, 06:59 PM | #226 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Immelmann67 - just an idea - did you restart immediately after installing the plugin, before you tried to configure?
I have a distant memory of having to do that with another plugin, so I now do it habitually - install plugin, restart, configure plugin. BR |
10-14-2017, 01:30 PM | #227 |
Member
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
|
I have tried installing the plugin, then configuring it. I have installed, restarted and tried configuring. I have installed, disabled, restarted, enabled and tried configuring. In each case, I get the same result. Sorry, BR- that approach didn't work for me :-(
|
Advert | |
|
10-14-2017, 04:05 PM | #228 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Try installing the 64bit version of calibre, no need to uninstall the 32bit, and the 64 bit will use the existing settings and libraries. BR |
|
10-14-2017, 04:55 PM | #229 |
Member
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
|
Hmmm- there doesn't appear to be a separate version for Portable- which is what I'm running, as I move around between three different laptops/PCs.
OK, thank you for that. |
10-14-2017, 05:05 PM | #230 |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You can install Calibre on all of those computers. You don't need the portable version. many errors (yours included) are because people installed the 32-bit version instead of the 64-bit version.
|
Advert | |
|
10-14-2017, 05:50 PM | #231 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
You should be able to shoehorn 64bit calibre into Portable calibre by installing 64bit and replacing the content of the ..\Calibre Portable\Calibre directory with the content of ..\Program Files\Calibre 2 directory. You would have to repeat for new releases - but it's pretty simple. The problems with installing 64bit onto each laptop include: you may not have sufficient access rights to do the install on all laptops, you would probably want to find a way of keeping the configuration data on all three in synch or keep it with the libraries on the portable drive, the perennial problem of USB drive letters changing. BR |
|
10-14-2017, 06:00 PM | #232 | ||
Member
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
|
Quote:
Quote:
|
||
10-14-2017, 07:32 PM | #233 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BTW - I am no where near certain that 64bit will solve this problem, insufficient memory is more likely to occur in conversion etc. than startup. How many books in your library and do you have many custom columns BR |
|
10-14-2017, 10:58 PM | #234 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
From that error message it looks like this plugin is trying to create its own db objects. It should not be doing that. If it wants access to a db, it should ask for it from calibre. For example with
Code:
from calibre.gui2.ui import get_gui db = get_gui().current_db Code:
from calibre.gui2.ui import get_gui library_broker = get_gui().library_broker newdb = library_broker.get_library(library_path) |
10-14-2017, 11:00 PM | #235 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Although, given that this is a filetype plugin, I'm not sure why it needs special access to a db at all. The postimport() and postadd() functions are given access to db objects automatically.
|
10-15-2017, 04:27 AM | #236 | |||
Member
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
|
Quote:
Quote:
Quote:
|
|||
10-15-2017, 02:24 PM | #237 |
Grand Sorcerer
Posts: 6,234
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
This is a beta option that:
As there is no database copy, I hope @Immelmann67 is solved. If I have no comments, I'll make it release version on Wednesday. Last edited by Terisa de morgan; 10-15-2017 at 02:25 PM. Reason: Forgotten attachment |
10-15-2017, 03:38 PM | #238 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
10-15-2017, 03:58 PM | #239 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
File Type plugins (such as GFN) don't have access to that in-memory copy of the database, so Terisa de Morgan instanced a local copy within the plugin. If you read through the thread you'll read Kovid's earlier posts (~post #170) as to why that's a no-no. As I understand Terisa's latest post - the 'beta' version she attached will store the plugin preferences (the columns names) in a plugin specific json file in the configuration folder rather than the preferences table in the database - which means GFN will have no need to access the in-memory database. BR |
|
10-15-2017, 04:06 PM | #240 |
Grand Sorcerer
Posts: 6,234
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
If there is no json information for that library, they will be copied from library preferences to json (no removing, they don't hurt).
|
Tags |
calibredb, calibredb metadata import, plugin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 01:25 AM |
How to sort quickly books by filetype? | construsol | Calibre | 7 | 05-24-2014 06:20 PM |
Calibre associated with every filetype?! | sej7278 | Calibre | 14 | 08-09-2011 10:36 AM |
Zip Filetype Plugin? | rsingley | Plugins | 7 | 02-11-2011 05:11 PM |
How to register a filetype? | plisken | iRex | 2 | 09-28-2009 07:16 AM |