JuliaPy / JuliaPy/PyPlot.jl

`using PyPlot` fails

Offen
#54 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
488
Forks
90
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Something in the past few weeks has made PyPlot unusable. I'm on PyCall v0.4.5, PyPlot v1.2.5, and PySide v0.0.2.

in the julia terminal:

```
julia> using PyPlot
ERROR: PyError (PyImport_ImportModule)
in pyerr_check at /Users/joshua/.julia/PyCall/src/exception.jl:58
in pyimport at /Users/joshua/.julia/PyCall/src/PyCall.jl:85
in pyinitialize at /Users/joshua/.julia/PyCall/src/PyCall.jl:259
in pyinitialize at /Users/joshua/.julia/PyCall/src/PyCall.jl:447
in pyimport at /Users/joshua/.julia/PyCall/src/PyCall.jl:105
in reload_path at loading.jl:152
in _require at loading.jl:67
in require at loading.jl:51SYSTEM: show(lasterr) caused an error
```

in Ijulia:

```
In[*]: using PyPlot
KERNEL EXCEPTION
access to undefined reference
in convert at /Users/joshua/.julia/PyCall/src/conversions.jl:82
in pystring at /Users/joshua/.julia/PyCall/src/PyCall.jl:542
in show at /Users/joshua/.julia/PyCall/src/exception.jl:35
in showerror at replutil.jl:66
in showerror at replutil.jl:74 (repeats 2 times)
in showerror at replutil.jl:72
in sprint at io.jl:460
in pyerr_content at /Users/joshua/.julia/IJulia/src/execute_request.jl:66
```

```
_
```

_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" to list help topics
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.3.0-prerelease+2570 (2014-04-09 19:29 UTC)
_/ |\__'_|_|_|__'_| | Commit 4fc2a15 (34 days old master)
|__/ | x86_64-apple-darwin13.1.0

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduce `using PyPlot` in Julia 0.3.0 with PyCall v0.4.5, PyPlot v1.2.5, and PySide v0.0.2, starting with the terminal traceback. Read the referenced PyCall files—src/exception.jl, src/PyCall.jl, and src/conversions.jl—and the IJulia execute_request.jl path; done means PyPlot imports without the reported PyError or kernel exception.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, matplotlib, python
Bereich
data-visualization
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.