Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2009, 04:12 PM   #1
XenoPhage
Junior Member
XenoPhage began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: prs-505
Exclamation Unable to convert cbr to lfr - 0.4.133

Hi all,

I'm getting an error when trying to convert a cbr file to lrf. I've included the error below as well as details about my system.

I was able to run comic2lrf by hand and it seems to work, so I'm not sure what the problem with the GUI itself is.

Calibre 0.4.133
Macbook Pro
OSX 10.5.6
prs-505

Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.pyo", line 522, in __bootstrap_inner
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 761, in run
o = Overseer(self.server_socket, self.port)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 374, in __init__
self.worker_status = mother.spawn_worker('127.0.0.1:'+str(port))
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 190, in <lambda>
self.spawn_worker_osx = lambda arg : self.spawn_free_spirit_osx(arg, type='worker')
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 230, in spawn_free_spirit_osx
child = WorkerStatus(subprocess.Popen(cmdline, env=self.get_env()))
File "subprocess.pyo", line 595, in __init__
File "subprocess.pyo", line 1106, in _execute_child
OSError: [Errno 2] No such file or directory

Thanks!
XenoPhage is offline   Reply With Quote
Old 02-02-2009, 04:16 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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look like you have a corrupted install. Try deleting and re-installing
kovidgoyal is online now   Reply With Quote
Advert
Old 02-02-2009, 04:33 PM   #3
XenoPhage
Junior Member
XenoPhage began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: prs-505
Quote:
Originally Posted by kovidgoyal View Post
Look like you have a corrupted install. Try deleting and re-installing
No such luck...

This worked prior to installing 0.4.133 today... Any other ideas?
XenoPhage is offline   Reply With Quote
Old 02-02-2009, 04:48 PM   #4
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
what does

Code:
ls -l Desktop/calibre.app/Contents
in a terminal give you? Replace Desktop with the path to wherever you have put the calibre app
kovidgoyal is online now   Reply With Quote
Old 02-02-2009, 04:51 PM   #5
XenoPhage
Junior Member
XenoPhage began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: prs-505
Code:
ls -l Desktop/calibre.app/Contents
Code:
ls -l /Apensieve:~ XenoPhage$ ls -l /Applications/calibre.app/Contents/
total 16
drwxr-xr-x  18 XenoPhage  admin   612 Feb  2 02:01 Frameworks
-rw-r--r--   1 XenoPhage  admin  3100 Feb  2 01:58 Info.plist
drwxr-xr-x   9 XenoPhage  admin   306 Feb  2 02:00 MacOS
-rw-r--r--   1 XenoPhage  admin     8 Feb  2 01:58 PkgInfo
drwxr-xr-x  11 XenoPhage  admin   374 Feb  2 02:00 Resources
drwxr-xr-x   3 XenoPhage  admin   102 Feb  2 02:01 console.app
pensieve:~ XenoPhage$
XenoPhage is offline   Reply With Quote
Advert
Old 02-02-2009, 04:54 PM   #6
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
One more

Code:
ls -l calibre.app/Contents/console.app
kovidgoyal is online now   Reply With Quote
Old 02-02-2009, 04:58 PM   #7
XenoPhage
Junior Member
XenoPhage began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: prs-505
Code:
ls -l calibre.app/Contents/console.app
Code:
pensieve:~ XenoPhage$ ls -l /Applications/calibre.app/Contents/console.app/
total 0
drwxr-xr-x  7 XenoPhage  admin  238 Feb  2 02:01 Contents
And just because I think you're going to ask...

Code:
pensieve:~ XenoPhage$ ls -l /Applications/calibre.app/Contents/console.app/Contents/
total 40
lrwxr-xr-x  1 XenoPhage  admin    16 Feb  2 16:25 Frameworks -> ../../Frameworks
-rw-r--r--  1 XenoPhage  admin  3144 Feb  2 02:01 Info.plist
lrwxr-xr-x  1 XenoPhage  admin    11 Feb  2 16:25 MacOS -> ../../MacOS
lrwxr-xr-x  1 XenoPhage  admin    13 Feb  2 16:25 PkgInfo -> ../../PkgInfo
lrwxr-xr-x  1 XenoPhage  admin    15 Feb  2 16:25 Resources -> ../../Resources
pensieve:~ XenoPhage$
XenoPhage is offline   Reply With Quote
Old 02-02-2009, 05:18 PM   #8
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What does this give you

