Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Anki broken with Python 3.9
@ 2021-10-02 23:21 Bikutoso
  2021-10-03  2:03 ` ericonr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bikutoso @ 2021-10-02 23:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]

New issue by Bikutoso on void-packages repository

https://github.com/void-linux/void-packages/issues/33278

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.13.19_1 x86_64 GenuineIntel notuptodate rrrmFFFF
* package:  
  anki-2.1.15_4
  python3-3.9.7_1

### Expected behavior
Entering an answer should show the result without any errors.
### Actual behavior
Gives this error after entering an answer.
```
Caught exception:
  File "/usr/share/anki/aqt/webview.py", line 322, in handler
    cb(val)
  File "/usr/share/anki/aqt/reviewer.py", line 461, in _onTypedAnswer
    self._showAnswer()
  File "/usr/share/anki/aqt/reviewer.py", line 217, in _showAnswer
    a = self._mungeQA(a)
  File "/usr/share/anki/aqt/reviewer.py", line 156, in _mungeQA
    return self.typeAnsFilter(mungeQA(self.mw.col, buf))
  File "/usr/share/anki/aqt/reviewer.py", line 306, in typeAnsFilter
    return self.typeAnsAnswerFilter(buf)
  File "/usr/share/anki/aqt/reviewer.py", line 362, in typeAnsAnswerFilter
    cor = parser.unescape(cor)
<class 'AttributeError'>: 'HTMLParser' object has no attribute 'unescape'
```
### Steps to reproduce the behavior
Enter an answer in any deck with new/due cards.
### Additional Information
Someone has already reported this bug to [Gentoo Linux](https://bugs.gentoo.org/795309), they have created a [patch](https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267c5a6cdfd2d0e3839118d49598e92ac074d7b0) that does also work in Void.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anki broken with Python 3.9
  2021-10-02 23:21 [ISSUE] Anki broken with Python 3.9 Bikutoso
@ 2021-10-03  2:03 ` ericonr
  2021-10-03 11:01 ` Bikutoso
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2021-10-03  2:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/33278#issuecomment-932848599

Comment:
It's hacktoberfest, so opening a PR with the patch sounds like a great opportunity ;)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anki broken with Python 3.9
  2021-10-02 23:21 [ISSUE] Anki broken with Python 3.9 Bikutoso
  2021-10-03  2:03 ` ericonr
@ 2021-10-03 11:01 ` Bikutoso
  2021-10-03 11:03 ` Bikutoso
  2021-10-10 10:25 ` [ISSUE] [CLOSED] " paper42
  3 siblings, 0 replies; 5+ messages in thread
From: Bikutoso @ 2021-10-03 11:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

New comment by Bikutoso on void-packages repository

https://github.com/void-linux/void-packages/issues/33278#issuecomment-932919327

Comment:
#33287

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anki broken with Python 3.9
  2021-10-02 23:21 [ISSUE] Anki broken with Python 3.9 Bikutoso
  2021-10-03  2:03 ` ericonr
  2021-10-03 11:01 ` Bikutoso
@ 2021-10-03 11:03 ` Bikutoso
  2021-10-10 10:25 ` [ISSUE] [CLOSED] " paper42
  3 siblings, 0 replies; 5+ messages in thread
From: Bikutoso @ 2021-10-03 11:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

New comment by Bikutoso on void-packages repository

https://github.com/void-linux/void-packages/issues/33278#issuecomment-932919327

Comment:
#33287
I think i did this correctly.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] Anki broken with Python 3.9
  2021-10-02 23:21 [ISSUE] Anki broken with Python 3.9 Bikutoso
                   ` (2 preceding siblings ...)
  2021-10-03 11:03 ` Bikutoso
@ 2021-10-10 10:25 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2021-10-10 10:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]

Closed issue by Bikutoso on void-packages repository

https://github.com/void-linux/void-packages/issues/33278

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.13.19_1 x86_64 GenuineIntel notuptodate rrrmFFFF
* package:  
  anki-2.1.15_4
  python3-3.9.7_1

### Expected behavior
Entering an answer should show the result without any errors.
### Actual behavior
Gives this error after entering an answer.
```
Caught exception:
  File "/usr/share/anki/aqt/webview.py", line 322, in handler
    cb(val)
  File "/usr/share/anki/aqt/reviewer.py", line 461, in _onTypedAnswer
    self._showAnswer()
  File "/usr/share/anki/aqt/reviewer.py", line 217, in _showAnswer
    a = self._mungeQA(a)
  File "/usr/share/anki/aqt/reviewer.py", line 156, in _mungeQA
    return self.typeAnsFilter(mungeQA(self.mw.col, buf))
  File "/usr/share/anki/aqt/reviewer.py", line 306, in typeAnsFilter
    return self.typeAnsAnswerFilter(buf)
  File "/usr/share/anki/aqt/reviewer.py", line 362, in typeAnsAnswerFilter
    cor = parser.unescape(cor)
<class 'AttributeError'>: 'HTMLParser' object has no attribute 'unescape'
```
### Steps to reproduce the behavior
Enter an answer in any deck with new/due cards.
### Additional Information
Someone has already reported this bug to [Gentoo Linux](https://bugs.gentoo.org/795309), they have created a [patch](https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267c5a6cdfd2d0e3839118d49598e92ac074d7b0) that does also work in Void.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-10 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-02 23:21 [ISSUE] Anki broken with Python 3.9 Bikutoso
2021-10-03  2:03 ` ericonr
2021-10-03 11:01 ` Bikutoso
2021-10-03 11:03 ` Bikutoso
2021-10-10 10:25 ` [ISSUE] [CLOSED] " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).