![]() |
#136 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
OK, I looked at a Good PI and a problem PI
Code:
version = PLUGIN_VERSION_TUPLE |
![]() |
![]() |
![]() |
#137 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
Advert | |
|
![]() |
#138 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The image size settings baffled me - I don't think of images on the screen in terms of units of length, I think of them in pixels.
However, I think this would work better - display a sample cover in the default size and allow it to be resized on percentage basis - maybe with a slider widget. Quote:
![]() Temp Marker works fine with the highlight button in the Book List - just that I never wanted to use it there. In the Book List I always have it 'blue bars with red slash'. Maybe you can devise a way of making 'blue bars only' work in CoverGrid View, I suspect I would use it there - I appreciate that might be counter-intuitive, but... BR |
|
![]() |
![]() |
![]() |
#139 | ||
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
Quote:
Search highlighting will work in the grid view as well, once I get around to it. |
||
![]() |
![]() |
![]() |
#140 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
I had the same problem, I just couldn't reproduce it with any arbitrary pair of books. I was able to merge most books [that I tried], but a few produced similar error message. I was waiting with a bug report until I can reproduce steps to cause the bug.
|
![]() |
![]() |
Advert | |
|
![]() |
#141 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Maybe something like a aspect ratio (4/3 etc.) can be a nice feature in the setup of cover sizes in the Grid view. A given width or hight calculate the rest if selected.
|
![]() |
![]() |
![]() |
#142 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 2156958
Join Date: Jan 2013
Device: Too many random androids to list
|
Quote:
And Kacir: it did look like it was any arbitrary pair for me, since.... well all the dupes I had to toy with triggered it. Thanks again for all your fine work ![]() ![]() Last edited by Krazykiwi; 08-05-2013 at 02:15 PM. |
|
![]() |
![]() |
![]() |
#143 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 241
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
|
Hi
thought i'd give it a try. All seemed fine until just. After converting and AZW to Mobi and then trying to delete the original file i keep getting calibre, version 0.9.42 ERROR: Unhandled exception: <b>LockingError</b>:can't downgrade SHLock object Traceback (most recent call last): File "site-packages\calibre\gui2\library\models.py", line 932, in data File "site-packages\calibre\gui2\library\models.py", line 685, in func File "site-packages\calibre\db\cache.py", line 54, in ans File "site-packages\calibre\db\locking.py", line 208, in __enter__ File "site-packages\calibre\db\locking.py", line 79, in acquire File "site-packages\calibre\db\locking.py", line 149, in _acquire_shared LockingError: can't downgrade SHLock object After setting new dbase to false and a restart the file deletes fine. |
![]() |
![]() |
![]() |
#144 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Viewing comfort is at least as much a function of pixel density, the dot pitch and the distance between the eye and screen, as it is on screen size - I would argue more so. I used an image editor to work it out, easier than doing the sums in my head - now I have a 12x5 grid on the 24" 1920x1200 Samsung. Next time I run Calibre on the other monitors I'll work out a good size for them and write it down - somewhere ![]() I worked on hi-end imaging system for a decade or so, back then we only thought in units of length when we printed images for situation room briefings. AFAIK camera's and scanners still work in pixels - even the ones on fiddle fones - never mind. BR Last edited by BetterRed; 08-05-2013 at 02:54 PM. |
|
![]() |
![]() |
![]() |
#145 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
BR
![]() 2@ 1920x1080 (run at 1440x900 because of tired eyes) and a old 1024x768 above (for notes/reference matl) |
![]() |
![]() |
![]() |
#146 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I for one look at all my different monitors at the same distance, and I like to adjust things so that they are equally legible at that distance on all monitors, regardless of their resolution.
|
![]() |
![]() |
![]() |
#147 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@scissors: That is the same error as reported here:
https://bugs.launchpad.net/calibre/+bug/1208470 It is being investigated, unfortunately, I am handicapped by not being able to reproduce it. |
![]() |
![]() |
![]() |
#148 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#149 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Will it now be safe for PIs to skip self.gui.proceed_question() when updating the DB? (When using new DB, of course.) Speaking of which, what's the best way for PIs to detect when the new DB is active? Finally, a suggestion: I would change the name db.new_api (or make an alias for it) that doesn't have 'new' in it. db.api2 maybe. I can tell you from experience that having the word 'new' in your code after it's become old confuses people. Someday : "So new_api is the new API?" "No, new_api is the old API. api3 is the new API." |
|
![]() |
![]() |
![]() |
#150 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, that is the only recommendation, so far.
proceed_question() was never only about thread safety, since the updates all happen in the gui thread anyway. So you still need to use it. Think about what happens if the user has the edit metadata dialog open for a book that you are updating in the background, either the users' changes or yours would get obliterated. Considering that this new api took almost two years to develop, I dont think I will ever do this again ![]() If you wish to check for the new api, just do hasattr(db, 'new_api') |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MTP support: Testers needed | kovidgoyal | Calibre | 68 | 09-21-2012 03:54 AM |
shared backend database? | perler | Calibre | 4 | 01-26-2012 05:37 AM |
Windows testers needed | kovidgoyal | Calibre | 51 | 11-21-2010 05:58 AM |
OS X testers needed | kovidgoyal | Calibre | 23 | 11-18-2010 12:11 PM |
calibre ereader output testers needed | user_none | Other formats | 24 | 05-11-2009 12:00 AM |