NameError bug
Hi,
Sometimes when I open my project a bug report is present, it says that I can send in the report but the button for that only says that I don't have internet access.
The report:
Traceback (most recent call last): File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\opensesame_extensions\core\preload_items\preload_items.py", line 67, in _on_awake self._preload_one_item() File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\opensesame_extensions\core\preload_items\preload_items.py", line 81, in _preload_one_item item.init_edit_widget() File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\items\inline_script.py", line 68, in init_edit_widget self._pyqode_tab_widget = SplittableCodeEditTabWidget( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\pyqode\core\widgets\splittable_tab_widget.py", line 1457, in __init__ super(SplittableCodeEditTabWidget, self).__init__( File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\pyqode\core\widgets\splittable_tab_widget.py", line 930, in __init__ self.main_tab_widget = self.tab_widget_klass( ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\pyqode\core\widgets\splittable_tab_widget.py", line 1228, in __init__ super(CodeEditTabWidget, self).__init__( File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\pyqode\core\widgets\splittable_tab_widget.py", line 220, in __init__ self._create_tab_bar_menu() File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\pyqode\core\widgets\splittable_tab_widget.py", line 415, in _create_tab_bar_menu pin_action = QtWidgets.QAction(_('Unpin'), self) ^ NameError: name '_' is not defined
It dose not always show up and I cannot figure out what is causing it, if I close OpsenSesame and reopen the project I don't see the report, sometime it takes a couple of tries to not get it.