Closed hightower5 closed 2 years ago
@hightower5 can you create separate issue for crashes with relevant logs? From the current one I see the 0.5.1 stuff only. Currently I have no easy access to Windows OS to check myself.
The humble log-file of humblebundle_0.9.5 is empty. Here is a part of GalaxyClient.log GalaxyClient.log
@hightower5 could you follow this instruction to gather some clues? https://github.com/UncleGoogle/galaxy-integration-humblebundle/issues/155#issuecomment-800666512
I don't understand what I'm doing, but please.
C:\Users\hightower\AppData\Local\GOG.com\Galaxy\plugins\installed\humblebundle_0.9.5>"C:\Program Files (x86)\GOG Galaxy\python\python.exe" -c "import sys; sys.path.append('.'); import plugin; plugin.main()"
Unbehandelte Ausnahme: System.IO.FileLoadException: Die Datei oder Assembly "file:///C:\Users\hightower\AppData\Local\GOG.com\Galaxy\plugins\installed\humblebundle_0.9.5\modules\Python.Runtime.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515) ---> System.NotSupportedException: Es wurde versucht, eine Assembly von einer Netzwerkadresse zu laden, was in früheren Versionen von .NET Framework zum Ausführen der Assembly als Sandkastenassembly geführt hätte. In dieser Version von .NET Framework wird die CAS-Richtlinie standardmäßig nicht aktiviert, dieser Ladevorgang kann daher gefährlich sein. Wenn Sie nicht beabsichtigen, durch diesen Ladevorgang eine Sandkastenassembly zu erstellen, aktivieren Sie den loadFromRemoteSources-Schalter. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=155569".
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
bei System.Reflection.Assembly.LoadFrom(String assemblyFile)
bei clrModule.PyInit_clr()
@hightower5 thanks. Looks like the issue is a duplicate of #155
I have no idea why for some people it happen when Galaxy downloads the release archive from github, but looks like the issue caused by Windows security settings when ZIP containing dll is downloaded: https://stackoverflow.com/questions/34400546/could-not-load-file-or-assembly-operation-is-not-supported-exception-from-hres
Try:
If you could test it on the newest release that would be awesome. I'm asking becasue I'm afraid the plugin can fail on the same reason as is in logs from 0.5.1 version.
Hi unclegoogle,
the workaround helps.
Thank you and best regards
tom
@hightower5 could you check which .NET versions you have installed? https://www.windowscentral.com/how-quickly-check-net-framework-version-windows-10#dotnet_version_filexplorer
Tomorrow, I've shutdown my PC.😉
.NET Framework ver. 4.8.04084
Thanks, that may help in reproduction.
The old version humblebundle_0.5.1 doesn't list any games anymore, and the new version humblebundle_0.9.5 crashes on login.
plugin-humble.log