Noob Programmer
Noob Programmer

Reputation: 742

Rerun of my code makes spyder report an error

Im using Spyder 3.3.2 in anaconda. Ive been using it for 1 year now works perfectly. Today, weird things started happening. Everytime I run a code in fresh console it works if don't change anything and just press f5 again to rerun the code. It gives me an error.

File "/home/vivian/.local/lib/python2.7/site-packages/defusedxml/ElementTree.py", line 68, in __init__
    _XMLParser.__init__(self, html, target, encoding)

TypeError: expected string or buffer

I have to open a fresh console and again it will run just for one time and after it reports the same crash.

Ive tried googling, but I don't even know where to start. I uninstalled anaconda and deleted all files and spyder instances and installed it again and it keeps crashing.

What should I do? Its annoying if I have some real work to do, because i run the code a lot.

Thanks for the help!

Upvotes: 1

Views: 248

Answers (1)

Carlos Cordoba
Carlos Cordoba

Reputation: 34136

(Spyder maintainer here) This problem was already reported by one of our users some days ago on this Github issue.

Until we properly fix it, I mentioned a temporary workaround on that issue as well.

Upvotes: 1

Related Questions