-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "was not completed in time" error when preprocessing dataset #115
Comments
Hi @AftabHussain , The fact that the error includes Can you verify your paths? |
Hi @urialon , My pleasure, thank you for your message. Yes I entered the directory path in the |
Hi @AftabHussain ,
Uri |
Hi @urialon , main void,Void0|Mth|Nm1,METHOD_NAME void,Void0|Mth|Prm|VDID0,args void,Void0|Mth|Prm|Cls1,string void,Void0|Mth|Prm|ArBr2,[] METHOD_NAME,Nm1|Mth|Prm|VDID0,args METHOD_NAME,Nm1|Mth|Prm|Cls1,string METHOD_NAME,Nm1|Mth|Prm|ArBr2,[] METHOD_NAME,Nm1|Mth|Bk|Try|Bk|Ex|As0|Nm0,s|command|line|values METHOD_NAME,Nm1|Mth|Bk|Try|Bk|Ex|As0|ObjEx|Cls0,command|line|values METHOD_NAME,Nm1|Mth|Bk|Try|Bk|Ex|As0|ObjEx|Nm1,args METHOD_NAME,Nm1|Mth|Bk|Try|Catch|Prm|VDID0,e METHOD_NAME,Nm1|Mth|Bk|Try|Catch|Prm|Cls1,cmd|line|exception METHOD_NAME,Nm1|Mth|Bk|Try|Catch|Bk|Ex|Cal0|Nm0,e METHOD_NAME,Nm1|Mth|Bk|Try|Catch|Bk|Ex|Cal0|Nm2,print|stack|trace METHOD_NAME,Nm1|Mth|Bk|If|Neq|Fld0|Nm0,s|command|line|values METHOD_NAME,Nm1|Mth|Bk|If|Neq|Fld0|Nm2,file METHOD_NAME,Nm1|Mth|Bk|If|Neq|Null1,null METHOD_NAME,Nm1|Mth|Bk|If|Bk|Ex|VDE|Cls0,extract|features|task METHOD_NAME,Nm1|Mth|Bk|If|Bk|Ex|VDE|VD|VDID0,extract|features|task METHOD_NAME,Nm1|Mth|Bk|If|Bk|Ex|Cal0|Nm0,extract|features|task METHOD_NAME,Nm1|Mth|Bk|If|Bk|Ex|Cal0|Nm2,process|file METHOD_NAME,Nm1|Mth|Bk|If|If|Neq|Fld0|Nm0,s|command|line|values METHOD_NAME,Nm1|Mth|Bk|If|If|Neq|Fld0|Nm2,dir METHOD_NAME,Nm1|Mth|Bk|If|If|Neq|Null1,null METHOD_NAME,Nm1|Mth|Bk|If|If|Bk|Ex|Cal0|Nm1,extract|dir args,VDID0|Prm|Cls1,string args,VDID0|Prm|ArBr2,[] args,VDID0|Prm|Mth|Bk|Try|Bk|Ex|As0|Nm0,s|command|line|values args,VDID0|Prm|Mth|Bk|Try|Catch|Prm|VDID0,e args,VDID0|Prm|Mth|Bk|Try|Catch|Prm|Cls1,cmd|line|exception args,VDID0|Prm|Mth|Bk|If|Neq|Fld0|Nm0,s|command|line|values args,VDID0|Prm|Mth|Bk|If|Neq|Fld0|Nm2,file args,VDID0|Prm|Mth|Bk|If|Neq|Null1,null args,VDID0|Prm|Mth|Bk|If|Bk|Ex|VDE|Cls0,extract|features|task args,VDID0|Prm|Mth|Bk|If|Bk|Ex|Cal0|Nm0,extract|features|task args,VDID0|Prm|Mth|Bk|If|Bk|Ex|Cal0|Nm2,process|file args,VDID0|Prm|Mth|Bk|If|If|Neq|Fld0|Nm0,s|command|line|values args,VDID0|Prm|Mth|Bk|If|If|Neq|Fld0|Nm2,dir args,VDID0|Prm|Mth|Bk|If|If|Neq|Null1,null string,Cls1|Prm|ArBr2,[] string,Cls1|Prm|Mth|Bk|Try|Bk|Ex|As0|Nm0,s|command|line|values string,Cls1|Prm|Mth|Bk|Try|Catch|Prm|VDID0,e string,Cls1|Prm|Mth|Bk|Try|Catch|Prm|Cls1,cmd|line|exception string,Cls1|Prm|Mth|Bk|If|Neq|Fld0|Nm0,s|command|line|values string,Cls1|Prm|Mth|Bk|If|Neq|Fld0|Nm2,file string,Cls1|Prm|Mth|Bk|If|Neq|Null1,null string,Cls1|Prm|Mth|Bk|If|Bk|Ex|VDE|Cls0,extract|features|task string,Cls1|Prm|Mth|Bk|If|Bk|Ex|Cal0|Nm0,extract|features|task string,Cls1|Prm|Mth|Bk|If|Bk|Ex|Cal0|Nm2,process|file string,Cls1|Prm|Mth|Bk|If|If|Neq|Fld0|Nm0,s|command|line|values string,Cls1|Prm|Mth|Bk|If|If|Neq|Fld0|Nm2,dir string,Cls1|Prm|Mth|Bk|If|If|Neq|Null1,null [],ArBr2|Prm|Mth|Bk|Try|Bk|Ex|As0|Nm0,s|command|line|values [],ArBr2|Prm|Mth|Bk|Try|Catch|Prm|VDID0,e [],ArBr2|Prm|Mth|Bk|Try|Catch|Prm|Cls1,cmd|line|exception [],ArBr2|Prm|Mth|Bk|If|Neq|Fld0|Nm0,s|command|line|values [],ArBr2|Prm|Mth|Bk|If|Neq|Fld0|Nm2,file [],ArBr2|Prm|Mth|Bk|If|Neq|Null1,null [],ArBr2|Prm|Mth|Bk|If|Bk|Ex|VDE|Cls0,extract|features|task [],ArBr2|Prm|Mth|Bk|If|Bk|Ex|Cal0|Nm0,extract|features|task [],ArBr2|Prm|Mth|Bk|If|Bk|Ex|Cal0|Nm2,process|file [],ArBr2|Prm|Mth|Bk|If|If|Neq|Fld0|Nm0,s|command|line|values [],ArBr2|Prm|Mth|Bk|If|If|Neq|Fld0|Nm2,dir [],ArBr2|Prm|Mth|Bk|If|If|Neq|Null1,null s|command|line|values,Nm0|As|ObjEx|Cls0,command|line|values s|command|line|values,Nm0|As|ObjEx|Nm1,args s|command|line|values,Nm0|As|Ex|Bk|Try|Catch|Prm|VDID0,e s|command|line|values,Nm0|As|Ex|Bk|Try|Catch|Prm|Cls1,cmd|line|exception s|command|line|values,Nm0|As|Ex|Bk|Try|Bk|If|Neq|Null1,null command|line|values,Cls0|ObjEx1|Nm1,args command|line|values,Cls0|ObjEx1|As|Ex|Bk|Try|Catch|Prm|VDID0,e command|line|values,Cls0|ObjEx1|As|Ex|Bk|Try|Catch|Prm|Cls1,cmd|line|exception args,Nm1|ObjEx1|As|Ex|Bk|Try|Catch|Prm|VDID0,e args,Nm1|ObjEx1|As|Ex|Bk|Try|Catch|Prm|Cls1,cmd|line|exception e,VDID0|Prm|Cls1,cmd|line|exception e,VDID0|Prm|Catch|Bk|Ex|Cal0|Nm0,e e,VDID0|Prm|Catch|Bk|Ex|Cal0|Nm2,print|stack|trace e,VDID0|Prm|Catch|Try|Bk|If|Neq|Fld0|Nm0,s|command|line|values e,VDID0|Prm|Catch|Try|Bk|If|Neq|Fld0|Nm2,file e,VDID0|Prm|Catch|Try|Bk|If|Neq|Null1,null e,VDID0|Prm|Catch|Try|Bk|If|If|Neq|Null1,null cmd|line|exception,Cls1|Prm|Catch|Bk|Ex|Cal0|Nm0,e cmd|line|exception,Cls1|Prm|Catch|Bk|Ex|Cal0|Nm2,print|stack|trace cmd|line|exception,Cls1|Prm|Catch|Try|Bk|If|Neq|Fld0|Nm0,s|command|line|values cmd|line|exception,Cls1|Prm|Catch|Try|Bk|If|Neq|Fld0|Nm2,file cmd|line|exception,Cls1|Prm|Catch|Try|Bk|If|Neq|Null1,null cmd|line|exception,Cls1|Prm|Catch|Try|Bk|If|If|Neq|Null1,null e,Nm0|Cal|Nm2,print|stack|trace s|command|line|values,Nm0|Fld|Nm2,file s|command|line|values,Nm0|Fld|Neq|Null1,null s|command|line|values,Nm0|Fld|Neq|If|Bk|Ex|VDE|Cls0,extract|features|task s|command|line|values,Nm0|Fld|Neq|If|Bk|Ex|VDE|VD|VDID0,extract|features|task s|command|line|values,Nm0|Fld|Neq|If|Bk|Ex|Cal0|Nm0,extract|features|task s|command|line|values,Nm0|Fld|Neq|If|Bk|Ex|Cal0|Nm2,process|file s|command|line|values,Nm0|Fld|Neq|If|If|Neq|Fld0|Nm0,s|command|line|values s|command|line|values,Nm0|Fld|Neq|If|If|Neq|Fld0|Nm2,dir s|command|line|values,Nm0|Fld|Neq|If|If|Neq|Null1,null s|command|line|values,Nm0|Fld|Neq|If|If|Bk|Ex|Cal0|Nm1,extract|dir file,Nm2|Fld|Neq|Null1,null file,Nm2|Fld|Neq|If|Bk|Ex|VDE|Cls0,extract|features|task file,Nm2|Fld|Neq|If|Bk|Ex|VDE|VD|VDID0,extract|features|task file,Nm2|Fld|Neq|If|Bk|Ex|Cal0|Nm0,extract|features|task file,Nm2|Fld|Neq|If|Bk|Ex|Cal0|Nm2,process|file file,Nm2|Fld|Neq|If|If|Neq|Fld0|Nm0,s|command|line|values file,Nm2|Fld|Neq|If|If|Neq|Fld0|Nm2,dir file,Nm2|Fld|Neq|If|If|Neq|Null1,null file,Nm2|Fld|Neq|If|If|Bk|Ex|Cal0|Nm1,extract|dir null,Null1|Neq|If|Bk|Ex|VDE|Cls0,extract|features|task null,Null1|Neq|If|Bk|Ex|VDE|VD|VDID0,extract|features|task null,Null1|Neq|If|Bk|Ex|VDE|VD|ObjEx|Cls0,extract|features|task null,Null1|Neq|If|Bk|Ex|VDE|VD|ObjEx|Nm1,s|command|line|values null,Null1|Neq|If|Bk|Ex|Cal0|Nm0,extract|features|task null,Null1|Neq|If|Bk|Ex|Cal0|Nm2,process|file null,Null1|Neq|If|If|Neq|Fld0|Nm0,s|command|line|values null,Null1|Neq|If|If|Neq|Fld0|Nm2,dir null,Null1|Neq|If|If|Neq|Null1,null null,Null1|Neq|If|If|Bk|Ex|Cal0|Nm1,extract|dir extract|features|task,Cls0|VDE|VD|VDID0,extract|features|task extract|features|task,Cls0|VDE|VD|ObjEx|Cls0,extract|features|task extract|features|task,Cls0|VDE|VD|ObjEx|Nm1,s|command|line|values extract|features|task,Cls0|VDE|VD|ObjEx|Cal2|Fld0|Nm0,s|command|line|values extract|features|task,Cls0|VDE|VD|ObjEx|Cal2|Fld0|Nm2,file extract|features|task,Cls0|VDE|VD|ObjEx|Cal2|Nm2,to|path extract|features|task,Cls0|VDE|Ex|Bk|Ex|Cal0|Nm0,extract|features|task extract|features|task,Cls0|VDE|Ex|Bk|Ex|Cal0|Nm2,process|file extract|features|task,Cls0|VDE|Ex|Bk|If|If|Neq|Fld0|Nm0,s|command|line|values extract|features|task,Cls0|VDE|Ex|Bk|If|If|Neq|Fld0|Nm2,dir extract|features|task,Cls0|VDE|Ex|Bk|If|If|Neq|Null1,null extract|features|task,VDID0|VD|ObjEx|Cls0,extract|features|task extract|features|task,VDID0|VD|ObjEx|Nm1,s|command|line|values extract|features|task,VDID0|VD|ObjEx|Cal2|Fld0|Nm0,s|command|line|values extract|features|task,VDID0|VD|ObjEx|Cal2|Fld0|Nm2,file extract|features|task,VDID0|VD|ObjEx|Cal2|Nm2,to|path extract|features|task,VDID0|VD|VDE|Ex|Bk|Ex|Cal0|Nm0,extract|features|task extract|features|task,VDID0|VD|VDE|Ex|Bk|Ex|Cal0|Nm2,process|file extract|features|task,VDID0|VD|VDE|Ex|Bk|If|If|Neq|Null1,null extract|features|task,Cls0|ObjEx|Nm1,s|command|line|values extract|features|task,Cls0|ObjEx|Cal2|Fld0|Nm0,s|command|line|values extract|features|task,Cls0|ObjEx|Cal2|Fld0|Nm2,file extract|features|task,Cls0|ObjEx|Cal2|Nm2,to|path extract|features|task,Cls0|ObjEx|VD|VDE|Ex|Bk|Ex|Cal0|Nm0,extract|features|task extract|features|task,Cls0|ObjEx|VD|VDE|Ex|Bk|Ex|Cal0|Nm2,process|file s|command|line|values,Nm1|ObjEx|Cal2|Fld0|Nm0,s|command|line|values s|command|line|values,Nm1|ObjEx|Cal2|Fld0|Nm2,file s|command|line|values,Nm1|ObjEx|Cal2|Nm2,to|path s|command|line|values,Nm1|ObjEx|VD|VDE|Ex|Bk|Ex|Cal0|Nm0,extract|features|task s|command|line|values,Nm1|ObjEx|VD|VDE|Ex|Bk|Ex|Cal0|Nm2,process|file s|command|line|values,Nm0|Fld0|Nm2,file s|command|line|values,Nm0|Fld0|Cal|Nm2,to|path file,Nm2|Fld0|Cal|Nm2,to|path extract|features|task,Nm0|Cal|Nm2,process|file extract|features|task,Nm0|Cal|Ex|Bk|If|If|Neq|Fld0|Nm0,s|command|line|values extract|features|task,Nm0|Cal|Ex|Bk|If|If|Neq|Fld0|Nm2,dir extract|features|task,Nm0|Cal|Ex|Bk|If|If|Neq|Null1,null process|file,Nm2|Cal|Ex|Bk|If|If|Neq|Fld0|Nm0,s|command|line|values process|file,Nm2|Cal|Ex|Bk|If|If|Neq|Fld0|Nm2,dir process|file,Nm2|Cal|Ex|Bk|If|If|Neq|Null1,null s|command|line|values,Nm0|Fld|Nm2,dir s|command|line|values,Nm0|Fld|Neq|Null1,null s|command|line|values,Nm0|Fld|Neq|If|Bk|Ex|Cal0|Nm1,extract|dir dir,Nm2|Fld|Neq|Null1,null dir,Nm2|Fld|Neq|If|Bk|Ex|Cal0|Nm1,extract|dir null,Null1|Neq|If|Bk|Ex|Cal0|Nm1,extract|dir |
Hi @sadiasahar , Can you please specify what did you run, what error did you get, what is your operating system, Java version and python version? |
Thank you @urialon for the reply. The operating system I am using is Windows 11 but I am running the code in Google Colab, where I also changed the directory path in preprocess.sh file and ran the following command !bash /content/drive/MyDrive/code2seq-master/preprocess_2.sh the error I got is, Extracting paths from validation set... |
can you paste the relevant line from your modified preprocessing script, the one that executes |
Yes, off course. The line is: ${PYTHON} /content/drive/MyDrive/code2seq-master/preprocess.py --train_data ${TRAIN_DATA_FILE} --test_data ${TEST_DATA_FILE} --val_data ${VAL_DATA_FILE} |
My appology, I forgot to change the path of JavaExtractor folder assigned to the variable EXTRACTOR_JAR. Now it is Working. Thanks for the help. |
Great! Glad to hear! |
thanks again |
Hi I am getting a preprocessing error (when invoking
source preprocess.sh
). I don't get any error when I preprocess the same dataset with code2vec. Appreciate any advice. Here's the error:This is the line that is being triggered:
code2seq/JavaExtractor/extract.py
Line 49 in af04b4c
Appreciate any thoughts.
The text was updated successfully, but these errors were encountered: