Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 07-07-2011, 11:31 PM   #1081
Vaesse
Zealot
Vaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolate
 
Vaesse's Avatar
 
Posts: 107
Karma: 33020
Join Date: May 2011
Device: Kindle Paperwhite
Not sure if this is what you're looking for, but this is something I did to choose between series and author sort. I created a custom column that contains the following:

{series:'ifempty($, field("author_sort"))'}

It's possible it will work for you to substitute tags for author_sort. Then create collections based on the new column instead of tags and series. This does the "and" into an "or" part.

As for the dependant title (changing depending on a particular field), that's beyond me and may be impossible.
Vaesse is offline  
Old 07-08-2011, 03:39 AM   #1082
HBH_AU
Enthusiast
HBH_AU began at the beginning.
 
Posts: 29
Karma: 12
Join Date: Mar 2011
Location: Australia
Device: KV, KOA3
Quote:
Originally Posted by meme View Post
I wasn't sure how to do this either until searching some older posts on MR

You don't need to enter any text to search for or to replace - it will copy the field by default. If it looks ok, run it on all your books.

You also asked about series number. Since this column will be used for collection names you really don't want a series number in them as it wouldn't make any sense since you would end up with 1 collection name per book.
Thanks Meme - greatly appreciated!!

And of course I realised afterwards that I don't need the number <smacks forehead>
HBH_AU is offline  
Advert
Old 07-08-2011, 03:44 AM   #1083
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
@HBH_AU - there is of course another way to do this, which is to create 2 columns. 1 is just a text column that you use to enter your Short Names only (like Vaesse). The 2nd column is a column built from your Short Name and Series columns that you'll use to create collections, using a template that says if there is a short name, use it, else use the Series name. Then you only have to type short names and have less worry about keeping two columns in sync.
meme is offline  
Old 07-08-2011, 03:44 AM   #1084
HBH_AU
Enthusiast
HBH_AU began at the beginning.
 
Posts: 29
Karma: 12
Join Date: Mar 2011
Location: Australia
Device: KV, KOA3
Talking

Quote:
Originally Posted by Vaesse View Post
While I'm not certain about HBH_AU, my post he quoted was in response to someone trying to get series numbers to show in the Kindle and mentioning needing to shorten Series names to fit better. If that's not what HBH_AU was trying to accomplish, then my post doesn't apply.

Thanks to both Meme and Vaesse - I was actually trying to do both

As in - "long" series names for the Collection Names, and "short" series name WITH series number as prefix to the titles within the collection.

Thanks for help guys, this forum is SO helpful!

Cheers,
Helen
HBH_AU is offline  
Old 07-08-2011, 03:50 AM   #1085
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by raviendha
If series count is > 1 then create a series collection
Otherwise, place book in tags collection

If series count is > 1 then add the series number at the beginning of title
Otherwise, if the book is part of a series, add series name AND series number.

I know how to append the series info in the title but is there a way to set up the criteria of how and when to add it?

Thanks!]
Quote:
Originally Posted by Vaesse View Post
Not sure if this is what you're looking for, but this is something I did to choose between series and author sort. I created a custom column that contains the following:

{series:'ifempty($, field("author_sort"))'}

It's possible it will work for you to substitute tags for author_sort. Then create collections based on the new column instead of tags and series. This does the "and" into an "or" part.

As for the dependant title (changing depending on a particular field), that's beyond me and may be impossible.
Yep, this is what you need - the 'or' part has be be done using a new custom column in calibre, just change the above lines to reference series and tags. Although if you are using tags you'll need a custom column of comma separated text.

The editing of the title should be able to be done by a template - I'll have a look.
meme is offline  
Advert
Old 07-08-2011, 09:24 AM   #1086
colinf
Junior Member
colinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
I am using calibre, version 0.8.8 and Kindle Collections 1.7.0. Every time I use the Customize Collections option from the menu, make a change and then click Ok, Calibre crashes. When I restart Calibre my collections changes have been changed so I can then use them. Any idea why this is happening?

Thanks,
Colin
colinf is offline  
Old 07-08-2011, 09:33 AM   #1087
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by colinf View Post
I am using calibre, version 0.8.8 and Kindle Collections 1.7.0. Every time I use the Customize Collections option from the menu, make a change and then click Ok, Calibre crashes. When I restart Calibre my collections changes have been changed so I can then use them. Any idea why this is happening?
What OS? Run in debug mode from the command line (in case the crashing prevents showing the debug report):

run "calibre-debug -g" from the command line ("calibre-debug -g > output.txt" to save it to a file)

You can post the output here - just the last few lines are probably enough - or PM it to me if it contains info you don't want to post.
meme is offline  
Old 07-08-2011, 09:47 AM   #1088
colinf
Junior Member
colinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
Quote:
Originally Posted by meme View Post
What OS? Run in debug mode from the command line (in case the crashing prevents showing the debug report):

run "calibre-debug -g" from the command line ("calibre-debug -g > output.txt" to save it to a file)

You can post the output here - just the last few lines are probably enough - or PM it to me if it contains info you don't want to post.
I'm on Mac OS X 10.6.8 (Snow Leopard). Here is the output from the debug log:

2011-07-08 14:43:22.171 calibre-debug[1838:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
calibre-debug: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
2011-07-08 14:43:22.223 calibre-debug[1838:903] Error loading /Users/colinf/Library/ScriptingAdditions/List & Record Tools.osax/Contents/MacOS/List & Record Tools: dlopen(/Users/colinf/Library/ScriptingAdditions/List & Record Tools.osax/Contents/MacOS/List & Record Tools, 262): no suitable image found. Did find:
/Users/colinf/Library/ScriptingAdditions/List & Record Tools.osax/Contents/MacOS/List & Record Tools: no matching architecture in universal wrapper
calibre-debug: OpenScripting.framework - scripting addition "/Users/colinf/Library/ScriptingAdditions/List & Record Tools.osax" declares no loadable handlers.
colinf is offline  
Old 07-08-2011, 10:46 AM   #1089
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Ah, Mac OS. Don't have that available for testing.

Doesn't look like it has anything to do with the plugin at least from those lines. Do the ones above it give any further clues.

Typically when faced with this kind of unknown error/crash, I've seen people recommend uninstalling and re-downloading/reinstalling calibre from the calibre web site. Not sure if that would help here or not, but at the moment I don't have any other suggestions.
meme is offline  
Old 07-08-2011, 10:52 AM   #1090
colinf
Junior Member
colinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
Based on the error messages I posted and this page reporting a similar error http://www.davidchinphoto.com/snow-l...it-types-osax/ I upgraded both the Adobe Unit Types.osax and the List & Record Tools.osax to later versions.

I still get the same error using calibre but now the debug log is empty. I doubt if that will help you!

I will try a restart at some point in case anything is hanging around from the upgrades but can't do it now.
colinf is offline  
Old 07-08-2011, 11:38 AM   #1091
colinf
Junior Member
colinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
Thanks for trying to help. For info, the last entries in the log are now:

2011/07/08 15:32:22 Customization trying to save data
2011/07/08 15:32:22 BEGIN Writing store information
2011/07/08 15:32:22 Using existing store for this library
2011/07/08 15:32:22 END Writing store information
2011/07/08 15:32:22 Customization saved data
Segmentation fault

and the Mac OS X stack trace is:


Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 QtGui 0x000000010399ff24 QAction::isVisible() const + 4
1 QtGui 0x000000010398b1d4 QMenuBar::macMenu() + 2116
2 QtGui 0x0000000103959bdb QMacInputContext::reset() + 47195
3 QtGui 0x0000000103959b20 QMacInputContext::reset() + 47008
4 QtGui 0x0000000103959b53 QMacInputContext::reset() + 47059
5 com.apple.AppKit 0x00007fff870146de -[NSApplication run] + 474
6 QtGui 0x0000000103963884 QDesktopWidget::resizeEvent(QResizeEvent*) + 12820
7 QtCore 0x00000001025a5144 QEventLoop:rocessEvents(QFlags<QEventLoop::Proce ssEventsFlag>) + 68
8 QtCore 0x00000001025a5464 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsF lag>) + 180
9 QtCore 0x00000001025a711a QCoreApplication::exec() + 186
10 QtGui.so 0x000000010353c69c sipQApplication::disconnectNotify(char const*) + 11228
11 org.python.python 0x00000001000d752d PyEval_EvalFrameEx + 25325
12 org.python.python 0x00000001000d95d6 PyEval_EvalCodeEx + 2118
13 org.python.python 0x00000001000d6f26 PyEval_EvalFrameEx + 23782
14 org.python.python 0x00000001000d95d6 PyEval_EvalCodeEx + 2118
15 org.python.python 0x00000001000d6f26 PyEval_EvalFrameEx + 23782
16 org.python.python 0x00000001000d95d6 PyEval_EvalCodeEx + 2118
17 org.python.python 0x00000001000d6f26 PyEval_EvalFrameEx + 23782
18 org.python.python 0x00000001000d8933 PyEval_EvalFrameEx + 30451
19 org.python.python 0x00000001000d95d6 PyEval_EvalCodeEx + 2118
20 org.python.python 0x000000010004f420 function_call + 176
21 org.python.python 0x000000010001e262 PyObject_Call + 98
22 org.python.python 0x00000001000cff87 PyEval_CallObjectWithKeywords + 87
23 calibre-launcher.dylib 0x0000000100012978 run + 677
24 calibre-debug 0x0000000100001dc0 main + 90
25 calibre-debug 0x0000000100001d44 start + 52
colinf is offline  
Old 07-09-2011, 06:01 PM   #1092
goombi
Junior Member
goombi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
I'm crashing as well when following the 'first use' steps.

