bug report

greyfenrir's Avatar

greyfenrir

12 Nov, 2019 04:15 AM

Hello.
I faced fail of desktop anki after pressing 'browse' in top menu.
I have git version of anki (current master) and updated dependencies.
Full output is

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.16 (dev) Python 3.6.5 Qt 5.9.3 PyQt 5.9.2
Platform: Linux
Flags: frz=False ao=False sv=1

Caught exception:
Traceback (most recent call last):
  File "/home/fenrir/Projects/anki/aqt/webview.py", line 27, in cmd
    return json.dumps(self.onCmd(str))
  File "/home/fenrir/Projects/anki/aqt/webview.py", line 87, in _onCmd
    return self._onBridgeCmd(str)
  File "/home/fenrir/Projects/anki/aqt/webview.py", line 368, in _onBridgeCmd
    return self.onBridgeCmd(cmd)
  File "/home/fenrir/Projects/anki/aqt/toolbar.py", line 56, in _linkHandler
    self.link_handlers[link]()
  File "/home/fenrir/Projects/anki/aqt/toolbar.py", line 74, in _browseLinkHandler
    self.mw.onBrowse()
  File "/home/fenrir/Projects/anki/aqt/main.py", line 855, in onBrowse
    aqt.dialogs.open("Browser", self)
  File "/home/fenrir/Projects/anki/aqt/__init__.py", line 82, in open
    instance = creator(*args)
  File "/home/fenrir/Projects/anki/aqt/browser.py", line 404, in __init__
    self.setupMenus()
  File "/home/fenrir/Projects/anki/aqt/browser.py", line 446, in setupMenus
    f.actionOrange_Flag.triggered.connect(lambda: self.onSetFlag(2))
AttributeError: 'Ui_Dialog' object has no attribute 'actionOrange_Flag'

  1. 1 Posted by greyfenrir on 12 Nov, 2019 04:18 AM

    greyfenrir's Avatar

    additionally: of course, I tried 'Tools > Check Database' and see no effect.

  2. Support Staff 2 Posted by Damien Elmes on 12 Nov, 2019 09:17 PM

    Damien Elmes's Avatar

    You missed a step in README.development.

  3. 3 Posted by grey.fenrir on 16 Nov, 2019 07:50 AM

    grey.fenrir's Avatar

    It's really my bad, thanks for the kick)

    ---
    Taras

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac