after_merge
stringlengths
28
79.6k
before_merge
stringlengths
20
79.6k
url
stringlengths
38
71
full_traceback
stringlengths
43
922k
traceback_type
stringclasses
555 values
def to_doc(self, value, indent=0): if value is None: return "empty" val, typ = self._val_and_type(value) return typ.to_doc(val)
def to_doc(self, value, indent=0): if value is None: return "empty" if isinstance(value, list): if len(value) == 1: return self.valtype.to_doc(value[0], indent) else: return self.listtype.to_doc(value, indent) else: return self.valtype.to_doc(value, i...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def from_obj(self, value): if value is None: return {} return { self.keytype.from_obj(key): self.valtype.from_obj(val) for key, val in value.items() }
def from_obj(self, value): if value is None: return {} return value
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _match_key(self, sequence): """Try to match a given keystring with any bound keychain. Args: sequence: The command string to find. Return: A tuple (matchtype, binding). matchtype: Match.definitive, Match.partial or Match.none. binding: - None with Match.partial/...
def _match_key(self, sequence): """Try to match a given keystring with any bound keychain. Args: sequence: The command string to find. Return: A tuple (matchtype, binding). matchtype: Match.definitive, Match.partial or Match.none. binding: - None with Match.partial/...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def handle(self, e, *, dry_run=False): """Handle a new keypress. Separate the keypress into count/command, then check if it matches any possible command, and either run the command, ignore it, or display an error. Args: e: the KeyPressEvent from Qt. dry_run: Don't actually execute ...
def handle(self, e, *, dry_run=False): """Handle a new keypress. Separate the keypress into count/command, then check if it matches any possible command, and either run the command, ignore it, or display an error. Args: e: the KeyPressEvent from Qt. dry_run: Don't actually execute ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def is_special(key, modifiers): """Check whether this key requires special key syntax.""" _assert_plain_key(key) _assert_plain_modifier(modifiers) return not ( _is_printable(key) and modifiers in [Qt.ShiftModifier, Qt.NoModifier, Qt.KeypadModifier] )
def is_special(key, modifiers): """Check whether this key requires special key syntax.""" _assert_plain_key(key) _assert_plain_modifier(modifiers) return not (_is_printable(key) and modifiers in [Qt.ShiftModifier, Qt.NoModifier])
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def __str__(self): """Convert this KeyInfo to a meaningful name. Return: A name of the key (combination) as a string. """ key_string = _key_to_string(self.key) modifiers = int(self.modifiers) if self.key in _MODIFIER_MAP: # Don't return e.g. <Shift+Shift> modifiers &= ~...
def __str__(self): """Convert this KeyInfo to a meaningful name. Return: A name of the key (combination) as a string. """ key_string = _key_to_string(self.key) modifiers = int(self.modifiers) if self.key in _MODIFIER_MAP: # Don't return e.g. <Shift+Shift> modifiers &= ~...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def append_event(self, ev): """Create a new KeySequence object with the given QKeyEvent added.""" key = ev.key() modifiers = ev.modifiers() _assert_plain_key(key) _assert_plain_modifier(modifiers) if key == 0x0: raise KeyParseError(None, "Got nil key!") # We always remove Qt.Group...
def append_event(self, ev): """Create a new KeySequence object with the given QKeyEvent added.""" key = ev.key() modifiers = ev.modifiers() _assert_plain_key(key) _assert_plain_modifier(modifiers) if key == 0x0: raise KeyParseError(None, "Got nil key!") # We always remove Qt.Group...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def __init__(self, *, private, geometry=None, parent=None): """Create a new main window. Args: geometry: The geometry to load, as a bytes-object (or None). private: Whether the window is in private browsing mode. parent: The parent the window should get. """ super().__init__(par...
def __init__(self, *, private, geometry=None, parent=None): """Create a new main window. Args: geometry: The geometry to load, as a bytes-object (or None). private: Whether the window is in private browsing mode. parent: The parent the window should get. """ super().__init__(par...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _init_command_dispatcher(self): dispatcher = commands.CommandDispatcher(self.win_id, self.tabbed_browser) objreg.register( "command-dispatcher", dispatcher, scope="window", window=self.win_id ) self.tabbed_browser.widget.destroyed.connect( functools.partial( objreg.delete...
def _init_command_dispatcher(self): dispatcher = commands.CommandDispatcher(self.win_id, self.tabbed_browser) objreg.register( "command-dispatcher", dispatcher, scope="window", window=self.win_id ) self.tabbed_browser.destroyed.connect( functools.partial( objreg.delete, "comm...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _on_config_changed(self, option): """Resize the completion if related config options changed.""" if option == "statusbar.padding": self._update_overlay_geometries() elif option == "downloads.position": self._add_widgets() elif option == "statusbar.position": self._add_widgets...
def _on_config_changed(self, option): """Resize the completion if related config options changed.""" if option == "statusbar.padding": self._update_overlay_geometries() elif option == "downloads.position": self._add_widgets() elif option == "statusbar.position": self._add_widgets...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _add_widgets(self): """Add or readd all widgets to the VBox.""" self._vbox.removeWidget(self.tabbed_browser.widget) self._vbox.removeWidget(self._downloadview) self._vbox.removeWidget(self.status) widgets = [self.tabbed_browser.widget] downloads_position = config.val.downloads.position ...
def _add_widgets(self): """Add or readd all widgets to the VBox.""" self._vbox.removeWidget(self.tabbed_browser) self._vbox.removeWidget(self._downloadview) self._vbox.removeWidget(self.status) widgets = [self.tabbed_browser] downloads_position = config.val.downloads.position if downloads_p...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _connect_signals(self): """Connect all mainwindow signals.""" status = self._get_object("statusbar") keyparsers = self._get_object("keyparsers") completion_obj = self._get_object("completion") cmd = self._get_object("status-command") message_bridge = self._get_object("message-bridge") mo...
def _connect_signals(self): """Connect all mainwindow signals.""" status = self._get_object("statusbar") keyparsers = self._get_object("keyparsers") completion_obj = self._get_object("completion") cmd = self._get_object("status-command") message_bridge = self._get_object("message-bridge") mo...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def resizeEvent(self, e): """Extend resizewindow's resizeEvent to adjust completion. Args: e: The QResizeEvent """ super().resizeEvent(e) self._update_overlay_geometries() self._downloadview.updateGeometry() self.tabbed_browser.widget.tabBar().refresh()
def resizeEvent(self, e): """Extend resizewindow's resizeEvent to adjust completion. Args: e: The QResizeEvent """ super().resizeEvent(e) self._update_overlay_geometries() self._downloadview.updateGeometry() self.tabbed_browser.tabBar().refresh()
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def closeEvent(self, e): """Override closeEvent to display a confirmation if needed.""" if crashsignal.is_crashing: e.accept() return tab_count = self.tabbed_browser.widget.count() download_model = objreg.get("download-model", scope="window", window=self.win_id) download_count = down...
def closeEvent(self, e): """Override closeEvent to display a confirmation if needed.""" if crashsignal.is_crashing: e.accept() return tab_count = self.tabbed_browser.count() download_model = objreg.get("download-model", scope="window", window=self.win_id) download_count = download_mo...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def __init__(self, question, parent=None): super().__init__(question, parent) self._init_texts(question) self._init_key_label() self._lineedit = LineEdit(self) if question.default: self._lineedit.setText(question.default) self._lineedit.textEdited.connect(self._set_fileview_root) se...
def __init__(self, question, parent=None): super().__init__(question, parent) self._init_texts(question) self._init_key_label() self._lineedit = LineEdit(self) if question.default: self._lineedit.setText(question.default) self._lineedit.textEdited.connect(self._set_fileview_root) se...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _set_fileview_root(self, path, *, tabbed=False): """Set the root path for the file display.""" separators = os.sep if os.altsep is not None: separators += os.altsep dirname = os.path.dirname(path) basename = os.path.basename(path) if not tabbed: self._to_complete = "" t...
def _set_fileview_root(self, path, *, tabbed=False): """Set the root path for the file display.""" separators = os.sep if os.altsep is not None: separators += os.altsep dirname = os.path.dirname(path) try: if not path: pass elif path in separators and os.path.is...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _insert_path(self, index, *, clicked=True): """Handle an element selection. Args: index: The QModelIndex of the selected element. clicked: Whether the element was clicked. """ if index == QModelIndex(): path = os.path.join(self._file_model.rootPath(), self._to_complete) ...
def _insert_path(self, index, *, clicked=True): """Handle an element selection. Args: index: The QModelIndex of the selected element. clicked: Whether the element was clicked. """ path = os.path.normpath(self._file_model.filePath(index)) if clicked: path += os.sep else: ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def item_focus(self, which): # This duplicates some completion code, but I don't see a nicer way... assert which in ["prev", "next"], which selmodel = self._file_view.selectionModel() parent = self._file_view.rootIndex() first_index = self._file_model.index(0, 0, parent) row = self._file_model....
def item_focus(self, which): # This duplicates some completion code, but I don't see a nicer way... assert which in ["prev", "next"], which selmodel = self._file_view.selectionModel() parent = self._file_view.rootIndex() first_index = self._file_model.index(0, 0, parent) row = self._file_model....
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_tab_cur_url_changed(self, tabs): """Called on URL changes.""" tab = tabs.widget.currentWidget() if tab is None: # pragma: no cover self.setText("") self.hide() return self.on_tab_changed(tab)
def on_tab_cur_url_changed(self, tabs): """Called on URL changes.""" tab = tabs.currentWidget() if tab is None: # pragma: no cover self.setText("") self.hide() return self.on_tab_changed(tab)
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _current_tab(self): """Get the currently displayed tab.""" window = objreg.get("tabbed-browser", scope="window", window=self._win_id) return window.widget.currentWidget()
def _current_tab(self): """Get the currently displayed tab.""" window = objreg.get("tabbed-browser", scope="window", window=self._win_id) return window.currentWidget()
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def set_mode_active(self, mode, val): """Setter for self.{insert,command,caret}_active. Re-set the stylesheet after setting the value, so everything gets updated by Qt properly. """ if mode == usertypes.KeyMode.insert: log.statusbar.debug("Setting insert flag to {}".format(val)) sel...
def set_mode_active(self, mode, val): """Setter for self.{insert,command,caret}_active. Re-set the stylesheet after setting the value, so everything gets updated by Qt properly. """ if mode == usertypes.KeyMode.insert: log.statusbar.debug("Setting insert flag to {}".format(val)) sel...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def __init__(self, *, win_id, private, parent=None): super().__init__(parent) self.widget = tabwidget.TabWidget(win_id, parent=self) self._win_id = win_id self._tab_insert_idx_left = 0 self._tab_insert_idx_right = -1 self.shutting_down = False self.widget.tabCloseRequested.connect(self.on_ta...
def __init__(self, *, win_id, private, parent=None): super().__init__(win_id, parent) self._win_id = win_id self._tab_insert_idx_left = 0 self._tab_insert_idx_right = -1 self.shutting_down = False self.tabCloseRequested.connect(self.on_tab_close_requested) self.new_tab_requested.connect(self...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def __repr__(self): return utils.get_repr(self, count=self.widget.count())
def __repr__(self): return utils.get_repr(self, count=self.count())
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _on_config_changed(self, option): if option == "tabs.favicons.show": self._update_favicons() elif option == "window.title_format": self._update_window_title() elif option in ["tabs.title.format", "tabs.title.format_pinned"]: self.widget.update_tab_titles()
def _on_config_changed(self, option): if option == "tabs.favicons.show": self._update_favicons() elif option == "window.title_format": self._update_window_title() elif option in ["tabs.title.format", "tabs.title.format_pinned"]: self._update_tab_titles()
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _tab_index(self, tab): """Get the index of a given tab. Raises TabDeletedError if the tab doesn't exist anymore. """ try: idx = self.widget.indexOf(tab) except RuntimeError as e: log.webview.debug("Got invalid tab ({})!".format(e)) raise TabDeletedError(e) if idx == ...
def _tab_index(self, tab): """Get the index of a given tab. Raises TabDeletedError if the tab doesn't exist anymore. """ try: idx = self.indexOf(tab) except RuntimeError as e: log.webview.debug("Got invalid tab ({})!".format(e)) raise TabDeletedError(e) if idx == -1: ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def widgets(self): """Get a list of open tab widgets. We don't implement this as generator so we can delete tabs while iterating over the list. """ widgets = [] for i in range(self.widget.count()): widget = self.widget.widget(i) if widget is None: log.webview.debug("...
def widgets(self): """Get a list of open tab widgets. We don't implement this as generator so we can delete tabs while iterating over the list. """ widgets = [] for i in range(self.count()): widget = self.widget(i) if widget is None: log.webview.debug("Got None-widge...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _update_window_title(self, field=None): """Change the window title to match the current tab. Args: idx: The tab index to update. field: A field name which was updated. If given, the title is only set if the given field is in the template. """ title_format = config.val...
def _update_window_title(self, field=None): """Change the window title to match the current tab. Args: idx: The tab index to update. field: A field name which was updated. If given, the title is only set if the given field is in the template. """ title_format = config.val...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _connect_tab_signals(self, tab): """Set up the needed signals for tab.""" # filtered signals tab.link_hovered.connect(self._filter.create(self.cur_link_hovered, tab)) tab.load_progress.connect(self._filter.create(self.cur_progress, tab)) tab.load_finished.connect(self._filter.create(self.cur_loa...
def _connect_tab_signals(self, tab): """Set up the needed signals for tab.""" # filtered signals tab.link_hovered.connect(self._filter.create(self.cur_link_hovered, tab)) tab.load_progress.connect(self._filter.create(self.cur_progress, tab)) tab.load_finished.connect(self._filter.create(self.cur_loa...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def current_url(self): """Get the URL of the current tab. Intended to be used from command handlers. Return: The current URL as QUrl. """ idx = self.widget.currentIndex() return self.widget.tab_url(idx)
def current_url(self): """Get the URL of the current tab. Intended to be used from command handlers. Return: The current URL as QUrl. """ idx = self.currentIndex() return super().tab_url(idx)
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def close_tab(self, tab, *, add_undo=True, new_undo=True): """Close a tab. Args: tab: The QWebView to be closed. add_undo: Whether the tab close can be undone. new_undo: Whether the undo entry should be a new item in the stack. """ last_close = config.val.tabs.last_close cou...
def close_tab(self, tab, *, add_undo=True, new_undo=True): """Close a tab. Args: tab: The QWebView to be closed. add_undo: Whether the tab close can be undone. new_undo: Whether the undo entry should be a new item in the stack. """ last_close = config.val.tabs.last_close cou...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _remove_tab(self, tab, *, add_undo=True, new_undo=True, crashed=False): """Remove a tab from the tab list and delete it properly. Args: tab: The QWebView to be closed. add_undo: Whether the tab close can be undone. new_undo: Whether the undo entry should be a new item in the stack. ...
def _remove_tab(self, tab, *, add_undo=True, new_undo=True, crashed=False): """Remove a tab from the tab list and delete it properly. Args: tab: The QWebView to be closed. add_undo: Whether the tab close can be undone. new_undo: Whether the undo entry should be a new item in the stack. ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def undo(self): """Undo removing of a tab or tabs.""" # Remove unused tab which may be created after the last tab is closed last_close = config.val.tabs.last_close use_current_tab = False if last_close in ["blank", "startpage", "default-page"]: only_one_tab_open = self.widget.count() == 1 ...
def undo(self): """Undo removing of a tab or tabs.""" # Remove unused tab which may be created after the last tab is closed last_close = config.val.tabs.last_close use_current_tab = False if last_close in ["blank", "startpage", "default-page"]: only_one_tab_open = self.count() == 1 n...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def openurl(self, url, newtab): """Open a URL, used as a slot. Args: url: The URL to open as QUrl. newtab: True to open URL in a new tab, False otherwise. """ qtutils.ensure_valid(url) if newtab or self.widget.currentWidget() is None: self.tabopen(url, background=False) ...
def openurl(self, url, newtab): """Open a URL, used as a slot. Args: url: The URL to open as QUrl. newtab: True to open URL in a new tab, False otherwise. """ qtutils.ensure_valid(url) if newtab or self.currentWidget() is None: self.tabopen(url, background=False) else: ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_tab_close_requested(self, idx): """Close a tab via an index.""" tab = self.widget.widget(idx) if tab is None: log.webview.debug("Got invalid tab {} for index {}!".format(tab, idx)) return self.tab_close_prompt_if_pinned(tab, False, lambda: self.close_tab(tab))
def on_tab_close_requested(self, idx): """Close a tab via an index.""" tab = self.widget(idx) if tab is None: log.webview.debug("Got invalid tab {} for index {}!".format(tab, idx)) return self.tab_close_prompt_if_pinned(tab, False, lambda: self.close_tab(tab))
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def tabopen( self, url=None, background=None, related=True, idx=None, *, ignore_tabs_are_windows=False, ): """Open a new tab with a given URL. Inner logic for open-tab and open-tab-bg. Also connect all the signals we need to _filter_signals. Args: url: The URL to op...
def tabopen( self, url=None, background=None, related=True, idx=None, *, ignore_tabs_are_windows=False, ): """Open a new tab with a given URL. Inner logic for open-tab and open-tab-bg. Also connect all the signals we need to _filter_signals. Args: url: The URL to op...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _update_favicons(self): """Update favicons when config was changed.""" for tab in self.widgets(): self.widget.update_tab_favicon(tab)
def _update_favicons(self): """Update favicons when config was changed.""" for i, tab in enumerate(self.widgets()): if config.val.tabs.favicons.show: self.setTabIcon(i, tab.icon()) if config.val.tabs.tabs_are_windows: self.window().setWindowIcon(tab.icon()) ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_load_started(self, tab): """Clear icon and update title when a tab started loading. Args: tab: The tab where the signal belongs to. """ try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted... return self....
def on_load_started(self, tab): """Clear icon and update title when a tab started loading. Args: tab: The tab where the signal belongs to. """ try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted... return self....
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_title_changed(self, tab, text): """Set the title of a tab. Slot for the title_changed signal of any tab. Args: tab: The WebView where the title was changed. text: The text to set. """ if not text: log.webview.debug("Ignoring title change to '{}'.".format(text)) ...
def on_title_changed(self, tab, text): """Set the title of a tab. Slot for the title_changed signal of any tab. Args: tab: The WebView where the title was changed. text: The text to set. """ if not text: log.webview.debug("Ignoring title change to '{}'.".format(text)) ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_url_changed(self, tab, url): """Set the new URL as title if there's no title yet. Args: tab: The WebView where the title was changed. url: The new URL. """ try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted...
def on_url_changed(self, tab, url): """Set the new URL as title if there's no title yet. Args: tab: The WebView where the title was changed. url: The new URL. """ try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_icon_changed(self, tab, icon): """Set the icon of a tab. Slot for the iconChanged signal of any tab. Args: tab: The WebView where the title was changed. icon: The new icon """ if not tab.data.should_show_icon(): return try: idx = self._tab_index(tab) ...
def on_icon_changed(self, tab, icon): """Set the icon of a tab. Slot for the iconChanged signal of any tab. Args: tab: The WebView where the title was changed. icon: The new icon """ if not config.val.tabs.favicons.show: return try: idx = self._tab_index(tab) ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_mode_left(self, mode): """Give focus to current tab if command mode was left.""" if mode in [ usertypes.KeyMode.command, usertypes.KeyMode.prompt, usertypes.KeyMode.yesno, ]: widget = self.widget.currentWidget() log.modes.debug("Left status-input mode, focusing...
def on_mode_left(self, mode): """Give focus to current tab if command mode was left.""" if mode in [ usertypes.KeyMode.command, usertypes.KeyMode.prompt, usertypes.KeyMode.yesno, ]: widget = self.currentWidget() log.modes.debug("Left status-input mode, focusing {!r}"....
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_current_changed(self, idx): """Set last-focused-tab and leave hinting mode when focus changed.""" mode_on_change = config.val.tabs.mode_on_change modes_to_save = [usertypes.KeyMode.insert, usertypes.KeyMode.passthrough] if idx == -1 or self.shutting_down: # closing the last tab (before qu...
def on_current_changed(self, idx): """Set last-focused-tab and leave hinting mode when focus changed.""" mode_on_change = config.val.tabs.mode_on_change modes_to_save = [usertypes.KeyMode.insert, usertypes.KeyMode.passthrough] if idx == -1 or self.shutting_down: # closing the last tab (before qu...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_load_progress(self, tab, perc): """Adjust tab indicator on load progress.""" try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted... return start = config.val.colors.tabs.indicator.start stop = config.val.colors.tabs....
def on_load_progress(self, tab, perc): """Adjust tab indicator on load progress.""" try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted... return start = config.val.colors.tabs.indicator.start stop = config.val.colors.tabs....
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_load_finished(self, tab, ok): """Adjust tab indicator when loading finished.""" try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted... return if ok: start = config.val.colors.tabs.indicator.start stop = c...
def on_load_finished(self, tab, ok): """Adjust tab indicator when loading finished.""" try: idx = self._tab_index(tab) except TabDeletedError: # We can get signals for tabs we already deleted... return if ok: start = config.val.colors.tabs.indicator.start stop = c...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def on_scroll_pos_changed(self): """Update tab and window title when scroll position changed.""" idx = self.widget.currentIndex() if idx == -1: # (e.g. last tab removed) log.webview.debug("Not updating scroll position because index is -1") return self._update_window_title("scroll...
def on_scroll_pos_changed(self): """Update tab and window title when scroll position changed.""" idx = self.currentIndex() if idx == -1: # (e.g. last tab removed) log.webview.debug("Not updating scroll position because index is -1") return self._update_window_title("scroll_pos") ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _on_renderer_process_terminated(self, tab, status, code): """Show an error when a renderer process terminated.""" if status == browsertab.TerminationStatus.normal: return messages = { browsertab.TerminationStatus.abnormal: "Renderer process exited with status {}".format( cod...
def _on_renderer_process_terminated(self, tab, status, code): """Show an error when a renderer process terminated.""" if status == browsertab.TerminationStatus.normal: return messages = { browsertab.TerminationStatus.abnormal: "Renderer process exited with status {}".format( cod...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def set_mark(self, key): """Set a mark at the current scroll position in the current tab. Args: key: mark identifier; capital indicates a global mark """ # strip the fragment as it may interfere with scrolling try: url = self.current_url().adjusted(QUrl.RemoveFragment) except qt...
def set_mark(self, key): """Set a mark at the current scroll position in the current tab. Args: key: mark identifier; capital indicates a global mark """ # strip the fragment as it may interfere with scrolling try: url = self.current_url().adjusted(QUrl.RemoveFragment) except qt...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def jump_mark(self, key): """Jump to the mark named by `key`. Args: key: mark identifier; capital indicates a global mark """ try: # consider urls that differ only in fragment to be identical urlkey = self.current_url().adjusted(QUrl.RemoveFragment) except qtutils.QtValueErr...
def jump_mark(self, key): """Jump to the mark named by `key`. Args: key: mark identifier; capital indicates a global mark """ try: # consider urls that differ only in fragment to be identical urlkey = self.current_url().adjusted(QUrl.RemoveFragment) except qtutils.QtValueErr...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def __init__(self, win_id, parent=None): super().__init__(parent) bar = TabBar(win_id, self) self.setStyle(TabBarStyle()) self.setTabBar(bar) bar.tabCloseRequested.connect(self.tabCloseRequested) bar.tabMoved.connect( functools.partial(QTimer.singleShot, 0, self.update_tab_titles) ) ...
def __init__(self, win_id, parent=None): super().__init__(parent) bar = TabBar(win_id, self) self.setStyle(TabBarStyle()) self.setTabBar(bar) bar.tabCloseRequested.connect(self.tabCloseRequested) bar.tabMoved.connect( functools.partial(QTimer.singleShot, 0, self._update_tab_titles) )...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def set_tab_pinned(self, tab: QWidget, pinned: bool) -> None: """Set the tab status as pinned. Args: tab: The tab to pin pinned: Pinned tab state to set. """ bar = self.tabBar() idx = self.indexOf(tab) bar.set_tab_data(idx, "pinned", pinned) tab.data.pinned = pinned sel...
def set_tab_pinned(self, tab: QWidget, pinned: bool) -> None: """Set the tab status as pinned. Args: tab: The tab to pin pinned: Pinned tab state to set. """ bar = self.tabBar() idx = self.indexOf(tab) bar.set_tab_data(idx, "pinned", pinned) tab.data.pinned = pinned sel...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def set_page_title(self, idx, title): """Set the tab title user data.""" self.tabBar().set_tab_data(idx, "page-title", title) self.update_tab_title(idx)
def set_page_title(self, idx, title): """Set the tab title user data.""" self.tabBar().set_tab_data(idx, "page-title", title) self._update_tab_title(idx)
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def tabInserted(self, idx): """Update titles when a tab was inserted.""" super().tabInserted(idx) self.update_tab_titles()
def tabInserted(self, idx): """Update titles when a tab was inserted.""" super().tabInserted(idx) self._update_tab_titles()
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def tabRemoved(self, idx): """Update titles when a tab was removed.""" super().tabRemoved(idx) self.update_tab_titles()
def tabRemoved(self, idx): """Update titles when a tab was removed.""" super().tabRemoved(idx) self._update_tab_titles()
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _on_config_changed(self, option: str): if option == "fonts.tabs": self._set_font() elif option == "tabs.favicons.scale": self._set_icon_size() elif option == "colors.tabs.bar.bg": self._set_colors() elif option == "tabs.show_switching_delay": self._on_show_switching_d...
def _on_config_changed(self, option: str): if option == "fonts.tabs": self._set_font() elif option == "tabs.favicons.scale": self._set_icon_size() elif option == "colors.tabs.bar.bg": self._set_colors() elif option == "tabs.show_switching_delay": self._on_show_switching_d...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def minimumTabSizeHint(self, index, ellipsis: bool = True) -> QSize: """Set the minimum tab size to indicator/icon/... text. Args: index: The index of the tab to get a size hint for. ellipsis: Whether to use ellipsis to calculate width instead of the tab's text. ...
def minimumTabSizeHint(self, index, ellipsis: bool = True) -> QSize: """Set the minimum tab size to indicator/icon/... text. Args: index: The index of the tab to get a size hint for. ellipsis: Whether to use ellipsis to calculate width instead of the tab's text. Return: ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _minimum_tab_size_hint_helper( self, tab_text: str, icon_width: int, ellipsis: bool, pinned: bool ) -> QSize: """Helper function to cache tab results. Config values accessed in here should be added to _on_config_changed to ensure cache is flushed when needed. """ text = "\u2026" if ellipsis...
def _minimum_tab_size_hint_helper( self, tab_text: str, icon_width: int, ellipsis: bool ) -> QSize: """Helper function to cache tab results. Config values accessed in here should be added to _on_config_changed to ensure cache is flushed when needed. """ text = "\u2026" if ellipsis else tab_text...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def tabSizeHint(self, index: int): """Override tabSizeHint to customize qb's tab size. https://wiki.python.org/moin/PyQt/Customising%20tab%20bars Args: index: The index of the tab. Return: A QSize. """ if self.count() == 0: # This happens on startup on macOS. #...
def tabSizeHint(self, index: int): """Override tabSizeHint to customize qb's tab size. https://wiki.python.org/moin/PyQt/Customising%20tab%20bars Args: index: The index of the tab. Return: A QSize. """ minimum_size = self.minimumTabSizeHint(index) height = minimum_size.hei...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _get_icon_rect(self, opt, text_rect): """Get a QRect for the icon to draw. Args: opt: QStyleOptionTab text_rect: The QRect for the text. Return: A QRect. """ icon_size = opt.iconSize if not icon_size.isValid(): icon_extent = self.pixelMetric(QStyle.PM_SmallI...
def _get_icon_rect(self, opt, text_rect): """Get a QRect for the icon to draw. Args: opt: QStyleOptionTab text_rect: The QRect for the text. Return: A QRect. """ icon_size = opt.iconSize if not icon_size.isValid(): icon_extent = self.pixelMetric(QStyle.PM_SmallI...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def edit(self, text, caret_position=None): """Edit a given text. Args: text: The initial text to edit. caret_position: The position of the caret in the text. """ if self._filename is not None: raise ValueError("Already editing a file!") try: self._filename = self._cr...
def edit(self, text, caret_position=None): """Edit a given text. Args: text: The initial text to edit. caret_position: The position of the caret in the text. """ if self._filename is not None: raise ValueError("Already editing a file!") try: # Close while the externa...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def update_keyhint(self, modename, prefix): """Show hints for the given prefix (or hide if prefix is empty). Args: prefix: The current partial keystring. """ countstr, prefix = re.fullmatch(r"(\d*)(.*)", prefix).groups() if not prefix: self._show_timer.stop() self.hide() ...
def update_keyhint(self, modename, prefix): """Show hints for the given prefix (or hide if prefix is empty). Args: prefix: The current partial keystring. """ countstr, prefix = re.fullmatch(r"(\d*)(.*)", prefix).groups() if not prefix: self._show_timer.stop() self.hide() ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _save_all(self, *, only_window=None, with_private=False): """Get a dict with data for all windows/tabs.""" data = {"windows": []} if only_window is not None: winlist = [only_window] else: winlist = objreg.window_registry for win_id in sorted(winlist): tabbed_browser = ob...
def _save_all(self, *, only_window=None, with_private=False): """Get a dict with data for all windows/tabs.""" data = {"windows": []} if only_window is not None: winlist = [only_window] else: winlist = objreg.window_registry for win_id in sorted(winlist): tabbed_browser = ob...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def load(self, name, temp=False): """Load a named session. Args: name: The name of the session to load. temp: If given, don't set the current session. """ path = self._get_session_path(name, check_exists=True) try: with open(path, encoding="utf-8") as f: data = u...
def load(self, name, temp=False): """Load a named session. Args: name: The name of the session to load. temp: If given, don't set the current session. """ path = self._get_session_path(name, check_exists=True) try: with open(path, encoding="utf-8") as f: data = u...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def debug_cache_stats(): """Print LRU cache stats.""" prefix_info = configdata.is_valid_prefix.cache_info() # pylint: disable=protected-access render_stylesheet_info = config._render_stylesheet.cache_info() # pylint: enable=protected-access history_info = None try: from PyQt5.QtWebK...
def debug_cache_stats(): """Print LRU cache stats.""" prefix_info = configdata.is_valid_prefix.cache_info() # pylint: disable=protected-access render_stylesheet_info = config._render_stylesheet.cache_info() # pylint: enable=protected-access history_info = None try: from PyQt5.QtWebK...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def log_signals(obj): """Log all signals of an object or class. Can be used as class decorator. """ def log_slot(obj, signal, *args): """Slot connected to a signal to log it.""" dbg = dbg_signal(signal, args) try: r = repr(obj) except RuntimeError: # pragma...
def log_signals(obj): """Log all signals of an object or class. Can be used as class decorator. """ def log_slot(obj, signal, *args): """Slot connected to a signal to log it.""" dbg = dbg_signal(signal, args) try: r = repr(obj) except RuntimeError: # pragma...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _get_tab_registry(win_id, tab_id): """Get the registry of a tab.""" if tab_id is None: raise ValueError("Got tab_id None (win_id {})".format(win_id)) if tab_id == "current" and win_id is None: app = get("app") window = app.activeWindow() if window is None or not hasattr(w...
def _get_tab_registry(win_id, tab_id): """Get the registry of a tab.""" if tab_id is None: raise ValueError("Got tab_id None (win_id {})".format(win_id)) if tab_id == "current" and win_id is None: app = get("app") window = app.activeWindow() if window is None or not hasattr(w...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _get_search_url(txt): """Get a search engine URL for a text. Args: txt: Text to search for. Return: The search URL as a QUrl. """ log.url.debug("Finding search engine for {!r}".format(txt)) engine, term = _parse_search_term(txt) assert term if engine is None: ...
def _get_search_url(txt): """Get a search engine URL for a text. Args: txt: Text to search for. Return: The search URL as a QUrl. """ log.url.debug("Finding search engine for {!r}".format(txt)) engine, term = _parse_search_term(txt) assert term if engine is None: ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def _chromium_version(): """Get the Chromium version for QtWebEngine. This can also be checked by looking at this file with the right Qt tag: https://github.com/qt/qtwebengine/blob/dev/tools/scripts/version_resolver.py#L41 Quick reference: Qt 5.7: Chromium 49 Qt 5.8: Chromium 53 Qt 5.9: ...
def _chromium_version(): """Get the Chromium version for QtWebEngine. This can also be checked by looking at this file with the right Qt tag: https://github.com/qt/qtwebengine/blob/dev/tools/scripts/version_resolver.py#L41 Quick reference: Qt 5.7: Chromium 49 Qt 5.8: Chromium 53 Qt 5.9: ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def github_upload(artifacts, tag): """Upload the given artifacts to GitHub. Args: artifacts: A list of (filename, mimetype, description) tuples tag: The name of the release tag """ import github3 utils.print_title("Uploading to github...") token = read_github_token() gh = ...
def github_upload(artifacts, tag): """Upload the given artifacts to GitHub. Args: artifacts: A list of (filename, mimetype, description) tuples tag: The name of the release tag """ import github3 utils.print_title("Uploading to github...") token = read_github_token() gh = ...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def main(): parser = argparse.ArgumentParser() parser.add_argument( "--asciidoc", help="Full path to python and " "asciidoc.py. If not given, it's searched in PATH.", nargs=2, required=False, metavar=("PYTHON", "ASCIIDOC"), ) parser.add_argument( "...
def main(): parser = argparse.ArgumentParser() parser.add_argument( "--asciidoc", help="Full path to python and " "asciidoc.py. If not given, it's searched in PATH.", nargs=2, required=False, metavar=("PYTHON", "ASCIIDOC"), ) parser.add_argument( "...
https://github.com/qutebrowser/qutebrowser/issues/3634
16:39:44 DEBUG init app:_init_modules:468 Initializing websettings... 16:39:45 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/bin/qutebrowser", line 11, in <module> load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')() File "/usr...
ValueError
def code(self): """Return the processed JavaScript code of this script. Adorns the source code with GM_* methods for Greasemonkey compatibility and wraps it in an IIFE to hide it within a lexical scope. Note that this means line numbers in your browser's debugger/inspector will not match up to the ...
def code(self): """Return the processed JavaScript code of this script. Adorns the source code with GM_* methods for Greasemonkey compatibility and wraps it in an IIFE to hide it within a lexical scope. Note that this means line numbers in your browser's debugger/inspector will not match up to the ...
https://github.com/qutebrowser/qutebrowser/issues/3787
Traceback (most recent call last): File "/home/jay/.local/lib/python3.5/site-packages/qutebrowser/browser/webengine/webview.py", line 355, in _inject_userjs _add_script(script, QWebEngineScript.DocumentReady) File "/home/jay/.local/lib/python3.5/site-packages/qutebrowser/browser/webengine/webview.py", line 343, in _add...
jinja2.exceptions.TemplateAssertionError
def from_obj(self, value): return str(keyutils.KeySequence.parse(value))
def from_obj(self, value): if value is None: return {} return { self.keytype.from_obj(key): self.valtype.from_obj(val) for key, val in value.items() }
https://github.com/qutebrowser/qutebrowser/issues/3699
08:17:55 DEBUG commands command:run:486 command called: unbind ['<ctrl+q>'] 08:17:55 DEBUG commands command:run:501 Calling qutebrowser.config.configcommands.ConfigCommands.unbind(<qutebrowser.config.configcommands.ConfigCommands object at 0x7f0eb37d8ef0>, '<ctrl+q>', mode='normal') 08:17:55 ERROR misc ...
KeyError
def opengl_vendor(): # pragma: no cover """Get the OpenGL vendor used. This returns a string such as 'nouveau' or 'Intel Open Source Technology Center'; or None if the vendor can't be determined. """ assert QApplication.instance() old_context = QOpenGLContext.currentContext() old_surf...
def opengl_vendor(): # pragma: no cover """Get the OpenGL vendor used. This returns a string such as 'nouveau' or 'Intel Open Source Technology Center'; or None if the vendor can't be determined. """ assert QApplication.instance() old_context = QOpenGLContext.currentContext() old_surf...
https://github.com/qutebrowser/qutebrowser/issues/3698
09:30:15 ERROR: Uncaught exception Traceback (most recent call last): File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/home/novel/code/qutebrowser/qutebrowser/__main__.py", ...
ModuleNotFoundError
def get_bindings_for(self, mode): """Get the combined bindings for the given mode.""" bindings = dict(val.bindings.default[mode]) for key, binding in val.bindings.commands[mode].items(): if not binding: bindings.pop(key, None) else: bindings[key] = binding return ...
def get_bindings_for(self, mode): """Get the combined bindings for the given mode.""" bindings = dict(val.bindings.default[mode]) for key, binding in val.bindings.commands[mode].items(): if binding is None: bindings.pop(key, None) else: bindings[key] = binding ret...
https://github.com/qutebrowser/qutebrowser/issues/3631
18:43:06 DEBUG config config:set_str:400 Setting bindings.commands (type Dict) to {'normal': {'co': ''}} (converted from '{"normal": {"co": ""}}') 18:43:06 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/home/florian/proj/qutebrowser/git/qutebrowser...
AssertionError
def _inject_userjs(self, frame): """Inject user JavaScripts into the page. Args: frame: The QWebFrame to inject the user scripts into. """ if sip.isdeleted(frame): log.greasemonkey.debug("_inject_userjs called for deleted frame!") return url = frame.url() if url.isEmpty...
def _inject_userjs(self, frame): """Inject user JavaScripts into the page. Args: frame: The QWebFrame to inject the user scripts into. """ url = frame.url() if url.isEmpty(): url = frame.requestedUrl() log.greasemonkey.debug( "_inject_userjs called for {} ({})".format(f...
https://github.com/qutebrowser/qutebrowser/issues/3627
13:18:20 DEBUG greasemonkey webpage:_inject_userjs:312 _inject_userjs called for <PyQt5.QtWebKitWidgets.QWebFrame object at 0x7fadc1f15288> (https://information.rapid7.com/index.php/form/XDFrame) 13:18:20 DEBUG greasemonkey webpage:_inject_userjs:312 _inject_userjs called for <PyQt5.QtWebKitWidgets.QWebFrame obje...
RuntimeError
def __init__(self, *, cmd, win_id, parent=None): super().__init__(parent) self._cmd = cmd self._win_id = win_id self._timer = QTimer() self._timer.setSingleShot(True) self._timer.setInterval(0) self._timer.timeout.connect(self._update_completion) self._last_cursor_pos = -1 self._last...
def __init__(self, *, cmd, win_id, parent=None): super().__init__(parent) self._cmd = cmd self._win_id = win_id self._timer = QTimer() self._timer.setSingleShot(True) self._timer.setInterval(0) self._timer.timeout.connect(self._update_completion) self._last_cursor_pos = None self._la...
https://github.com/qutebrowser/qutebrowser/issues/3635
10:10:35 DEBUG commands command:run:485 command called: set-cmd-text ['-s', ':open -t'] 10:10:35 DEBUG commands command:run:500 Calling qutebrowser.mainwindow.statusbar.command.Command.set_cmd_text_command(<qutebrowser.mainwindow.statusbar.command.Command>, ':open -t', None, True, False, False) 10:10:35 ERROR...
TypeError
def set_pattern(self, pattern): """Set the pattern used to filter results. Args: pattern: string pattern to filter by. """ # escape to treat a user input % or _ as a literal, not a wildcard pattern = pattern.replace("%", "\\%") pattern = pattern.replace("_", "\\_") words = ["%{}%".f...
def set_pattern(self, pattern): """Set the pattern used to filter results. Args: pattern: string pattern to filter by. """ # escape to treat a user input % or _ as a literal, not a wildcard pattern = pattern.replace("%", "\\%") pattern = pattern.replace("_", "\\_") words = ["%{}%".f...
https://github.com/qutebrowser/qutebrowser/issues/3628
17:26:29 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/home/florian/proj/qutebrowser/git/qutebrowser/completion/completer.py", line 260, in _update_completion completion.set_pattern(pattern) File "/home/florian/proj/qutebrowser/git/qutebrowser/completion...
AttributeError
def init(db_path): """Initialize the SQL database connection.""" database = QSqlDatabase.addDatabase("QSQLITE") if not database.isValid(): raise SqlError( "Failed to add database. Are sqlite and Qt sqlite support installed?", environmental=True, ) database.setData...
def init(db_path): """Initialize the SQL database connection.""" database = QSqlDatabase.addDatabase("QSQLITE") if not database.isValid(): raise SqlError( "Failed to add database. Are sqlite and Qt sqlite support installed?", environmental=True, ) database.setData...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def _init_modules(args, crash_handler): """Initialize all 'modules' which need to be initialized. Args: args: The argparse namespace. crash_handler: The CrashHandler instance. """ # pylint: disable=too-many-statements log.init.debug("Initializing save manager...") save_manager =...
def _init_modules(args, crash_handler): """Initialize all 'modules' which need to be initialized. Args: args: The argparse namespace. crash_handler: The CrashHandler instance. """ # pylint: disable=too-many-statements log.init.debug("Initializing save manager...") save_manager =...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def add_url(self, url, title="", *, redirect=False, atime=None): """Called via add_from_tab when a URL should be added to the history. Args: url: A url (as QUrl) to add to the history. redirect: Whether the entry was redirected to another URL (hidden in completion) ati...
def add_url(self, url, title="", *, redirect=False, atime=None): """Called via add_from_tab when a URL should be added to the history. Args: url: A url (as QUrl) to add to the history. redirect: Whether the entry was redirected to another URL (hidden in completion) ati...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def init(db_path): """Initialize the SQL database connection.""" database = QSqlDatabase.addDatabase("QSQLITE") if not database.isValid(): raise SqlError( "Failed to add database. Are sqlite and Qt sqlite support installed?", environmental=True, ) database.setData...
def init(db_path): """Initialize the SQL database connection.""" database = QSqlDatabase.addDatabase("QSQLITE") if not database.isValid(): raise SqlError( "Failed to add database. Are sqlite and Qt sqlite support installed?" ) database.setDatabaseName(db_path) if not data...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def __init__(self, querystr, forward_only=True): """Prepare a new sql query. Args: querystr: String to prepare query from. forward_only: Optimization for queries that will only step forward. Must be false for completion queries. """ super().__init__(QSqlDatabase.da...
def __init__(self, querystr, forward_only=True): """Prepare a new sql query. Args: querystr: String to prepare query from. forward_only: Optimization for queries that will only step forward. Must be false for completion queries. """ super().__init__(QSqlDatabase.da...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def run(self, **values): """Execute the prepared query.""" log.sql.debug('Running SQL query: "{}"'.format(self.lastQuery())) for key, val in values.items(): self.bindValue(":{}".format(key), val) log.sql.debug("query bindings: {}".format(self.boundValues())) if not self.exec_(): rais...
def run(self, **values): """Execute the prepared query.""" log.sql.debug('Running SQL query: "{}"'.format(self.lastQuery())) for key, val in values.items(): self.bindValue(":{}".format(key), val) log.sql.debug("query bindings: {}".format(self.boundValues())) if not self.exec_(): _han...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def insert_batch(self, values, replace=False): """Performantly append multiple rows to the table. Args: values: A dict with a list of values to insert for each field name. replace: If true, overwrite rows with a primary key match. """ q = self._insert_query(values, replace) for key,...
def insert_batch(self, values, replace=False): """Performantly append multiple rows to the table. Args: values: A dict with a list of values to insert for each field name. replace: If true, overwrite rows with a primary key match. """ q = self._insert_query(values, replace) for key,...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def __init__(self, msg, error): super().__init__(msg) self.error = error log.sql.debug("SQL error:") log.sql.debug("type: {}".format(debug.qenum_key(QSqlError, error.type()))) log.sql.debug("database text: {}".format(error.databaseText())) log.sql.debug("driver text: {}".format(error.driverText...
def __init__(self, msg, error): super().__init__(msg) self.error = error log.sql.debug("SQL error:") log.sql.debug("type: {}".format(debug.qenum_key(QSqlError, error.type()))) log.sql.debug("database text: {}".format(error.databaseText())) log.sql.debug("driver text: {}".format(error.driverText...
https://github.com/qutebrowser/qutebrowser/issues/2930
20:42:34 DEBUG sql sql:run:99 Running SQL query: "SELECT EXISTS(SELECT * FROM History WHERE url = :val)" 20:42:34 DEBUG sql sql:run:102 query bindings: {':val': 'https://wiki.archlinux.org/index.php/ArchWiki:Privacy_policy'} 20:42:34 DEBUG sql debug:__exit__:264 Historycontains took 0.0001...
qutebrowser.misc.sql.SqlException
def _on_load_finished(self, ok): if sip.isdeleted(self._widget): # https://github.com/qutebrowser/qutebrowser/issues/3498 return sess_manager = objreg.get("session-manager") sess_manager.save_autosave() if ok and not self._has_ssl_errors: if self.url().scheme() == "https": ...
def _on_load_finished(self, ok): sess_manager = objreg.get("session-manager") sess_manager.save_autosave() if ok and not self._has_ssl_errors: if self.url().scheme() == "https": self._set_load_status(usertypes.LoadStatus.success_https) else: self._set_load_status(use...
https://github.com/qutebrowser/qutebrowser/issues/3498
Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/qutebrowser/browser/browsertab.py", line 761, in _on_load_finished if not self.title(): File "/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/webenginetab.py", line 615, in title return self._widget.title() RuntimeError: wrapped C/...
RuntimeError
def _restore_zoom(self): if sip.isdeleted(self._widget): # https://github.com/qutebrowser/qutebrowser/issues/3498 return if self._saved_zoom is None: return self.zoom.set_factor(self._saved_zoom) self._saved_zoom = None
def _restore_zoom(self): if self._saved_zoom is None: return self.zoom.set_factor(self._saved_zoom) self._saved_zoom = None
https://github.com/qutebrowser/qutebrowser/issues/3498
Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/qutebrowser/browser/browsertab.py", line 761, in _on_load_finished if not self.title(): File "/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/webenginetab.py", line 615, in title return self._widget.title() RuntimeError: wrapped C/...
RuntimeError
def _get_new_completion(self, before_cursor, under_cursor): """Get the completion function based on the current command text. Args: before_cursor: The command chunks before the cursor. under_cursor: The command chunk under the cursor. Return: A completion model. """ if "--"...
def _get_new_completion(self, before_cursor, under_cursor): """Get the completion function based on the current command text. Args: before_cursor: The command chunks before the cursor. under_cursor: The command chunk under the cursor. Return: A completion model. """ if "--"...
https://github.com/qutebrowser/qutebrowser/issues/3460
17:56:49 DEBUG completion completer:_partition:141 partitioning ['-w', ' open', ' '] around position 8 17:56:49 DEBUG completion completer:_partition:153 partitioned: ['-w', 'open'] '' [] 17:56:49 DEBUG completion completer:_update_completion:236 Updating completion: ['-w', 'open'] [] 17:56:49 DEBUG comple...
TypeError
def _open_editor_cb(self, elem): """Open editor after the focus elem was found in open_editor.""" if elem is None: message.error("No element focused!") return if not elem.is_editable(strict=True): message.error("Focused element is not editable!") return text = elem.value...
def _open_editor_cb(self, elem): """Open editor after the focus elem was found in open_editor.""" if elem is None: message.error("No element focused!") return if not elem.is_editable(strict=True): message.error("Focused element is not editable!") return text = elem.value...
https://github.com/qutebrowser/qutebrowser/issues/2758
$ python3 -m qutebrowser --temp-basedir --backend webengine --debug tests/end2end/data/hello.txt tests/end2end/data/insert_mode_settings/html/textarea.html [...] 19:40:01 DEBUG commands command:run:524 Calling qutebrowser.browser.commands.CommandDispatcher.open_editor(<qutebrowser.browser.commands.CommandDispatche...
RuntimeError
def edit_command(self, run=False): """Open an editor to modify the current command. Args: run: Run the command if the editor exits successfully. """ ed = editor.ExternalEditor(parent=self) def callback(text): if not text or text[0] not in modeparsers.STARTCHARS: message...
def edit_command(self, run=False): """Open an editor to modify the current command. Args: run: Run the command if the editor exits successfully. """ ed = editor.ExternalEditor(parent=self) def callback(text): self.set_cmd_text(text) if run: self.command_accept()...
https://github.com/qutebrowser/qutebrowser/issues/3326
10:33:50 DEBUG procs guiprocess:on_finished:98 Process finished with code 0, status 0. 10:33:50 DEBUG procs editor:on_proc_closed:73 Editor closed 10:33:50 DEBUG procs editor:on_proc_closed:90 Read back: foo 10:33:50 ERROR misc crashsignal:exception_hook:216 Uncaught exception Tracebac...
AssertionError
def callback(text): if not text or text[0] not in modeparsers.STARTCHARS: message.error( "command must start with one of {}".format(modeparsers.STARTCHARS) ) return self.set_cmd_text(text) if run: self.command_accept()
def callback(text): self.set_cmd_text(text) if run: self.command_accept()
https://github.com/qutebrowser/qutebrowser/issues/3326
10:33:50 DEBUG procs guiprocess:on_finished:98 Process finished with code 0, status 0. 10:33:50 DEBUG procs editor:on_proc_closed:73 Editor closed 10:33:50 DEBUG procs editor:on_proc_closed:90 Read back: foo 10:33:50 ERROR misc crashsignal:exception_hook:216 Uncaught exception Tracebac...
AssertionError
def data_for_url(url): """Get the data to show for the given URL. Args: url: The QUrl to show. Return: A (mimetype, data) tuple. """ norm_url = url.adjusted(QUrl.NormalizePathSegments | QUrl.StripTrailingSlash) if norm_url != url: raise Redirect(norm_url) path = ur...
def data_for_url(url): """Get the data to show for the given URL. Args: url: The QUrl to show. Return: A (mimetype, data) tuple. """ # normalize path and strip redundant trailing slashes norm_url = url.adjusted(QUrl.NormalizePathSegments | QUrl.StripTrailingSlash) if norm_u...
https://github.com/qutebrowser/qutebrowser/issues/3221
commands command:run:489 command called: navigate ['up', '-t'] commands command:run:504 Calling qutebrowser.browser.commands.CommandDispatcher.navigate(<qutebrowser.browser.commands.CommandDispatcher>, 'up', True, False, False, 1) webview tabbedbrowser:tabopen:445 Creating new tab with URL PyQt5.QtCore.QUrl('qut...
AssertionError
def createRequest(self, _op, request, _outgoing_data): """Create a new request. Args: request: const QNetworkRequest & req _op: Operation op _outgoing_data: QIODevice * outgoingData Return: A QNetworkReply for directories, None for files. """ path = request.url()...
def createRequest(self, _op, request, _outgoing_data): """Create a new request. Args: request: const QNetworkRequest & req _op: Operation op _outgoing_data: QIODevice * outgoingData Return: A QNetworkReply for directories, None for files. """ path = request.url()...
https://github.com/qutebrowser/qutebrowser/issues/1450
10:56:42 DEBUG init app:process_pos_args:275 Startup URL file:///tmp/people.inf.elte.hu/mersaai/helpvizsgahoz/cpp%20vizsg%ED%B3%83%ED%B2%A1ra/index.html [...] 10:56:42 ERROR misc utils:wrapper:616 Error in qutebrowser.browser.network.networkmanager.NetworkManager.createRequest Traceback (most recent c...
UnicodeEncodeError
def tab_close_prompt_if_pinned(self, tab, force, yes_action): """Helper method for tab_close. If tab is pinned, prompt. If not, run yes_action. If tab is destroyed, abort question. """ if tab.data.pinned and not force: message.confirm_async( title="Pinned Tab", text=...
def tab_close_prompt_if_pinned(self, tab, force, yes_action): """Helper method for tab_close. If tab is pinned, prompt. If everything is good, run yes_action. """ if tab.data.pinned and not force: message.confirm_async( title="Pinned Tab", text="Are you sure you want to ...
https://github.com/qutebrowser/qutebrowser/issues/3223
09:25:53 ERROR misc crashsignal:exception_hook:216 Uncaught exception Traceback (most recent call last): File "/home/florian/proj/qutebrowser/git/qutebrowser/browser/commands.py", line 219, in _tab_close tabbar = self._tabbed_browser.tabBar() RuntimeError: wrapped C/C++ object of type TabbedBrowser has been de...
RuntimeError
def tab_give(self, win_id: int = None): """Give the current tab to a new or existing window if win_id given. If no win_id is given, the tab will get detached into a new window. Args: win_id: The window ID of the window to give the current tab to. """ if win_id == self._win_id: rais...
def tab_give(self, win_id: int = None): """Give the current tab to a new or existing window if win_id given. If no win_id is given, the tab will get detached into a new window. Args: win_id: The window ID of the window to give the current tab to. """ if win_id == self._win_id: rais...
https://github.com/qutebrowser/qutebrowser/issues/3178
23:08:35 DEBUG commands command:run:489 command called: tab-give ['1337'] 23:08:35 DEBUG commands command:run:504 Calling qutebrowser.browser.commands.CommandDispatcher.tab_give(<qutebrowser.browser.commands.CommandDispatcher>, 1337) 23:08:35 ERROR misc crashsignal:exception_hook:216 Uncaught excepti...
AttributeError
def _update_monospace_fonts(): """Update all fonts if fonts.monospace was set.""" configtypes.Font.monospace_fonts = config.val.fonts.monospace for name, opt in configdata.DATA.items(): if name == "fonts.monospace": continue elif not isinstance(opt.typ, configtypes.Font): ...
def _update_monospace_fonts(): """Update all fonts if fonts.monospace was set.""" configtypes.Font.monospace_fonts = config.val.fonts.monospace for name, opt in configdata.DATA.items(): if name == "fonts.monospace": continue elif not isinstance(opt.typ, configtypes.Font): ...
https://github.com/qutebrowser/qutebrowser/issues/3130
Traceback (most recent call last): File "/home/florian/proj/qutebrowser/git/qutebrowser/config/config.py", line 108, in wrapper return func() File "/home/florian/proj/qutebrowser/git/qutebrowser/config/configinit.py", line 107, in _update_monospace_fonts elif not config.instance.get_obj(name).endswith(' monospace'): At...
AttributeError
def to_py(self, value): self._basic_py_validation(value, str) if not value: return None style_map = { "normal": QFont.StyleNormal, "italic": QFont.StyleItalic, "oblique": QFont.StyleOblique, } weight_map = { "normal": QFont.Normal, "bold": QFont.Bold,...
def to_py(self, value): self._basic_py_validation(value, str) if not value: return None style_map = { "normal": QFont.StyleNormal, "italic": QFont.StyleItalic, "oblique": QFont.StyleOblique, } weight_map = { "normal": QFont.Normal, "bold": QFont.Bold,...
https://github.com/qutebrowser/qutebrowser/issues/3096
Errors occurred while reading config.py: Unhandled exception: 'NoneType' object has no attribute 'replace' Traceback (most recent call last): File "/home/bitraid/bin/qutebrowser/qutebrowser/config/configfiles.py", line 406, in read_config_py exec(code, module.__dict__) File "/home/bitraid/.config/qutebrowser/config.py"...
AttributeError
def import_txt(self): """Import a history text file into sqlite if it exists. In older versions of qutebrowser, history was stored in a text format. This converts that file into the new sqlite format and moves it to a backup location. """ path = os.path.join(standarddir.data(), "history") i...
def import_txt(self): """Import a history text file into sqlite if it exists. In older versions of qutebrowser, history was stored in a text format. This converts that file into the new sqlite format and moves it to a backup location. """ path = os.path.join(standarddir.data(), "history") i...
https://github.com/qutebrowser/qutebrowser/issues/3005
08:30:34 INFO message message:info:86 History import complete. Moving C:\Users\Florian\AppData\Local\qutebrowser\data\history to C:\Users\Florian\AppData\Local\qutebrowser\data\history.bak 08:30:34 DEBUG misc mainwindow:_update_overlay_geometry:285 new geometry for <qutebrowser.mainwindow.messageview.Me...
FileExistsError
def action(): with debug.log_time(log.init, "Import old history file to sqlite"): try: self._read(path) except ValueError as ex: message.error("Failed to import history: {}".format(ex)) else: self._write_backup(path)
def action(): with debug.log_time(log.init, "Import old history file to sqlite"): try: self._read(path) except ValueError as ex: message.error("Failed to import history: {}".format(ex)) else: bakpath = path + ".bak" message.info( ...
https://github.com/qutebrowser/qutebrowser/issues/3005
08:30:34 INFO message message:info:86 History import complete. Moving C:\Users\Florian\AppData\Local\qutebrowser\data\history to C:\Users\Florian\AppData\Local\qutebrowser\data\history.bak 08:30:34 DEBUG misc mainwindow:_update_overlay_geometry:285 new geometry for <qutebrowser.mainwindow.messageview.Me...
FileExistsError
def bind(key): """A CompletionModel filled with all bindable commands and descriptions. Args: key: the key being bound. """ model = completionmodel.CompletionModel(column_widths=(20, 60, 20)) cmd_text = objreg.get("key-config").get_bindings_for("normal").get(key) if cmd_text: c...
def bind(key): """A CompletionModel filled with all bindable commands and descriptions. Args: key: the key being bound. """ model = completionmodel.CompletionModel(column_widths=(20, 60, 20)) cmd_name = objreg.get("key-config").get_bindings_for("normal").get(key) if cmd_name: c...
https://github.com/qutebrowser/qutebrowser/issues/2859
13:01:17 DEBUG completion completer:schedule_completion_update:192 Scheduling completion update. 13:01:17 DEBUG completion completer:schedule_completion_update:189 Ignoring update because there were no changes. 13:01:17 DEBUG completion completer:_partition:132 partitioning ['bind', ' ,x', ' '] around position...
AttributeError
def _resize_columns(self): """Resize the completion columns based on column_widths.""" if self.model() is None: return width = self.size().width() column_widths = self.model().column_widths pixel_widths = [(width * perc // 100) for perc in column_widths] if self.verticalScrollBar().isVi...
def _resize_columns(self): """Resize the completion columns based on column_widths.""" width = self.size().width() column_widths = self.model().column_widths pixel_widths = [(width * perc // 100) for perc in column_widths] if self.verticalScrollBar().isVisible(): delta = self.style().pixelM...
https://github.com/qutebrowser/qutebrowser/issues/2854
[...] 17:18:41 DEBUG webview tabbedbrowser:on_title_changed:561 Changing title for idx 0 to 'qutebrowser quickstart | qutebrowser' 17:18:41 ERROR misc crashsignal:exception_hook:210 Uncaught exception Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/qutebrowser/completion/complet...
AttributeError