Coder Social home page Coder Social logo

advanced_copy_fields's Introduction

AdvancedCopyFields

Anki 23.10+ Plugin for performing various field copy/move operations

advanced_copy_fields's People

Contributors

abdnh avatar ambriel avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

abdnh

advanced_copy_fields's Issues

The addon won't start after updating to the newest version.

Screen Shot 2023-12-23 at 20 56 58
Anki 23.10.1 (fac9e0ee) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1
Platform: macOS-12.7.2-x86_64-i386-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-12-23 16:47:13

When loading Advanced Copy Fields:
Traceback (most recent call last):
  File "aqt.addons", line 245, in loadAddons
  File "/Users/eugen/Library/Application Support/Anki2/addons21/1898445115/__init__.py", line 1, in <module>
    from . import advanced_copy_fields
  File "/Users/eugen/Library/Application Support/Anki2/addons21/1898445115/advanced_copy_fields.py", line 18, in <module>
    from PyQt6 import QtCore, QtGui, QtWidgets
ModuleNotFoundError: No module named 'PyQt6'

AttributeError: type object 'QTextCursor' has no attribute 'End'

I get the error below when I do the following:

  1. Open card browser
  2. Right-click on a card
  3. Click on "Advanced Copy..."
  4. Select "Custom" in the "Action" field.

The actual copy functionality doesn't seem to be affected, but the "Source Field" and the "Template" of the dialog don't look quite right:
image

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 to the add-on author.
Debug info:
Anki 23.10.1 (fac9e0ee) Python 3.9.15 Qt 6.6.0 PyQt 6.6.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-12-27 11:49:10
Add-ons possibly involved: ⁨Advanced Copy Fields⁩

Caught exception:
Traceback (most recent call last):
  File "C:\Users\...\AppData\Roaming\Anki2\addons21\1898445115\advanced_copy_fields.py", line 433, in onActionIndexChange
    self.onCustom()
  File "C:\Users\...\AppData\Roaming\Anki2\addons21\1898445115\advanced_copy_fields.py", line 419, in onCustom
    cursor.movePosition(QtGui.QTextCursor.End)
AttributeError: type object 'QTextCursor' has no attribute 'End'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.