07-28-2013, 11:34 PM | #31 | ||
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
Can you post image of what you see in Edit EPUB after you have set to the value to Undefined - either via the Clear Edit EPUB button in Edit Metadata or via pressing he minus key - in an Edit EPUB cell. Or just add an empty book - what's in Edit EPUB cell - empty or 1st Jan 0101. Member davidfor is reporting the same issue - maybe its a for Aussie's only bug Or its a 32bit v 64bit or install v portable issue - I refuse to contemplate that it might be a Windows XP versus 7 issue. I edited my previous post with suggestion for inducing my Right Arrow problem. When the date problem is be fixed and assuming Find Dups is still throwing these errors then I'll uninstall it and reinstall as and when needed; since it got its inter-library enhancement I only use it in my 'new acquisitions' library. BR Last edited by BetterRed; 07-29-2013 at 12:09 AM. Reason: add attachment |
||
07-28-2013, 11:38 PM | #32 |
Addict
Posts: 254
Karma: 2092424
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
|
Running gentoo linux here. Upon restarting calibre with the newdb backend enabled, I just ended up with with a hung process that had to be killed.
Starting with "calibre -v" gives this: Traceback (most recent call last): File "/usr/lib64/calibre/calibre/gui2/main.py", line 279, in initialize self.initialize_db() File "/usr/lib64/calibre/calibre/gui2/main.py", line 239, in initialize_db self.db_class, errs = get_db_loader() File "/usr/lib64/calibre/calibre/db/__init__.py", line 129, in get_db_loader from calibre.db.legacy import LibraryDatabase as cls File "/usr/lib64/calibre/calibre/db/legacy.py", line 18, in <module> from calibre.db.backend import DB File "/usr/lib64/calibre/calibre/db/backend.py", line 14, in <module> import apsw ImportError: No module named apsw apsw is a package available in gentoo's repository (portage), described as "Another Python SQLite Wrapper", and appears to be required by calibre's new db backend, so I installed that and was then able to start calibre successfully. So far, so good. Calibre recognizes my reader (Sony T1) and lists books on it. |
Advert | |
|
07-28-2013, 11:40 PM | #33 | |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie installed 3.7.17-r1-1 from ppa:ubuntu-rogerbinns/apsw did not work. Spoiler:
goodnight. Last edited by gbm; 07-29-2013 at 12:02 AM. |
|
07-29-2013, 01:22 AM | #34 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
07-29-2013, 02:03 AM | #35 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@BetterRed && davidfor: about dates. What do you see when you hover the mouse pointer over a should-be-empty date value in the spreadsheet view? It should be 101-01-01T01:00:00.
|
Advert | |
|
07-29-2013, 02:05 AM | #36 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
07-29-2013, 02:09 AM | #37 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
No I am seeing "101-01-01T10:00:00". When I go back to the old DB, it shows as "101-01-01T00:00:00". That makes me think time zone issues.
|
07-29-2013, 02:46 AM | #38 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
As you can run from source, could you put a print statement into gui2/library/delegates.py after line 94 (in DateDelegate)? Something like print(d.year, d.month, d.day) What I am looking for is evidence that the date is in localtime and somewhere the date is being adjusted across midnight. Thanks for your help! |
|
07-29-2013, 03:06 AM | #39 | |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
olddb 101-01-01 T00:00:00 Display <empty cell> newdb 101-01-01 T10:00:00 Display 0101 01 01 09 00 00 I'm Zulu +10, I suspect davidfor is in same timezone Does Kovid see T05 30 ? BR |
|
07-29-2013, 03:06 AM | #40 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@chaley: I fixed the custom column date display bug, it was a timezone issue, the old code did a direct comparison of dates, causing the problem, see https://github.com/kovidgoyal/calibr...8cc08391bde623
I should have posted about it earlier, but I had to leave ina hurry and I forgot. |
07-29-2013, 03:10 AM | #41 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It looked like the old code was comparing UTC dates, which should have worked. Clearly I was reading it wrong. Edit: I was looking at the fixed code. |
|
07-29-2013, 03:25 AM | #42 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
07-29-2013, 03:29 AM | #43 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I will be uploading a new build in a few hours with the following fixes:
1) Add apsw to the linux binary build (apologies I forgot to add it when releasing 0.9.41) 2) Fixes for the find duplicates and reading list plugins 3) Fix the custom column date display issue 4) A couple of minor performance enhancements For linux users, if you are running calibre from source, you must install python-apsw. If you are running from the binary build, then just wait a few hours to install the new build which bundles apsw Generally speaking, as people report problems in this thread, I will fix them and make new builds available. |
07-29-2013, 03:33 AM | #44 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
07-29-2013, 06:49 AM | #45 |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Timezone explains why I did not have a problem.
I have tooltips disabled, so I did not see the underlying timestamp |
|
Similar Threads | ||||
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 |