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

AttributeError: 'NoneType' object has no attribute 'id' #28

Closed
xin007-kong opened this issue Aug 25, 2024 · 4 comments
Closed

AttributeError: 'NoneType' object has no attribute 'id' #28

xin007-kong opened this issue Aug 25, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@xin007-kong
Copy link

不知道是什么原因导致的

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.19041

Traceback (most recent call last):
File "aqt.webview", line 50, in cmd
File "aqt.webview", line 157, in _onCmd
File "aqt.webview", line 686, in _onBridgeCmd
File "aqt.editor", line 427, in onBridgeCmd
File "aqt.hooks", line 2292, in call
File "C:\Users\xxx\AppData\Roaming\Anki2\addons21\1077002392_init
.py", line 458, in onEditNote
if editor.note.id == note.id:
AttributeError: 'NoneType' object has no attribute 'id'

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Browser ['874215009', 2023-10-21T22:34, 'None', '']
Anki Note Linker ['1077002392', 2024-08-16T16:03, 'None', '']
Batch Editing ['291119185', 2023-10-26T08:38, 'None', '']
BetterSearch ['1052724801', 2024-03-07T00:25, 'None', '']
Countdown To Events and Exams ['1143540799', 2022-06-27T19:50, 'None', '']
Edit Field During Review ['1020366288', 2022-08-30T03:38, 'None', '']
Highlight Search Results in the Browser ['225180905', 2023-10-22T03:17, 'None', '']
Review Heatmap ['1771074083', 2022-06-30T09:43, 'None', '']
Review Lookup ['1745211643', 2022-06-22T15:12, 'None', '']
See Previous Card Ratings in Reviewer ['1906641654', 2021-08-20T05:32, 'None', '']
Toggle front and back card in Anki 21 ['1240106570', 2019-07-21T21:19, 'None', '']
extended editor for field for tables searchreplace ['805891399', 2023-07-31T22:12, 'None', mod]
hjp-linkmaster mind graph roaming reviewer bilinker ['1420819673', 2024-05-23T18:54, 'None', '']

===IDs of active AnkiWeb add-ons===
1020366288 1052724801 1077002392 1143540799 1240106570 1420819673 1745211643 1771074083 1906641654 225180905 291119185 805891399 874215009

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Review Bottom Bar ['1136455830', 2024-08-22T19:04, 'None', '']
Anki-redesign ['308574457', 2023-02-05T02:43, 'None', mod]
Enhance main window ['877182321', 2023-10-23T04:28, 'None', '']

@xin007-kong
Copy link
Author

@AlecsSantos Does that work for this issue?

@gugutu
Copy link
Owner

gugutu commented Aug 29, 2024

您好,请问是在什么操作的情况下出现的这个错误,能提供复现步骤吗?

@gugutu gugutu added the bug Something isn't working label Sep 4, 2024
gugutu referenced this issue Sep 5, 2024
@gugutu
Copy link
Owner

gugutu commented Sep 5, 2024

应该修复好了,更新插件看看

@gugutu gugutu closed this as completed Sep 5, 2024
@xin007-kong
Copy link
Author

@gugutu 哇,感谢大佬,看anki提示这个插件更新了来然后来这里看看,原来是解决了这个问题!
我记得当时好像是有两种情况,一种是在节点里面显示的文字内容过多的时候会卡住,然后我点几下屏幕就跳出来这个,还有一种情况好像就是我在浏览界面编辑的时候会卡一下,然后跳出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@gugutu @xin007-kong and others