Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2017, 12:18 PM   #256
Immelmann67
Member
Immelmann67 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
Quote:
Originally Posted by Terisa de morgan View Post
@Immelmann67, can you check this beta? I've included kovid's solution.
Hi Terisa,

I've tried this one- I get the following error message after about 30 seconds:
calibre, version 3.9.0
ERROR: Unhandled exception: <b>AttributeError</b>:GetFileName_Prefs instance has no attribute '__setitem__'

calibre 3.9 Portable embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.12+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: en_GB
Successfully initialized third party plugins: Similar Stories (1, 0, 58) && Embed Comic Metadata (1, 3, 8) && User Category (1, 5, 3) && View Manager (1, 4, 3) && Find Duplicates (1, 6, 3) && GetFileName (0, 0, 13) && BOL_DE (0, 7, 5) && Job Spy (1, 0, 80) && Open With (1, 5, 10) && Reading List (1, 6, 6) && Quick Preferences (1, 4, 1) && Save To Format (0, 0, 6) && Kindle Collections (1, 7, 17) && Clean Metadata (0, 0, 6) && Fantastic Fiction (1, 2, 0) && FictionDB (1, 0, 10) && Generate Cover (1, 5, 21) && Barnes & Noble (1, 2, 14) && Quality Check (1, 9, 11) && Modify ePub (1, 3, 13) && Manage Series (1, 2, 8) && Fantastic Fiction Adults (1, 0, 4) && KindleUnpack - The Plugin (0, 81, 5) && Resize Cover (1, 0, 2) && Favourites Menu (1, 0, 4) && Goodreads (1, 1, 12) && BOL_NL (3, 8, 16) && Count Pages (1, 8, 0) && Audit Log (1, 0, 8) && Extract ISBN (1, 4, 4)
Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 804, in _configure_clicked
File "site-packages\calibre\customize\__init__.py", line 155, in do_user_config
File "calibre_plugins.getfilename.__init__", line 298, in config_widget
File "calibre_plugins.getfilename.config", line 161, in __init__
AttributeError: GetFileName_Prefs instance has no attribute '__setitem__'
Immelmann67 is offline   Reply With Quote
Old 10-16-2017, 01:09 PM   #257
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
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
Well, it's an improvement 😑. I'll check when I'm back at home

Last edited by Terisa de morgan; 10-16-2017 at 01:13 PM.
Terisa de morgan is offline   Reply With Quote
Advert
Old 10-16-2017, 03:19 PM   #258
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
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
Hi Immelmann67,

I hope this version solves that error but I cannot say as I've never got it.
Attached Files
File Type: zip GetFileName_Beta_0.1.13.zip (17.6 KB, 216 views)
Terisa de morgan is offline   Reply With Quote
Old 10-16-2017, 04:44 PM   #259
Immelmann67
Member
Immelmann67 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
Hi Terisa,

Thank you for the huge effort- I will try this out tomorrow- I unfortunately don't have time tonight.
I67
Immelmann67 is offline   Reply With Quote
Old 10-17-2017, 03:12 AM   #260
Immelmann67
Member
Immelmann67 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
I got this now:
calibre, version 3.9.0
ERROR: Unhandled exception: <b>AttributeError</b>:GetFileName_Prefs instance has no attribute '__setitem__'

calibre 3.9 Portable embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.12+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: en_GB
Successfully initialized third party plugins: View Manager (1, 4, 3) && Quick Preferences (1, 4, 1) && Resize Cover (1, 0, 2) && Generate Cover (1, 5, 21) && Open With (1, 5, 10) && Find Duplicates (1, 6, 3) && Modify ePub (1, 3, 13) && BOL_NL (3, 8, 16) && Manage Series (1, 2, 8) && Extract ISBN (1, 4, 4) && Quality Check (1, 9, 11) && Similar Stories (1, 0, 58) && Fantastic Fiction Adults (1, 0, 4) && Fantastic Fiction (1, 2, 0) && Audit Log (1, 0, 8) && Goodreads (1, 1, 12) && Barnes & Noble (1, 2, 14) && BOL_DE (0, 7, 5) && GetFileName (0, 0, 13) && Reading List (1, 6, 6) && Count Pages (1, 8, 0) && Job Spy (1, 0, 81) && KindleUnpack - The Plugin (0, 81, 5) && Kindle Collections (1, 7, 17) && Embed Comic Metadata (1, 3, 8) && User Category (1, 5, 3) && Clean Metadata (0, 0, 6) && Save To Format (0, 0, 6) && Favourites Menu (1, 0, 4) && FictionDB (1, 0, 10)
Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 804, in _configure_clicked
File "site-packages\calibre\customize\__init__.py", line 155, in do_user_config
File "calibre_plugins.getfilename.__init__", line 298, in config_widget
File "calibre_plugins.getfilename.config", line 161, in __init__
AttributeError: GetFileName_Prefs instance has no attribute '__setitem__'
Immelmann67 is offline   Reply With Quote
Advert
Old 10-17-2017, 03:20 AM   #261
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
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
I have to check, because I'm not able to get that error

