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 03-12-2011, 09:59 AM   #331
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@meme: No worries, as long as it doesn't bomb out and it generates a correct collections file, that's fine by me . (And I do have a crappy setup here, what with not using an UTF-8 locale ).
NiLuJe is offline  
Old 03-12-2011, 11:14 AM   #332
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Question

Meme:

A question about the replace functionality, is there a way to use it to replace with a null value? In order to use Calibre's hierarchy funtionality I have to name tags X.xx, but I would like to be able to replace all the info in front of the period, including the period. Is this possible or do I have to give up using the hierarchy functionality??

Nyn
nynaevelan is offline  
Old 03-12-2011, 01:11 PM   #333
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@nynaevelan:

If I understand correctly, you want to transform a tag from 'Something.Another' to 'Another'?

You can certainly do that, using re groups & backrefs, with something like:

rename_from:
^(.*?\.)(.*?)$
rename_to:
\2

This specific pattern doesn't handle more than one sublevel, but if you need something that handles more, it shouldn't me much harder to do ^^.
For example,
^(.*?\.)*(.*?)$
\2
supports any number of sublevels while only keeping the deepest sublevel (ie. A.B.C.D.E.F => F).

Last edited by NiLuJe; 03-12-2011 at 01:43 PM.
NiLuJe is offline  
Old 03-12-2011, 01:27 PM   #334
Klip
Enthusiast
Klip began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Mar 2011
Device: Kindle
Caught in loop

I've read through most of the posts in this thread (!) and cant see my problem mentioned, but apologies if I'm doing something stupid or missing the obvious (very likely).

I am running Calibre version 0.7.49 on Windows 7, and using a Kindle 3

I installed the plugin with no problems. When I select options
"Create Collections from Kindle"
or
"Preview without saving Collections"

I get a dialog with this message:

Quote:
calibre, version 0.7.49
Kindle Collections plugin: Welcome to the Kindle Collections plugin.
Run "Customize plugin" to configure which collections to create.
Run "Preview without saving collections" to see a test report.
Run "Create collections on the Kindle" to save collections.
So...Ok, I go to "Customize Plugin and see that interface. But the only options I see to "run" this is the "OK" button. If I make any changes in those settings, and hit the "Preview without saving" or "view collections" links at the bottom of that screen, I get the same dialog again.

If I hit OK (Which I guess is supposed to generate the collections - in my case, from my existing Calibre tags) nothing seems to happen.

And if I hit "Create collections" or "Preview Collections" I get the same dialog.

And...if I eject my Kindle and restart it, nothing on it has changed.

Please show me where I'm misunderstanding this! I must be missing something obvious
Klip is offline  
Old 03-12-2011, 01:44 PM   #335
Nyssa
Series Addict
Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.
 
Nyssa's Avatar
 
Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
Something is Not Working Properly

I can no get past "Customize"! No matter what options I choose I get the image attached below.


Following the instructions in the first post, I tried to add a Collection based on series.

The first time, I set "Series" to Create then chose "Preview Without Saving". I got the message below.

The second time, I set Series to Create, then chose "okay" then used the drop down option to "Preview Without Saving". Not only did I get the message below, but it did not save the option I set for Series.

The third time I just chose "Preview Without Saving" - same message as below.

What exactly am I missing?

Edit: I just saw Klip's post above. It looks like we are both having the exact same problem.
Attached Thumbnails
Click image for larger version

Name:	Collection Image.png
Views:	269
Size:	19.2 KB
ID:	68235  
Nyssa is offline  
Old 03-12-2011, 02:07 PM   #336
sydflash
Junior Member
sydflash began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2011
Device: kindle 2
When I run "Preview without saving collections"nothing happens. I have tried running it from the drop down and the "Customize plugin" screen. I have also made changes to "Configure which Kindle collections to update" and I experience the same result.

I get this pop up every time:

calibre, version 0.7.49
Kindle Collections plugin: Welcome to the Kindle Collections plugin.<P>Run "Customize plugin" to configure which collections to create.<P>Run "Preview without saving collections" to see a test report.<P>Run "Create collections on the Kindle" to save collections.<P>

Using a Mac and a Kindle 2.
sydflash is offline  
Old 03-12-2011, 02:17 PM   #337
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by sydflash View Post
When I run "Preview without saving collections"nothing happens.
I get the same thing under Windows XP with a Kindle 3. I also can't customize the plugin (there is no explicit error, but there is also no customization saved) and this might be the source of the problem. Also, there is no "plugins/Kindle Collections.json" in the Calibre configuration directory. See the debug output attached.
Attached Files
File Type: txt tmpzqiubr.txt (3.0 KB, 218 views)
wallcraft is offline  
Old 03-12-2011, 02:22 PM   #338
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by NiLuJe View Post
@nynaevelan:

