SPOClab-ca / COVFEFE

COre Variable Feature Extraction Feature Extractor
Apache License 2.0
30 stars 10 forks source link

do not see csv file #20

Open samira20494 opened 5 years ago

samira20494 commented 5 years ago

I followed all steps, but when running the command, I get this:

$ python covfefe.py -i input_data -o output_folder -p lex C:\Users\Somayeh\AppData\Local\Programs\Python\Python37\lib\site-packages\gensim\utils.py:1209: UserWarning: detected Windows; aliasing chunkize to chunkize_serial warnings.warn("detected Windows; aliasing chunkize to chunkize_serial") 0%| | 0/1 [00:00<?, ?it/s]INFO:utils.logger:lexicosyntactic: Starting input_data\transcript.txt ERROR:utils.logger:Unable to import secrets for receptiviti ERROR:utils.logger:Problem with Stanford sentiment analysis output filelist index out of range ERROR:utils.logger:lexicosyntactic: Failed with error [WinError 2] The system cannot find the file specified INFO:utils.logger:lexicosyntactic: Done input_data\transcript.txt -> output_folder\lexicosyntactic\transcript.csv 100%|##########| 1/1 [00:34<00:00, 34.66s/it]

and the output folder does not include transcript.csv. what should I do to fix this?

thanks Somayeh

daniyall commented 5 years ago

Hi Somayeh,

Did the setup.sh script run successfully? I did a fresh install and ran it on a test file and this is what I got.

Screen Shot 2019-10-23 at 3 45 25 PM

The line ERROR:utils.logger:Problem with Stanford sentiment analysis output filelist index out of range in the output you gave makes me think something went wrong with installing the dependencies. Can you try running the setup script again?

samira20494 commented 5 years ago

yes, I did the setup again and didn't see any issue/error. but still getting the same result.

I changed the input file to be a very simple text, but got this: result

what does this line mean: ERROR:utils.logger:lexicosyntactic: Failed with error [WinError 2] The system cannot find the file specified

daniyall commented 5 years ago

The error is coming from this line https://github.com/SPOClab-ca/COVFEFE/blob/master/nodes/lexicosyntactic.py#L110

But I'm not sure what the error means and don't have easy access to a windows machine to replicate the problem. Would you be able to try debug the problem? Or if you need this to work quickly, the fastest way may be to run it in a linux virtual machine.

kearnsdm commented 3 years ago

I also have a Windows computer. Having looked at this for a while, it appears to me that the problem is with the "filler_file" code... there's a note at the top of the lexicosyntactic.py file that says "# TODO: Figure out and support filler_dir" I am pretty sure that the problem is there. When I tried to debug it, it runs fine until it hits line 97

monicagoma commented 3 years ago

Is there any update on this issue? i am having the same error (do not see csv file)