[Bug 1910573] Re: calibre does not start in focal

2021-01-07 Thread g1pi
** Description changed:

  calibre crashes in ubuntu 20.04.01:
  
- $ calibre 
   
- Traceback (most recent call last):
  
-   File "/usr/bin/calibre", line 20, in
- sys.exit(calibre())   
-   File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre
- main(args)
-   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__  

- self._listener._unlink.cancel()   
+ $ apt policy calibre
+ calibre:
+   Installed: 4.99.4+dfsg+really4.12.0-1build1
+   Candidate: 4.99.4+dfsg+really4.12.0-1build1
+   Version table:
+  *** 4.99.4+dfsg+really4.12.0-1build1 500
+ 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
+ 100 /var/lib/dpkg/status
+ 
+ $ calibre
+ Traceback (most recent call last):
+   File "/usr/bin/calibre", line 20, in 
+ sys.exit(calibre())
+   File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre
+ main(args)
+   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__
+ self._listener._unlink.cancel()
  AttributeError: 'NoneType' object has no attribute 'cancel'
  
  the patch at
  
https://github.com/kovidgoyal/calibre/commit/7b6416ac6522fc40f24f6baf3ca552b17a8b91d6
  solves the problem.
  
  best regards,
  g1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910573

Title:
  calibre does not start in focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1910573/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1910573] [NEW] calibre does not start in focal

2021-01-07 Thread g1pi
Public bug reported:

calibre crashes in ubuntu 20.04.01:

$ apt policy calibre
calibre:
  Installed: 4.99.4+dfsg+really4.12.0-1build1
  Candidate: 4.99.4+dfsg+really4.12.0-1build1
  Version table:
 *** 4.99.4+dfsg+really4.12.0-1build1 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
100 /var/lib/dpkg/status

$ calibre
Traceback (most recent call last):
  File "/usr/bin/calibre", line 20, in 
sys.exit(calibre())
  File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre
main(args)
  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__
self._listener._unlink.cancel()
AttributeError: 'NoneType' object has no attribute 'cancel'

the patch at
https://github.com/kovidgoyal/calibre/commit/7b6416ac6522fc40f24f6baf3ca552b17a8b91d6
solves the problem.

best regards,
g1

** Affects: calibre (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910573

Title:
  calibre does not start in focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1910573/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs