This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Uncaught Error: Can't undo with an open transaction #4817
Copy link
Copy link
Closed
Labels
Description
Uncaught Error: Can't undo with an open transaction
Atom Version: 0.161.0
System: Mac OS X 10.10.1
Thrown From: Atom Core
Steps To Reproduce
- Type
- Press Cmd+Z
Stack Trace
At /Users/southerd/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:73
Error: Can't undo with an open transaction
at History.module.exports.History.undo (/Users/southerd/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:73:15)
at TextBuffer.module.exports.TextBuffer.undo (/Users/southerd/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:675:27)
at TextEditor.module.exports.TextEditor.undo (/Users/southerd/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1137:26)
at TextEditor.atom.commands.add.stopEventPropagation.core:undo (/Users/southerd/Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:304:19)
at atom-text-editor.newCommandListeners.(anonymous function) (/Users/southerd/Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:272:32)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Users/southerd/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at /Users/southerd/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Users/southerd/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:549:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Users/southerd/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:391:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Users/southerd/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:167:20)
Activity
maxbrunsfeld commentedon Dec 31, 2014
Hi @DavidSouther, can you try upgrading to the latest Atom to see if this still occurs? Also, does it happen if you run
atom --safe? Thanks!DavidSouther commentedon Dec 31, 2014
Oh my... running Window: Update Available from the command pallet got me
Is there a good way to update from the CLI?
DavidSouther commentedon Dec 31, 2014
Ah, Application: Install Update worked. On 0.165.0 now. Will see how the undo actions work.
DavidSouther commentedon Dec 31, 2014
Negative - when pasting a block of text (the above stack trace) into an empty file, pressing Cmd+Z, gets
DavidSouther commentedon Dec 31, 2014
Running 0.165.0 with
--safeseems to have expected history behavior.maxbrunsfeld commentedon Dec 31, 2014
Can you list your installed packages (
apm list)?DavidSouther commentedon Dec 31, 2014
maxbrunsfeld commentedon Dec 31, 2014
Try upgrading
vim-mode. There have been a lot of changes to that package since0.11.1.DavidSouther commentedon Dec 31, 2014
Tentatively, that looks like the issue. Thanks so much for your help, @maxbrunsfeld
lock commentedon Jan 24, 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!