If I understand correctly, you want to transform a tag from 'Something.Another' to 'Another'?

You can certainly do that, using re groups & backrefs, with something like:

rename_from:
^(.*?\.)(.*?)$
rename_to:
\2

This specific pattern doesn't handle more than one sublevel, but if you need something that handles more, it shouldn't me much harder to do ^^.
For example,
^(.*?\.)*(.*?)$
\2
supports any number of sublevels while only keeping the deepest sublevel (ie. A.B.C.D.E.F => F).
Thanks, I have a question posted for Chaley regarding this issue, so hopefully I will be able to use something that will allow me to continue to use the plugin, my custom send to template and metadata plugboard.
nynaevelan is offline  
Old 03-12-2011, 03:59 PM   #339
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
Hi guys - guess I might have been a bit overzealous in welcoming you to the plugin and making sure you customized it before running it to prevent surprising you. Sorry about that. I'll test this under 0.7.49 tomorrow and issue an update.

Is this the first time you've ever run the plugin or have you run it before?
meme is offline  
Old 03-12-2011, 04:03 PM   #340
Nyssa
Series Addict
Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.
 
Nyssa's Avatar
 
Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
Quote:
Originally Posted by meme View Post
Hi guys - guess I might have been a bit overzealous in welcoming you to the plugin and making sure you customized it before running it to prevent surprising you. Sorry about that. I'll test this under 0.7.49 tomorrow and issue an update.

Is this the first time you've ever run the plugin or have you run it before?
This is the first time for me.
Nyssa is offline  
Old 03-12-2011, 04:04 PM   #341
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 nynaevelan View Post
Thanks, I have a question posted for Chaley regarding this issue, so hopefully I will be able to use something that will allow me to continue to use the plugin, my custom send to template and metadata plugboard.
That rename from/to pattern should work for you - does it? Or are you looking for something different? I'll add this as a 'common' setup.
meme is offline  
Old 03-12-2011, 04:06 PM   #342
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 Nyssa View Post
This is the first time for me.
Ah, nothing like preventing new users from using a new release I'll have to do a full cleanout and test but it should be easy to fix.
meme is offline  
Old 03-12-2011, 04:09 PM   #343
Nyssa
Series Addict
Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.
 
Nyssa's Avatar
 
Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
Quote:
Originally Posted by meme View Post
Ah, nothing like preventing new users from using a new release I'll have to do a full cleanout and test but it should be easy to fix.
Cool! Good Luck & Thank You!
Nyssa is offline  
Old 03-12-2011, 04:28 PM   #344
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@meme - I found a situation which fails the "upgrade path". For whatever reason (probably because it was top of the list) my collections were configured to use the "author_sort" column. However with the new version this column isn't available. So my collection data isn't migrated.

Is that something you expected to happen/see?

There is something about author_sort mentioned in the debug output - but nothing was ticked/selected on the gui when displayed.
Spoiler:

=== Kindle Collections: Customization
Checking for device path
Root path of device: I:\
Initializing KindleDevice with I:\
Kindle device found.
Reading file: I:\system\collections.json
Library uuid: 0752a467-bd5a-407a-a38f-caf69f5553d9
Device uuid: 925c1432-5a4f-487c-87ec-93ddeff89ce1
Initializing ConfigStore
Reading store information
Fixed legacy store file location C:\Users\Grant\AppData\Roaming\calibre\plugins\Cre ate Kindle Collections.json -> C:\Use
rs\Grant\AppData\Roaming\calibre\plugins\Kindle Collections.json
Using config_store "plugins\Kindle Collections.json"
Fixing old store key to use library/Kindle uuid instead of "Customization"
Fixing legacy config values
Fixing legacy value collect for "author_sort" to use new action option
Writing store information
Loaded data from library "0752a467-bd5a-407a-a38f-caf69f5553d9", device "925c1432-5a4f-487c-87ec-93ddeff89ce1"


JSON file attached from before the upgrade.
Attached Files
File Type: zip JSONFile.zip (513 Bytes, 184 views)

Last edited by kiwidude; 03-12-2011 at 04:34 PM.
kiwidude is offline  
Old 03-12-2011, 06:35 PM   #345
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by meme View Post
That rename from/to pattern should work for you - does it? Or are you looking for something different? I'll add this as a 'common' setup.
I haven't tried it yet because I am unsure how to implement it using my current setup, I would like to use it alongside what I already use but I am unsure how to accomplish this.
nynaevelan 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 03:23 PM.


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