HARK FORUM › HARKError: "No output terminal in network 'MAIN'" › Reply To: HARKError: "No output terminal in network 'MAIN'"
Hi,
I executed a modified my_sep_rec_offline_2.n NOT by harkmw.exe but on HARK Designer 3.0.0, and got another error shown below.
Should I add any node?
Thank you.
Kohira
—————————-
Stopped
Start HARK middleware:
network: my_sep_rec_offline_2.n
execute: my_sep_rec_offline_2.n
process: local
toolbox: [‘C:/Program Files/HARK/lib/hark/toolbox’]
args: []
reading A matrix
72 srcs, 8 microphones, 512 points
Traceback (most recent call last):
File “C:\ProgramData\Anaconda3\Scripts\batchflow-script.py”, line 11, in <module>
load_entry_point(‘harkmw==3.0.0’, ‘console_scripts’, ‘batchflow’)()
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\main.py”, line 102, in main
app.run(process_name)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\process.py”, line 71, in run
network.run(self)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 46, in run
self.proceed(0, process)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 103, in proceed
count = self.proceed_frame(count, process)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 134, in proceed_frame
minimum_count = min(minimum_count, node.push_data(None, count, process))
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\node.py”, line 129, in push_data
minimum_target_count = min(minimum_target_count, output_proxy.push_data(target_count, process))
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\proxy.py”, line 180, in push_data
count = self.output_node.push_data(self, count, process)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\node.py”, line 129, in push_data
minimum_target_count = min(minimum_target_count, output_proxy.push_data(target_count, process))
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\proxy.py”, line 178, in push_data
self.output_node.network.push_data(input, count, process)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 225, in push_data
return self.proceed(count, process)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 78, in proceed
condition_satisfied = node.get_output(“OUTPUT”, internal_count)
File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\types\native_node.py”, line 126, in get_output
return self.native_node.get_output(name, count)
RuntimeError: HARK-Middleware: HARK exception thrown at harkmw/src/node.cc:215 (Node_get_output): Cast error: Trying to cast ObjectRef (N4HARK7FILEPTRE) into N4HARK7IStreamE
C:\msys64\home\NAE2\work\src\hark-base\hark-base\src\BufferedNode.cc line 98: Node AudioStreamFromWave (type 19AudioStreamFromWave) Exception caught in BufferedNode::getOutput
C:\msys64\home\NAE2\work\src\hark-base\hark-base\src\BufferedNode.cc line 98: Node ProxyNode (type N6HARKMW9ProxyNodeE) Exception caught in BufferedNode::getOutput
C:\msys64\home\NAE2\work\src\hark-base\hark-base\src\Collector.cc line 91: Node Collector (type N4HARK9CollectorE) Exception caught in Collector::getOutput
done
initialize
—————————-