Code:
calibre-debug -c "from calibre.parallel import WorkerMother; m = WorkerMother(); print m.executable; print m.env"
kovidgoyal is online now   Reply With Quote
Old 02-02-2009, 05:19 PM   #9
XenoPhage
Junior Member
XenoPhage began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: prs-505
Code:
calibre-debug -c "from calibre.parallel import WorkerMother; m = WorkerMother(); print m.executable; print m.env"
Code:
pensieve:~ XenoPhage$ calibre-debug -c "from calibre.parallel import WorkerMother; m = WorkerMother(); print m.executable; print m.env"
/Applications/calibre.app/Contents/console.app/Contents/MacOS/python
{'DYLD_LIBRARY_PATH': '/Applications/calibre.app/Contents/console.app/Contents/Frameworks/ImageMagick/lib', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Applications/calibre.app/Contents/console.app/Contents/Frameworks', 'PYTHONHOME': '/Applications/calibre.app/Contents/console.app/Contents/Resources', 'MAGICK_HOME': '/Applications/calibre.app/Contents/console.app/Contents/Frameworks/ImageMagick'}
XenoPhage is offline   Reply With Quote
Old 02-02-2009, 05:23 PM   #10
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm well the no such file or directory error comes from trying to execute
Code:
/Applications/calibre.app/Contents/console.app/Contents/MacOS/python
I'm guessing running ls -l on that path shows that it exists and is executable?
kovidgoyal is online now   Reply With Quote
Old 02-02-2009, 06:03 PM   #11
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah I think I've located the problem. I'll work on a fix ASAP
kovidgoyal is online now   Reply With Quote
Old 02-02-2009, 06:36 PM   #12
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I've uploaded a fixed build. Re download and you should be fine. (the upload will complete ina few minutes)
kovidgoyal is online now   Reply With Quote
Old 02-02-2009, 09:05 PM   #13
XenoPhage
Junior Member
XenoPhage began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: prs-505
Quote:
Originally Posted by kovidgoyal View Post
I've uploaded a fixed build. Re download and you should be fine. (the upload will complete ina few minutes)
Sweet! That did it..

The programmer in me would like to know what the problem was
XenoPhage is offline   Reply With Quote
Old 02-02-2009, 11:57 PM   #14
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
An oversight on my part. I recently changed the calibre.app bundle's internal structure (to allow for running worker processes that use a GUI toolkit without creating dock icons). calibre uses the worker launch infrastructure recursively during comic creation and some of the path logic was incorrect for the new bundle structure when called recursively (levels of symlinks).
kovidgoyal is online now   Reply With Quote
Old 02-03-2009, 12:06 PM   #15
XenoPhage
Junior Member
XenoPhage began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: prs-505
Quote:
Originally Posted by kovidgoyal View Post
An oversight on my part. I recently changed the calibre.app bundle's internal structure (to allow for running worker processes that use a GUI toolkit without creating dock icons). calibre uses the worker launch infrastructure recursively during comic creation and some of the path logic was incorrect for the new bundle structure when called recursively (levels of symlinks).
So does that mean there won't be a bunch of calibre icons in the dock or in the Cmd-Tab menu anymore? That got a tad confusing after a while..
XenoPhage is offline   Reply With Quote
Reply

Tags
calibre, cbr, convert, lrf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert CBZ and LFR to epub format? siulayhumga Calibre 4 05-01-2010 05:38 PM
How to convert .cbr to .epub/.lrf for PRS-600 with best rerult DaddyDough Calibre 0 12-18-2009 11:22 AM
Unable to convert PDFs newbi3 Calibre 3 06-21-2009 01:00 AM
Convert cbr 2 pdf jæd iRex 1 02-13-2009 01:40 AM
unable to convert .cbr files in calibre bchenry82 Introduce Yourself 4 11-14-2008 01:31 PM


All times are GMT -4. The time now is 11:19 PM.


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