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

Are there any plans to update it to version 23.10? #46

Open
castellco opened this issue Nov 8, 2023 · 8 comments
Open

Are there any plans to update it to version 23.10? #46

castellco opened this issue Nov 8, 2023 · 8 comments
Labels
question Further information is requested

Comments

@castellco
Copy link

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [x ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [ x] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [ x] I've checked if anyone else asked this question before by looking through the issue reports.

Your question

Are there any plans to update it to version 23.10? This add on is the best for learning code, but it is incompatible with the latest version of Anki. Please.

@castellco castellco added the question Further information is requested label Nov 8, 2023
@glutanimate
Copy link
Owner

Hi, yes it's on my list of add-ons to update.

@castellco
Copy link
Author

I'm looking forward to it. Thanks!

@dluschan
Copy link

dluschan commented Dec 4, 2023

This patch should fix the issue: #47

@cav71
Copy link

cav71 commented Dec 17, 2023

@glutanimate @dluschan thanks for the incredible tool ankit is. Would you consider to share the burden to maintain this repo with someone that can help?
This pull request is kind of ready to go, but hold for weeks (see47).

@Lexora
Copy link

Lexora commented Jan 6, 2024

Looking forward to running this on new version -

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.35


When loading Syntax Highlighting for Code:
Traceback (most recent call last):
  File "aqt.addons", line 245, in loadAddons
  File "/home/usr.local/share/Anki2/addons21/1463041493/__init__.py", line 15, in <module>
    from . import main
  File "/home/usr/.local/share/Anki2/addons21/1463041493/main.py", line 21, in <module>
    from .consts import *  # import addon_path
  File "/home/usr/.local/share/Anki2/addons21/1463041493/consts.py", line 22, in <module>
    addon_path = os.path.dirname(__file__).decode(sys_encoding)
AttributeError: 'str' object has no attribute 'decode'

Oh this looks like a quick fix, ^ can I help to create a PR if previous one is stale?

@cav71
Copy link

cav71 commented Jan 6, 2024

@Lexora I wrote a fork here syntax-highlighting-ng / 566351439: it includes improvements and fixes for the newest Anki version.

@DevinCLane
Copy link

Just checking in to see if this will be updated for the newest version of anki? Great add-on here, thanks for your work

@aljab012
Copy link

@Lexora I wrote a fork here syntax-highlighting-ng / 566351439: it includes improvements and fixes for the newest Anki version.

Thanks a lot @cav71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants