I have checked the file ChunkerSubPipe.piper for sure exists in 
ctakes-chunker-res\target\classes\org\apache\ctakes\chunker\pipeline
and in \ctakes-chunker-res\src\main\resources\org\apache\ctakes\chunker\pipeline
loading DefaultTokenizerPipeline shows no errors, the problem only with 
ChunkerSubPipe.piper
I tried to install cTAKES on 2 different computers and got same issue on both.
it only happens when I run from PiperRunnerGui (same as the image attached) 
No problems if I use Profilers





    On Monday, 23 December 2019, 4:54:05 am AEDT, Finan, Sean 
<sean.fi...@childrens.harvard.edu> wrote:  
 
 
​Hi Akram,





I am not sure why you are seeing that error message.  




That method will search the classpath for "ChunkerSubPipe.piper", which 
includes the ctakes-chunker-res*.jar in the lib/ directory of a binary 
installation or the ctakes-chunker-res/src/main/resources/ directory tree in a 
source sandbox.   It should also traverse the resources/ directory tree in both 
installation types.




As long as the file exists in there and the classpath is set it should find it.





Can you check your installation and see if that file is missing for some reason?





The path is something like org.apache.ctakes.chunker.pipeline.





Sean

From: Akram <as...@yahoo.com.INVALID>
Sent: Sunday, December 22, 2019 3:50 AM
To: dev@ctakes.apache.org
Subject: "No piper file found for ChunkerSubPipe" on debug [EXTERNAL] 
| * External Email - Caution *
 |


I followed Sean's instructions to run "runPiperGUI" from Profiles using 
"DefaultFastPipeline_Test.piper" file
works perfectly.

I tried to debug the process ( I will do some changes later )
I run "PiperRunnerGUI"  using "DefaultFastPipeline_Test.piper" file
but I get this error !
"No piper file found for ChunkerSubPipe"


Then this error "Piper File not found: ChunkerSubPipe"
Then this error "Could not load Piper File 
J:\cTAKES\ctakes-clinical-res\src\main\resources\org\apache\ctakes\clinical\pipeline\DefaultFastPipeline_Test.piper"
I tried to debug. and limited the problem in Line 319 in PiperFileReader.java
stream = FileLocator.getStreamQuiet( packageName.replace( '.', '/' ) + 
"/pipeline/" + filePath );
Then stopped at getStreamQuietfunction and could not know why it does not find 
the ChunkerSubPipe.piper!
Can someone help me identifying what is the cause of this problem?
Appreciate your help.


  

Reply via email to