|
|
#1 |
|
Omnivorous
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
ebook-viewer broken?
Callibre 2.60
Don't use it a lot, but trying to use it this morning, first from the app and then command line: DeDRM v6.1.0: In __init__ DeDRM v6.1.0: In load_resources DeDRM v6.1.0: verdir /home/jerryg/.config/calibre/plugins/DeDRM/6.1.0 DeDRM v6.1.0: In initialize Traceback (most recent call last): File "site.py", line 66, in main File "site-packages/calibre/gui_launch.py", line 69, in ebook_viewer File "site-packages/calibre/gui2/viewer/main.py", line 27, in <module> File "site-packages/calibre/utils/monotonic.py", line 7, in <module> RuntimeError: Failed to load the monotonic module with error: /opt/calibre/lib/python2.7/site-packages/calibre/plugins/monotonic.so: undefined symbol: clock_gettime Edit: Tried a re-install - Install failures - Ideas?? Failed to find directory to install bash completions, using default. ____________________ WARNING ____________________ Setting up completion failed with error: __________________________________________________ Traceback (most recent call last): File "site-packages/calibre/linux.py", line 748, in setup_completion File "site-packages/calibre/linux.py", line 506, in write_completion File "site-packages/calibre/gui2/viewer/main.py", line 27, in <module> File "site-packages/calibre/utils/monotonic.py", line 7, in <module> RuntimeError: Failed to load the monotonic module with error: /opt/calibre/lib/python2.7/site-packages/calibre/plugins/monotonic.so: undefined symbol: clock_gettime Last edited by jgaiser; 06-26-2016 at 12:42 PM. Reason: Add information |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,598
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#3 |
|
Omnivorous
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
Thanks Kovid. Looks like it's time to update from Ubuntu 12.04
|
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,855
Karma: 207000000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Looks like the next version of calibre will have the viewer working again (if I understood Kovid correctly) regardless of the glibc version. So you can hold off for a while longer if you like (not that I would discourage you from upgrading).
|
|
|
|
|
|
#5 |
|
More power than Apollo-n!
![]() Posts: 4
Karma: 10
Join Date: Jun 2012
Location: Altadena CA, US
Device: iPhone-5S
|
My experience (under LUbuntu 14.04, LXDE on an old Dell) after installing calibre 2.60;
now the reader doesn't start! Just as recommended, ----- phil@BorgLU:~$ calibre Traceback (most recent call last): File "site-packages/calibre/gui2/viewer/documentview.py", line 1387, in resizeEvent File "site-packages/calibre/gui2/viewer/main.py", line 767, in viewport_resize_started AttributeError: 'DocumentView' object has no attribute 'last_loaded_path' Traceback (most recent call last): File "site-packages/calibre/gui2/viewer/documentview.py", line 1387, in resizeEvent File "site-packages/calibre/gui2/viewer/main.py", line 767, in viewport_resize_started AttributeError: 'DocumentView' object has no attribute 'last_loaded_path' ----- Hope that's some help, Kovid! Love it otherwise! |
|
|
|
|
|
#6 | |
|
Omnivorous
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
Quote:
Yeah I finally noticed. But... It's getting to be time to really start thinking about moving on. Don't need bleeding edge but heck, Ubuntu is up to 16.04 LTS. Maybe time to even consider a different distribution.
|
|
|
|
|
|
|
#7 | |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,598
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
|
|
|
|
|
#8 |
|
More power than Apollo-n!
![]() Posts: 4
Karma: 10
Join Date: Jun 2012
Location: Altadena CA, US
Device: iPhone-5S
|
PYO files?
When I go looking tor the things that aren't working, that whole area, instead of '.py' bytecode, is full of '.pyo' bytecodes.
Could this be something that's (helping) break the reader? |
|
|
|
|
|
#9 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
No. *.pyo optimized bytecode is the cached version of what the python interpreter would have translated the *.py source code into, during the process of running. When *.pyo files exist the *.py files are actually ignored entirely.
Distributing an application as *.pyo files is pretty standard for compiled binary applications. It speeds it up, saves space, and even provides rudimentary protection for closed-source binaries. The calibre binary download has always distributed *.pyo files. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get the file path of the ebook in the frontmost Ebook Viewer window | johnsidi | Development | 1 | 07-16-2012 10:37 AM |
| Associating ebook files with Calibre ebook viewer | zobop | Library Management | 1 | 06-24-2012 11:07 AM |
| Ebook Viewer | WithMetta | Development | 2 | 05-09-2012 06:16 PM |
| [old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
| # user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 06:28 PM |