GW2-Addon-Manager icon indicating copy to clipboard operation
GW2-Addon-Manager copied to clipboard

Unable to open the addon manager as of the latest release (v1.4.2)

Open BrentMifsud opened this issue 2 years ago • 18 comments

Please attach a copy of config.yaml or config.ini to the issue.

Describe the bug After downloading the latest addon manager, I am unable to even open it. I am immediately greeted with a github error.

To Reproduce Try to start Addon manager v1.4.2

Additional context

  1. doesn't seem to be happening with 1.4.1
  2. Downloaded 1.4.2 fresh from github. Didnt upgrade my existing installation.
  3. I downloaded GW2-UOAOM-v1.4.2.zip instead of package.zip if that is of any help (not sure what the difference is between the two)

don't forget to attach the config file to the issue

Unable to attach a config file because it does not exist yet.

image

BrentMifsud avatar Sep 30 '21 00:09 BrentMifsud

I have no idea why Github's API is being this annoying, but I'm afraid the only way to solve this is to wait. I'm working on a new version of the manager that will fix this (among many other things), but it'll take time.

Friendly0Fire avatar Sep 30 '21 00:09 Friendly0Fire

Strangely enough, if you download 1.4.1, then update to 1.4.2, this issue does not happen. Seems to only happen on a fresh install of the addon manager

BrentMifsud avatar Sep 30 '21 01:09 BrentMifsud

How can you update to 1.4.2? Running 1.4.1 has the same error, and there's no auto-updater in 1.4.1 anymore that I can see.

ArchaeanDragon avatar Sep 30 '21 01:09 ArchaeanDragon

How can you update to 1.4.2? Running 1.4.1 has the same error, and there's no auto-updater in 1.4.1 anymore that I can see.

There was an update button at the top of the window when I downloaded 1.4.1 🤷‍♂️

BrentMifsud avatar Sep 30 '21 01:09 BrentMifsud

Yeah, I wasn't able to get to the main window, because it was throwing the github api error in 1.4.1 as well. Seems to be working now, but when I try to update to 1.4.2, it says "download complete", then just sits there. If I try to close it it gives me another error "The system cannot find the file specified" and doesn't update. Trying to manually update to 1.4.2 now. Now GW2Radial is throwing a missing DLL procedure entry point error when I launch the game, but that's something for the GW2 Radial project. It seems to be working now, though.

ArchaeanDragon avatar Sep 30 '21 01:09 ArchaeanDragon

Had a similar issue in 1.4.2 after a fresh install (aka clear everything but gw2.exe and the .dat). Waiting an hour didn't resolve it for me, but going back to1.4.1 worked.

davidlukerice avatar Sep 30 '21 03:09 davidlukerice

I get the same error message when I try to launch GW2-UOAOM v1.4.2 (clean install). GitHub-API-Error

I get another error message when I click "OK" and the blank manager window in the background closes itself. Critical-Error-1

I get yet another error message when I click "OK". If I click "OK" again with this message it repeats once then nothing happens if I click "OK" for the fourth time. Critical-Error-2

Despite having the same issue as the others, I do get a log file: log.txt

Arkkhalis64 avatar Sep 30 '21 06:09 Arkkhalis64

Same issue with v1.4.2

And when I try v1.4.1, this happens... Screenshot 2021-09-30 182029 Screenshot 2021-09-30 182109

TagashiChiro avatar Sep 30 '21 10:09 TagashiChiro

I think there are 2 distincts problems here:

  1. Yes, you'r sometimes hitting the GitHub API threshold with is realy low (60). To know if your IP hits the threshold you can ping rate_limit
  2. But also, because of the refractoring done on the WebClients in version 1.4.2, the function FetchListFromRepo is using the same WebClient object to fetch /branches and then /zipball, creating a race condition. By calling client = UpdateHelpers.GetClient() again, before the second api call, I'm able to start the manager without this error.

lcharrie avatar Sep 30 '21 10:09 lcharrie

@TagashiChiro

And when I try v1.4.1, this happens... !

Error says: "Please verify Game Path is correct". I can't see any game in the Guild Wars 2 folder you gave...

lcharrie avatar Sep 30 '21 11:09 lcharrie

Similar error, stacktrace from log:

9/30/2021 9/30/2021 11:32:03 AM
The invocation of the constructor on type 'GW2_Addon_Manager.OpeningView' that matches the specified binding constraints threw an exception.
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
   at MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
   at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
   at System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState)
   at System.Windows.Navigation.NavigationService.DoNavigate(Uri source, NavigationMode f, Object navState)
   at System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Could not find file 'C:\Program Files\Guild Wars 2\Addon Manager\addonlist'.
   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 System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)
   at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding)
   at GW2_Addon_Manager.ApprovedList.FetchListFromRepo()
   at GW2_Addon_Manager.ApprovedList.GenerateAddonList()
   at GW2_Addon_Manager.OpeningViewModel..ctor()
   at GW2_Addon_Manager.OpeningViewModel.get_GetInstance()
   at GW2_Addon_Manager.OpeningView..ctor()

Ratelimit on the API looks like it should have tokens available: https://api.github.com/rate_limit

{"resources":{"core":{"limit":60,"remaining":21,"reset":1633029589,"used":39,"resource":"core"},"graphql":
{"limit":0,"remaining":0,"reset":1633030361,"used":0,"resource":"graphql"},"integration_manifest":
{"limit":5000,"remaining":5000,"reset":1633030361,"used":0,"resource":"integration_manifest"},"search":
{"limit":10,"remaining":10,"reset":1633026821,"used":0,"resource":"search"}},"rate":
{"limit":60,"remaining":21,"reset":1633029589,"used":39,"resource":"core"}}

ROMzombie avatar Sep 30 '21 18:09 ROMzombie

Strangely enough, if you download 1.4.1, then update to 1.4.2, this issue does not happen. Seems to only happen on a fresh install of the addon manager

This workaround worked for me. Downloaded 1.4.1 and then updated. Issue was gone.

lalmanzar avatar Sep 30 '21 20:09 lalmanzar

The Update button didn't really do anything so I did a fresh manual installation and ran into the same issue as OP. I noticed my previous installation directory had a bunch of files that the new installation didn't have, so I just copied over those missing files and it started working for me 🤷‍♂️

williamboman avatar Sep 30 '21 21:09 williamboman

I woke up today and tried to load up the AddonManager for the first time. image

rogerleecormier avatar Oct 01 '21 11:10 rogerleecormier

I can confirm that downloading 1.4.1, then using the update button at the top to download 1.4.2 does create a working installation.

rogerleecormier avatar Oct 01 '21 11:10 rogerleecormier

Where can I find instructions on completely removing AddonManager and all the related dlls?

1.4.1 and 1.4.2 give me errors and now even GW2 won't start... :(

jopemoro avatar Oct 01 '21 17:10 jopemoro

@jopemoro Try deleting the addons folder inside your GW2 installation? Might want to back it up if you want to attempt restoring any addon settings later

williamboman avatar Oct 01 '21 18:10 williamboman

@jopemoro Try deleting the addons folder inside your GW2 installation? Might want to back it up if you want to attempt restoring any addon settings later

Tx!! Ended up reinstalling GW2 and doing a manual install of GW2radial... I'll wait until Addonmanager works again :)

jopemoro avatar Oct 01 '21 22:10 jopemoro