Bug#995084: mnemosyne: After installing, Mnemosyne fails to start: fails to import PasswordHasher from argon2

2021-09-25 Thread Kit Haines
Package: mnemosyne
Version: 2.8+ds1-1
Severity: important

Dear Maintainer,

I just installed mnemosyne on my machine.  When I launch it (mnemosyne & in the 
terminal), I get the following message:

kit@gelfly:~/writing/al$ mnemosyne &
[1] 466123
kit@gelfly:~/writing/al$ Log body:
 An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 278, in 
mnemosyne.initialise(data_dir=data_dir, filename=filename,
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 400, in initialise
self.register_components()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 465, in register_components
importlib.import_module(module_name), class_name)
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1030, in _gcd_import
  File "", line 1007, in _find_and_load
  File "", line 986, in _find_and_load_unlocked
  File "", line 680, in _load_unlocked
  File "", line 850, in exec_module
  File "", line 228, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/qt_sync_server.py", 
line 15, in 
from mnemosyne.libmnemosyne.sync_server import SyncServer
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/sync_server.py", 
line 9, in 
from argon2 import PasswordHasher
 ImportError: cannot import name 'PasswordHasher' from 'argon2' 
(/home/kit/.local/lib/python3.9/site-packages/argon2.py)

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 278, in 
mnemosyne.initialise(data_dir=data_dir, filename=filename,
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 400, in initialise
self.register_components()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 465, in register_components
importlib.import_module(module_name), class_name)
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1030, in _gcd_import
  File "", line 1007, in _find_and_load
  File "", line 986, in _find_and_load_unlocked
  File "", line 680, in _load_unlocked
  File "", line 850, in exec_module
  File "", line 228, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/qt_sync_server.py", 
line 15, in 
from mnemosyne.libmnemosyne.sync_server import SyncServer
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/sync_server.py", 
line 9, in 
from argon2 import PasswordHasher
 ImportError: cannot import name 'PasswordHasher' from 'argon2' 
(/home/kit/.local/lib/python3.9/site-packages/argon2.py)

[1]+  Exit 1  mnemosyne
kit@gelfly:~/writing/al$ 

I also get a window pop-up, with the same error as above showing.

I've tried installing argon2 with pip, to no change in the error message,

Best regards,
- Kit

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mnemosyne depends on:
ii  libjs-sphinxdoc 3.5.4-2
ii  libqt5sql5-sqlite   5.15.2+dfsg-12
ii  python3 3.9.2-3
ii  python3-cheroot 8.5.2+ds1-3
ii  python3-cherrypy3   18.6.1-2
ii  python3-gtts2.0.3-1
ii  python3-matplotlib  3.3.4-1
ii  python3-pil 8.1.2+dfsg-0.3
ii  python3-pyqt5   5.15.4+dfsg-3
ii  python3-pyqt5.qtsql 5.15.4+dfsg-3
ii  python3-pyqt5.qtwebchannel  5.15.4+dfsg-3
ii  python3-pyqt5.qtwebengine   5.15.4-2+b1
ii  python3-webob   1:1.8.6-1.1

mnemosyne recommends no packages.

mnemosyne suggests no packages.

-- no debconf information



Bug#935203: tomcat9: systemd configuration fails to allow tomcat to write to it's own directory

2019-08-20 Thread Kit Haines
Package: tomcat9
Version: 9.0.16-4~bpo9+1
Severity: normal

Dear Maintainer,

I'm trying to install tomcat9, and run it as a service.  After purging
and reinstalling, tomcat9 fails to start.  I had expected it to start.

`root@gelfly:/var/lib/tomcat9# service tomcat9 restart
Job for tomcat9.service failed because the control process exited with error 
code.
See "systemctl status tomcat9.service" and "journalctl -xe" for details.`

I expected the prompt to simply return, and tomcat9 to be running.

I editted: `/etc/systemd/system/multi-user.target.wants/tomcat9.service`
to add the following two lines:
`ReadWritePaths=/etc/tomcat9/
ReadWritePaths=/var/lib/tomcat9/`

