-
Notifications
You must be signed in to change notification settings - Fork 392
"github" package causes Atom to not save or open files #2382
Comments
This comment has been minimized.
This comment has been minimized.
Could this be related to #2308? |
Not sure but it also seems related to an issue posted in 2018, a year before that PR. I did some more testing and I could not reproduce the problem in a newly initialized repository without an origin. However, after adding an origin (only |
This behaviour definitely wasn't around until very recently. I am a heavy user of github integration, and it showed up around the same time I noticed they changed the way they handle git context. |
By the way, If you, like me cannot work properly until GitHub decides to do something about this situation, you can revert to older github package version like this:
They introduced the new behaviour in version 0.31.1-x It will immediately tell you there is a newer version available, so don't upgrade it until you know they fixed it. When they do, you should remove github package like mentioned above to switch back to bundled version |
I am still on |
Are you already following #2335? We're discussing git context management changes there. I'd be curious to know if the directions we're considering would be sufficient for you. As for the actual issue here: this is an utter mystery to me and I'm not sure where to even start debugging it. I don't believe this package hooks save or open actions at all. Maybe we're exhausting open file descriptors or something? Are there any errors in the console when you try to save or open? Or, if not there, on the terminal if you launch atom with the |
I was looking for something like that too, but I had no idea where to look for that.
Given the intermittentness, if there are no hooks then that makes sense to me. Does having a remote impact file descriptors?
Only violations in the console and generic Gtk warnings on the terminal. I did get some errors regarding the nsfw package in Console warnings[Violation] 'load' handler took 166ms [Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event handler as 'passive' to make the page more responsive. See [Violation] Forced reflow while executing JavaScript took 106ms [Violation] Forced reflow while executing JavaScript took 53ms Gtk warnings(atom:24460): Gtk-WARNING **: 17:14:02.694: Theme parsing error: gtk.css:127:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version (atom:24460): Gtk-WARNING **: 17:14:02.694: Theme parsing error: gtk.css:128:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version (atom:24460): Gtk-WARNING **: 17:14:02.694: Theme parsing error: gtk.css:132:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version |
Hmmm, this means it might have been there a while longer and got worse over time.
I'll take a stab at it and report back |
sure, after uninstalling the community package everything seems to be fine 🤦♂️ I'll get back when/if it returns. Maybe @larsgw can reproduce something |
I temporarily enabled it again on a repository with a GitLab remote to use the Git tab (perhaps those should be separated) and that works. I think there's really a problem with GitHub remotes. |
I am hit by this as well and disabling the github plugin does solve it, but the functionality was nice to have |
I just upgraded to |
I have had this issue in versions 1.50.0, 1.51.0 and 1.52.0. The problem occurs still in safe mode. |
Prerequisites
Note:
--clear-window-state
does not seem to do much, but from what I have seen it does not help with the issue.Description
After opening a few files, I cannot save changes or open additional files. This is fixed for a while after restarting, but not for long. I narrowed it down to the
github
package (with an open Git tab).Steps to Reproduce
Expected behavior:
Continue to be able to open and save files.
Actual behavior:
Saving and opening silently fails, both in terms of UI and what is in the file system.
Reproduces how often:
Every time, but the number of files you can open seems to differ. I only ever get to save once though.
Versions
Additional Information
The text was updated successfully, but these errors were encountered: