![]() |
#1 |
Connoisseur
![]() Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
string index out of range when setting foldename
want calibre manage my folders setting the first letter of author's name and then the folder with the complete name and the books inside. When trying to set the foldername this way in preferences
{author_sort[0]}/{title} - {authors}log an error dialog says: "string index out of range" what am i doing wrong? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
You cannot affect the way that Calibre stores books inside its library - just the way it exports them to the outside world. Sounds like you were trying to change one of the masks that is used when exporting books.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error is a bug that will be fixed in the next release, but yes tis mask will only affect the save to disk or send to device actions
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2010
Device: BeBook mini
|
Any progress on the fixing of this bug yet? Do not mean to rush, but several releases down the road this is still an issue..
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
You never did clarify whether you were trying to set the internal or external path to be used?
If it was the external path, then did a ticket get raised so that it would not fall through the cracks? Forum posts are an unreliable way to raise bugs with any guarantee that they will not be forgotten (particularily when there is a lot of other development activities happening as has recently been the case). Last edited by itimpi; 05-22-2010 at 04:14 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2010
Device: BeBook mini
|
It was not me that started the thread, but I was looking for a means to transfer the books to my device in an orderly fashion. Navigation on the bebook mini is not easy if you have to 'scroll' through a large list of authors. I thought to make it easier to include a folder with the first letter of the authors_sort name to make the first index only 26 characters long. Since I got an error message I searched in the forum and found this rather old post and thought to give it a try to get an answer on my issue.
What I would like is to save my bookchest to my device in the following form: {author_sort[0]}/{authors} - {series} {series_index:0>2s} - {title} |
![]() |
![]() |
![]() |
#7 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,888
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Kovid also stated above it only affects the Save to Disk or Send to Device features. |
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2010
Device: BeBook mini
|
Whenever I try to do this I get this error message:
ERROR: Invalid template: <p>The template {author_sort[0]}/{title} - {authors} is invalid:<br>string index out of range Currently working in the latest (as far as I know) release: 0.6.54 |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2010
Device: BeBook mini
|
Just to clarify the above post. The error message apperas whenever I try to modify the 'Sending to device' template in Preferences - Add/Save. I can only leave the menu via the cancel button I cannot save it.
|
![]() |
![]() |
![]() |
#10 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,882
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
00noseries/{author_sort[0]}_authors/{authors}/{title}-{id}/{title} Note the mix of "Literals" and field balues. Under "00noseries" (the 00 tricks th alpha sort to put no series at the top of the file list on the PEz) folder, I get ": "a_authors" folder that contains folders for: Wesley Allison Aaron Allston James G. Anderson & Mark Seabanc Poul Anderson Ilona Andrews Christopher Anvil & Eric Flint Keri Arthur Catherine Asaro Robert Asprin |
|
![]() |
![]() |
![]() |
#11 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,882
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
{authors} - {series} {series_index:0>2s} - {title} road signs in Wales look short ![]() |
|
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Striegel: are you sure you are using 0.6.54? That bug was definitely fixed. Look next tot he big red heart for the version number
|
![]() |
![]() |
![]() |
#13 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,085
Karma: 722357
Join Date: Feb 2010
Device: PRS-505
|
*untangles thread*
This is why necroposting is bad. |
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2010
Device: BeBook mini
|
kovidgoyal,
You were right, thought the programme was updating automatically, but it turned out I had to reinstall calibre to really update it... Sorry for the hassle ... mea culpa. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
LIST INDEX OUT OF RANGE ERROR | texasmichele | Calibre | 6 | 01-29-2013 01:37 PM |
list index out of range error | adamvert | Calibre | 20 | 10-02-2010 12:26 PM |
List index out of range, 0.6.46 downloading metadata, no author. | highwaykind | Calibre | 4 | 04-04-2010 07:31 AM |
MobiDeDRM a kindle book and List index out of Range | recordsmith | Kindle Formats | 3 | 03-31-2009 12:08 PM |
Plucker error: DataMgr.c,Line:11231, Index out of range | Haisook | Reading and Management | 1 | 05-19-2007 09:29 AM |