When I then ran

`root@gelfly:/var/lib/tomcat9/conf# systemctl daemon-reload
root@gelfly:/var/lib/tomcat9/conf# service tomcat9 restart
root@gelfly:/var/lib/tomcat9/conf#`

The service started.

-- System Information:
Debian Release: 9.9
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tomcat9 depends on:
ii  lsb-base9.20161125
ii  systemd 232-25+deb9u11
ii  tomcat9-common  9.0.16-4~bpo9+1
ii  ucf 3.0036

Versions of packages tomcat9 recommends:
pn  libtcnative-1  

Versions of packages tomcat9 suggests:
pn  tomcat9-admin 
ii  tomcat9-docs  9.0.16-4~bpo9+1
ii  tomcat9-examples  9.0.16-4~bpo9+1
pn  tomcat9-user  

-- Configuration Files:
/etc/tomcat9/policy.d/01system.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/01system.policy'
/etc/tomcat9/policy.d/02debian.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/02debian.policy'
/etc/tomcat9/policy.d/03catalina.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/03catalina.policy'
/etc/tomcat9/policy.d/04webapps.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/04webapps.policy'
/etc/tomcat9/policy.d/50local.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/50local.policy'

-- no debconf information



Bug#903407: evince: Fail to generate valid print job for files with '&' in the name

2018-07-09 Thread Kit Haines
Package: evince
Version: 3.22.1-3+deb9u1
Severity: normal

Dear Maintainer,

(I've replaced my legal name with 'Legal Name' here, since I don't use
it.  My legal name has no special characters nor ampersand in them).

I'm trying to print a document named "Legal Name - Option Cancel &
Reissue Agreement.pdf"; but when I click print, I get the error (on
the commandline):

kit@gelnora:~/Downloads$ evince Legal\ Name\ -\ Option\ Cancel\ \&\ Reissue\ 
Agreement.pdf

