You are not logged in.

#1 2018-05-28 11:54:49

nortega
Member
Registered: 2017-10-08
Posts: 2

Anki2.1 Failing to Start Up

I'm unsure of when this happened, but last week for sure it was working just fine. Recently I opened up Anki to find that it gave me this traceback error:

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 584, 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'

I decided to try downgrading to see if that fixed the issue, going all the way back to `anki-2.1.0beta29-1-any.pkg.tar.xz', and still no results. It's probably because I'm a complete python noob that I cannot decipher this from the traceback, but it seems to me that the issue is with one of the dependencies (and if I had to guess it, PyQt). Any suggestions on what I may need to temporarily downgrade or less patchy solutions?

Offline

#2 2018-05-28 14:36:19

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: Anki2.1 Failing to Start Up

Offline

#3 2018-05-29 06:30:08

nortega
Member
Registered: 2017-10-08
Posts: 2

Re: Anki2.1 Failing to Start Up

Hmmm... Seems like Anki 2.1.0beta39 is simply incompatible with Qt 5.11. I'd have to downgrade all those packages to get it to work. Thanks loqs.

Offline

#4 2018-05-30 04:24:16

etnull
Member
From: Hackerland
Registered: 2018-04-26
Posts: 33

Re: Anki2.1 Failing to Start Up

nortega wrote:

Hmmm... Seems like Anki 2.1.0beta39 is simply incompatible with Qt 5.11. I'd have to downgrade all those packages to get it to work. Thanks loqs.

How exactly you downgrade? I see only 5.11.0-1 in my pacman -U, downgrading qt5-base-5.11.0-1-x86_64.pkg.tar.xz doesn't help.

Offline

#5 2018-05-30 06:03:22

seth
Member
Registered: 2012-09-03
Posts: 51,056

Offline

#6 2018-05-30 06:29:45

etnull
Member
From: Hackerland
Registered: 2018-04-26
Posts: 33

Re: Anki2.1 Failing to Start Up

wonderful resource, thank you.

Looks like I purged my pacman backups, damn...

Offline

#7 2018-05-30 06:52:53

seth
Member
Registered: 2012-09-03
Posts: 51,056

Offline

#8 2018-05-30 06:59:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Anki2.1 Failing to Start Up

"Looks like"? You would have had to specifically do it.

Offline

#9 2018-06-06 03:40:39

santost12
Member
Registered: 2018-06-06
Posts: 1

Re: Anki2.1 Failing to Start Up

I don't have my old packages. I recently cleared the cache.  sad

Offline

Board footer

Powered by FluxBB