trovato il tuo bug e corretto (mi auguro

ho ancora 4 punti da chiudere prima di pubblicare, ti aggiorno
Codice: Seleziona tutto
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IList`1[GotScraper2020C.feel_scrape_stats]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'err_code', line 1, position 12.
in Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
in Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
in Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
in Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
in Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
in Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
in GotScraper2020C.FormPrincipale.AggiornaStatistiche() in D:\Progetti\Source\Repos\GotScraper2020C\FormPrincipale.cs:riga 7297
in GotScraper2020C.FormPrincipale.BackgroundWorker1_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in D:\Progetti\Source\Repos\GotScraper2020C\FormPrincipale.cs:riga 233
in System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4250.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
GotScraper2020C
Versione assembly: 1.0.0.61
Versione Win32: 1.0.0.61
Base di codice: file:///M:/Programmi/GotScraper/GotScraper2020C.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4270.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4200.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Infragistics4.Win.Misc.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.Misc.v17.2.DLL
----------------------------------------
Infragistics4.Win.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.v17.2.DLL
----------------------------------------
Infragistics4.Shared.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Shared.v17.2.DLL
----------------------------------------
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4190.0 built by: NET48REL1LAST_B
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4270.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
UIAutomationProvider
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4270.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
LiteDB
Versione assembly: 5.0.9.0
Versione Win32: 5.0.9
Base di codice: file:///M:/Programmi/GotScraper/LiteDB.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Versione assembly: 0.0.0.0
Versione Win32: 4.8.4250.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Newtonsoft.Json
Versione assembly: 12.0.0.0
Versione Win32: 12.0.3.23909
Base di codice: file:///M:/Programmi/GotScraper/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4250.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4270.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
UIAutomationTypes
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4270.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
Infragistics4.Win.UltraWinStatusBar.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinStatusBar.v17.2.DLL
----------------------------------------
Infragistics4.Win.UltraWinGrid.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinGrid.v17.2.DLL
----------------------------------------
Infragistics4.Win.UltraWinDataSource.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinDataSource.v17.2.DLL
----------------------------------------
Infragistics4.Win.UltraWinTabControl.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinTabControl.v17.2.DLL
----------------------------------------
Infragistics4.Win.UltraWinTree.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinTree.v17.2.DLL
----------------------------------------
Infragistics4.Win.UltraWinEditors.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinEditors.v17.2.DLL
----------------------------------------
Infragistics4.Win.UltraWinListView.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinListView.v17.2.DLL
----------------------------------------
Infragistics4.Win.UltraWinFormattedText.WordWriter.v17.2
Versione assembly: 17.2.20172.2006
Versione Win32: 17.2.20172.2006
Base di codice: file:///M:/Programmi/GotScraper/Infragistics4.Win.UltraWinFormattedText.WordWriter.v17.2.DLL
----------------------------------------
Vlc.DotNet.Forms
Versione assembly: 3.1.0.0
Versione Win32: 3.1.0.0
Base di codice: file:///M:/Programmi/GotScraper/Vlc.DotNet.Forms.DLL
----------------------------------------
Vlc.DotNet.Core
Versione assembly: 3.1.0.0
Versione Win32: 3.1.0.0
Base di codice: file:///M:/Programmi/GotScraper/Vlc.DotNet.Core.DLL
----------------------------------------
Vlc.DotNet.Core.Interops
Versione assembly: 3.1.0.0
Versione Win32: 3.1.0.0
Base di codice: file:///M:/Programmi/GotScraper/Vlc.DotNet.Core.Interops.DLL
----------------------------------------
Accessibility
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.VisualBasic
Versione assembly: 10.0.0.0
Versione Win32: 14.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
System.Drawing.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.resources/v4.0_4.0.0.0_it_b03f5f7f11d50a3a/System.Drawing.resources.dll
----------------------------------------
FastMember
Versione assembly: 1.5.0.0
Versione Win32: 1.5.0.0
Base di codice: file:///M:/Programmi/GotScraper/FastMember.DLL
----------------------------------------
FastMember_dynamic
Versione assembly: 0.0.0.0
Versione Win32: 1.5.0.0
Base di codice: file:///M:/Programmi/GotScraper/FastMember.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.
Ad esempio:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
Non ho controllato fino ad ora, e credo che ci sia un problema: le cartelle dove avrebbe dovuto mettere i vari files (ad esempio [...]\Games\75\Media\Images\Screenshot\ e [...]\Games\75\Media\Videos\) non posso aprirle. Windows mi restituisce questo errore: "Impossibile accedere a <cartella>. La directory o il file è danneggiato e illeggibile."
@Gothrek grazie mille del lavoro fatto, adesso parteGothrek ha scritto: ↑20/11/2020, 18:32 Alfa7.2
In questa versione:
Implementazioni:
- modificati i protocolli di sicurezza verso screenscraper per cui su sistemi operativi troppo vecchi si veniva rifiutati (segnalato da @dR.pRoDiGy)
- aggiornata applicazione con le ultime api di screenscraper
- aggiornate le librerie del vlc per cui si produceva un errore (segnalato da @Macho72 )
- aggiunta tabellina per lo status dei server
- aggiunto bottone stop scraping
- eliminate le checkbox per l'edit delle opzioni
Corretti i seguenti bug:
- corretto bug per cui se si guardavano media di un sistema in scraping l'app si bloccava
- corretto errore di digitazione nella creazione del file gamelist
- corretto bug per cui clickacndo sulel opzioni di un sistema in griglia non risultavano aggiornati nella corrispondente tab
- corretto bug per il quale su ricerca di rom per nome su screenscraper non venivano trovati risultati
- eliminato bug per cui veniva automaticamente messo in play il video di una rom alla selezione di un sistema (@adolfo69 )
- corretto bug per la navigazione con le freccie attraverso i tile
- tornata visibile la possibilità di NON copiare le rom nel server media
@Gothrek , ma i BIOS io li ho messi nella cartella bios dove per le cartelle ha aggiunto quello che mancava e per i vari file ha sovrascritto a quelli esistenti...... risultato penso corretto perché adesso mi dice che non ci sono bios mancanti....
io non parlavo dei bios, ma delle rom, file gamelist e cartella media per le immagini
Scusa non ho capito, forse è il sonno.Macho72 ha scritto: ↑28/11/2020, 19:18 @Gothrek ho fatto lo scraping per amiga500, ha trovato solo l'immagine per un gioco a adesso i giochi sono stati rinaminati con il nome di quel gioco... come posso rimediare?
una volta finito lo scraping ho solo guardato in server media la roms e c' era solo quel gioco
scusa ma come si fa a fare questo controllo? non ne ho la più pallida idea....
ok risolto, infatti i file .exe erano solo un collegamento per il download