You are not logged in.

#1 2015-05-08 21:23:26

cynicalpsycho
Member
Registered: 2009-12-22
Posts: 57

Calibre fails to start

BLUF: I start calibre and it fails to launch. Primary error seems to be: "Unable to open ~/.mtpz-data for reading, MTPZ disabled."

When running Calibre:

[user@computer ~]$ calibre
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
calibre 2.27  isfrozen: False is64bit: True
Linux-4.0.1-1-ARCH-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '4.0.1-1-ARCH', '#1 SMP PREEMPT Wed Apr 29 12:00:26 CEST 2015')
Python 2.7.8
Linux: ('', '', '')
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/library/models.py", line 853, in data
    return self.column_to_dc_map[col](index.row())
  File "/usr/lib/calibre/calibre/gui2/library/models.py", line 742, in func
    return (', '.join(calibre_langcode_to_name(x) for x in fffunc(field_obj, idfunc(idx))))
  File "/usr/lib/calibre/calibre/db/view.py", line 190, in index_to_id
    return self._map_filtered[idx]
IndexError: tuple index out of range

^CTraceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 174, in main
    exec (sys.argv[-1])
  File "<string>", line 1, in <module>
  File "/usr/lib/calibre/calibre/utils/ipc/pool.py", line 384, in run_main
    raise SystemExit(func(conn))
  File "/usr/lib/calibre/calibre/utils/ipc/pool.py", line 337, in worker_main
    job = cPickle.loads(eintr_retry_call(conn.recv_bytes))
  File "/usr/lib/calibre/calibre/utils/ipc/__init__.py", line 19, in eintr_retry_call
    return func(*args, **kwargs)
KeyboardInterrupt


When running Calibre in debug mode:

[user@computer ~]$ calibre-debug -g
calibre 2.27  isfrozen: False is64bit: True
Linux-4.0.1-1-ARCH-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '4.0.1-1-ARCH', '#1 SMP PREEMPT Wed Apr 29 12:00:26 CEST 2015')
Python 2.7.8
Linux: ('', '', '')
Starting up...
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
Started up in 1.16 seconds with 0 books

^CTraceback (most recent call last):
  File "/usr/bin/calibre-parallel", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 174, in main
    exec (sys.argv[-1])
  File "<string>", line 1, in <module>
  File "/usr/lib/calibre/calibre/utils/ipc/pool.py", line 384, in run_main
    raise SystemExit(func(conn))
  File "/usr/lib/calibre/calibre/utils/ipc/pool.py", line 337, in worker_main
    job = cPickle.loads(eintr_retry_call(conn.recv_bytes))
  File "/usr/lib/calibre/calibre/utils/ipc/__init__.py", line 19, in eintr_retry_call
    return func(*args, **kwargs)
KeyboardInterrupt

The program blinks on then does nothing. When I check ps -aux|grep calibre (when letting it run) this is all i get:

user  2971 13.6  2.3 2324680 187704 pts/0  Sl+  17:09   0:02 python2 /usr/bin/calibre
user  2990  0.4  0.1 132344 15940 pts/0    S+   17:09   0:00 python2 /usr/bin/calibre-parallel --pipe-worker from calibre.utils.ipc.pool import run_main, worker_main; run_main(worker_main)
user  2995  0.0  0.0  11928  2316 pts/1    R+   17:09   0:00 grep calibre

Actions taken thus far for remediation:
1. Downgrading to the previous version of Calibre - No change
2. Pacman -Rs calibre, followed by Reinstallation - No change
3. Installing gvfs-mtp (As recommended below by Meskarune) - No change

Last edited by cynicalpsycho (2015-05-10 15:36:25)

Offline

#2 2015-05-09 00:21:02

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

Re: Calibre fails to start

You could try installing gvfs-mtp and see if that helps.


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

#3 2015-05-10 15:24:25

cynicalpsycho
Member
Registered: 2009-12-22
Posts: 57

Re: Calibre fails to start

It had no affect... Out of curiosity, why did you recommend that?

Meskarune wrote:

You could try installing gvfs-mtp and see if that helps.

Last edited by cynicalpsycho (2015-05-10 15:36:50)

Offline

#4 2015-05-16 12:18:37

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 282

Re: Calibre fails to start

you could try to install it from official site, maybe it works.
http://calibre-ebook.com/download_linux

sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

It install calibre on "/opt/calibre".
for remove it run:

# sudo calibre-uninstall

Last edited by quellen (2015-05-16 12:19:35)


sorry for my bad english

Offline

#5 2015-05-16 13:43:06

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,567

Re: Calibre fails to start

cynicalpsycho wrote:

('Linux', '4.0.1-1-ARCH', '#1 SMP PREEMPT Wed Apr 29 12:00:26 CEST 2015')
Python 2.7.8

WTF? Have you been doing partial updates or what? That version of python2 hasn't been in the repos for 6 months.

Offline

Board footer

Powered by FluxBB