View Single Post
Old 11-30-2013, 08:29 AM   #118
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by kovidgoyal View Post
@Griker: No need to send me a book, I think I know what the problem is, it is caused by OS X's use of symlinks for /tmp

I will implement a fix when I have some time to work on OS X.

EDIT: Fix committed, if you run from source, it should work.
I updated my source, but I'm still seeing the error:

Code:
calibre, version 1.13.0
ERROR: Failed to open book: Failed to open book, click Show details for more information.

Traceback (most recent call last):
  File "site-packages/calibre/gui2/tweak_book/job.py", line 34, in run
  File "site-packages/calibre/gui2/tweak_book/boss.py", line 38, in get_container
  File "site-packages/calibre/ebooks/oeb/polish/container.py", line 1077, in get_container
  File "site-packages/calibre/ebooks/oeb/polish/container.py", line 830, in __init__
  File "site-packages/calibre/ebooks/oeb/polish/container.py", line 136, in __init__
InvalidBook: Could not locate opf file: u'/private/var/folders/jv/z9ntx89x53lbh83qw3qy410r0000gn/T/calibre_1.13.0_tmp_0Apdef/3R30jF/00000-f5XDAy/OEBPS/content.opf'
G
GRiker is offline