Skip to content

Add-on crash #26

@Livecan

Description

@Livecan

When I tried to run this add-on I was getting an error. I am not familiar with Anki add-ons or Python, but I thought this error message could help you.

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.32 (dee7d45d) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-08 15:39:37

Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 37, in cmd
File "aqt\webview.py", line 123, in _onCmd
File "aqt\webview.py", line 547, in _onBridgeCmd
File "aqt\overview.py", line 67, in _linkHandler
File "aqt\main.py", line 661, in moveToState
File "aqt\main.py", line 683, in _reviewState
File "aqt\reviewer.py", line 65, in show
File "aqt\reviewer.py", line 118, in nextCard
File "aqt\reviewer.py", line 208, in _showQuestion
File "aqt\gui_hooks.py", line 2127, in call
File "anki\hooks.py", line 583, in runHook
File "C:\Users\roman\AppData\Roaming\Anki2\addons21\flashgrid\reviewerMonkey.py", line 60, in onShowQuestion
doGrid()
File "C:\Users\roman\AppData\Roaming\Anki2\addons21\flashgrid\reviewerMonkey.py", line 51, in doGrid
w.setGeo()
File "C:\Users\roman\AppData\Roaming\Anki2\addons21\flashgrid\main.py", line 108, in setGeo
screen = QDesktopWidget().screenGeometry()
NameError: name 'QDesktopWidget' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions