You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to reset my laptop, then installed pythion 3.7.9 and spyder. The first time I ran spyder from command prompt, I am stuck with this error.
Traceback
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Traceback (most recent call last):
File "c:\users\indranil ojha\appdata\local\programs\python\python37\lib\site-packages\spyder\plugins\editor\panels\scrollflag.py", line 218, in paintEventfor flag_type inreversed(dict_flag_lists):
TypeError: 'dict' object is not reversible
Hey @indranilo, thanks a lot for reporting. It seems we broke compatibility with Python 3.7 in our latest version (5.4.4) because the ability to reverse dictionaries (which is causing the error you reported) was added in Python 3.8 (see here).
We'll fix this in a new, emergency version (5.4.5), to be released in the next couple of days. In the meantime, please downgrade to 5.4.3, which shouldn't have this problem.
ccordoba12
changed the title
Spyder does not launch after installation using pip on windows 11TypeError: 'dict' object is not reversible in Python 3.7
Aug 27, 2023
Description
What steps will reproduce the problem?
I had to reset my laptop, then installed pythion 3.7.9 and spyder. The first time I ran spyder from command prompt, I am stuck with this error.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: