Ubuntu Focal update of broken Calibre package

Norbert Preining norbert at preining.info
Thu Oct 15 16:18:49 UTC 2020

Hi Lukasz,

so, here are a few more answers to your questions:

On Wed, 14 Oct 2020, Lukasz Zemczak wrote:
>  * How badly is calibre broken on focal right now? Is it really
> unusable in its current state? Examples of how broken things are so
> that we can understand the situation better

Yes. I just installed a vm, updated to the latest version of the
packages of focal, installed calibre, started calibre, and got

norbert at ubuntu2004-vm:~$ calibre
Traceback (most recent call last):
  File "/usr/bin/calibre", line 20, in <module>
  File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre
  File "/usr/lib/calibre/calibre/gui2/main.py", line 543, in main
    listener = create_listener()
  File "/usr/lib/calibre/calibre/gui2/main.py", line 514, in create_listener
    return Listener(address=gui_socket_address())
  File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 110, in __init__
AttributeError: 'NoneType' object has no attribute 'cancel'
norbert at ubuntu2004-vm:~$ vim

So well, it is completely useless.

This can also be seen by the list of upstream bugs reported

>  * How does the automated test coverage on calibre look like? Do all
> new features come with unit testing? What about autopkgtests (I don't
> think I see any?)?

There are not autopkgtests, but there is an extensive test suite built
into calibre.

>  * What would be the acceptance criteria for the new version? What
> testing should be performed to make sure the new version works as
> expected and doesn't regress any existing users (assuming calibre in
> focal right now is at least usable to some extent)

Since it does not even start, I guess there is no regression for
focal users, only for those upgrading from a previous release.

Together with YOKOTA Hiroshi (in Cc), who has done most of the work on
recent packaging, I have prepared a version for focal (SIP4, debhelper
12), built it on my focal machine, and successfully run it. Source and
amd64 packages are available here:

	deb http://www.preining.info/debian focal main
	deb-src http://www.preining.info/debian focal main

(signed with my gpg key https://www.preining.info/rsa.asc)

What are the next steps you are expecting from me?

- prepare a package for groovy and separately for focal?
- what are the version numbers you want to see?
- how should we proceed?



PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

More information about the ubuntu-devel mailing list