Manually managing collections hasn't posed any problems, however.
goombi is offline  
Old 07-10-2011, 06:27 AM   #1093
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
What OS/Calibre version? Have you tried un-installing then re-installing calibre?
meme is offline  
Old 07-10-2011, 05:35 PM   #1094
martiong
Junior Member
martiong began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Kindle 3 WiFi
same thing happens here, whenever i customize the collections it crashes after +-5 seconds.

i'm running mac os 10.6.7 and calibre 0.8.8. I had 0.8.9, but since i crashed i went back to 0.8.8 hoping it would fix the problem. it didn't...

reinstalling didn't help at all, nor did the downgrade to an older version.

but the rest works perfectly (manually changing the collections etc.). good job (well if it's going to work )
martiong is offline  
Old 07-11-2011, 08:19 AM   #1095
pchrist7
Addict
pchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animals
 
pchrist7's Avatar
 
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
Question Enhancement suggestion ?

Hi meme
Can see you got other things on your plate at the moment.

But, I had an idea for a "function/method" that could help ME update my collections with NEW contents.

Hope the following explains my idea:
https://www.mobileread.com/forums/sho...04&postcount=1

Chaley handed me a very good method to do this (and we got some bugs fixed as well) and I'm happy with this.

I just thought it would be SO COOL for your plugin to have a "Candidates to add to Kindle" option, based on allready existing collections.

Just an idea !
Cheers & THANKS,
Per
pchrist7 is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kindle Collections (Update) NiLuJe Plugins 475 05-23-2025 08:22 AM
Kindle Collections plugin JosephWebber Plugins 1 08-21-2017 11:44 AM
[GUI Plugin] WebOS Kindle-Import CranstD Plugins 0 01-24-2012 03:36 PM
Finding and using Kindle Collections Plugin djchapple Plugins 2 08-03-2011 10:06 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:55 AM.


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