Closed STREETKILLER007 closed 5 years ago
GitMate.io thinks possibly related issues are https://github.com/EtienneCmb/visbrain/issues/18 (Topo Error), https://github.com/EtienneCmb/visbrain/issues/22 (Visbrain in Pythonnet), https://github.com/EtienneCmb/visbrain/issues/12 (Brain import error), and https://github.com/EtienneCmb/visbrain/issues/13 (Import error: cannot import _cntr).
Ok, i realized that this error occur because i pass in variable by wrong sequence.
wrong sequence :
myTopo.add_topoplot(myName, myChannels, Py.kw("channels", myData), Py.kw("title", myTitle), Py.kw("cblabel", myCblabel));
correct sequence :
myTopo.add_topoplot(myName, myData, Py.kw("channels", myChannels), Py.kw("title", myTitle), Py.kw("cblabel", myCblabel));
Type in correct sequence works.
I trying to implement Visbrain in a c# program, using Visual Studio 2017 Community.
Embedding python in c# by using Pythonnet.
below is my
pip list
Follow is the code :
error message :
Python.Runtime.PythonException: 'UnboundLocalError : local variable 'keeponly' referenced before assignment'
stack trace :
Any idea on this issue ? Thank You.