donnemartin / system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
Other
277.92k stars 46.57k forks source link

Anki Error on Launching using Ubuntu 18.10 #235

Open FunMyWay opened 6 years ago

FunMyWay commented 6 years ago

I'm using Ubuntu 18.10 on Lenovo Thinkpad: I get this error right after the install using Ubuntu software install ....after installed ...when pressing Launch button:


Error during startup: Traceback (most recent call last): File "/usr/share/anki/aqt/main.py", line 50, in init self.setupUI() File "/usr/share/anki/aqt/main.py", line 75, in setupUI self.setupMainWindow() File "/usr/share/anki/aqt/main.py", line 585, in setupMainWindow tweb = self.toolbarWeb = aqt.webview.AnkiWebView() File "/usr/share/anki/aqt/webview.py", line 114, in init self.focusProxy().installEventFilter(self) AttributeError: 'NoneType' object has no attribute 'installEventFilter'


Anki version: 2.1.0+dfsg-1 Updated: 11/17/2018 The error message won't reappear unless you uninstall and reboot O/S. Any help is appreciated. Thanks! DJ

anonymousedzika commented 6 years ago

Update & upgrade Pada tanggal 17 Nov 2018 11.18 PM, "FunMyWay" notifications@github.com menulis:

I'm using Ubuntu 18.10 on Lenovo Thinkpad: I get this error right after the install using Ubuntu software install ....after installed ...when pressing :

Error during startup: Traceback (most recent call last): File "/usr/share/anki/aqt/main.py", line 50, in init self.setupUI() File "/usr/share/anki/aqt/main.py", line 75, in setupUI self.setupMainWindow() File "/usr/share/anki/aqt/main.py", line 585, in setupMainWindow tweb = self.toolbarWeb = aqt.webview.AnkiWebView() File "/usr/share/anki/aqt/webview.py", line 114, in init self.focusProxy().installEventFilter(self) AttributeError: 'NoneType' object has no attribute 'installEventFilter'

Anki version: 2.1.0+dfsg-1 Updated: 11/17/2018 The error message won't reappear unless you uninstall and reboot O/S. Any help is appreciated. Thanks! DJ

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/donnemartin/system-design-primer/issues/235, or mute the thread https://github.com/notifications/unsubscribe-auth/Aqta9ItUf-QiBH4gWlJwLDo5CbG15UpPks5uwDblgaJpZM4YnhcL .

jrrus commented 5 years ago

I am running Ubuntu 19.10 on an HP Envy 8300. I get the same message when I try to launch Anki. Anki shows up in the System Monitor. If I use System Monitor to kill Anki, the same message is repeated when I try to start Anki again.

jrrus commented 5 years ago

sorry, that was a mistype. I am running Ubuntu 18.10

jrrus commented 5 years ago

I loaded Ubuntu 18.10 on an HP touchscreen laptop and Anki starts and synchronizes with AnkiWeb on this system.

jrrus commented 5 years ago

The same issue appears to be the subject of this:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905379

Found:

https://launchpad.net/ubuntu/+source/anki/2.1.5+dfsg+2.1.6-test.20181026.b4f4e65c-1

Downloaded:

anki_2.1.5+dfsg+2.1.6-test.20181026.b4f4e65c-1.debian.tar.xz

Extracted to Downloads folder but I don't know what to do with it.

I am a newcomer to Linux...

jrrus commented 5 years ago

downloaded and installed anki-2.1.8-linux-amd64.tar.bz2 from https://apps.ankiweb.net/ Anki runs but get message mpv too old, reverting to mplayer Updating mpv did not resolve. I assume I will have to wait for a new version. Now Anki runs and synchronizes with AnkiWeb.