01-26-2017, 03:27 AM | #76 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
@BetterRed, I think it's already corrected but your configuration is not right. If you want to store the file name with path, the column which should be filled is "File name", not "File Path"
|
01-26-2017, 05:12 AM | #77 | |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
A 'file path' by definition includes its location, if the column specifier called File Path now means the File Location you should give it a new label. I am 99.99% certain that the way I had it (see attachment 2 in post #71) worked up until Dec 24. I have hundreds of books added before that date that are OK. I am 99.99% certain I didn't change the PI configuration on that date, but I did install version 0.0.7 on that date. The way I had it configured made sense semantically. IMO asking for 'file path' and then putting the column name in a variable called 'file name' when there's another variable called 'file path' is somewhat bizarre/weird, perverse even If the current purpose of the File Path column specifier is to specify the File Location I suggest the configuration dialogue be changed accordingly - see attachment. For aesthetic reasons I would also swap the Without Path and With Path radio buttons. Or, better yet replace them with a "Put full file path in File Name column: " check box. IIRC the best practice UI convention is to use check boxes for either/or choices, and radio buttons when there are between three and seven options to choose from. I appreciate why you might not want to do this. BR Last edited by BetterRed; 01-26-2017 at 05:49 AM. |
|
Advert | |
|
01-26-2017, 05:54 AM | #78 | ||||
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
Quote:
Quote:
Quote:
|
||||
01-26-2017, 07:28 AM | #79 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Never mind. Fortunately I hadn't gotten around to abandoning my old way of capturing the document source. Capturing the path was a belt to its braces.
BR Last edited by BetterRed; 01-26-2017 at 07:31 AM. |
01-26-2017, 08:59 AM | #80 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
As I say, I can change the check but the name or the other concept... I don't agree. And I'm afraid that it was a bug the reason it was working before.
|
Advert | |
|
01-26-2017, 04:49 PM | #81 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Terisa de Morgan, What you regarded as a bug was for me an established, rational behaviour that did what I wanted.
Prior to the bug fix, the configuration shown below was allowed, and it produced a verifiable result - i.e. the full path was put into the column specified in File Path But since the bug fix, that configuration is still allowed, but it produces no result - i.e. nothing is put into the column specified in File Path. In my book that's a bug. If the configuration is invalid (because there's no column specified for File Name) then the PI should issue a message when a Book is added and abort the add. If it's not invalid then it should produce a verifiable result - such as putting the file location (path without filename & extension) into the specified column. Anything, except do nothing. BR |
01-27-2017, 12:08 AM | #82 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I totally agree, it's a configuration bug I'll try to correct in a new version (extension and path will be disabled till name is fulfilled).
|
01-27-2017, 05:06 AM | #83 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
01-30-2017, 12:36 AM | #84 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Added 0.0.10 version => It shows not allowed configurations. It doesn't remove the previously configured columns, that doon't work.
|
02-05-2017, 09:48 AM | #85 |
Groupie
Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
Hi Terisa, the plugin is not working for me.
Directory and Files: D:\________TEMP\L\ti\Antoninu Rubattu - Dizionario e Grammatica Sardo\ Antoninu Rubattu - Dizionario Universale Della Lingua Di Sardegna A - L.pdf Antoninu Rubattu - Dizionario Universale Della Lingua Di Sardegna M - Z.pdf Grammatica Sarda Campidanese.pdf LEGGI INFO IMPORTANTE.txt The plugin imports only the third one: Grammatica Sarda Campidanese Privately I am sending you a link to zip file with all the books. |
02-05-2017, 01:38 PM | #86 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Hi Giuseppe,
I'm afraid I can do nothing as the problem is in the Grammatica Sarda. If I add the other two books together, I always get the name. If I add the three books, it's a bit of hit and miss. Sometimes all of them get the name, sometimes only two, sometimes only one. But the problem is that the plugin itself is not called, as there are some calibre logs of problems with the Grammatica Sarda that I don't understand but that avoid the plugin. If you add the two dictionaries together, you'll get the proper data. Sorry, I can do nothing more, as I don't know the reason of the calibre errors. Spoiler:
|
02-05-2017, 05:11 PM | #87 |
Groupie
Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
Hope Kovid will help
|
02-05-2017, 10:50 PM | #88 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's an error reading metadata from the PDF file, I dont see why it should affect a file type plugin. See the read_metadata() function in metadata worker -- the import plugins are run before metadata is read. The only case of not running an import plugin I know of is if the file itself is not added -- for exmaple if it is a duplicate and calibre is set to ignore duplicates.
|
02-05-2017, 11:39 PM | #89 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I don't know the reason either but the plugin is not being called. I'll try to test a bit more or running from source, for checking it.
|
02-06-2017, 12:27 AM | #90 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I have to run calibre from source for finding the reason the plugin not being called (the postadd method is not running), I'll tell you if I can find it.
|
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 |