Your message dated Tue, 31 Dec 2019 13:35:25 +0000
with message-id <[email protected]>
and subject line Bug#947032: fixed in mnemosyne 2.7+ds-1
has caused the Debian Bug report #947032,
regarding from PIL import Image ModuleNotFoundError No module named PIL
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
947032: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947032
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mnemosyne
Version: 2.6.1+ds-1
This issue began on first mnemosyne run post install after adjusting font and
screen layout properties using its prefs screen.
On exiting the first use of the prefs screen, and on each subsequent mnemosyne
start, this exception happened:
Traceback (innermost last):
File "/usr/bin/mnemosyne", line 262, in <module>
debug_file=options.debug_file)
File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py",
line 234, in initialise
self.start_review()
File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py",
line 357, in start_review
self.config()["study_mode"]))
File
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/controllers/default_controller.py",
line 103, in set_study_mode
study_mode.activate()
File
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/study_modes/scheduled_forgotten_new.py",
line 23, in activate
self.review_controller().reset(new_only=False)
File
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py",
line 53, in reset
self.show_new_question()
File
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py",
line 115, in show_new_question
self.update_dialog()
File
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py",
line 194, in update_dialog
self.update_qa_area(redraw_all)
File
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py",
line 234, in update_qa_area
w.clear_answer()
File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line
251, in clear_answer
self.update_stretch_factors()
File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line
147, in update_stretch_factors
self.estimate_height(self.question_text)
File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line
114, in estimate_height
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
Mnemosyne exits with an error code after reporting the error.
Installed the python3 and mnemosyne packages with --no-install-recommends, but
their 'apt-cache show' outputs, though likely not enough information, do not
indicate that PIL or Pillow are recommended packages of either.
$ cat /etc/issue
Debian GNU/Linux 10
Python 2 is not installed on the host experiencing the issue:
$ python
-bash: python: command not found
$ which python
$ python3 --version
Python 3.7.3
$ dpkg --status python3
...
Source: python3-defaults
Version: 3.7.3-1
Replaces: python3-minimal (<< 3.1.2-2)
Provides: python3-profiler
Depends: python3.7 (>= 3.7.3-1~), libpython3-stdlib (= 3.7.3-1)
Pre-Depends: python3-minimal (= 3.7.3-1)
...
$ cd /usr/lib/python3/dist-packages/mnemosyne
$ grep -R ' PIL '
pyqt_ui/review_wdgt.py: from PIL import Image
This fixed it:
$ sudo apt-get install python3-pil
Perhaps this exception can be avoided by just adding python3-pil to the
mnemosyne package's 'Depends' attribute.
Thanks!
--- End Message ---
--- Begin Message ---
Source: mnemosyne
Source-Version: 2.7+ds-1
We believe that the bug you reported is fixed in the latest version of
mnemosyne, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien Puydt <[email protected]> (supplier of updated mnemosyne package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 31 Dec 2019 14:09:49 +0100
Source: mnemosyne
Architecture: source
Version: 2.7+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Robert Lemmen <[email protected]>
Changed-By: Julien Puydt <[email protected]>
Closes: 947032
Changes:
mnemosyne (2.7+ds-1) unstable; urgency=medium
.
[ Ondřej Nový ]
* d/changelog: Remove trailing whitespaces
.
[ Julien Puydt ]
* New upstream release.
* Add depends on PIL (Closes: #947032).
* Bump std-ver to 4.4.1.
* Switch from d/compat 11 to debian-compat 12.
Checksums-Sha1:
a82e72aff5941d1e33e128382f32109540ca1f28 2000 mnemosyne_2.7+ds-1.dsc
04baf3d1dde89ab8a7a2b427fdfd188e8b97d3fa 852992 mnemosyne_2.7+ds.orig.tar.xz
211a1dbd9f0c60bb541b55e4aa3855658146704a 14624 mnemosyne_2.7+ds-1.debian.tar.xz
f6376d4c5ba35f5315c62a49b5959c3ba43f5344 9872
mnemosyne_2.7+ds-1_source.buildinfo
Checksums-Sha256:
46cfa9c33668bb06ab7548e064bec0e048490395fc03851778ee107adcb3475a 2000
mnemosyne_2.7+ds-1.dsc
5599807e30acd551d4e1c794f01f2e048f5ad15156c98b3b17e974da8ca072a5 852992
mnemosyne_2.7+ds.orig.tar.xz
736d9bb30fd6a8c8f7cc01183cdaaa8880141f243af91687edf577453137d66a 14624
mnemosyne_2.7+ds-1.debian.tar.xz
ef01c4658dc1433cb9c01aca81c0328e6c74abf765a1feb1334f605a3b90c936 9872
mnemosyne_2.7+ds-1_source.buildinfo
Files:
0a733f6d008771f12eba874d32d319cd 2000 misc optional mnemosyne_2.7+ds-1.dsc
68d722576924b513cfef0b4391e75d0a 852992 misc optional
mnemosyne_2.7+ds.orig.tar.xz
7440a2faf212aa3294590ff448995ca1 14624 misc optional
mnemosyne_2.7+ds-1.debian.tar.xz
e1317d81d529fa10fd9e6d0cea4114f9 9872 misc optional
mnemosyne_2.7+ds-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAl4LSLkSHGpwdXlkdEBk
ZWJpYW4ub3JnAAoJEATFO9f+AwVRwJsP/0SPQRIHPImrNEvsIb9wPhdqJwqvr+IQ
j4ECK9Ptdvs4MhSImgd64/GlykKoOyYIVBMLuYVk0YX9RuoydjtN8khyiCPK31l5
jh0aFjwNooePJlp090mNmm8W+skQlCYlFeoBqv8r5sRUu5ru7ibgp3o7XgDbaaK2
RMQFkw7AQrWiHBmYTtlC+kGUsfxwzJMoYxdqP1dEuPLcEotaIQKa6N+6AamWFNE/
EwTgbIINANFLCtjMggcWjhzStCbAg71Z+6D9gUAHmd06+k1fvJ1tT93tWI6y2wj0
6T1OVqPw2vLzz781QFckpkmdJgOuxfn7aCYic8DLHDXjtsNz6TjNOnLbW24fiNwN
QKuzTl94sXOa/p4oGHTEaW4gkaX3JFvhmKnuAsOE3KcyOQuUWdMUOWVax9VDaQmx
igVsfEnesP7XOoJ2HxURNGCzHEODx/AZbm46c/2ESq2lYnvKfy8x9xZ7xXZbmUTY
Wx38J3BGcqVLlWLhLqBHc+l7NMM08v40/7IHB1ofRdsU0WniHpLkcC4/ILv02v7l
pB9QSapqhU7uwC+GQN7X8MSuTbmVuMiThvxATqXuve7B+WF3nXRunTSyhvWqP/dC
m10P45l/Pt15KDb+sXMrTze27LIya5XJItLLYR1ZJqDArZ+ayWw6sc4B/DQVb9wJ
4bnmELWPpDOh
=zHMv
-----END PGP SIGNATURE-----
--- End Message ---