Package: mnemosyne
Version: 2.11+ds1-2
Severity: normal

Dear Maintainer,

attempting to run mnemosyne today resulted in

Uploading [some bz2 file] ... upload [some
path]/.local/share/mnemosyne/history/[filename].bz2
Upload failed
HTTP Error 500: Internal Server Error

Traceback (innermost last):
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/log_uploader.py",
line 87, in run
    self.upload(filename)
    ~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/log_uploader.py",
line 59, in upload
    response = urllib.request.urlopen(req)
  File "/usr/lib/python3.13/urllib/request.py", line 189, in urlopen
    return opener.open(url, data, timeout)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/urllib/request.py", line 495, in open
    response = meth(req, response)
  File "/usr/lib/python3.13/urllib/request.py", line 604, in http_response
    response = self.parent.error(
        'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.13/urllib/request.py", line 533, in error
    return self._call_chain(*args)
           ~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.13/urllib/request.py", line 466, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.13/urllib/request.py", line 613, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
 urllib.error.HTTPError: HTTP Error 500: Internal Server Error

ICE default IO error handler doing an exit(), pid = 8494, errno = 32
QThreadStorage: entry 3 destroyed before end of thread 0x3d266f10
QThreadStorage: entry 2 destroyed before end of thread 0x3d266f10
QThreadStorage: entry 1 destroyed before end of thread 0x3d266f10

[4]+  Exit 1                     mnemosyne

Now i'm guessing that the 'exit' part is unrelated due to another bug the bug
I'm reporting here is that in the event that the statistics server fails (ie
log_uploader.py fails to upload to it) an ugly stack frame results.
This exception
should be caught and handled earlier, probably in log_uploader.py itself
with a message that explains that the problem is on the other end
(internal server error)


-- System Information:
Distributor ID:    Devuan
Description:    Devuan GNU/Linux 7 (freia/ceres)
Release:    7
Codename:    freia ceres
Architecture: x86_64

Kernel: Linux 7.0.7+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages mnemosyne depends on:
ii  libjs-sphinxdoc             9.1.0-3
ii  libqt5sql5-sqlite           5.15.17+dfsg-8
ii  python3                     3.13.9-3+b1
ii  python3-argon2              25.1.0-3
hi  python3-cheroot             11.1.2+ds1-1
hi  python3-cherrypy3           18.10.0-3
hi  python3-gtts                2.5.4-1
hi  python3-legacy-cgi          2.6.4-2
ii  python3-matplotlib          3.10.7+dfsg1-4
ii  python3-pil                 12.2.0-1
ii  python3-pyqt6               6.11.0-1
ii  python3-pyqt6.qtmultimedia  6.11.0-1
ii  python3-pyqt6.qtwebengine   6.11.0-1
hi  python3-webob               1:1.8.9-1

mnemosyne recommends no packages.

Versions of packages mnemosyne suggests:
hi  mplayer  2:1.5+svn38681-1

-- no debconf information

Reply via email to