** (evince:2460): WARNING **: Unimplemented annotation: POPPLER_ANNOT_INK, 
please post a bug report in Evince bugzilla (http://bugzilla.gnome.org) with a 
testcase.

** (evince:2460): WARNING **: Unimplemented annotation: POPPLER_ANNOT_INK, 
please post a bug report in Evince bugzilla (http://bugzilla.gnome.org) with a 
testcase.

(evince:2460): Gtk-WARNING **: Allocating size to EvSidebar 0x5632f76dc560 
without calling gtk_widget_get_preferred_width/height(). How does the code know 
the size to allocate?

(evince:2460): Gtk-WARNING **: Failed to set text 'Printing job “Legal Name 
- Option Cancel & Reissue Agreement.pdf”' from markup due to error parsing 
markup: Error on line 1: Entity did not end with a semicolon; most likely you 
used an ampersand character without intending to start an entity - escape 
ampersand as 

(evince:2460): Gtk-WARNING **: Failed to set text 'Printing job “Legal Name 
- Option Cancel & Reissue Agreement.pdf”' from markup due to error parsing 
markup: Error on line 1: Entity did not end with a semicolon; most likely you 
used an ampersand character without intending to start an entity - escape 
ampersand as 

---

This is inconvenient because of the filter on the printer at my
office.  I need to set the printer name to the approved document to
print.  I do not have this error when I copy the file to print
`NoName.pdf'.

I expected evince to escape the file name for me.

-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages evince depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2+b1
ii  evince-common3.22.1-3+deb9u1
ii  gsettings-desktop-schemas3.22.0-1
ii  libatk1.0-0  2.22.0-1
ii  libc62.24-11+deb9u3
ii  libcairo-gobject21.14.8-1
ii  libcairo21.14.8-1
ii  libevdocument3-4 3.22.1-3+deb9u1
ii  libevview3-3 3.22.1-3+deb9u1
ii  libgdk-pixbuf2.0-0   2.36.5-2+deb9u2
ii  libglib2.0-0 2.50.3-2
ii  libgnome-desktop-3-123.22.2-1
ii  libgtk-3-0   3.22.11-1
ii  libnautilus-extension1a  3.22.3-1+deb9u1
ii  libpango-1.0-0   1.40.5-1
ii  libsecret-1-00.18.5-3.1
ii  shared-mime-info 1.8-1

Versions of packages evince recommends:
ii  dbus-user-session [default-dbus-session-bus]  1.10.26-0+deb9u1
ii  dbus-x11 [dbus-session-bus]   1.10.26-0+deb9u1

Versions of packages evince suggests:
ii  gvfs 1.30.4-1
pn  nautilus-sendto  
ii  poppler-data 0.4.7-8
pn  unrar

-- no debconf information


Bug#846278: light-locker fails to unlock

2017-05-22 Thread Kit Haines
Package: light-locker
Version: 1.7.0-3
Followup-For: Bug #846278

Dear Maintainer,

> Please try with another desktop environment, like Xfce.

I am experiencing this issue on fresh xfce installations of
stretch. I've needed to disable lightlocker to get around it. As this
is a default configuration, this bug is grave - the package should not
release like this.

Thanks in advance,
- Kit


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages light-locker depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2+b1
ii  libc62.24-10
ii  libcairo21.14.8-1
ii  libdbus-1-3  1.10.18-1
ii  libdbus-glib-1-2 0.108-2
ii  libglib2.0-0 2.50.3-2
ii  libgtk-3-0   3.22.11-1
ii  libpango-1.0-0   1.40.5-1
ii  libpangocairo-1.0-0  1.40.5-1
ii  libsystemd0  232-23
ii  libx11-6 2:1.6.4-3
ii  libxext6 2:1.3.3-1+b2
ii  libxss1  1:1.2.2-1
ii  lightdm  1.18.3-1

light-locker recommends no packages.

light-locker suggests no packages.

-- no debconf information



Bug#847825: xfce4-session: Recommends only light-locker

2016-12-11 Thread Kit Haines
Package: xfce4-session
Version: 4.12.1-5
Severity: important

Dear Maintainer,

When updating, xfce4-session introduced light-locker despite the presence of
xscreensaver. There is no preference in the xfce4-preferences for configuring
light locker - I had no idea it was running, until it locked my screen.
Lightlocker proceeded to lock me out of my system, and failed to provide a
relogin prompt.

To fix, please Recommend: lightlocker | xscreensaver.

Thanks,
Kit



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (800, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages xfce4-session depends on:
ii  libatk1.0-02.22.0-1
ii  libc6  2.24-7
ii  libcairo2  1.14.6-1.1
ii  libdbus-1-31.10.14-1
ii  libdbus-glib-1-2   0.108-1
ii  libfontconfig1 2.11.0-6.7
ii  libfreetype6   2.6.3-3+b1
ii  libgdk-pixbuf2.0-0 2.36.0-1
ii  libglib2.0-0   2.50.2-2
ii  libgtk2.0-02.24.31-1
ii  libice62:1.0.9-1+b1
ii  libpango-1.0-0 1.40.3-3
ii  libpangocairo-1.0-01.40.3-3
ii  libpangoft2-1.0-0  1.40.3-3
ii  libpolkit-gobject-1-0  0.105-17
ii  libsm6 2:1.2.2-1+b1
ii  libwnck22  2.30.7-5
ii  libx11-6   2:1.6.3-1
ii  libxfce4ui-1-0 4.12.1-2
ii  libxfce4util7  4.12.1-3
ii  libxfconf-0-2  4.12.1-1
ii  xfce4-settings 4.12.1-1
ii  xfconf 4.12.1-1

Versions of packages xfce4-session recommends:
ii  dbus-x11   1.10.14-1
ii  libpam-systemd 232-7
ii  light-locker   1.7.0-3
ii  systemd-shim   10-2
ii  upower 0.99.4-4
ii  x11-xserver-utils  7.7+7
ii  xfdesktop4 4.12.3-3
ii  xfwm4  4.12.3-3

Versions of packages xfce4-session suggests:
pn  fortunes-mod  
ii  pm-utils  1.4.1-16
ii  sudo  1.8.17p1-2

-- no debconf information