beta test reviews from DB: cleanup rendering
-
QTGL only takes width and heights but is given jupyter in rendertools.py 132 (obsolete) -
Rendertools line 506 calls self.gl.getAgentColor(agent)
which does not exist. Its fixed if you outcomment that line and comment the outcommentetd line 505 and 502 back in. -
Examples need to be run from the main folder, because the image files are in a higher order folder. See #57 (closed) -
Play_model
callsRendertools
with the flagshow = True
. This flag is not there inrendertools
. Removing it inplay_model
runs the code and shows output on screen. Same happens withtkplay
in line 14. -
The jupyter notebook render1 tries to call the function generate_random_rail
fromrail_env_generator
. Neither of them exist. (obsolete) -
Default installation does not install jpy_canvas
this probably referes tojupyter-canvas-widget
, which does not appear to be supported anymore and does not install over pip. Without this the editor2 notebook or canvas editor do not work. -
Calling functions from outside the the projects main folder will give errors when opening images in graphics_pil
. This can be resolved by changing the working directory to the mianfolder with chdir. -
Play_model.py
calls show before open window soself.window = tk.Tk()
is not called before an give the error “too early to create image” -
Close_window
ingraphics_pil
does not setwindow_open
onFalse
-
Open_window
ingraphics_pil
does not set first frame to true.
Report courtesy : Gereon Vienken, DeutscheBahn
Edited by adrian_egli