Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-26-2016, 12:31 PM   #1
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
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
jgaiser is offline   Reply With Quote
Old 06-26-2016, 01:49 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sho...d.php?t=275536
kovidgoyal is offline   Reply With Quote
Advert
Old 06-26-2016, 02:11 PM   #3
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
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
jgaiser is offline   Reply With Quote
Old 06-26-2016, 02:28 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by jgaiser View Post
Thanks Kovid. Looks like it's time to update from Ubuntu 12.04
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).
DiapDealer is online now   Reply With Quote
Old 06-26-2016, 02:36 PM   #5
pbarnrob
More power than Apollo-n!
pbarnrob began at the beginning.
 
pbarnrob's Avatar
 
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!
pbarnrob is offline   Reply With Quote
Advert
Old 06-26-2016, 05:10 PM   #6
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
Quote:
Originally Posted by DiapDealer View Post
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).
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.
jgaiser is offline   Reply With Quote
Old 06-26-2016, 08:48 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DiapDealer View Post
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).
Indeed, the next version of calibre should work with glibc 2.15 (which is what Ubuntu 12.04 has). You can even see that it passes tests on that OS (the test include loading the problematic module) here: https://travis-ci.org/kovidgoyal/calibre
kovidgoyal is offline   Reply With Quote
Old 06-27-2016, 04:52 PM   #8
pbarnrob
More power than Apollo-n!
pbarnrob began at the beginning.
 
pbarnrob's Avatar
 
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?
pbarnrob is offline   Reply With Quote
Old 06-27-2016, 05:29 PM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 09:42 AM.


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