Hi,

This is already fixed here and will in the next release:

https://github.com/mnemosyne-proj/mnemosyne/commit/f170cafe71ceff61243da7904fe2c88a7c62d60b

(If you want it earlier, you can just grab the current version off github.)

Cheers,

Peter

From: mnemosyne-proj-users@googlegroups.com 
[mailto:mnemosyne-proj-users@googlegroups.com] On Behalf Of Marcin M.
Sent: 14 February 2018 16:15
To: mnemosyne-proj-users <mnemosyne-proj-users@googlegroups.com>
Subject: [mnemosyne-proj-users] [Bug] Web server review outputs a blank page

Version 2.6, installed from AUR, Arch Linux.
The traceback:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1152, in 
communicate
    req.respond()
  File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 974, in 
respond
    self.server.gateway(self).respond()
  File "/usr/lib/python3.6/site-packages/cheroot/wsgi.py", line 131, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
  File "/usr/lib/python3.6/site-packages/mnemosyne/web_server/web_server.py", 
line 145, in wsgi_app
    self.load_mnemosyne()
  File "/usr/lib/python3.6/site-packages/mnemosyne/pyqt_ui/qt_web_server.py", 
line 86, in load_mnemosyne
    WebServer.load_mnemosyne(self)
  File "/usr/lib/python3.6/site-packages/mnemosyne/web_server/web_server.py", 
line 111, in load_mnemosyne
    filename=self.filename, automatic_upgrades=False)
  File "/usr/lib/python3.6/site-packages/mnemosyne/libmnemosyne/__init__.py", 
line 241, in initialise
    self.start_review()
  File "/usr/lib/python3.6/site-packages/mnemosyne/libmnemosyne/__init__.py", 
line 367, in start_review
    self.config()["study_mode"]))
  File 
"/usr/lib/python3.6/site-packages/mnemosyne/libmnemosyne/controllers/default_controller.py",
 line 103, in set_study_mode
    study_mode.activate()
  File 
"/usr/lib/python3.6/site-packages/mnemosyne/libmnemosyne/study_modes/scheduled_forgotten_new.py",
 line 22, in activate
    self.activate_components()
  File "/usr/lib/python3.6/site-packages/mnemosyne/libmnemosyne/study_mode.py", 
line 27, in activate_components
    Component.activate(self)  # Also activates GUI components.
  File "/usr/lib/python3.6/site-packages/mnemosyne/libmnemosyne/component.py", 
line 74, in activate
    component = component(component_manager=self.component_manager)
  File "/usr/lib/python3.6/site-packages/mnemosyne/web_server/review_wdgt.py", 
line 26, in __init__
    self.review_controller().set_render_chain("web_server")
AttributeError: 'NoneType' object has no attribute 'set_render_chain'

Btw. did you consider using mypy for static code analysis?
--
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
mnemosyne-proj-users+unsubscr...@googlegroups.com<mailto:mnemosyne-proj-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
mnemosyne-proj-users@googlegroups.com<mailto:mnemosyne-proj-users@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/203f2bdb-c242-4ce9-8d9d-c3dc91f4c9ba%40googlegroups.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/203f2bdb-c242-4ce9-8d9d-c3dc91f4c9ba%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mnemosyne-proj-users+unsubscr...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/d6cbd1684a6f41789b828df2d487bdd1%40xmail102.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to