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
All but the last file in the changes list of files is displayed. The attached screenshot shows this with only two files but I've seen it with more. Only seen this today and have been a long time user of github desktop.
Switching to another repository and back seems to help as does restarting. Here's the same view after switching repos away and back that now renders both changed files.
Version
version 2.1.0
> sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G7024
Steps to Reproduce
Expected Behavior
I expect the list of changed files to be rendered in full.
Actual Behavior
Only the last element of this list gets rendered.
Additional Information
I don't have reproduction steps. I'm working on flare-timing. I do notice an error in the *.desktop.production.log.
2019-08-02T16:10:54.135Z - error: [ui] Could not load new contents for syntax highlighting
Error: EISDIR: illegal operation on a directory, read
2019-08-02T16:10:54.136Z - error: [ui] Could not load old contents for syntax highlighting
Error: Git returned an unexpected exit code '128' which should be handled by the caller.'
at ChildProcess.s.on (/webpack:/app/src/lib/git/spawn.ts:93:15)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Socket.stream.socket.on (internal/child_process.js:380:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close [as _onclose] (net.js:596:12)
@philderbeast Thanks for filing this. We have had two similar instances of this here and here.
Could not load new contents for syntax highlighting Error: EISDIR: illegal operation on a directory, read
EISDIR stands for "Error, Is Directory". This means that NPM is trying to do something to a file but it is a directory. Since the operation cannot be done the error is thrown.
I am using two submodules hcoord @ efee591 and reflex-platform @ 299d4b5. The former I added recently and, as can be seen in one of the screen shots, hcoord is marked as dirty.
The error stack dump for #7691 is exactly the same as here. I'm seeing a user interface glitch in the changes listing but with #7691 the error is seen in the devtools console log.
Activity
tierninho commentedon Aug 2, 2019
@philderbeast Thanks for filing this. We have had two similar instances of this here and here.
EISDIR stands for "Error, Is Directory". This means that NPM is trying to do something to a file but it is a directory. Since the operation cannot be done the error is thrown.
By any chance, are you using submodules?
philderbeast commentedon Aug 2, 2019
I am using two submodules
hcoord @ efee591andreflex-platform @ 299d4b5. The former I added recently and, as can be seen in one of the screen shots, hcoord is marked as dirty.philderbeast commentedon Aug 2, 2019
The error stack dump for #7691 is exactly the same as here. I'm seeing a user interface glitch in the changes listing but with #7691 the error is seen in the devtools console log.
tierninho commentedon Aug 2, 2019
Thank you for the update. We do not have a fix as of yet, so please follow along at #7691.
Closing this issue for now.