Skip to content
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

do not see csv file #20

Open
samira20494 opened this issue Oct 22, 2019 · 5 comments
Open

do not see csv file #20

samira20494 opened this issue Oct 22, 2019 · 5 comments

Comments

@samira20494
Copy link

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
Copy link
Member

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
Copy link
Author

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
Copy link
Member

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
Copy link

kearnsdm commented Dec 6, 2020

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants