JuliaPy / JuliaPy/PyCallJLD.jl

`ERROR: LoadError: type DataType has no field mutable`

Aperta
#19 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
5
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm having a similar issue to #18 while saving `PyObject` arrays. I have seen that in that issue they mention than deleting the environment solved it. I would very much like to avoid that, since messing with conda environments is always dangerous.

I'm just doing:
```
JLD.save(joinpath(ODINN.root_dir, "test/data/gdirs.jld"), "gdirs", gdirs)
```

Is this normal? What is the issue here?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start with the JLD.save call shown in the issue and the `DataType has no field mutable` error, then compare the context and proposed resolution in issue #18. Reproduce the failure when saving the `PyObject` array; done means the cause is identified and saving works without deleting the environment.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
julia, python
Ambito
data
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.