JuliaPy / JuliaPy/PyCallJLD.jl

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

Offen
#19 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
5
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
data
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.