Comments (7)
I have written a port for Anki 2.1.0. friebetill/CrowdAnki
There were not many changes necessary and at first glance everything works quite well.
I don't know if a pull request is appropriate, because the port is not compatible with Anki 2.0.
from crowdanki.
yep, you're right :)
from crowdanki.
Hi, thank you for the feedback.
It's not API incompatibility, but python version incompatibility.
As 2.0 is stable version now, I prefer for plugin to be compatible with it.
But it should be possible to make it cross-version compatible :) I'll look into it.
from crowdanki.
I haven't looked into it for a while, but I think it's totally possible to make changes compatible.
I've briefly looked into the changes you've made and have a few comments:
- Running 2to3 conversion on the whole codebase is excessive. I wrote that code as Python3 initially and I think the only things that need to be fixed are a few imports and some unicode specific things
- It's especially true for thirdparty things - a lot of them are there because they are backports from python3 i.e. pathlib is natively present in P3 and most of the thirdparty things are consequence of using pathlib. I think the only thing beside it is uuid lib. So the only thing you need here to make things compatible is some try/except and aliasing on imports
- You removed support for AnkiHub registration for some reason
- The import fixes seems to be excessive too, the code was meant to be P2/P3 compatible and the new synthax is P3 only.
from crowdanki.
Thanks for looking into it though! I'd be happy to accept PR that maintains compatibility. Please see my comments above and feel free to create PR to discuss things in more details codewise.
from crowdanki.
Thanks for working on this, guys. Will be very useful when it's out. Good luck!
from crowdanki.
Is this closable now?
from crowdanki.
Related Issues (20)
- CrowdAnki Colaboration Problems HOT 7
- Display CrowdAnki export in the new (non-legacy) export dialog (2.1.55)
- 1788670778\config\config_ui.py:78:'Qt.Horizontal' will stop working. Please use 'Qt.Orientation.Horizontal' instead.
- upgrading through anki or installing from the website gets me an old release HOT 3
- "maximum recursion depth exceeded" error when I try to export to JSON HOT 3
- Allow testing against both Qt5 and Qt6
- RecursionError: maximum recursion depth exceeded / Conflict with Enhanced Cloze? HOT 4
- Add test for running `fetch_dependencies.sh` (building `dist/`)
- Upgrade to python 3.9
- Can't export in Version 2.1.55+ HOT 2
- Export sort method doesn't sort subdecks HOT 2
- Note count in import dialog doesn't include subdecks HOT 1
- Wiki locked? HOT 5
- Keep individual spaced repetition progress on import? HOT 2
- Add-on fails to load on Anki startup HOT 1
- “Card template 1 in notetype '[…]' has a problem.” HOT 1
- Anki crashes on start HOT 8
- Git import that involves a redirect (uses a non-canonical path) fails
- Convert deck to use CrowdAnki HOT 3
- JSON export does not include FSRS weights. field `"fsrsWeights"` seems to always be empty []. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crowdanki.