Edit: I'm going to try to generate the error by hand (and see if I'm able to correct it if I get it)

Last edited by Terisa de morgan; 10-17-2017 at 04:00 AM.
Terisa de morgan is offline   Reply With Quote
Old 10-18-2017, 12:27 AM   #262
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
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
Immelmann67, I've been able to get the error and this version has fixed it. I hope it works now.
Attached Files
File Type: zip GetFileName_Beta_0.2.13.zip (17.6 KB, 235 views)
Terisa de morgan is offline   Reply With Quote
Old 10-19-2017, 11:01 AM   #263
Nicolas F
Groupie
Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.
 
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
Thanks for your work!
I have made a french translation if you want to include it in your next release.
Attached Files
File Type: zip GetFileName-FrenchTranslation.zip (2.1 KB, 199 views)
Nicolas F is offline   Reply With Quote
Old 10-19-2017, 11:05 AM   #264
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
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
Thank you, I'll do it!
Terisa de morgan is offline   Reply With Quote
Old 10-19-2017, 05:08 PM   #265
Immelmann67
Member
Immelmann67 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2014
Device: Kindle
Quote:
Originally Posted by Terisa de morgan View Post
Immelmann67, I've been able to get the error and this version has fixed it. I hope it works now.
Thank you! Thank you! Thank you! It works!
I installed it, restarted, and have imported a few books, and it provides exactly what it says- the original file-name in a custom column!

Thank you!
I67
Immelmann67 is offline   Reply With Quote
Old 10-20-2017, 12:11 AM   #266
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
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
Glad to know it have worked now, if nobody gets another error, I'll update the plugin this weekend.
Terisa de morgan is offline   Reply With Quote
Old 11-15-2017, 01:01 AM   #267
Giuseppe Chillem
Groupie
Giuseppe Chillem doesn't litterGiuseppe Chillem doesn't litter
 
Giuseppe Chillem's Avatar
 
Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
Hi Terisa,
I have a GUI problem here.

If I try to configure the plugin I get a GUI with very small empty elements.
Attached Thumbnails
Click image for larger version

Name:	Gui_Problem.png
Views:	300
Size:	14.0 KB
ID:	160016  
Giuseppe Chillem is offline   Reply With Quote
Old 11-15-2017, 01:56 AM   #268
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
Quote:
Originally Posted by Giuseppe Chillem View Post
Hi Terisa,
I have a GUI problem here.

If I try to configure the plugin I get a GUI with very small empty elements.
Add the custom columns you want the plugin to use first, IIRC it pre-loads the list of suitable custom columns into the drop-down lists when Configure is invoked. If there are no suitable columns they'll be zero-width.

BR

Last edited by BetterRed; 11-15-2017 at 01:58 AM.
BetterRed is offline   Reply With Quote
Old 11-15-2017, 04:07 AM   #269
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
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
Yes, I think it's the reason, because I get a wider screen (no idea how to change that).
Terisa de morgan is offline   Reply With Quote
Old 12-08-2017, 10:48 AM   #270
MicheleBS
Enthusiast
MicheleBS began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jul 2017
Location: Cesena (Italy)
Device: Kobo Aura One
Dear readers,

I see that getfilename includes the filename extension (.epub, or what it is).

Is there a way to make it to exlude it, and so to save only the filename without its extension?
MicheleBS is offline   Reply With Quote
Reply

Tags
calibredb, calibredb metadata import, plugin


Forum Jump

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


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


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