Coder Social home page Coder Social logo

Comments (7)

izuzak avatar izuzak commented on June 7, 2024

Thanks for the report. Can you try updating to the latest version (0.186.0) and see if you can reproduce this in safe mode?

from status-bar.

papermoon1978 avatar papermoon1978 commented on June 7, 2024

No I cannot. Unfortunately. The 186 didn't show up as update in the menu. So I removed atom completely, but cannot install 186 because of an Squirrel error during the setup. :-(

from status-bar.

izuzak avatar izuzak commented on June 7, 2024

Can you share the full error you got during setup?

from status-bar.

papermoon1978 avatar papermoon1978 commented on June 7, 2024

Sure, but if you want I can also post this somewhere else ...

atomsetup 1 exe_2015-03-06_14-34-47

Log mentioned:

Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\andre lerche\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\andre lerche\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\andre lerche\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\andre lerche\AppData\Local\atom\app-0.176.0
ApplyReleasesImpl: runPostInstallAndCleanup: starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\andre lerche\AppData\Local\atom\app-0.176.0\atom.exe]
ApplyReleasesImpl: cleanDeadVersions: for version 0.176.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.176.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\andre lerche\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\andre lerche\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\andre lerche\AppData\Local\atom\app-0.186.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\andre lerche\AppData\Local\atom\app-0.186.0
IEnableLogger: Failed to update local releases file: System.IO.IOException: The file exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at Squirrel.ReleaseEntry.BuildReleasesFile(String releasePackagesDir)
at Squirrel.UpdateManager.ApplyReleasesImpl.b__ec()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.ApplyReleasesImpl.<updateLocalReleasesFile>d__ed.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<LogIfThrows>d__4f1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\andre lerche\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\andre lerche\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\andre lerche\AppData\Local\atom\app-0.186.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\andre lerche\AppData\Local\atom\app-0.186.0
IEnableLogger: Failed to update local releases file: System.IO.IOException: The file exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at Squirrel.ReleaseEntry.BuildReleasesFile(String releasePackagesDir)
at Squirrel.UpdateManager.ApplyReleasesImpl.b__ec()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.ApplyReleasesImpl.<updateLocalReleasesFile>d__ed.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<LogIfThrows>d__4f1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\andre lerche\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\andre lerche\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\andre lerche\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\andre lerche\AppData\Local\atom\app-0.186.0
IEnableLogger: Failed to update local releases file: System.IO.IOException: The file exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at Squirrel.ReleaseEntry.BuildReleasesFile(String releasePackagesDir)
at Squirrel.UpdateManager.ApplyReleasesImpl.b__ec()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.ApplyReleasesImpl.<updateLocalReleasesFile>d__ed.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.<LogIfThrows>d__4f1.MoveNext()

from status-bar.

izuzak avatar izuzak commented on June 7, 2024

Thanks! It seems that there's a few open and closed issues with the same error message. Can you try some of the approaches recommended in those issues and see if they help?

https://github.com/atom/atom/issues?q=is%3Aissue+Failed+to+update+local+releases+file%3A+System.IO.IOException%3A+The+file+exists.

from status-bar.

papermoon1978 avatar papermoon1978 commented on June 7, 2024

Yes you are right. For me cleaning up AppData/local/temp also solved the issue. Also the status bar issue doesn't happen in 186. So both are solved :-)

from status-bar.

izuzak avatar izuzak commented on June 7, 2024

High-5, thanks for taking the time to follow this through! Closing this out then. 😎

from status-bar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.