Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2013, 01:02 PM   #1
apiontek
Member
apiontek began at the beginning.
 
apiontek's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2012
Location: Queens, NY
Device: Kobo Glo HD
Excited! But errors for headless server.

I am excited about this! I of course use the GUI on some computers so all these new features are great.

Unfortunatley I also run a headless calibre-server on a headless Ubuntu 13.04 server. This has been working fine, although months ago I recall one release had a similar problem to what I'm experiencing now.

I am in fact installing Calibre from scratch as I was redoing my server, and on trying to run calibre-server, I get:

Code:
Traceback (most recent call last):
  File "site.py", line 56, in main
  File "site-packages/calibre/library/server/main.py", line 12, in <module>
  File "site-packages/calibre/library/server/base.py", line 21, in <module>
  File "site-packages/calibre/library/server/content.py", line 17, in <module>
  File "site-packages/calibre/utils/magick/__init__.py", line 15, in <module>
RuntimeError: Failed to load ImageMagick: libfontconfig.so.1: cannot open shared object file: No such file or directory
OK, so I didn't used to have this error on a fresh headless Ubuntu server install, but I go ahead and install fontconfig, but then I get:

Code:
Traceback (most recent call last):
  File "site.py", line 56, in main
  File "site-packages/calibre/library/server/main.py", line 12, in <module>
  File "site-packages/calibre/library/server/base.py", line 21, in <module>
  File "site-packages/calibre/library/server/content.py", line 17, in <module>
  File "site-packages/calibre/utils/magick/__init__.py", line 15, in <module>
RuntimeError: Failed to load ImageMagick: libXt.so.6: cannot open shared object file: No such file or directory
So I google around and install libxtst6, which also installs x11-common (now I'm starting to get frustrated about too much software I don't need on this server, but ok) but it does nothing. Same error.

Bug to fix? Should I head over to launchpad to report? Or am I doing something wrong?
apiontek is offline   Reply With Quote
Old 08-24-2013, 08:12 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Moderator Notice
Moved post to a thread of its own.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-24-2013, 09:43 PM   #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,169
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error has nothing to do with 1.0. You basically need libXt.so.6 to be able to run the server, there's no way around that.
kovidgoyal is offline   Reply With Quote
Old 08-25-2013, 04:07 PM   #4
apiontek
Member
apiontek began at the beginning.
 
apiontek's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2012
Location: Queens, NY
Device: Kobo Glo HD
My problem was that it had continued to give the same error after installing libxtst6 on ubuntu 13.04.

My mistake, I'd done a sloppy google search for libXt.so.6

If anyone else ever has this problem, it's not libxtst6, it's libxt6, which I swear I had tried first with an error. Must have been a typo! :P

In total, in get calibre-server working on my headless ubuntu 13.04 server I needed to install:

fontconfig
libxt6
libltdl7

...and their dependencies, which were few.

My bad. Thanks for all your work, Kovid, sorry for wasting your time with this.

Last edited by apiontek; 08-25-2013 at 04:27 PM.
apiontek is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre server on (headless no X) sheevaplug junke1990 Related Tools 6 07-13-2013 08:04 AM
Calibre Headless Server dearleuk Library Management 2 12-02-2012 04:04 AM
Auto Import Books on headless Server tymanthius Related Tools 2 05-05-2012 12:33 AM
Headless server on NAS readonly problem artifact Related Tools 1 06-28-2011 09:34 PM
Headless Calibre Server Setup godzilla8nj Related Tools 4 03-10-2010 01:39 PM


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


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