Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2011, 03:41 AM   #1
adept22
Junior Member
adept22 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2011
Device: Kindle
Search Replcae error on custom field

I have a custom series field called readingorder. I am trying to do a find replace from series_index field and set the destination field as the #readeringorder_index. however when i try and run it i get an error below. I have checked the integrity and its all fine.

Librarydatabase2 object has no attribute 'set_#readingorder_index'
adept22 is offline   Reply With Quote
Old 03-14-2011, 07:55 AM   #2
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,783
Karma: 1212746
Join Date: Jan 2010
Location: France
Device: Many android devices
See ticket http://bugs.calibre-ebook.com/ticket/9397
chaley is offline   Reply With Quote
Old 03-14-2011, 08:52 AM   #3
adept22
Junior Member
adept22 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2011
Device: Kindle
HI chaley i have given that a try but i am having some issues. The field I am using is the {author} field. i have loaded a number into that. in this case 2. So i goto search and replace, select {template} as search field. in Template i am typing Dragonlance[{authors}], Setting destination field to #reading order. Click ok and what appears in the reading order columsn is dragonlance[2] book 1, dragonlance[6] book 1. When in fact it should be dragonlance book2, dragonlance book 6.it seems its not recognizing the [] as being the book number? am i doing something wrong?
adept22 is offline   Reply With Quote
Old 03-14-2011, 08:57 AM   #4
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,783
Karma: 1212746
Join Date: Jan 2010
Location: France
Device: Many android devices
There must be a space between the word and the [], or in your case "Drangonlance [2]". The reason for this is safety - calibre interprets the value as a series index only if the string matches one that calibre will produce, in order to avoid messing up things like "SomeSeries[3] [5]" (yes, this kind of series name really happens ).
chaley is offline   Reply With Quote
Old 03-14-2011, 10:47 AM   #5
adept22
Junior Member
adept22 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2011
Device: Kindle
sweet worked a treat thanks for the help
adept22 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Book Regex to Custom field adept22 Library Management 3 10-07-2014 08:33 PM
Variable Search, Replace & Transfer to a new field flopis Library Management 10 03-09-2011 12:41 PM
Custom Metadata Field gpp Sigil 6 02-22-2011 09:39 AM
Bulk Meta Data Edit Resetting Custom Field toomuchreading Calibre 8 10-22-2010 11:19 PM
Regex search author field to locate books? Starson17 Calibre 2 12-21-2009 11:40 AM


All times are GMT -4. The time now is 08:22 AM.


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