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

EOFError() after a crash in R #251

Closed
mattmoehr opened this issue Sep 5, 2013 · 2 comments
Closed

EOFError() after a crash in R #251

mattmoehr opened this issue Sep 5, 2013 · 2 comments
Assignees

Comments

@mattmoehr
Copy link

Yesterday I crashed ST2 while using R in SublimeREPL. Upon starting it today - after a cold boot - I got an EOFError() when trying to run repl for R. But repl works fine for python, C, etc. Here's the console output:

Traceback (most recent call last):
  File "./sublimerepl.py", line 462, in open
  File "./sublimerepl.py", line 185, in __init__
  File "./sublimerepl.py", line 140, in __init__
  File "./repllibs/PyDbLite.py", line 193, in create
  File "./repllibs/PyDbLite.py", line 248, in open
  File ".\pickle.py", line 1370, in load
  File ".\pickle.py", line 858, in load
  File ".\pickle.py", line 880, in load_eof
EOFError
error: EOFError()

So poking around in sublimerepl.py at line 185 I got the notion that maybe this had to do with the persistent history thing, so I added this to my SublimeREPL User setting file:

    "persistent_history_enabled": false

And, presto, it works. I just have no idea why.

@wuub
Copy link
Owner

wuub commented Sep 5, 2013

SublimeREPL's history file got corrupted during crash.

Remove config/sublime-text-3/Packages/User/.SublimeREPLHistory/r.db and everything should be back to normal.

@ghost ghost assigned wuub Sep 5, 2013
@mattmoehr
Copy link
Author

Yep. That's it.

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

No branches or pull requests

2 participants