Discussion:
[Slackbuilds-users] calibre does not start
Petar Petrov
2018-12-02 21:41:59 UTC
Permalink
hi all,

calibre does not start. It shows this in the terminal:

Failed to run pipe worker with command: from calibre.utils.ipc.pool
import run_main, worker_main; run_main(worker_main)
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 20, in <module>
sys.exit(main())
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 180, in main
exec (sys.argv[-1])
File "<string>", line 1, in <module>
File "/usr/lib64/calibre/calibre/utils/ipc/pool.py", line 392, in run_main
with closing(Client(address, authkey=key)) as conn:
File "/usr/lib64/python2.7/multiprocessing/connection.py", line 169, in Client
c = SocketClient(address)
File "/usr/lib64/python2.7/multiprocessing/connection.py", line 308,
in SocketClient
s.connect(address)
File "/usr/lib64/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused



regards,

Petar
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
Petar Petrov
2018-12-04 14:52:31 UTC
Permalink
thanks, but recompiling these (to the latest version available, not
that particular commit) did not make Calibre work. Any other ideas?
What else should I recompile?

-petar
On Mon, 3 Dec 2018 at 08:02, flinchx via SlackBuilds-users
I recall seeing the same traceback right after the big qt5 update and privately emailing the calibre maintainer about it. The problem was with python2-sip. What fixed calibre for me was to rebuild python2-sip after a fix was pushed (I believe it was this one https://git.slackbuilds.org/slackbuilds/commit/python/python2-sip?h=14.2&id=fa749a3a4df86ad32c6314cd03fc3793e830d787), then rebuild PyQt5, and then rebuild calibre.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Post by Petar Petrov
hi all,
Failed to run pipe worker with command: from calibre.utils.ipc.pool
import run_main, worker_main; run_main(worker_main)
File "/usr/bin/calibre-parallel", line 20, in <module>
sys.exit(main())
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 180, in main
exec (sys.argv[-1])
File "<string>", line 1, in <module>
File "/usr/lib64/calibre/calibre/utils/ipc/pool.py", line 392, in run_main
File "/usr/lib64/python2.7/multiprocessing/connection.py", line 169, in Client
c = SocketClient(address)
File "/usr/lib64/python2.7/multiprocessing/connection.py", line 308,
in SocketClient
s.connect(address)
File "/usr/lib64/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused
regards,
Petar
_______________________________________________
SlackBuilds-users mailing list
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slack
andrew
2018-12-06 01:21:48 UTC
Permalink
Post by Petar Petrov
thanks, but recompiling these (to the latest version available, not
that particular commit) did not make Calibre work. Any other ideas?
What else should I recompile?
-petar
This binary repackaging script will at least get you the latest
version of Calibre:

https://raw.githubusercontent.com/duganchen/my_slackbuilds/master/calibre.SlackBuild

Does not solve your compiling issue though...

Andrew
--
You think that's air you're breathing now?
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
King Beowulf
2018-12-06 01:10:06 UTC
Permalink
Post by Petar Petrov
hi all,
Failed to run pipe worker with command: from calibre.utils.ipc.pool
import run_main, worker_main; run_main(worker_main)
File "/usr/bin/calibre-parallel", line 20, in <module>
sys.exit(main())
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 180, in main
exec (sys.argv[-1])
File "<string>", line 1, in <module>
File "/usr/lib64/calibre/calibre/utils/ipc/pool.py", line 392, in run_main
File "/usr/lib64/python2.7/multiprocessing/connection.py", line 169, in Client
c = SocketClient(address)
File "/usr/lib64/python2.7/multiprocessing/connection.py", line 308,
in SocketClient
s.connect(address)
File "/usr/lib64/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused
I recall vaguely an issue with a change in calibre's built in content
server with the 3.30 series. I now use Alienbobs calibre package. I
don't use PyQt5. Rather, qt5-5.9.6 and qt5-webkit-5.9.0 to get it to
work. Make sure have qt5 and qt5-webkit built in the correct order, and
libwep might be required now as well.

Or do what I did a few months ago and throw my hands up and just use
Alienbob's calibre package. The dep chain was enough to shorten my
lifespan....
Loading...