unknown error
See original GitHub issueDescription
What steps will reproduce the problem?
painter.fillRect(event.rect(), self.sideareas_color) TypeError: fillRect(self, QRectF, Qt.BrushStyle): argument 1 has unexpected type ‘QRect’
Traceback
File "C:\Users\Sreekar\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 171, in paintEvent
Traceback (most recent call last):
File "C:\Users\Sreekar\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 213, in paintEvent
self.code_editor.scrollflagarea_paint_event(event)
File "C:\Users\Sreekar\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 1445, in scrollflagarea_paint_event
painter.fillRect(event.rect(), self.sideareas_color)
TypeError: fillRect(self, QRectF, Qt.BrushStyle): argument 1 has unexpected type 'QRect'
Traceback (most recent call last):
File "C:\Users\Sreekar\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 171, in paintEvent
self.code_editor.linenumberarea_paint_event(event)
File "C:\Users\Sreekar\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 1178, in linenumberarea_paint_event
painter.fillRect(event.rect(), self.sideareas_color)
TypeError: fillRect(self, QRectF, Qt.BrushStyle): argument 1 has unexpected type 'QRect'
Versions
- Spyder version: 3.3.2
- Python version: 3.7.1
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Windows 10
Dependencies
pyflakes >=0.6.0 : 2.0.0 (OK)
pycodestyle >=2.3 : 2.4.0 (OK)
pygments >=2.0 : 2.3.1 (OK)
sphinx >=0.6.6 : 1.8.2 (OK)
rope >=0.9.4 : 0.11.0 (OK)
jedi >=0.9.0 : 0.13.2 (OK)
nbconvert >=4.0 : 5.4.0 (OK)
pandas >=0.13.1 : 0.23.4 (OK)
numpy >=1.7 : 1.15.4 (OK)
sympy >=0.7.3 : 1.3 (OK)
cython >=0.21 : 0.29.2 (OK)
qtconsole >=4.2.0 : 4.4.3 (OK)
IPython >=4.0 : 7.2.0 (OK)
matplotlib >=2.0.0: 3.0.2 (OK)
pylint >=0.25 : 2.2.2 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
iOS update and restore errors - Apple Support (SA)
If your device couldn't be restored and you get a message that "an unknown error occurred [error number]," use these steps.
Read more >Unknown error - WebDriver - MDN Web Docs
The unknown element error is a WebDriver error that occurs when an unspecified error occurs in the driver whilst processing a command.
Read more >UnknownError (Java Platform SE 7 ) - Oracle Help Center
public class UnknownError extends VirtualMachineError. Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.
Read more >#UNKNOWN! error - Microsoft Support
The #UNKNOWN! error indicates a unknown data type that is not currently supported in this version of Excel. If you need to work...
Read more >Unknown error - how to solve related issues - Opster
How to troubleshoot Elasticsearch/OpenSearch log "Unknown error" a detailed guide including background on ES concepts: bootstrap.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
All right, I understand. Thank you for the suggestion Il 28 gen 2022, 16:42 +0100, Carlos Cordoba @.***>, ha scritto:
Yes, it is ok, but don’t install it with
sudo pip
. Instead, create a pyenv for Python 3.9 first and then install Spyder there.