# Where is the error in my code?

**URL:** https://forums.ankiweb.net/t/where-is-the-error-in-my-code/69481
**Category:** Add-ons
**Created:** [April 20, 2026, 8:07pm UTC](https://forums.ankiweb.net/t/where-is-the-error-in-my-code/69481 "2026-04-20T20:07:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![KWUILT](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kwuilt/32/33475_2.png) [@KWUILT](https://forums.ankiweb.net/u/KWUILT)
#### Post date: [April 20, 2026, 8:07pm UTC](https://forums.ankiweb.net/t/where-is-the-error-in-my-code/69481/1 "2026-04-20T20:07:50Z")

</div>

Hi! Is there any error in my add-on?  
[https://ankiweb.net/shared/info/1337506368](https://ankiweb.net/shared/info/1337506368).  
This is an add-on which diagnoses leeches (duh) to make them easier to edit.  
Although, it seems like it isn’t working. Any help?

---

<div class="post-metadata">

### Author: ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)
#### Post date: [April 21, 2026, 6:39pm UTC](https://forums.ankiweb.net/t/where-is-the-error-in-my-code/69481/2 "2026-04-21T18:39:42Z")

</div>

I gave it a quick test and it did work for me: The pop-up showed up and the note tagged with the reason.

---

<div class="post-metadata">

### Author: ![KWUILT](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kwuilt/32/33475_2.png) [@KWUILT](https://forums.ankiweb.net/u/KWUILT)
#### Post date: [April 21, 2026, 8:16pm UTC](https://forums.ankiweb.net/t/where-is-the-error-in-my-code/69481/3 "2026-04-21T20:16:33Z")

</div>

Oh ok. There might be a problem on my side. Though, is it a good idea for an addon?

---

<div class="post-metadata">

### Author: ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)
#### Post date: [April 21, 2026, 9:11pm UTC](https://forums.ankiweb.net/t/where-is-the-error-in-my-code/69481/4 "2026-04-21T21:11:49Z")

</div>

> [@KWUILT](#):
>
> is it a good idea for an addon?

Certainly! Anki doesn’t offer much customization here.

---

<div class="post-metadata">

### Author: ![KWUILT](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kwuilt/32/33475_2.png) [@KWUILT](https://forums.ankiweb.net/u/KWUILT)
#### Post date: [April 22, 2026, 2:48am UTC](https://forums.ankiweb.net/t/where-is-the-error-in-my-code/69481/5 "2026-04-22T02:48:06Z")

</div>

Thank you!
