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

Conflict between Night Mode and Touch screen #18

Open
KaioOCarvalho opened this issue Mar 16, 2020 · 1 comment
Open

Conflict between Night Mode and Touch screen #18

KaioOCarvalho opened this issue Mar 16, 2020 · 1 comment

Comments

@KaioOCarvalho
Copy link

My computer is running Ubuntu 18.04.4, and I use a Wacom One drawing tablet, with the input-wacom driver from: https://github.com/linuxwacom/input-wacom
The night mode is from: https://github.com/krassowski/Anki-Night-Mode
My Anki is Version 2.1.15 (442df9d6) with Qt 5.9.2 PyQt 5.9.

I can't use both night mode and touch screen simultaneously. Anki crashes the studying screen printing the following error:

Debug info:
Anki 2.1.15 (442df9d6) Python 3.6.2 Qt 5.9.2 PyQt 5.9
Platform: Linux
Flags: frz=True ao=True sv=1
Add-ons possibly involved: Touch Screen - draw and write on your cards, 1496166067

Caught exception:
File "aqt/webview.py", line 27, in cmd
File "aqt/webview.py", line 87, in _onCmd
File "aqt/webview.py", line 368, in _onBridgeCmd
File "aqt/overview.py", line 37, in _linkHandler
File "aqt/main.py", line 485, in moveToState
File "aqt/main.py", line 515, in _reviewState
File "aqt/reviewer.py", line 46, in show
File "aqt/reviewer.py", line 95, in nextCard
File "aqt/reviewer.py", line 137, in _initWeb
File "", line 2, in custom
File "anki/hooks.py", line 74, in decorator_wrapper
File "anki/hooks.py", line 71, in repl
File "/home/kaio/.local/share/Anki2/addons21/1496166067/internals.py", line 218, in raw_new
File "/home/kaio/.local/share/Anki2/addons21/1496166067/stylers.py", line 157, in revHtml
File "/home/kaio/.local/share/Anki2/addons21/1631622775/init.py", line 393, in custom
default = ts_default_review_html(*args, **kwargs)
<class 'TypeError'>: revHtml() takes 1 positional argument but 2 were given

@knakamura8
Copy link

I am experiencing this identical issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants