# Reverso plugin - Official Support Thread

**URL:** <https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059>\
**Category:** Add-ons\
**Created:** [September 5, 2020, 8:16am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059 "2020-09-05T08:16:42Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![rtw\_nz](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rtw\_nz](https://forums.ankiweb.net/u/rtw_nz)\
**Post date:** [September 2, 2022, 8:40am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/21 "2022-09-02T08:40:48Z")

</div>

I don’t see a link to the code, maybe I could do a PR with those features if I can get access to the code?

---

<div class="post-metadata">

**Author:** ![sandro](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sandro/32/260_2.png) [@sandro](https://forums.ankiweb.net/u/sandro)\
**Post date:** [September 2, 2022, 9:13am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/22 "2022-09-02T09:13:20Z")

</div>

My bad, I never published it, but I always meant to do it. leave me some more days and I’ll do it. If in a week I have not done it, please nudge me…  
[the reason I didn’t publish it yet, is that I’m more a mercurial fan rather that git, but there are no more public free mercurial spaces, anyhow I’ll publish it on github…]

---

<div class="post-metadata">

**Author:** ![rtw\_nz](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rtw\_nz](https://forums.ankiweb.net/u/rtw_nz)\
**Post date:** [September 6, 2022, 6:06am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/23 "2022-09-06T06:06:16Z")

</div>

Great thanks! If I can make it work it will make my card creation flow so much easier.

---

<div class="post-metadata">

**Author:** ![rtw\_nz](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rtw\_nz](https://forums.ankiweb.net/u/rtw_nz)\
**Post date:** [September 9, 2022, 10:35pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/24 "2022-09-09T22:35:01Z")

</div>

Consider this a nudge 😀

---

<div class="post-metadata">

**Author:** ![sandro](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sandro/32/260_2.png) [@sandro](https://forums.ankiweb.net/u/sandro)\
**Post date:** [September 11, 2022, 10:00pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/25 "2022-09-11T22:00:13Z")

</div>

Great, thanks for the nudge! \*😉  
So the repo is: [GitHub - sandroden/reverso-anki-addon: An addon to import from Reverso site](https://github.com/sandroden/reverso-anki-addon)  
I don’t consider the story to be that important up to now. So I just imported the current repo.

As far as your issues:  
**the target deck** is something that defy my comprehension. I tried hard, it seems to work in some circumstances (mostly for me) and fails in others. The API from anki are in my opinion quite cumbersome.

**changing the format of the card** is a nice feature, but I wonder if it’s the way to cope with “close”.

My typical workflow is that I

- add a card from Reverso
- I edit using some other dicts to get more examples
- after a week I add a close from the examples

I would have liked to make this last step as easy as possible and maybe add a reminder if no close was ever added from this note but I have never found a really satisfying solution. I’m happy to see your suggestions.

Sandro  
\*🙂

---

<div class="post-metadata">

**Author:** ![rtw\_nz](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rtw\_nz](https://forums.ankiweb.net/u/rtw_nz)\
**Post date:** [September 12, 2022, 6:23pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/26 "2022-09-12T18:23:23Z")

</div>

Great thanks, I will give it a try but I’m new to add-on, python, and QT…so we’ll see 😅

---

<div class="post-metadata">

**Author:** ![abderrahman.tabassam](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abderrahman.tabassam/32/13839_2.png) [@abderrahman.tabassam](https://forums.ankiweb.net/u/abderrahman.tabassam)\
**Post date:** [April 2, 2023, 11:40pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/27 "2023-04-02T23:40:54Z")

</div>

os: mac m1  
Debug info:  
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1  
Platform: macOS-13.2.1-arm64-arm-64bit  
Flags: frz=True ao=True sv=3  
Add-ons, last update check: 2023-04-02 01:57:17  
Add-ons possibly involved: ⁨Reverso importer⁩

Caught exception:  
Traceback (most recent call last):  
File “aqt.browser.table.table”, line 453, in \_on\_context\_menu  
File “\_aqt.hooks”, line 1204, in **call**  
File “anki.hooks”, line 34, in runHook  
File “/Users/abderrahman/Library/Application Support/Anki2/addons21/2060267742/utils.py”, line 95, in setupMenu  
menu\_data = [x.data() for x in menu.children()]  
File “/Users/abderrahman/Library/Application Support/Anki2/addons21/2060267742/utils.py”, line 95, in   
menu\_data = [x.data() for x in menu.children()]  
AttributeError: ‘QMenu’ object has no attribute ‘data’

---

<div class="post-metadata">

**Author:** ![MedBooster](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MedBooster](https://forums.ankiweb.net/u/MedBooster)\
**Post date:** [December 9, 2023, 4:20pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/28 "2023-12-09T16:20:59Z")

</div>

Does not work anymore in  
Version ⁨23.10.1 (fac9e0ee)⁩  
Python 3.9.15 Qt 6.6.0 PyQt 6.6.0  
Which deeply saddens me

Btw. this is one of the reasons why I actually use Reverso. This add-on makes Reverso soo much more useful. Thank you for your work

---

<div class="post-metadata">

**Author:** ![sprvlcn](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@sprvlcn](https://forums.ankiweb.net/u/sprvlcn)\
**Post date:** [December 9, 2023, 5:33pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/29 "2023-12-09T17:33:01Z")

</div>

Maybe try the Qt5 version of Anki 23.10 and higher.

For the author of the add-on, this page may be helpful: [Porting tips for Anki 23.10](https://forums.ankiweb.net/t/porting-tips-for-anki-23-10/35916)

It might be as simple as changing some enums and importing from aqt.qt instead of PyQt5.Qt\*

---

<div class="post-metadata">

**Author:** ![sandro](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sandro/32/260_2.png) [@sandro](https://forums.ankiweb.net/u/sandro)\
**Post date:** [December 10, 2023, 1:30am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/30 "2023-12-10T01:30:57Z")

</div>

Thanks for letting me know about this issue.  
I’ll work on it possibly next we. It’s definitely my intention to keep it working (but I’m still on an older version)  
Thanks to @sprvlcn for the hint.  
@MedBooster, I’m pleased you appreciate my plugin but you could contact me even w/o downvoting…

Sandro

---

<div class="post-metadata">

**Author:** ![MedBooster](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MedBooster](https://forums.ankiweb.net/u/MedBooster)\
**Post date:** [December 10, 2023, 8:01am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/31 "2023-12-10T08:01:14Z")

</div>

Hello @sandro  
My bad! It is a well-deserved thumbs up now! I just saw others reporting their issues there, but now I understand that it isn’t the right place to discuss bugs because of you not being able to reply there etc…

**By the way, @sandro , maybe you would have any instructions on how to change the imported card format? Would that be possible? As of now I’ve had to manually convert all cards to appear in my custom format**

Here’s my custom card format in case anyone’s interested (I have not yet made it for the reversed card-type which I have not found yet) :

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/a/c/ac1ef1f5b222673f20072b4558d358847a0cd501.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/2/9/292f9f9d4bbe1bebcea90e15392828a19c8f4949.png)

Front template:

```auto

<p>
{{hint::context}}

        <div><div class="lang">
        {{srcLang}} → {{trgLang}}
        </div>

<hr>

```

Back template:

```auto
            {{edit:srcText}}
<br>
            <div class="context">
   
                {{edit:context}}
              </p>
           </div>

<hr>
            <p class="translation">
            {{edit:translation}}

            </p>

        <div><div class="lang">
<br>
        {{srcLang}} → {{trgLang}}
        </div>

```

Styling

```auto
.card {
 font-family: arial;
 font-size: 25px;
 text-align: center;
 color: #333;
 background-color: white;
}
.hint, .context {
 font-size: 20px;
 text-align: ;
 font-style: italic;
 color: Gray
}

.lang {
   font-size: 10px; 
	color: red;
   text-align: left;
text-align: bottom;
text-transform: capitalize;
}

```

---

<div class="post-metadata">

**Author:** ![MedBooster](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MedBooster](https://forums.ankiweb.net/u/MedBooster)\
**Post date:** [December 10, 2023, 8:23am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/32 "2023-12-10T08:23:34Z")

</div>

PS: it would be cool if you could add an optional tag to all imported words.  
E.g. a field. It would also make it easier to delete accidental imports (where you import more than you wanted to etc.)

---

<div class="post-metadata">

**Author:** ![MedBooster](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MedBooster](https://forums.ankiweb.net/u/MedBooster)\
**Post date:** [December 10, 2023, 8:55am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/33 "2023-12-10T08:55:41Z")

</div>

The Add-on does actually load in  
Version ⁨23.10.1 (fac9e0ee)⁩  
Python 3.9.15 Qt 5.15.2 PyQt 5.15.5

However, I have tried a few times, and the words do not get imported into the correct deck (deck name:) (every single time it gets imported into the same deck, which I am not able to change – no matter what I set the “deck name:” to )

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/c/2/c21dc5e69ec4805923ecd872aee5d28bc1dcb9e0.png)

and sometimes the translation only shows “…”, what does that mean?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/f/1f9a112824fab6e09a0282ae8dd2dbc33e25c9a6.png)

---

<div class="post-metadata">

**Author:** ![Hossam](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@Hossam](https://forums.ankiweb.net/u/Hossam)\
**Post date:** [January 2, 2024, 7:03pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/34 "2024-01-02T19:03:16Z")

</div>

I am new to the Reverso and Anki. It is a great solution to learn, but I have a problem adding this feature in Anki tools (Import Reverso). I followed the instructions and copied the code (2060267742) in Anki Adds-on but nothing happened. When I close Anki and open it again, I find the Add-on Startup Failed message. I clicked the check for Updates but no more updates are available. I am copying the Debug info, maybe it help to know how I add the Reverso import feature to Anki (Anki 23.12.1 (1a1d4d54) (ao)  
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1  
Platform: Windows-10-10.0.22621

When loading Reverso importer:  
Traceback (most recent call last):  
File “aqt.addons”, line 245, in loadAddons  
File “C:\Users\hossa\AppData\Roaming\Anki2\addons21\2060267742\__init_\_.py”, line 1, in   
from . import main  
File “C:\Users\hossa\AppData\Roaming\Anki2\addons21\2060267742\main.py”, line 9, in   
from . import gui  
File “C:\Users\hossa\AppData\Roaming\Anki2\addons21\2060267742\gui.py”, line 5, in   
from PyQt5 import QtCore, QtGui, QtWidgets  
ModuleNotFoundError: No module named ‘PyQt5’

)

 ![Anki screenshot](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/e/3/e334f8e706d317a9e8729949aa653fd66f77c888.png)

Thanks a lot  
Hossam

---

<div class="post-metadata">

**Author:** ![sandro](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sandro/32/260_2.png) [@sandro](https://forums.ankiweb.net/u/sandro)\
**Post date:** [January 2, 2024, 7:19pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/35 "2024-01-02T19:19:55Z")

</div>

Thanks for reporting,

in fact that’s something I was aware of since some 3 weeks and I plan to upgrade it shortly. Please stay tuned and I will surely address this issue.

As addressed some posts above, you can also install a QT5 version and it may work already.

Sandro

\*🙂

---

<div class="post-metadata">

**Author:** ![sandro](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sandro/32/260_2.png) [@sandro](https://forums.ankiweb.net/u/sandro)\
**Post date:** [January 2, 2024, 11:08pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/36 "2024-01-02T23:08:00Z")

</div>

> [@MedBooster](#):
>
> However, I have tried a few times, and the words do not get imported into the correct deck (deck name:) (every single time it gets imported into the same deck, which I am not able to change – no matter what I set the “deck name:” to )

That’s something I did experience myself. I completely miss how it works. I will try once again to make it out, but I make no promises.

---

<div class="post-metadata">

**Author:** ![sandro](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sandro/32/260_2.png) [@sandro](https://forums.ankiweb.net/u/sandro)\
**Post date:** [January 6, 2024, 6:31pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/37 "2024-01-06T18:31:00Z")

</div>

I just uploaded version 1.8.0 of [reverso add-on](https://ankiweb.net/shared/info/2060267742) that is a porting to the latest anki versions. It solves

- the issue with Qt6, it now works with both
- it correctly saves options between sessions (creation of reverso card was particularly annoying)

It does not solve the issue with the target deck, but I posted a request for suggestions, let’s see if I get some help.  
It currently does not refresh the UI when adding the reverso card, but it correctly adds them, at least.

The code is now published on [github](https://github.com/wikidattica/reversoanki) and patches are welcome even just to suggest best practices or better code (I’m definitely not savvy on Qt6).

---

<div class="post-metadata">

**Author:** ![MedBooster](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MedBooster](https://forums.ankiweb.net/u/MedBooster)\
**Post date:** [February 21, 2024, 6:58am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/38 "2024-02-21T06:58:56Z")

</div>

Hmm, I tried uninstalling and installing the add-on again  
– I’m on version Version ⁨23.12.1 (1a1d4d54)⁩

It still doesn’t add the cards to the assigned deck.

@sandro , have you had the chance to check out the styling set-up I shared? 🙂

Import from Reverso (version 1.8.0)

---

<div class="post-metadata">

**Author:** ![MedBooster](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MedBooster](https://forums.ankiweb.net/u/MedBooster)\
**Post date:** [February 21, 2024, 7:08am UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/39 "2024-02-21T07:08:26Z")

</div>

- once I deleted the deck (just 1) all imports would go to no matter what I set the destination deck to;  
I get “default” as the deck name in browse mode.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/0/10a80978c66dda33d22a592ec92df5b8b893763a.png)

---

<div class="post-metadata">

**Author:** ![MedBooster](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MedBooster](https://forums.ankiweb.net/u/MedBooster)\
**Post date:** [March 25, 2024, 4:15pm UTC](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059/40 "2024-03-25T16:15:01Z")

</div>

It’s weird… no matter what I do the cards don’t load into the assigned deck. v1.8.0 of the add-on  
Version Version ⁨23.12.1 (1a1d4d54)⁩ of Anki.

[Previous page](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059.md?page=1)

[Next page](https://forums.ankiweb.net/t/reverso-plugin-official-support-thread/3059.md?page=3)
