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

create duplicate addon #177

Open
1 task
pranav517517 opened this issue May 15, 2021 · 0 comments · May be fixed by #203
Open
1 task

create duplicate addon #177

pranav517517 opened this issue May 15, 2021 · 0 comments · May be fixed by #203

Comments

@pranav517517
Copy link

create duplicate addon ?

[ Please mention the add-on in the issue title as follows: "[Add-on name] My issue" ]

Prerequisite checklist

[ Please enter an [ x ] character to confirm the points below: ]

  • [x ] In case of a bug: Have you tried restarting Anki?
  • [x ] Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • [x ] Did you check the add-on description on AnkiWeb for known issues?
  • Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

[ Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.42 (8eebfe18) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-05-15 11:03:39

Caught exception:
Traceback (most recent call last):
File "C:\Users\davin\AppData\Roaming\Anki2\addons21\2126361512\browser_create_duplicate.py", line 97, in
a.triggered.connect(lambda _, b=self: onCreateDuplicate(b))
File "C:\Users\davin\AppData\Roaming\Anki2\addons21\2126361512\browser_create_duplicate.py", line 100, in onCreateDuplicate
createDuplicate(self)
File "C:\Users\davin\AppData\Roaming\Anki2\addons21\2126361512\browser_create_duplicate.py", line 64, in createDuplicate
mw.col.decks.get(deck)['mid'] = model['id']
File "anki\decks.py", line 231, in get
TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict'
]

How can we reproduce the problem?

i dont know use windows or linux ubuntu there are same errors

[ What were you doing when the problem occurred? ]
using the addon after opening browsing the cards

Expected behavior: [ What you expected to happen ]

Actual behavior: [ What actually happened ]
Untitled

Reproducible?: [ Can you reliably reproduce the issue by following the steps above? ]

Version information

Anki

[ Please head to HelpAbout Anki and Paste the version string here, e.g.: ]

[ Version 2.0.47 ]
[ Qt 4.8.1 PyQt 4.9.1 ]

System

  • Operating system: [ Windows/macOS/Linux ]
  • Version: [ e.g. 10, High Sierra, Ubuntu 18.04 ]
@thiswillbeyourgithub thiswillbeyourgithub linked a pull request Apr 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant