-
Notifications
You must be signed in to change notification settings - Fork 352
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
Viz not recover after error #59
Comments
Kazunori-Kimura
added a commit
to Kazunori-Kimura/electron-viz
that referenced
this issue
Apr 26, 2016
- [Viz not recover after error #59](mdaines/viz-js#59) の不具合を 回避するため、連続してviz.jsがエラーとなった場合は viz.jsを読み込み直すように修正
sverweij
added a commit
to sverweij/atom-graphviz-preview-plus
that referenced
this issue
Sep 27, 2016
sverweij
added a commit
to sverweij/atom-graphviz-preview-plus
that referenced
this issue
Sep 29, 2016
…ue-59 workaround for mdaines/viz-js#59
We also experienced this issue. |
mdaines
added a commit
that referenced
this issue
Jan 3, 2017
This should reset the scanner state for subsequent calls if we run into certain syntax errors.
c687a63 should address this. I am attaching a build of that version for testing. |
I just tested it, it works.
|
So it does. I'll update the test to check for the correct error message and see if I can find the problem. |
This should be addressed in 2257a40 and the fix will be in the next release. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When Viz is called subsequently (the same instance) it cannot recover when unclosed quotes error is thrown. Failing case looks as follows:
First call throws an exception with
Error: syntax error in line 2 near ''
as expected. Subsequent givesError: syntax error in line 1 near '"'
until new Viz instance is created.Viz is loaded using
require.js
with shim.The text was updated successfully, but these errors were encountered: