question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update failed 1004.1 -> 1017.0 | 1020.0

See original GitHub issue

I ran \AppData\Local\osulazer\osudll.cmd via running lazer rev 1004.1, got that:

2018-10-18 20:38:20> Program: Starting Squirrel Updater: --processStartAndWait osu!.dll
2018-10-18 20:38:21> Program: Want to launch 'C:\Users\xxx\AppData\Local\osulazer\app-2018.1017.0\osu!.exe'
2018-10-18 20:38:21> Program: About to wait for parent PID 1728
2018-10-18 20:38:22> Program: About to launch: 'C:\Users\xxx\AppData\Local\osulazer\app-2018.1017.0\osu!.exe': 
2018-10-18 20:38:22> Program: Failed to start process: System.ComponentModel.Win32Exception (0x80004005): アクセスが拒否されました。
   場所 System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   場所 System.Diagnostics.Process.Start()
   場所 System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   場所 Squirrel.Update.Program.ProcessStart(String exeName, String arguments, Boolean shouldWait)

(where xxx is censored my computer name) the 1017 exe exists there. also, I’d like to know what the errorcode means.

details: OS: windows 7 x 64 Note: I set the update.exe’s property ‘run as admin’ checked.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peppycommented, Oct 22, 2018

Closing as duplicate of #3377 (please don’t add this to the title in future).

0reactions
ptrdiff-tcommented, Oct 21, 2018

I ran update --install=app-2018.1020.0 :

2018-10-21 21:34:01> Program: Starting Squirrel Updater: --install=app-2018.1020.0
2018-10-21 21:34:02> Program: Starting install, writing to C:\Users\xxx\AppData\Local\osulazer\app-2018.1020.0
2018-10-21 21:34:02> Program: RELEASES doesn't exist, creating it at C:\Users\xxx\AppData\Local\osulazer\app-2018.1020.0\RELEASES
2018-10-21 21:34:03> Unhandled exception: System.AggregateException: 1 つ以上のエラーが発生しました。 ---> System.IO.DirectoryNotFoundException: パス 'C:\Users\xxx\AppData\Local\osulazer\app-2018.1020.0' の一部が見つかりませんでした。
   場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   場所 System.IO.FileSystemEnumerableIterator`1.CommonInit()
   場所 System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   場所 System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   場所 System.IO.DirectoryInfo.GetFiles()
   場所 Squirrel.Update.Program.<Install>d__4.MoveNext()
   --- 内部例外スタック トレースの終わり ---
   場所 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   場所 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   場所 System.Threading.Tasks.Task.Wait()
   場所 Squirrel.Update.Program.executeCommandLine(String[] args)
   場所 Squirrel.Update.Program.main(String[] args)
---> (内部例外 #0) System.IO.DirectoryNotFoundException: パス 'C:\Users\xxx\AppData\Local\osulazer\app-2018.1020.0' の一部が見つかりませんでした。
   場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   場所 System.IO.FileSystemEnumerableIterator`1.CommonInit()
   場所 System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   場所 System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   場所 System.IO.DirectoryInfo.GetFiles()
   場所 Squirrel.Update.Program.<Install>d__4.MoveNext()<---

I think it should create directory app-{version} . Btw if there exists,

2018-10-21 21:36:45> Program: Starting Squirrel Updater: --install=app-2018.1020.0
2018-10-21 21:36:45> Program: Starting install, writing to C:\Users\xxx\AppData\Local\osulazer\app-2018.1020.0
2018-10-21 21:36:45> Program: RELEASES doesn't exist, creating it at C:\Users\xxx\AppData\Local\osulazer\app-2018.1020.0\RELEASES
2018-10-21 21:36:46> Unhandled exception: System.AggregateException: 1 つ以上のエラーが発生しました。 ---> System.InvalidOperationException: シーケンスに要素が含まれていません
   場所 System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   場所 Squirrel.Update.Program.<Install>d__4.MoveNext()
   --- 内部例外スタック トレースの終わり ---
   場所 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   場所 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   場所 System.Threading.Tasks.Task.Wait()
   場所 Squirrel.Update.Program.executeCommandLine(String[] args)
   場所 Squirrel.Update.Program.main(String[] args)
---> (内部例外 #0) System.InvalidOperationException: シーケンスに要素が含まれていません
   場所 System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   場所 Squirrel.Update.Program.<Install>d__4.MoveNext()<---

(same #3550 ) If someone has any version the update worker, please tell me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't auto update · Issue #3550 · ppy/osu
I accepted update from 2018.928.0, and launched osu!.exe. But "Cannot access specified ... Update failed 1004.1 -> 1017.0 | 1020.0 #3612.
Read more >
1004.1 Design occupant load.
Where occupants egress from one or more rooms, areas or spaces through others, the design occupant load shall be the combined occupant load...
Read more >
Chapter 10: Means of Egress, California Building Code ...
1017 Exit Access Travel Distance. Go to chapter icon · 1018 Aisles. Go to chapter icon · 1019 Exit Access Stairways and Ramps....
Read more >
780 CMR 10.00
An area where persons unable to use stairways can remain temporarily to await instructions or assistance during emergency evacuation. BLEACHERS.
Read more >
Seattle Building Code, Chapter 10, Means of Egress
1004.1 Design occupant load. In determining means of egress requirements, the number of occupants for whom means of egress facilities are provided shall...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found