wuub / SublimeREPL

SublimeREPL - run an interpreter inside ST2 (Clojure, CoffeeScript, F#, Groovy, Haskell, Lua, MozRepl, NodeJS, Python, R, Ruby, Scala, shell or configure one yourself)
https://github.com/wuub/SublimeREPL
Other
2.14k stars 312 forks source link

problem with python file evaluating #243

Open Casyfill opened 11 years ago

Casyfill commented 11 years ago

Everyrthing worked good, but suddenly it starts that evaluation does not work in about 70% of cases - both through shortcut or menu. Sometimes, especially after opening repl window, it works, althrough

What can it be, and how to solve this?

mason-stewart commented 11 years ago

Hey @Casyfill, could you paste an example of what you're trying to eval and what actually happens when it fails?

Casyfill commented 11 years ago

Hey there!

Nothing special, even like this: print 'hey-lalala'

it simple does not work. After restart, right now it works ok again, but I've tryed restart for several times before and it did not helped

mason-stewart commented 11 years ago

Hmmm, odd. I opened the regular Python REPL and eval seemed to work just fine. Which eval command are using? Bear in mind that using Eval in REPL > Block might not eval what you expect if you're not in a block. Using Eval in REPL > Line works fine for me with a single print statement, but block eval won't work in that situation.

Also, could you post your OS, ST2 or 3, and Python version? Any extra information about your environment would be really helpful :dancer:

Casyfill commented 11 years ago

I use Eval in REPL > File ...

I use ST2, Python 2.7, OS - Windows7 The only thing I am thinking about is that maybe (it was a mistake) I installed repl for ST3 also by occasion. Can it be so, and can it cause a conflict?