New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderTemplate needs list, gets None #1139

Closed
painter1 opened this Issue Mar 10, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@painter1
Contributor

painter1 commented Mar 10, 2015

Making plots through the diagnostics, renderTemplate (in vcs/VTKPlots.py) calls d.backend.get() which returns None. The following loop crashes because it expects d.backend.get() to have returned a list (possibly empty). Everything works well if I insert
if texts is None: texts=[]
but probably the best place to fix it is elsewhere in VCS.

doutriaux1 pushed a commit that referenced this issue Mar 11, 2015

prepPrimitivie function occasionally returned None
a list is expected to be returned
fix #1139

@doutriaux1 doutriaux1 added this to the 2.2 milestone Mar 11, 2015

@doutriaux1 doutriaux1 self-assigned this Mar 11, 2015

@doutriaux1 doutriaux1 added High Priority and removed High labels Jul 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment