Skip to content
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

Crash on typing "sum" #75

Closed
matbme opened this issue Sep 22, 2022 · 1 comment
Closed

Crash on typing "sum" #75

matbme opened this issue Sep 22, 2022 · 1 comment

Comments

@matbme
Copy link

matbme commented Sep 22, 2022

When I type "sum" into an equation, the application crashes with the following error:

Traceback (most recent call last):
  File "/app/lib/python3.9/site-packages/plots/formularow.py", line 304, in edited
    body, expr = self.editor.expr.to_glsl()
  File "/app/lib/python3.9/site-packages/plots/elements/elements.py", line 338, in to_glsl
    sum_body, sum_expr = sums.pop().to_glsl("".join(body_stack.pop()),
  File "/app/lib/python3.9/site-packages/plots/elements/sum.py", line 53, in to_glsl
    assert var.isidentifier()

Running the latest flatpak version (0.8.1).

@alexhuntley
Copy link
Owner

Thanks for the catch. I've fixed it in 9f2ce43, which will be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants