Chart.combine sometimes results in "Collection was modified; enumeration operation may not execute."
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- fsharp
- Ambito
- data-visualization
Direzione di ricerca
Inizia dallo stack trace attraverso DynamicObj.GetProperties, DynObj.combine, GenericChart.combineLayouts e GenericChart.combine; l’issue non indica file sorgente né test. Riproduci l’eccezione intermittente durante la combinazione dei charts, quindi verifica che la combinazione dei charts non generi più l’errore di modifica della collection e aggiungi la copertura di regressione dove si trovano i test esistenti per questo percorso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.MoveNext()
at <StartupCode$DynamicObj-FSC472>.$DynamicObj.GetProperties@81.GenerateNext(IEnumerable`1& next)
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
at DynamicObj.DynamicObj.GetProperties(Boolean includeInstanceProperties)
at DynamicObj.DynObj.combine(DynamicObj first, DynamicObj second)
at DynamicObj.DynObj.combine(DynamicObj first, DynamicObj second)
at DynamicObj.DynObj.combine(DynamicObj first, DynamicObj second)
at Plotly.NET.GenericChart.combineLayouts@243(Layout first, Layout second)
at Plotly.NET.GenericChart.combine@309.Invoke(GenericChart acc, GenericChart elem)
The sequences of data I'm feeding it are from immutable lists; so I don't think it's a problem with the way I'm calling Plotly.NET.
I can try again (with the same data) and usually it is successful. Seems to be a sporadic issue. Very odd.
- Lingua principale
- F#
- Stelle
- 860
- Fork
- 99
- Merge medio
- 22m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di plotly/Plotly.NET
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
plotly/Plotly.NET#498 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
plotly/Plotly.NET#495 · 3 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
plotly/Plotly.NET#494 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
plotly/Plotly.NET#492 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
plotly/Plotly.NET#485 · 1 commento ·
Tutte le issue di plotly/Plotly.NET
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
scope: charts status: waiting for maintainer
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
chore P3 plotly-internal size: 3 task
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Live-Charts/LiveCharts2#2394 ·
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
jbkunst/highcharter#849 ·