Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstall fails on Win8.1 following uninstall via setup. #338

Closed
aurodev opened this issue Jan 22, 2019 · 9 comments · Fixed by phr00t/FocusEngine#23
Closed

Reinstall fails on Win8.1 following uninstall via setup. #338

aurodev opened this issue Jan 22, 2019 · 9 comments · Fixed by phr00t/FocusEngine#23
Assignees
Milestone

Comments

@aurodev
Copy link

@aurodev aurodev commented Jan 22, 2019

Release Type:
Official

Version:
3.0.0.6 Official
3.1 Beta Official
Launcher 3.0.5

Platform(s):
Windows 8.1

System
OS/device including version:
Windows 8.1 64bit, 8GB AMD FX 6350 6 core
.NET framework installed as of 1.21.19 .NET 4.7.2 Reg key: Release REG_DWORD 461814
Nuget 4.92

Graphics Chipset
AMD Radeon HD 7700 Series
Memory Size 1024 MB
Radeon Software Version 17.4.4

Describe the bug
For us an uninstall-Reinstall of Xenko and the launcher resulted in:

  1. Local dev copy of Xenko 3.0.0.6 that was previously building and working exits with an invalid operation in mscorlib under debug in VS2017, built but would not run. XenkoGameStudio.exe shows in the process list but shuts down without window display.

  2. Clean reinstall (multiple times) of the Xenko launcher v.3.0.5 and attempted install of 3.0.0.6 or 3.1beta presents with the error shown in the launcher screenshot and below.

To Reproduce
Steps to reproduce the behavior:

  1. Download the launcher and attempt to install Xenko following an uninstall of Xenko (3.0.0.6 and 3.1 beta)

Expected behavior
A proper install without errors.

Screenshots
If applicable, add screenshots to help explain your problem (use GitHub drag & drop)
image

Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)

An error occurred while installing version 3.0.0.6.
Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
 at System.IO.Compression.ZipArchive.ReadCentralDirectory()
 at System.IO.Compression.ZipArchive.get_Entries()
 at NuGet.Packaging.ZipArchiveExtensions.GetFiles(ZipArchive zipArchive)
 at NuGet.Protocol.LocalV2FindPackageByIdResource.GetPackageInfosCore(String id, ILogger logger)
 at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
 at NuGet.Protocol.LocalV2FindPackageByIdResource.GetPackageInfos(String id, SourceCacheContext cacheContext, ILogger logger)
 at NuGet.Protocol.LocalV2FindPackageByIdResource.GetAllVersionsAsync(String id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken)
 at NuGet.Commands.SourceRepositoryDependencyProvider.<GetAllVersionsAsync>d28.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at NuGet.Commands.SourceRepositoryDependencyProvider.<FindLibraryCoreAsync>d20.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at NuGet.Commands.SourceRepositoryDependencyProvider.<>cDisplayClass19_0.<<FindLibraryAsync>b0>d.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at NuGet.Commands.SourceRepositoryDependencyProvider.<FindLibraryAsync>d19.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at NuGet.DependencyResolver.ResolverUtility.<>cDisplayClass7_1.<<FindLibraryFromSourcesAsync>b0>d.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at NuGet.DependencyResolver.ResolverUtility.<FindLibraryFromSourcesAsync>d7.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Additional context
Googling the error "Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory." shows similar issues with downloading/uploading zip files.

@aurodev aurodev added the bug label Jan 22, 2019
@Kryptos-FR

This comment has been minimized.

Copy link
Collaborator

@Kryptos-FR Kryptos-FR commented Jan 22, 2019

Could you give us the list of nuget package sources currently existing and activated?

In Visual Studio, go to Tools > Options command and scroll to NuGet Package Manager, then select Package Sources.

@aurodev

This comment has been minimized.

Copy link
Author

@aurodev aurodev commented Jan 23, 2019

Package sources
image

Also the latest master does build, after waiting 5 min as DiegoBM suggested but when XenkoGameStudio.exe is run a dialog box pops up that then automatically opens a text editor with a similar central directory error.

image

nuget_error.txt

@aurodev

This comment has been minimized.

Copy link
Author

@aurodev aurodev commented Jan 23, 2019

Even with a fresh reinstall of the launcher it seems to still end up with these errors.
Will try deselecting the other two local sources... is this how Xenko auto detects installed versions??

@xen2

This comment has been minimized.

Copy link
Member

@xen2 xen2 commented Jan 23, 2019

What happens if you delete xenko\xenko (4th source)? (not only uncheck but delete with X button)
If not enough, pleas do that also with xenko (5th source) and then xenko dev (3rd source)

@aurodev

This comment has been minimized.

Copy link
Author

@aurodev aurodev commented Jan 23, 2019

After deselecting the 2 local /Document sources and a rebuild all of the latest master XenkoGameStudio.exe runs, does the privacy acceptance box then shuts down and the error popup shows.
nuget_error2.txt

Will try with the other sources deleted and post that tomorrow...

@aurodev

This comment has been minimized.

Copy link
Author

@aurodev aurodev commented Jan 23, 2019

A little early...

You were right. Deleting the 3 local sources worked.
image
image

Will try reinstalling the launcher tomorrow.

@xen2

This comment has been minimized.

Copy link
Member

@xen2 xen2 commented Jan 23, 2019

OK thanks for the update!
I will think about automatically purging non-existant Xenko feeds automatically.

@aurodev

This comment has been minimized.

Copy link
Author

@aurodev aurodev commented Jan 23, 2019

Launcher and GameStudio now behave normally.

image
launcherreinstall

@aurodev aurodev closed this Jan 23, 2019
@xen2

This comment has been minimized.

Copy link
Member

@xen2 xen2 commented Jan 25, 2019

I will reopen to do the following improvement on Xenko side:
When Xenko or Xenko Launcher is started, check all Xenko package sources and delete the ones for which folder doesn't exist anymore.

@xen2 xen2 reopened this Jan 25, 2019
@xen2 xen2 self-assigned this Jan 25, 2019
@xen2 xen2 added this to the 3.1 milestone Jan 25, 2019
@xen2 xen2 added the area-Launcher label Jan 25, 2019
@xen2 xen2 closed this in 293d60a Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.