aidanaden / aidanaden/canvas-sync
Bug Report (unable to download files)
- Linguagem predominante
- Go
- Estrelas
- 10
- Forks
- 2
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
panic: runtime error: index out of range [5] with length 0
goroutine 143 [running]:te
github.com/aidanaden/canvas-sync/internal/pkg/canvas.(*CanvasClient).RecursiveUpdateNode.func3(0x5)
/home/runner/work/canvas-sync/canvas-sync/internal/pkg/canvas/client.go:346 +0x16f
created by github.com/aidanaden/canvas-sync/internal/pkg/canvas.(*CanvasClient).RecursiveUpdateNode in goroutine 135
/home/runner/work/canvas-sync/canvas-sync/internal/pkg/canvas/client.go:343 +0x45f
Checking the canvas webpage, the files that are there appear to be .sql amongst >10 other files, could that be the cause of the problem?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start in internal/pkg/canvas/client.go at lines 343 and 346, where CanvasClient.RecursiveUpdateNode launches the failing goroutine, and reproduce the file download against a course containing .sql and other files. Check whether the file mix causes the index-out-of-range panic; done means the download completes without the panic and the available files are handled.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- go
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100