ThingEngineering / wowthing-collector

WoW addon that collects data for WoWthing
MIT License
8 stars 5 forks source link

.NET Unhandled Exception #6

Closed Quartzfire closed 2 years ago

Quartzfire commented 2 years ago

I get a .net unhandled exception when I log out of characters and I assume it tries to do the upload.

I've deleted wowthing and re-downloaded it and tried a few times. It might work fine a few times when I log out of wow, but then the exception starts.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified. File name: 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' at WoWthing_Sync.SyncForm.Upload(String filePath) at WoWthing_Sync.SyncForm._timer_Elapsed(Object sender, ElapsedEventArgs e)

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

WoWthing Sync Assembly Version: 0.5.1.0 Win32 Version: 0.5.1.0 CodeBase: file:///C:/Users/GrimReaper/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/Startup/WoWthing%20Sync.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

madcowfred commented 2 years ago

This usually means that the files haven't been extracted properly (Newtonsoft.Json.dll is included in the zip), you need to copy/extract all of the files out of the zip to a real folder. If you've already done that, errr... not sure :(

Quartzfire commented 2 years ago

Hi,

Thanks for quick feedback.

The file is there

I’ve downloaded the zip again and extracted it already twice before.

I’ll try an entirely different path to extract to on C:.

As I said, it works for a couple of days, then I start to get this issue.

Cheers,

Quartz

From: Freddie @.> Sent: 17 July 2022 17:22 To: ThingEngineering/wowthing-collector @.> Cc: Quartzfire @.>; Author @.> Subject: Re: [ThingEngineering/wowthing-collector] .NET Unhandled Exception (Issue #6)

This usually means that the files haven't been extracted properly (Newtonsoft.Json.dll is included in the zip), you need to copy/extract all of the files out of the zip to a real folder. If you've already done that, errr... not sure :(

— Reply to this email directly, view it on GitHub https://github.com/ThingEngineering/wowthing-collector/issues/6#issuecomment-1186561658 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASELIOLQNTTKIZ3AJLJBF33VUQXMFANCNFSM53ZV5EXQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ASELIOKLEJ7ILBZLGX364ZDVUQXMFA5CNFSM53ZV5EX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI24X46Q.gif Message ID: @. @.> >

madcowfred commented 2 years ago

Not sure how that could even happen then - if it works at all it should keep working, suddenly deciding that a file has gone missing is very strange.