Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error whenever entering Browse mode in Anki #46

Open
6 tasks done
camerooncameroon opened this issue Jan 1, 2022 · 2 comments
Open
6 tasks done

Error whenever entering Browse mode in Anki #46

camerooncameroon opened this issue Jan 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@camerooncameroon
Copy link

camerooncameroon commented Jan 1, 2022

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

An error comes out with speed-focus-mode addon enabled when clicking the 'Browse' button in Anki.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

    
    Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
    Platform: Windows 10
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2022-01-01 03:38:23
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Speed Focus Mode ['speed_focus_mode', 2019-06-29T03:35, 'None', '']
    Zoom 21 ['1846592880', 2020-01-12T22:26, 'None', mod]
    
    ===IDs of active AnkiWeb add-ons===
    1846592880
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['reviewer_progress_bar', 0, 'None', '']
    Add Cards - Web Browser ['1783260740', 2020-10-28T11:35, 'None', '']
    Add Hyperlink ['318752047', 2021-11-21T21:04, 'None', '']
    Add note id ['1672832404', 2020-12-06T15:44, 'None', '']
    AddonBackup ['162231225', 2019-01-16T12:53, 'None', '']
    Advanced Answer Sounds ['1167194350', 2021-12-30T10:41, 'None', mod]
    Advanced Browser ['874215009', 2021-07-23T02:14, 'None', '']
    Advanced Card Styles ['1625103157', 2021-09-23T16:51, 'None', '']
    Advanced Copy Fields ['1898445115', 2019-05-03T23:46, 'None', '']
    Advanced Review Bottom Bar ['1136455830', 2021-09-22T01:59, 'None', mod]
    Anki Excel Sync ['1832015432', 2021-01-28T08:53, 'None', '']
    Anki IPA ['799647424', 2021-01-10T16:15, 'None', mod]
    Anki Simulator ['817108664', 2021-08-08T00:24, 'None', '']
    AnkiConnect ['2055492159', 2021-12-27T11:22, 'None', '']
    Answer Confirmation for 21 ['1354051622', 2019-04-04T17:54, 'None', '']
    Asset Manager ['656021484', 2021-08-30T02:07, 'None', '']
    Audio Files ['1984823157', 2021-11-11T18:13, 'None', mod]
    Automatic Basic to Cloze Updated ['800723229', 2021-12-08T18:09, 'None', '']
    Automatic Scoring 2 sets the focus easy good hard again based on time ['238560501', 2019-12-17T19:42, 'None', '']
    Automatic Scoring sets the default grade easy good hard again based on time ['1765221856', 2020-05-04T11:21, 'None', '']
    AwesomeTTS - Add speech to your flashcards ['1436550454', 2021-12-28T18:30, 'None', '']
    Basic Printing Support ['1025789669', 2020-02-24T11:12, 'None', '']
    Batch Editing ['291119185', 2019-06-02T23:47, 'None', '']
    Batch Remove Formatting eg bold italics etc ['1734822644', 2018-09-24T20:34, 'None', '']
    BetterSearch ['1052724801', 2021-11-21T23:42, 'None', '']
    Browser TableEditor side-by-side horizontal split ['831846358', 2021-05-27T21:47, 'None', '']
    Bury Cousins related cards that arent siblings ['1072815885', 2021-07-20T06:23, 'None', '']
    Bury related notes ['413416269', 2020-04-03T12:55, 'None', '']
    Button Colours Good Again ['2494384865', 2021-04-06T19:57, 'None', '']
    CC-CEDICT for Anki Chinese dictionary ['418828045', 2021-09-03T21:33, 'None', mod]
    CSS Injector - Change default editor styles ['181103283', 2021-10-05T03:29, 'None', '']
    CTRLF5 to Refresh the Browser ['1347728560', 2019-07-30T11:36, 'None', '']
    Card Info During Review ['2179254157', 2021-02-05T15:22, 'None', '']
    Change Card Creation Times ['217650262', 2019-03-05T07:59, 'None', '']
    Change Order of Review Cards in Regular Decks ['3731265543', 2018-10-13T03:47, 'None', '']
    Chinese Companion - frequency sort HSK suspend heisig support and more ['2129668097', 2018-11-22T18:55, 'None', '']
    Chinese Getter ['972150718', 2021-06-23T19:27, 'None', mod]
    Chinese Pinyin Translator Zhuyin Bopomofo Gwoyeu Romatzyh ['1792056402', 2018-11-09T08:27, 'None', mod]
    Chinese Prestudy ['882364911', 2020-11-03T11:43, 'None', mod]
    Chinese Support Redux v0142 ['1128979221', 2021-03-29T07:19, 'None', mod]
    Chinese Vocabulary Generator ['1370756741', 2021-02-24T13:07, 'None', '']
    Chinese Words Finder ['2048169015', 2020-07-07T17:32, 'None', mod]
    Chinese-Text-Scanner ['2121493325', 2020-06-28T09:53, 'None', mod]
    Clickable Tags v20 Anki 2120 support ['1739176371', 2021-10-17T04:27, 'None', '']
    Closet For Anki ['272311064', 2021-04-12T19:09, 'None', '']
    Cloze Anything ['330680661', 2021-12-09T12:34, 'None', '']
    Cloze Hide All ['1709973686', 2021-09-11T15:00, '21.9.11i107', mod]
    Cloze Overlapper for Anki 21 ['109531687', 2021-01-12T08:12, 'None', '']
    Color Confirmation ['1084228676', 2020-03-14T17:13, 'None', mod]
    Colorful Browser Sidebar ['929609616', 2021-09-09T23:03, 'None', mod]
    Copy notes ['1566928056', 2021-12-25T00:56, 'None', '']
    Countdown To Events and Exams ['1143540799', 2021-03-14T01:40, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2017-08-29T23:57, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2021-08-20T06:20, 'None', mod]
    Customize Editor Stylesheet ['1215991469', 2018-09-04T20:03, 'None', '']
    Customize Keyboard Shortcuts ['24411424', 2021-12-06T01:39, 'None', '']
    Deck name in title 21 ['699175524', 2019-06-01T06:05, 'None', '']
    Duplicate Selected Notes ['2126361512', 2017-08-29T23:57, 'None', '']
    Duplicate and Reorder ['1114271285', 2021-11-23T00:56, 'None', '']
    Duplicate and Reorder ['duplicate_and_reorder', 2020-10-16T21:56, 'None', mod]
    Edit Field During Review Cloze ['385888438', 2021-12-18T15:47, '6.9', mod]
    Enhanced Cloze for Anki 21 ['1990296174', 2021-10-20T14:45, 'None', '']
    Export in CSV format ['1478130872', 2019-01-21T23:21, 'None', '']
    Extended Card Stats During Review ['1008566916', 2017-08-29T23:59, 'None', '']
    Extended Tag AddEdit Dialog ['1135507717', 2021-12-06T01:35, 'None', '']
    External Note Editor for the Browser ['1996266159', 2020-04-01T01:59, 'None', '']
    Fanfare ['2073603704', 2020-04-01T12:21, 'None', '']
    Fast cards reposition ['544982740', 2021-09-19T18:51, 'None', '']
    Fastbar- with nightmode support ['46611790', 2021-12-07T23:48, 'None', '']
    Fill the blanks - Multiple typecloze support ['1933645497', 2021-08-06T00:38, 'None', '']
    Find and Replace in Card templatesNotetypesHTML ['992153575', 2021-09-17T11:34, 'None', '']
    Flexible Cloze ['1632356464', 2021-12-26T15:03, 'None', '']
    Hierarchical Tags 2 ['594329229', 2021-03-07T07:25, 'None', '']
    Highlight Search Results in the Browser ['225180905', 2021-03-10T22:06, 'None', '']
    Image Editor ['307397307', 2021-12-19T16:58, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T07:21, 'None', '']
    Image Style Editor ['1593969147', 2021-12-17T12:01, 'None', mod]
    ImageResizer ['1214357311', 2021-04-10T21:15, 'None', '']
    Incremental Reading v4103 ['935264945', 2019-04-21T17:54, 'None', '']
    Legacy Remove HTML ['1101026246', 2021-01-25T00:40, 'None', '']
    Let it Snow ['321075516', 2017-12-21T21:48, 'None', '']
    Load Balanced Scheduler ['208879074', 2018-10-05T05:06, 'None', '']
    Localize Media ['1293255374', 2018-11-26T16:27, 'None', '']
    Maximum image height and width in card editor ['229181581', 2021-07-23T11:01, 'None', '']
    Mini Format Pack ['295889520', 2018-07-24T22:45, 'None', '']
    Minimize to tray ['85158043', 2021-12-13T21:59, 'None', '']
    More Decks Stats and Time Left ['1556734708', 2021-01-27T14:09, 'None', '']
    More Overview Stats ['2116130837', 2021-05-29T16:24, 'None', '']
    MorphMan for Anki 21 ['900801631', 2021-02-11T09:30, 'None', '']
    Multi-column note editor ['3491767031', 2021-11-02T20:18, 'None', '']
    Multiple Choice for Anki ['1566095810', 2021-03-18T22:50, 'None', '']
    New Format Pack ['1187194862', 2021-08-10T05:41, 'None', '']
    Papercards - export  print flashcards to paper ['2042118948', 2021-05-14T06:58, 'None', mod]
    Persistent Editor ['1686259334', 2021-02-12T05:05, 'None', '']
    Postpone cards review ['1152543397', 2021-02-13T21:47, 'None', '']
    Quick Colour Changing ['2491935955', 2017-08-28T17:48, 'None', '']
    Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-20T09:40, 'None', '']
    Refocus Card when Reviewing 21 ['1642550423', 2018-09-19T19:14, 'None', '']
    Remaining time for Anki 21 ['1508357010', 2020-12-13T19:14, '20.12.13i151', mod]
    Reset Card Scheduling ['300884351', 2018-09-18T21:17, 'None', '']
    Reset review log ['1345711295', 2020-06-05T12:03, 'None', '']
    Resize images in editor ['1103084694', 2021-07-19T11:35, 'None', mod]
    Review First ['181194973', 2019-03-06T22:47, 'None', '']
    Review Heatmap ['review_heatmap', 2020-04-30T18:23, 'None', '']
    Scale Images ['1312865748', 2021-06-05T14:53, 'None', '']
    Search Bar ['1251668918', 2020-09-10T02:55, 'None', '']
    Search and Replace Tags ['138501288', 2017-08-29T23:58, 'None', '']
    Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2021-09-17T15:24, 'None', mod]
    See Previous Card Ratings in Reviewer ['1906641654', 2021-08-20T02:32, 'None', mod]
    Sentence adder for any language with batch add option ['1682655437', 2021-03-24T19:52, 'None', '']
    Special Fields ['1102281552', 2021-06-21T02:27, 'None', '']
    Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-12T16:47, 'None', '']
    TagSelectorV2 ['1022577188', 2021-08-07T16:28, 'None', '']
    The KING of Button Add-ons ['374005964', 2020-04-18T03:33, 'None', '']
    True Retention ['613684242', 2017-11-20T01:43, 'None', '']
    Web Browser - Search terms Import texts and images automatically ['864545277', 2021-10-12T03:33, 'None', '']
    add-on dialog searchfilter bar ['561945101', 2021-12-06T01:28, 'None', '']
    blank ['1690290745', 2021-05-04T16:04, 'None', '']
    extended editor for field for tables searchreplace ['805891399', 2021-12-06T19:59, 'None', '']
    maobi - Chinese Hanzi Writing Quizzes in Anki v0 5 2 ['931477147', 2021-02-21T22:14, 'None', mod]
    remove linebreaks  do word wrap ['2028179508', 2021-12-11T04:35, 'None', '']
    show new siblings in order  no same day spacingrandomization for new siblings ['268644742', 2020-02-18T23:41, 'None', '']

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

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.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-01-01 03:38:23

Caught exception:
Traceback (most recent call last):
  File "aqt\webview.py", line 41, in cmd
  File "aqt\webview.py", line 142, in _onCmd
  File "aqt\webview.py", line 595, in _onBridgeCmd
  File "aqt\toolbar.py", line 168, in _linkHandler
  File "aqt\toolbar.py", line 186, in _browseLinkHandler
  File "aqt\main.py", line 1119, in onBrowse
  File "decorator.py", line 232, in fun
  File "anki\hooks.py", line 89, in decorator_wrapper
  File "anki\hooks.py", line 81, in repl
TypeError: onDialogOpened() got an unexpected keyword argument 'card'
@camerooncameroon camerooncameroon added the bug Something isn't working label Jan 1, 2022
@BabuAlfil
Copy link

I also have the same issue with an anki error popping out whenever I enter the browse mode.

@masonc15
Copy link

masonc15 commented Feb 2, 2022

Yep, getting the same issue here. If this could be fixed somehow, that would be great. It's the only thing holding this addon back currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants