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

error converting (some) rsgf files to csv #124

Open
anova0515 opened this issue Apr 12, 2019 · 1 comment
Open

error converting (some) rsgf files to csv #124

anova0515 opened this issue Apr 12, 2019 · 1 comment
Labels

Comments

@anova0515
Copy link

Hi,
I occasionally encounter the error below when using r2csv.py.

Traceback (most recent call last):
File "/home/anova0515/goreviewpartner/r2csv.py", line 210, in
rsgf2csv(filename)
File "/home/anova0515/goreviewpartner/r2csv.py", line 171, in rsgf2csv
if table[1+m][c]=="":
IndexError: list index out of range

I attached two such problematic .rsgf files (had to change the extension to .txt for it to be accepted).

Note: I have successfully converted tens of thousands of rsgf files, so this is a somewhat rare occurrence.

2000-05-08f.txt
1983-12-08c.txt

@pnprog
Copy link
Owner

pnprog commented Apr 14, 2019

Thanks for reporting the issue, and providing the RSGF file, I will look into it.

I have successfully converted tens of thousands of rsgf files

Oh wow! I did not know this feature could be that useful !

@ghost ghost added the bug label Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants