This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Toggle Git Tab does not open sometimes #2409
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Toggle Git Tab does not do anything sometimes
Steps to Reproduce
- Window with two projects open, both tracked in git, minimised initially
open the window, on either new file or file already tracked in git repo - Open window, View- Toggle Git Tab
Expected behavior:
Git tab opens
Actual behavior:
Nothing, git tab does not open.
Nothing new in console when button is clicked.
But console has the following existing errors:
EACCES: permission denied, unlink '/usr/local/bin/apm'
commandInstaller.installApmCommand.e @ <embedded>:1
<embedded>:14 TypeError: Cannot read property 'split' of null
at Diff.l.tokenize (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Diff.diff (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Object.diffLines (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at TextBuffer.setTextViaDiff (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at CommitController.componentDidUpdate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ik (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Yj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Lj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14
at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ig (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at jg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Rg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Object.enqueueSetState (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ObserveModel.E.setState (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ModelObserver.ObserveModel._defineProperty [as didUpdate] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ModelObserver._refreshModelData (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at process._tickCallback (internal/process/next_tick.js:68)
Pi @ <embedded>:14
<embedded>:14 Uncaught (in promise) TypeError: Cannot read property 'split' of null
at Diff.l.tokenize (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Diff.diff (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Object.diffLines (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at TextBuffer.setTextViaDiff (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at CommitController.componentDidUpdate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ik (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Yj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Lj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14
at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ig (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at jg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Rg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at Object.enqueueSetState (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ObserveModel.E.setState (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ModelObserver.ObserveModel._defineProperty [as didUpdate] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at ModelObserver._refreshModelData (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14)
at process._tickCallback (internal/process/next_tick.js:68)
Reproduces how often: sometimes
Versions
macOS 10.14.6
Atom : 1.44.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
apm 2.4.3
npm 6.2.0
node 10.2.1 x64
atom 1.44.0
python 2.7.16
git 2.25.0