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
Traceback (most recent call last):
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/widgets.py", line 770, in update_configuration_run_indexself.run_conf_model.update_index(index)
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/models.py", line 209, in update_indexself.executor_model.switch_input(uuid, (ext, context_id))
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/models.py", line 96, in switch_inputraiseValueError(
ValueError: The requested run input combination ('', 'file') is not registered
Traceback (most recent call last):
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/container.py", line 214, in run_fileself.edit_run_configurations(
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/container.py", line 244, in edit_run_configurationsself.dialog.run_btn_clicked()
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/widgets.py", line 888, in run_btn_clickedself.accept()
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/widgets.py", line 1052, in accept
executor_name, __ =self.executors_model.get_selected_run_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/toygar/anaconda3/lib/python3.12/site-packages/spyder/plugins/run/models.py", line 107, in get_selected_run_executor
executor_name = executor_indices[index]
~~~~~~~~~~~~~~~~^^^^^^^KeyError: -1
Hey @toygarpar, thanks for reporting. This problem will be fixed in our next version (6.0.3), to be released in a couple of weeks.
In the meantime, please close and reopen Spyder to see this fixed, or copy your code to an already existing Python file (this problem happens when you rename a Python file to another file type and then back to Python).
Description
What steps will reproduce the problem?
#!/usr/bin/env python3
-- coding: utf-8 --
"""
Created on Sun Nov 24 21:52:59 2024
@author: toygar
"""
import PyQt5
import sys #uygulamaya komut saturundan argüman göndermek için
from PyQt5 import QtWidgets
from PyQt5.QtWidgets import QApplication, QMainWindow, QToolTip
from PyQt5.QtGui import QIcon
def window():
app = QApplication(sys.argv)
win = QMainWindow()
window()
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: