NameError: name 'QAction' is not defined

Bug #2000433 reported by Olaf Seibert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qbrz
New
Undecided
Unassigned

Bug Description

```
murthe.5:.../other/ctwm/bzr$ brz qlog
brz: ERROR: NameError: name 'QAction' is not defined

Traceback (most recent call last):
  File "/usr/pkg/lib/python3.9/site-packages/breezy/plugins/qbrz/lib/trace.py", line 368, in reports_exception_decorate
    return f(*args, **kargs)
  File "/usr/pkg/lib/python3.9/site-packages/breezy/plugins/qbrz/lib/log.py", line 236, in load
    self.log_list.load(branches, primary_bi, file_ids, self.no_graph, gz_cls)
  File "/usr/pkg/lib/python3.9/site-packages/breezy/plugins/qbrz/lib/logwidget.py", line 103, in load
    self.create_context_menu()
  File "/usr/pkg/lib/python3.9/site-packages/breezy/plugins/qbrz/lib/logwidget.py", line 164, in create_context_menu
    self.context_menu_tag = add_branch_action(gettext("Tag &revision..."), self.tag_revision)
  File "/usr/pkg/lib/python3.9/site-packages/breezy/plugins/qbrz/lib/logwidget.py", line 159, in add_branch_action
    menu = BranchMenu(text, self, self.log_model.graph_viz, require_wt)
  File "/usr/pkg/lib/python3.9/site-packages/breezy/plugins/qbrz/lib/logwidget.py", line 593, in __init__
    self.triggered[QAction].connect(self.triggered)
NameError: name 'QAction' is not defined

brz 3.2.2 on python 3.9.14 (NetBSD-9.3-amd64-x86_64-64bit-ELF)
arguments: ['/usr/pkg/bin/brz', 'qlog']
plugins: bash_completion[3.2.2], changelog_merge[3.2.2],
    commitfromnews[3.2.2], cvs[3.2.2], darcs[3.2.2], email[3.2.2],
    fastimport[3.2.2], flake8[unknown], fossil[3.2.2], github[3.2.2],
    gitlab[3.2.2], hg[3.2.2], launchpad[3.2.2], mtn[3.2.2],
    netrc_credential_store[3.2.2], news_merge[3.2.2], po_merge[3.2.2],
    propose[3.2.2], pypi[3.2.2], qbrz[0.4.1.dev], quilt[unknown],
    repodebug[3.2.2], rewrite[unknown], stats[3.2.2], svn[3.2.2],
    upload[3.2.2], weave_fmt[3.2.2], zsh_completion[3.2.2]
encoding: 'iso8859-1', fsenc: 'iso8859-1', lang: None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/brz/+filebug
    including this traceback and a description of the problem.
murthe.5:.../other/ctwm/bzr$
```

This is with qbrz commit 1651. It was in a directory that was the parent to several branches, in case it matters.

I don't know how that relates to "version 0.4.0" as is mentioned at https://launchpad.net/qbrz; this is confusing me. Please make proper releases with proper distfiles.

Revision history for this message
Olaf Seibert (rhialto) wrote :

`brz log` in this directory says

murthe.5:.../other/ctwm/bzr$ brz log
brz: ERROR: Not a branch: "/mnt/vol1/rhialto/cvs/other/ctwm/bzr/.bzr/branch/": location is a repository.

Jelmer Vernooij (jelmer)
affects: brz → qbrz
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.