Skip to content

Items don't display properly. (or how could they be fixed?) #64

Description

@GoldEEr17

Instead of showing the stats (Average, minutes more, due...) on the rights it writes them at the bottom and the decks on the top. Making Beautify Anki weirdly unbeautiful here. Anki also loads up with an error message (using 2.1.49 version even with no other add-ons. see the error message below).
Animations don't seem to work on the main page also. It's all a bit glitchy/weird.

Screenshots of the weird UI :
https://prnt.sc/xw5Bd0_iAz1o
https://prnt.sc/JkFnsG3jGCKX

    
    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-06-28 22:16:39
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['Beautify_Anki', 0, 'None', mod]
    
    ===IDs of active AnkiWeb add-ons===
    
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AnkiConnect ['2055492159', 2022-05-15T18:09, 'None', '']
    CrowdAnki JSON exportimport Edit history Collaborate on deck creation ['1788670778', 2021-12-19T01:21, 'None', '']
    Edit Field During Review Cloze ['385888438', 2022-02-22T06:35, '6.11', mod]
    Image Occlusion Enhanced ['1374772155', 2020-04-28T04:21, 'None', '']
    Review Heatmap ['review_heatmap', 2021-06-03T15:56, 'None', '']

When I load Anki (having enabled only Beautify_Anki) I get this error message :

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-06-28 22:16:39

Traceback (most recent call last):
  File "aqt\main.py", line 523, in loadCollection
  File "aqt\main.py", line 672, in moveToState
  File "aqt\main.py", line 679, in _deckBrowserState
  File "aqt\deckbrowser.py", line 68, in show
  File "aqt\deckbrowser.py", line 143, in _renderPage
  File "aqt\deckbrowser.py", line 153, in __renderPage
  File "aqt\webview.py", line 472, in stdHtml
  File "aqt\hooks_gen.py", line 4099, in __call__
  File "C:\Users\leo\AppData\Roaming\Anki2\addons21\Beautify_Anki\__init__.py", line 80, in on_webview_will_set_content
    web_content.css.remove("deckbrowser.css")
ValueError: list.remove(x): x not in list

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions