jverzani / PySide.jl

julia interface for accessing Qt via PyCall and PySide
MIT License
18 stars 6 forks source link

pyqtgraph not optional #8

Closed sam81 closed 10 years ago

sam81 commented 10 years ago

The documentation seems to suggest that pyqtgraph is an optional dependency to run some of the examples, but actually calling PySide without pyqtgraph installed results in an error:

using PySide 
ERROR: PyError (PyImport_ImportModule) <type 'exceptions.ImportError'>
ImportError('No module named pyqtgraph',)

 in pyerr_check at /home/sam/.julia/v0.3/PyCall/src/exception.jl:58
 in pyimport at /home/sam/.julia/v0.3/PyCall/src/PyCall.jl:85
 in reload_path at loading.jl:144
 in _require at loading.jl:59
 in require at loading.jl:43
while loading /home/sam/.julia/v0.3/PySide/src/pyqtgraph.jl, in expression starting on     line 723
while loading /home/sam/.julia/v0.3/PySide/src/PySide.jl, in expression starting on line 31

which is easily remedied by installing pyqtgraph

jverzani commented 10 years ago

Okay, this should be addressed. Thanks for the feedback.