|  02-02-2009, 04:12 PM | #1 | 
| Junior Member  Posts: 8 Karma: 10 Join Date: Feb 2009 Device: prs-505 |  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! | 
|   |   | 
|  02-02-2009, 04:16 PM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Look like you have a corrupted install. Try deleting and re-installing
		 | 
|   |   | 
|  02-02-2009, 04:33 PM | #3 | 
| Junior Member  Posts: 8 Karma: 10 Join Date: Feb 2009 Device: prs-505 | |
|   |   | 
|  02-02-2009, 04:48 PM | #4 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			what does  Code: ls -l Desktop/calibre.app/Contents | 
|   |   | 
|  02-02-2009, 04:51 PM | #5 | 
| Junior Member  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$ | 
|   |   | 
|  02-02-2009, 04:54 PM | #6 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			One more Code: ls -l calibre.app/Contents/console.app | 
|   |   | 
|  02-02-2009, 04:58 PM | #7 | 
| Junior Member  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 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$ | 
|   |   | 
|  02-02-2009, 05:18 PM | #8 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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" | 
|   |   | 
|  02-02-2009, 05:19 PM | #9 | 
| Junior Member  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'} | 
|   |   | 
|  02-02-2009, 05:23 PM | #10 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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 | 
|   |   | 
|  02-02-2009, 06:03 PM | #11 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Ah I think I've located the problem. I'll work on a fix ASAP
		 | 
|   |   | 
|  02-02-2009, 06:36 PM | #12 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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)
		 | 
|   |   | 
|  02-02-2009, 09:05 PM | #13 | 
| Junior Member  Posts: 8 Karma: 10 Join Date: Feb 2009 Device: prs-505 | |
|   |   | 
|  02-02-2009, 11:57 PM | #14 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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).
		 | 
|   |   | 
|  02-03-2009, 12:06 PM | #15 | |
| Junior Member  Posts: 8 Karma: 10 Join Date: Feb 2009 Device: prs-505 | Quote: 
   | |
|   |   | 
|  | 
| Tags | 
| calibre, cbr, convert, lrf | 
| Thread Tools | Search this Thread | 
| 
 | 
|  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 |