question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to shut down this issue while opening ini file

See original GitHub issue

Description

What steps will reproduce the problem?

This screen keeps coming even i try to delete the file from spyder system

Traceback

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 171, in paintEvent

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 213, in paintEvent
    self.code_editor.scrollflagarea_paint_event(event)
  File "C:\ProgramData\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:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\sourcecode\codeeditor.py", line 171, in paintEvent
    self.code_editor.linenumberarea_paint_event(event)
  File "C:\ProgramData\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'
WARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://developer.github.com/v3'}}

Versions

  • Spyder version: 3.3.3
  • Python version: 3.7.2
  • 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.3.1 (OK)
pandas >=0.13.1   :  0.25.0 (OK)
numpy >=1.7       :  1.17.0 (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.1.1 (OK)
pylint >=0.25     :  2.2.2 (OK)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Aug 6, 2019

@goanpeca, I’ll create one if you manage to reproduce and fix this bug.

0reactions
ccordoba12commented, Sep 10, 2019

Closing then. @jhonti034 this is probably fixed in Spyder 4, so please update to it when it comes out (in about a month or so).

Read more comments on GitHub >

github_iconTop Results From Across the Web

File setting.ini on desktop - Microsoft Community
On the Startup tab, click "Open Task Manager". A Task Manager window should open. 7. Disable all startup items.
Read more >
How to troubleshoot conflicts in the SYSTEM.INI and WIN.INI ...
Follow this procedure to troubleshoot SYSTEM.INI and WIN.INI files. Click the Start button, then click Run. In the Run window, next to Open:,...
Read more >
Fix Windows 11/Windows 10 Is Not Shutting Down or Won't ...
Corrupted system files; Windows 10 update error; BIOS issues ... If you don't want to fix the Windows shutdown problem in this way, ......
Read more >
What is the Windows Desktop.ini File and Can I Delete It?
ini file upon changes to a folder. This automatic generation cannot be turned off, as it is a part of the operating system...
Read more >
How to Fix When Windows Won't Shut Down - Help Desk Geek
You can right-click on the file and select Run as administrator to shutdown your PC. This step can also be eliminated by setting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found