![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura HD
|
save as template
Good day,
Tried to save on Android Tablet with template {series:lookup(.,#aa,#bb} but got an error AttributeError:'TemplateDialog' object has no attribute 'mi' Please help ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,335
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It would help if you provided more information:
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura HD
|
save as template
Yes chaley,
column #aa {series:shorten(4,.,4)} {series_index:0>5.2f|| . }{author_sort:.4} - {title} - {author} column #bb {title} - {author} Thanks, ![]() |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,335
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura HD
|
Calibre version is 5.14.0
Linux |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,335
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,335
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
And is the calibre installation from calibre-ebook.com, or are you installing a package from your linux repo?
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura HD
|
In the template editor it shows
EXCEPTION: format: type b requires an integer value, got Series |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura HD
|
The template editor shows
EXCEPTION: format: type b requires an integer value, got Series and it is the calibre ebook website installation... |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura HD
|
It is calibre 5.14.00 and installation is done from the script at calibre-ebook.com
the template editor error is EXCEPTION: format: type b requires an integer value, got Series |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,335
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Never mind. I was able to reproduce what you are seeing. It happens in base 5.14 if you right-click on the template line to open the template editor. The Show Details button shows something like
Code:
calibre, version 5.14.0 ERROR: Unhandled exception: <b>AttributeError</b>:'TemplateDialog' object has no attribute 'mi' [...] Python 3.8.5 [...] Interface language: None Traceback (most recent call last): File "calibre\gui2\preferences\save_template.py", line 54, in do_open_editor File "calibre\gui2\dialogs\template_dialog.py", line 313, in __init__ AttributeError: 'TemplateDialog' object has no attribute 'mi' |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura HD
|
it is the script from calibre-ebook webpage
and the edit template shows EXCEPTION: format: type b requires an integer value, got Series |
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,335
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help - Save to Disk template | Gallips | Calibre | 8 | 06-28-2016 01:46 PM |
Save Template Help | Maverynthia | Library Management | 10 | 05-19-2014 12:37 PM |
Save to Device template | HFC3 | Library Management | 6 | 07-08-2013 11:48 AM |
Save Template question | ltwally | Library Management | 4 | 04-11-2013 06:15 PM |
A little help with a save template...? | Belfaborac | Library Management | 2 | 02-04-2011 09:47 PM |