Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-30-2020, 04:14 PM   #271
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Here's a version that replaces those images with ones containing arrows lifted from Calibre's default sort.png. Version number is already bumped.

I didn't change it to use Calibre's images like most of the GUI elements because a) the size difference shows up quite noticeably, b) Calibre only has 1 sort direction icon and c) VM's arrows are backwards compared to Calibre's sort icon.

UPDATE - test version removed since BR didn't think it was an improvement.

Last edited by JimmXinu; 01-30-2020 at 08:54 PM. Reason: Remove test version that wasn't an improvement
JimmXinu is offline   Reply With Quote
Old 01-30-2020, 05:17 PM   #272
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,729
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Now, they look like blue exclamation marks - sometimes inverted :ole:

I see the 'problem', the 'arrows' are part of an image. I've never known what the 'blob' on the left of the direction column represented - I wondered if they might have been shrunken tag browser category icons IMO, if they can't be discerned, the A/Z and Z/A are redundant.

I assume White when Dark and Black when Light would just happen if unicode arrows (u2191 and u2193) were were prepended to the column names --- i.e

Code:
'↑ ' if ascending, '↓ ' if descending, or '  ' if neither
Added: And crop the arrows from the sort_xxxx.png files.

BR

Last edited by BetterRed; 01-30-2020 at 05:51 PM. Reason: See Added
BetterRed is online now   Reply With Quote
Old 01-30-2020, 07:22 PM   #273
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by BetterRed View Post
Now, they look like blue exclamation marks - sometimes inverted :ole:

I see the 'problem', the 'arrows' are part of an image.
...
Yeah... here's the thing... My level of 'care' about this issue is rather small. I'm not interested in spending time figuring out code for adding/removing arrow characters--which I guarantee will not line up evenly on all platforms.

I'm willing to:
  1. Leave it as last posted.
  2. Strip the arrows off entirely and make it just A over Z / Z over A.
  3. Revert to the original images.
  4. Do one of the above, but with a non-transparent background.
  5. Package the plugin with images somebody else makes.

The images are 15x15--anything significantly bigger(18x18) started stretching the rows when I tried. But much larger size (128x128) don't stretch it much more.

All you need to do to try different images is replace them in the plugin zip file.

Personally, I like the original images with solid BG (mostly--I eased the corners slightly):
Click image for larger version

Name:	Capture.PNG
Views:	1046
Size:	10.7 KB
ID:	176773
JimmXinu is offline   Reply With Quote
Old 01-30-2020, 07:57 PM   #274
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,729
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Yeah, light mode with a largish font is okay, but for me at least dark mode with a smallish font isn't. Do what you think is best for the other users.

Feel free to PM me a new version, although I suggest you leave it as it is, and wait to see what happens when version 5 comes out.

Meantime I'll hack the earlier version I was using - it does all I want. I'll look to get rid of the images, if the unicode arrows don't work out I'll use 'A'(scend) and 'D'(escend).

BR

Last edited by BetterRed; 01-30-2020 at 08:06 PM.
BetterRed is online now   Reply With Quote
Old 02-26-2020, 03:44 PM   #275
PC_John
Junior Member
PC_John began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2019
Device: none
GUI plugin View Manager error

While trying to customize the plugin I receive this error message:

calibre, version 4.10.1
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'pin_columns' referenced before assignment

Any idea as to what is going on?

Thanks.
PC_John is offline   Reply With Quote
Old 02-26-2020, 06:43 PM   #276
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,729
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by PC_John View Post
While trying to customize the plugin I receive this error message:

calibre, version 4.10.1
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'pin_columns' referenced before assignment

Any idea as to what is going on?

Thanks.
Moderator Notice
Please post issues about a plugin in that plugins thread, use this to find the plugin's thread ==>> Index of plugins

BR
BetterRed is online now   Reply With Quote
Old 02-27-2020, 10:31 AM   #277
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by PC_John View Post
While trying to customize the plugin I receive this error message:

calibre, version 4.10.1
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'pin_columns' referenced before assignment

Any idea as to what is going on?

Thanks.
Have you made a view that has an empty name? Because that's the only case I can see that can cause that problem. And an empty name causes other problems too.
JimmXinu is offline   Reply With Quote
Old 02-27-2020, 01:10 PM   #278
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached is a test version that allows for a View named empty string.

The version number is already bumped for release if it corrects PC_John's issue.

Last edited by BetterRed; 03-06-2020 at 02:58 PM. Reason: Remove attachment
JimmXinu is offline   Reply With Quote
Old 03-06-2020, 02:21 PM   #279
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Well, even though PC_John hasn't come back to report it fixes his problem, I know the version in the last post does fix a problem.

BR, could you put it on the first post sometime to release it? It's already v1.5.5.

Thanks.
JimmXinu is offline   Reply With Quote
Old 03-06-2020, 02:59 PM   #280
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,729
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Done

BR
BetterRed is online now   Reply With Quote
Old 03-11-2020, 03:50 PM   #281
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
When I use the plugin in some libraries, I get the following error:

Code:
calibre, version 4.8.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'pin_columns' referenced before assignment

calibre 4.8 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Generate Cover (1, 5, 21) && View Manager (1, 5, 4) && FanFicFare (3, 11, 5) && Import List (1, 3, 0) && Reading List (1, 6, 6) && Find Duplicates (1, 6, 3) && MultiColumnSearch (1, 0, 77) && Favourites Menu (1, 0, 4) && Job Spy (1, 0, 172) && Save Composite Custom Columns (1, 1, 0) && Count Pages (1, 8, 2) && Tanja's Tools (0, 0, 9) && User Category (1, 5, 3)
Traceback (most recent call last):
  File "calibre_plugins.view_manager.action", line 64, in show_configuration
  File "site-packages\calibre\customize\__init__.py", line 157, in do_user_config
  File "calibre_plugins.view_manager.__init__", line 62, in config_widget
  File "calibre_plugins.view_manager.config", line 588, in __init__
  File "calibre_plugins.view_manager.config", line 670, in select_view_combo_index_changed
UnboundLocalError: local variable 'pin_columns' referenced before assignment
Tanjamuse is offline   Reply With Quote
Old 03-11-2020, 03:56 PM   #282
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
When I use the plugin in some libraries, I get the following error:
I believe that is exactly the same problem that was last reported earlier on this page and fixed in the last release (v1.5.5)--which you are not using for some reason.
JimmXinu is offline   Reply With Quote
Old 05-05-2020, 02:53 PM   #283
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is there any known way to toggle the cover browser/grid when changing views?
ownedbycats is offline   Reply With Quote
Old 05-05-2020, 04:09 PM   #284
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Is there any known way to toggle the cover browser/grid when changing views?
Hmmm. I've never considered it before. Not as it exists now, no.

View Manager is all about which columns are shown and in what order. But I suppose that the sort order does also apply to grid order. So it could be useful to include in VM.

However, it then raises the question: should VM also control the other Layout buttons? Book details, Cover Browser, etc. And Virtual Libs as Tabs, which is in a different place altogether?

I haven't looked into how difficult any of that would be yet, but is it something users would find useful?
JimmXinu is offline   Reply With Quote
Old 05-05-2020, 05:59 PM   #285
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I would definitely find it useful. I use the cover browser/grid for my default VL, but switch back to the list for my fanfic VL.
ownedbycats is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Generate Cover kiwidude Plugins 861 06-21-2025 11:51 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Goodreads Sync kiwidude Plugins 1781 02-12-2025 07:09 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 10:11 PM.


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