Bug#990746: /usr/bin/thawab-gtk: thawab fails to start.

2023-01-20 Thread Jeremy Bicha
I am uploading thawab 4.1-3 now which fixes the initial reported error.

However, then I get this error, which would take more work to fix properly:

$ thawab-gtk
Traceback (most recent call last):
  File "/usr/bin/thawab-gtk", line 5, in 
from Thawab.gtkUi import main
  File "/usr/share/thawab/Thawab/gtkUi.py", line 35, in 
from Thawab.shamelaUtils import ShamelaSqlite, shamelaImport
  File "/usr/share/thawab/Thawab/shamelaUtils.py", line 51, in 
os.urandom(hashlen*3/4).encode('base64')[:hashlen]
TypeError: 'float' object cannot be interpreted as an integer

Thank you,
Jeremy Bicha



Bug#990746: /usr/bin/thawab-gtk: thawab fails to start.

2021-07-05 Thread Awtul
Package: thawab
Version: 4.1-2
Severity: important
File: /usr/bin/thawab-gtk

Dear Maintainer,

'thawab' fails to start. I get this when I execute "thawab-gtk" from cmdline:

"Traceback (most recent call last):
  File "/usr/bin/thawab-gtk", line 5, in 
from Thawab.gtkUi import main
  File "/usr/share/thawab/Thawab/gtkUi.py", line 34, in 
from Thawab.webApp import webApp, get_theme_dirs
  File "/usr/share/thawab/Thawab/webApp.py", line 25, in 
from cgi import escape # for html escaping
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib/python3.9/cgi.py)"



Thanks for your work :)

Awal


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

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

Versions of packages thawab depends on:
ii  gir1.2-gtk-3.0  3.24.24-4
ii  gir1.2-webkit2-4.0  2.32.1-2
ii  mdbtools0.9.1-1
ii  python3 3.9.2-3
ii  python3-gi  3.38.0-2
ii  python3-okasha  0.2.4-4
ii  python3-othman  0.6.0-2
ii  python3-paste   3.5.0+dfsg1-1
ii  python3-whoosh  2.7.4+git6-g9134ad92-5

Versions of packages thawab recommends:
pn  islamic-menus  

thawab suggests no packages.

-- no debconf information