You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Uncaught Error: Encountered an invalid scope end id. Popped -1, expected to pop -27. #7177
Atom Version: 0.207.0 System: Mac OS X 10.9.5 Thrown From: Atom Core
Stack Trace
Uncaught Error: Encountered an invalid scope end id. Popped -1, expected to pop -27.
At /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573
Error: Encountered an invalid scope end id. Popped -1, expected to pop -27.
at TokenizedBuffer.module.exports.TokenizedBuffer.scopesFromTags (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573:21)
at TokenizedBuffer.module.exports.TokenizedBuffer.openScopesForRow (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:555:21)
at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:286:105)
at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:263:26
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47
This error happened only when opening a LaTeX file as far as I can tell. After working a bit it would reoccur, but I can't manage to reproduce that consistently.
@jgoldfar If it happens again, it would be really helpful to know the file contents that trigger it. If you're comfortable emailing them to me at [email protected] under a strict privacy promise that would help a ton. We're falling into some corner case and it's hard to fix without a reproduction case. Thanks!
I've sent a message with a reproduction case more reliable than the intermittent issue I opened this issue for. The error reporting messages is the same, so I hope it helps this as well.
Similar error message, looks also related to long lines in the editor:
Open a new document
Enter
Since $g^n \to g$ weakly in $W_2^1[0,T]$, it follows that $\norm{g_n}_{W_2^1[0,T]}$ is uniformly bounded, and moreover that $\norm{g_n}_{W_2^{1/4}[0,T]}$ is uniformly bounded. Therefore, $\norm{\hat{u}^\tau}_{W_2^{1,1}} \leq C$ independent of $n$ or $\tau$. Since $W_2^{1,1}(D)$ is an Hilbert space (and hence a reflexive Banach space,) it follows that $
Type ""
Atom Version: 0.208.0 System: Mac OS X 10.9.5 Thrown From: Atom Core
Stack Trace
Uncaught Error: Encountered an invalid scope end id. Popped -1, expected to pop -15.
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:741
Error: Encountered an invalid scope end id. Popped -1, expected to pop -15.
at TokenizedBuffer.module.exports.TokenizedBuffer.scopesFromTags (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:607:21)
at TokenizedBuffer.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:483:31)
at TokenizedBuffer.module.exports.TokenizedBuffer.buildTokenizedLinesForRows (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:490:10)
at TokenizedBuffer.module.exports.TokenizedBuffer.handleBufferChange (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:383:34)
at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:62:24
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at TextBuffer.module.exports.TextBuffer.applyChange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:622:20)
at TextBuffer.module.exports.TextBuffer.setTextInRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:530:12)
at Selection.module.exports.Selection.insertText (/Applications/Atom.app/Contents/Resources/app.asar/src/selection.js:452:43)
at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:742:31
at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:787:29
at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:736:18)
at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1148:26)
at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:781:24
at TextEditor.module.exports.TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1974:43)
at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1948:35)
at TextEditor.module.exports.TextEditor.mutateSelectedText (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:779:19)
at TextEditor.module.exports.TextEditor.insertText (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:739:21)
at TextEditor.object.(anonymous function) [as insertText] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:77:27)
at TextEditorComponent.module.exports.TextEditorComponent.onTextInput (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:440:35)
at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:3:61)
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
izuzak commentedon Jun 9, 2015
@jgoldfar Do you remember which type of file you opened (Ruby file, Python, LaTeX)? Does this happen for all files or only some files?
cc @nathansobo here's one more of these, from Atom v0.207.0
jgoldfar commentedon Jun 9, 2015
This error happened only when opening a LaTeX file as far as I can tell. After working a bit it would reoccur, but I can't manage to reproduce that consistently.
nathansobo commentedon Jun 10, 2015
@jgoldfar If it happens again, it would be really helpful to know the file contents that trigger it. If you're comfortable emailing them to me at
[email protected]under a strict privacy promise that would help a ton. We're falling into some corner case and it's hard to fix without a reproduction case. Thanks!jgoldfar commentedon Jun 10, 2015
I've sent a message with a reproduction case more reliable than the intermittent issue I opened this issue for. The error reporting messages is the same, so I hope it helps this as well.
jgoldfar commentedon Jun 10, 2015
Similar error message, looks also related to long lines in the editor:
Atom Version: 0.208.0
System: Mac OS X 10.9.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: Encountered an invalid scope end id. Popped -1, expected to pop -15.
Commands
Config
{ "core": { "themes": [ "atom-light-ui", "one-light-syntax" ], "disabledPackages": [ "language-mustache", "language-clojure", "language-coffee-script", "language-csharp", "language-go", "language-java", "language-less", "language-objective-c", "language-perl", "language-php", "language-ruby", "language-ruby-on-rails", "language-sql", "language-toml", "language-xml", "release-notes", "whitespace", "deprecation-cop", "language-property-list", "language-sass", "open-on-github", "metrics", "package-generator", "symbols-view", "language-matlab-octave", "language-c", "language-css", "language-html", "language-json", "language-javascript", "language-python", "language-yaml", "styleguide", "welcome" ] }, "editor": { "invisibles": {}, "softWrapAtPreferredLineLength": true, "fontSize": 12, "lineHeight": 1.2 } }Installed Packages
Check if position exceeds line length before checking max token count
nathansobo commentedon Jun 10, 2015
Thanks very much for taking the time to help me reproduce this. I really appreciate it. Should be fixed on the next release.
jgoldfar commentedon Jun 10, 2015
Great. Thanks for your help and the amazing editor.
lock commentedon Jan 22, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!