[Edubuntu-bugs] [Bug 1901921] Re: Sync calibre 5.3.0+dfsg-1 (universe) from Debian unstable (main)
A note: hirsute should autosync from Debian once the automatic sync/import system is turned on. This doesn't happen necessarily immediately. Bit too late in the cycle to have a 'sync' for Focal and Groovy, those'll need individual patching/SRUs. -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to calibre in Ubuntu. https://bugs.launchpad.net/bugs/1901921 Title: Sync calibre 5.3.0+dfsg-1 (universe) from Debian unstable (main) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1901921/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 1901921] Re: Sync calibre 5.3.0+dfsg-1 (universe) from Debian unstable (main)
I think you've missed my point, which is that it's **extraordinarily rare** we would sync directly from Debian to already-released Ubuntu releases... -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to calibre in Ubuntu. https://bugs.launchpad.net/bugs/1901921 Title: Sync calibre 5.3.0+dfsg-1 (universe) from Debian unstable (main) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1901921/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 951231] Re: Edubuntu 12.02.1
Research time! https://launchpad.net/ubuntu/+source/edubuntu-meta Look there. Notice the pacakge version is 12.02.1. The actual Ubuntu release is still Ubuntu 12.04(.1). The Edubuntu site confirms this. ** Changed in: edubuntu-meta (Ubuntu) Status: New => Incomplete ** Changed in: edubuntu-meta (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to edubuntu-meta in Ubuntu. https://bugs.launchpad.net/bugs/951231 Title: Edubuntu 12.02.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/edubuntu-meta/+bug/951231/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 1825722] Re: Anki fails to start because QWebEngineView is not defined (missing import)
Is this issue specific to Disco and Eoan? Or does this happen in other releases as well? ** Also affects: anki (Ubuntu Eoan) Importance: Undecided Status: Confirmed ** Also affects: anki (Ubuntu Disco) Importance: Undecided Status: New ** Changed in: anki (Ubuntu Disco) Status: New => Confirmed ** Changed in: anki (Ubuntu Disco) Importance: Undecided => Medium ** Changed in: anki (Ubuntu Eoan) Importance: Undecided => Medium ** Changed in: anki (Ubuntu Disco) Assignee: (unassigned) => Thomas Ward (teward) ** Changed in: anki (Ubuntu Eoan) Assignee: (unassigned) => Thomas Ward (teward) -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to anki in Ubuntu. https://bugs.launchpad.net/bugs/1825722 Title: Anki fails to start because QWebEngineView is not defined (missing import) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1825722/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 1825722] Re: Anki fails to start because QWebEngineView is not defined (missing import)
To those affected, there are Disco and Eoan builds here for testing: https://launchpad.net/~teward/+archive/ubuntu/anki-1825722 They include the aforementioned patch with a few tweaks to be Debian packaging compatible. They should be testable within an hour, please test the packages to see if this solves the issue on Disco and Eoan. (This issue has not been confirmed to be on any other releases of Ubuntu at this time, so those have not been added to the PPA yet.) -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to anki in Ubuntu. https://bugs.launchpad.net/bugs/1825722 Title: Anki fails to start because QWebEngineView is not defined (missing import) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1825722/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 1825722] Re: Anki fails to start because QWebEngineView is not defined (missing import)
I did my testing locally in an Eoan and a Disco VM, and this fix does indeed work. Further, I dug into the imports, we would need to import a long string of plugin bits to import each bit individually, so since we're past 3 or 4 imports at that point it makes sense and is easier to just import * to import the entire set of QtWeb bits that the program is going to use. I've taken the patch and adjusted it to be compliant with SRU requirements and Packaging requirements. I will upload this to Eoan and prep the SRU as well. ** Changed in: anki (Ubuntu Disco) Importance: Medium => High ** Changed in: anki (Ubuntu Eoan) Importance: Medium => High -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to anki in Ubuntu. https://bugs.launchpad.net/bugs/1825722 Title: Anki fails to start because QWebEngineView is not defined (missing import) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1825722/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 1825722] Re: Anki fails to start because QWebEngineView is not defined (missing import)
SRU template applied. ** Changed in: anki (Ubuntu Eoan) Status: Confirmed => Fix Committed ** Description changed: + [Impact] + + Due to changes in PyQt (according to Arch), the Anki application fails + to run because library imports have been altered in a way that causes + the application to not execute and start under any circumstances. + + This makes the application as is currently unusable. + + + [Test Case] + + (1) Install Ubuntu Disco or Ubuntu Eoan. + + (2) Install anki from repositories as-is (2.1.8+dfsg-1) + + (3) Attempt to run `anki` on command line, you get the traceback stated + in the original description. + + (4) Use the PPA or the version in the repos/proposed. + + (5) Anki properly runs without error and starts up as expected. + + + [Regression Potential] + + From a code perspective, the only thing we do is we pull in all the + libraries and classes from PyQt5.QtWebEngineWidgets. In the long term + this could cause breakages if PyQt changes again. + + However, in the intervening *short term*, this change does not introduce + any major code or functional changes other than to make the various + classes available for use, and the regression risk from this change is + minimal. + + + [Additional Information] + + This was tested in a Disco and an Eoan VM running inside VMware. The + test cases were both able to be tested without issue there, and are as + written. + + There is a PPA with these changes available, linked in the comments. + + + [Original Description] + Trying to start Anki version 2.1.8+dfsg-1 from Ubuntu 19.04 fails with the following error: Traceback (most recent call last): - File "/usr/bin/anki", line 6, in - import aqt - File "/usr/share/anki/aqt/__init__.py", line 32, in - import aqt.forms - File "/usr/share/anki/aqt/forms/__init__.py", line 44, in - from . import about - File "/usr/share/anki/aqt/forms/about.py", line 42, in - from aqt.webview import AnkiWebView - File "/usr/share/anki/aqt/webview.py", line 90, in - class AnkiWebView(QWebEngineView): + File "/usr/bin/anki", line 6, in + import aqt + File "/usr/share/anki/aqt/__init__.py", line 32, in + import aqt.forms + File "/usr/share/anki/aqt/forms/__init__.py", line 44, in + from . import about + File "/usr/share/anki/aqt/forms/about.py", line 42, in + from aqt.webview import AnkiWebView + File "/usr/share/anki/aqt/webview.py", line 90, in + class AnkiWebView(QWebEngineView): NameError: name 'QWebEngineView' is not defined This appears to be due to changes in the PyQt, as described in this Arch bug report: https://bugs.archlinux.org/task/61710 The patch suggested there by Antonio Rojas works on my Ubuntu 19.04 system, too: --- /usr/share/anki/aqt/qt.py.orig 2019-02-10 22:41:21.648827256 +0100 +++ /usr/share/anki/aqt/qt.py 2019-02-10 22:38:17.798020886 +0100 @@ -13,7 +13,7 @@ from PyQt5.Qt import * # trigger explicit message in case of missing libraries # instead of silently failing to import -from PyQt5.QtWebEngineWidgets import QWebEnginePage +from PyQt5.QtWebEngineWidgets import * try: from PyQt5 import sip except ImportError: ** Changed in: anki (Ubuntu Disco) Assignee: Thomas Ward (teward) => (unassigned) ** Changed in: anki (Ubuntu Disco) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to anki in Ubuntu. https://bugs.launchpad.net/bugs/1825722 Title: Anki fails to start because QWebEngineView is not defined (missing import) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1825722/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 1825722] Re: Anki fails to start because QWebEngineView is not defined (missing import)
** Changed in: anki (Ubuntu Eoan) Assignee: Thomas Ward (teward) => (unassigned) -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to anki in Ubuntu. https://bugs.launchpad.net/bugs/1825722 Title: Anki fails to start because QWebEngineView is not defined (missing import) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1825722/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp
[Edubuntu-bugs] [Bug 1825722] Re: Anki fails to start because QWebEngineView is not defined (missing import)
I went ahead and also confirmed the verification was completed for anki in Disco Proposed. -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to anki in Ubuntu. https://bugs.launchpad.net/bugs/1825722 Title: Anki fails to start because QWebEngineView is not defined (missing import) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1825722/+subscriptions ___ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : edubuntu-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp