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

Script run fail (windows, python27) #1

Closed
ilc168 opened this issue Aug 2, 2019 · 3 comments
Closed

Script run fail (windows, python27) #1

ilc168 opened this issue Aug 2, 2019 · 3 comments

Comments

@ilc168
Copy link

ilc168 commented Aug 2, 2019

I've been looking for a script or program like this for a while - thanks! Unfortunately have had no luck getting it to run in windows or linux.

I get this same error in both:

File "C:\Python27\analyze_papers.py", line 217, in
with open(OUTPUT_GEPHI_DIR + os.sep + "Edges_" + OUTPUT_CSV_NAME, "a") as graph_csv:
IOError: [Errno 2] No such file or directory: 'gephi\Edges_titles.csv'

Any suggestions? Thanks.

@ilc168 ilc168 changed the title Script run fail (windows, python24) Script run fail (windows, python27) Aug 9, 2019
@ilc168 ilc168 closed this as completed Aug 9, 2019
@ilc168 ilc168 reopened this Aug 9, 2019
@jaks6
Copy link
Owner

jaks6 commented Aug 12, 2019

Hi ilc168,
The script expected some files to pre-exist and was missing a routine to check their existence and creating them.

I have updated analyze_papers.py to create the files if missing in the latest commit . Does this resolve the issue for you?

@ilc168
Copy link
Author

ilc168 commented Aug 12, 2019

Yes, it's working fine now. Thanks for the changes. I'm very happy to have found this, mind if I share on the zotero forums? It's a great resource.

@jaks6
Copy link
Owner

jaks6 commented Aug 13, 2019

Feel free to share it, you are welcome!

@jaks6 jaks6 closed this as completed Aug 13, 2019
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

2 participants