Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2012, 06:22 AM   #1
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
can't install source 8.35

Just tried to install 8.35 source and I'm getting a coffee error even though I installed coffee 1.20 for calibre 8.34 successfully:

any suggestions?


*
* Running coffee
*

Compiling cfi.coffee
Traceback (most recent call last):
File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 415, in <module>
main()
File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 400, in main
ans, errors = Compiler()(args.src.read(), filename=args.src.name)
File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 88, in __init__
check_qt()
File "/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py", line 46, in check_qt
raise RuntimeError('X server required. If you are running on a'
RuntimeError: X server required. If you are running on a headless machine, use xvfb

Compilation of cfi.coffee failed
Command '['/usr/bin/python', '/mnt/installs/iomari/work/calibre/src/calibre/utils/serve_coffee.py', 'compile', '/mnt/installs/iomari/work/calibre/src/calibre/ebooks/oeb/display/cfi.coffee']' returned non-zero exit status 1
iomari is offline   Reply With Quote
Old 01-16-2012, 10:00 AM   #2
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
anybody out there?
iomari is offline   Reply With Quote
Advert
Old 01-16-2012, 10:03 AM   #3
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,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run the install command with xvfb
kovidgoyal is offline   Reply With Quote
Old 01-16-2012, 10:37 AM   #4
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
I'm confused. How do I do that and why did I not have to do that with 8.24?

Last edited by iomari; 01-16-2012 at 10:51 AM.
iomari is offline   Reply With Quote
Old 01-16-2012, 12:02 PM   #5
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
anyone
What is the difference between 8.24 and 8.25 that makes compiling fail?
iomari is offline   Reply With Quote
Advert
Old 01-16-2012, 09:08 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: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
xvfb-run sudo python setup.py install

Last edited by kovidgoyal; 01-16-2012 at 09:52 PM.
kovidgoyal is offline   Reply With Quote
Old 01-17-2012, 11:32 AM   #7
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
xvfb-run does not come with opensuse by default. I found it in the build service and installed it. Now I get the error:

-> xvfb-run -a sudo python setup.py install
mktemp: too few X's in template `Xauthority'

I'm still confuses as to what has changed in 8.35 that stop me from compiling when I was compiling happily all wht way up to 8.24.
iomari is offline   Reply With Quote
Old 01-17-2012, 11:46 AM   #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: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just wait, you wont need xvfb anymore in 0.8.36
kovidgoyal is offline   Reply With Quote
Old 01-17-2012, 11:53 AM   #9
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
ok i'll wait. thanks
iomari is offline   Reply With Quote
Old 01-20-2012, 04:17 AM   #10
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
now I can't install 8.0.36

Seems like I'm doomed to never go beyond 8.34. Just tried 8.36 and now I'm getting:

*
* Running develop
*

Installing binary: /usr/bin/ebook-device
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/mnt/installs/iomari/work/calibre-8.0.36/setup/__init__.py", line 163, in run_all
self.run_cmd(self, opts)
File "/mnt/installs/iomari/work/calibre-8.0.36/setup/__init__.py", line 159, in run_cmd
cmd.run(opts)
File "/mnt/installs/iomari/work/calibre-8.0.36/setup/install.py", line 136, in run
self.write_templates()
File "/mnt/installs/iomari/work/calibre-8.0.36/setup/install.py", line 190, in write_templates
self.write_template(name, mod, func)
File "/mnt/installs/iomari/work/calibre-8.0.36/setup/install.py", line 212, in write_template
open(path, 'wb').write(script)
IOError: [Errno 13] Permission denied: '/usr/bin/ebook-device'
iomari is offline   Reply With Quote
Old 01-20-2012, 04:23 AM   #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: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You forgot the sudo
kovidgoyal is offline   Reply With Quote
Old 01-20-2012, 04:34 AM   #12
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
Yeah I just noticed that. I'm embarrassed
iomari is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Install Fails on Ubuntu 11.04 chris1412 Library Management 2 09-14-2011 09:15 AM
Unable to install Calibre 0.7.56 from source prashc Calibre 2 04-18-2011 09:42 AM
Re-Install of 2.5.7 or 2.5.8 possible? ArdjanB Kindle Developer's Corner 2 03-29-2011 02:01 PM
Help: Can not install KindleHelpme Calibre 4 07-14-2010 08:31 PM
PRS-900 Sony Digital Edition Library Install, and Install, ... Hamlet53 Sony Reader 3 04-05-2010 03:29 PM


All times are GMT -4. The time now is 10:05 PM.


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