Comments (14)
Right, the example definitely is just wrong, thanks for reporting this!
from ankipandas.
Yes, as for the tags, this is something I also spotted yesterday. I have already added a quick warning message when writing out that tags will probably have hickups.
I'm not yet sure how to fix this though. I don't understand the database in this respect yet.
from ankipandas.
I see. Due to the wording or maybe my misinterpretation, I thought it meant problems regarding syncing with the anki-server and not that anki will be unable to find the tagged cards.
WARNING: Currently AnkiPandas might not be able to tell Anki to sync its tags. So if you added any new tags, you might have to manually tell Anki to sync everything if you want to see and use them in AnkiDroid.
from ankipandas.
True, I also didn't expect that there would also be issues with even finding the cards... (or that even existing tags can't be found). This is quite bad indeed.
from ankipandas.
Though I have to say that I'm still surprised that this should affect existing tags. Because basically we don't even touch the part of the database which might contain some information about the tags, but really only write out the notes table if this is the one that was modified.
from ankipandas.
I can confirm that this is happening. :/
from ankipandas.
Hi @exc4l
I'm currently not sure if I can fix this properly, as writing info metadata (tags) and the like to anki doesn't work and I don't know how to fix this.
However, here is a workaround: If you first select "Notes > Clear unused notes" and then "Tools > Check Database", it seems to work for me.
from ankipandas.
Can you confirm if this is working?
from ankipandas.
Doesn't work for me.
Used the exact code from the mwe.
Started Anki up after execution, card browser only showed the leech tag -> 0 notes when selected
Notes -> clear unused tags -> now marked and leech show up in the browser but no notes if searched for them.
After checking the database it's still the same.
Is your message wrong or do you actually mean clear unused notes instead of tags?
from ankipandas.
No, for me it worked as I described above. Hmm :/
from ankipandas.
This will probably require more reverse engineering about how to access anki's "tags" SQL table. Unfortunately, it's using something called "unicase" in this table yet which I have yet to somehow include in order to even open the table....
from ankipandas.
Perhaps we should look for someone who's working on ankidroid or similar projects to help out here..
from ankipandas.
I can confirm that this wokaround is working for anki 2.1.35
Guess something changed with the newer versions and it didn't work on my main due to me using an older anki version.
from ankipandas.
Oh, I'm relieved! Still, I hope we can figure out how to do this properly in the long run....
from ankipandas.
Related Issues (20)
- How to get the history of reviews of a card/deck? HOT 3
- Document different tables and their content
- [request] need read only access to locked database HOT 5
- How to get the creation date of a card? HOT 2
- Accessing deck settings HOT 9
- Update doesn't work ? What is the correct way of updating single notes ? HOT 11
- Future warning about `Index.__and__`
- Harden interface by marking arguments as keyword-only
- Missing database indices HOT 5
- Columns in documentation HOT 3
- Thank you and similarity scanner I made with it. HOT 4
- Writing to collection breaks synchronization and editing in Ankidroid HOT 13
- Re-include readme in sphinx build
- Add development install instructions/requirements; add sphinx build instructions
- Close sqlite db connection in collection and/or dataframe destructor HOT 8
- Collection not garbage collected properly HOT 2
- Split up install_requires and tests_requires
- API docs don't show up properly
- Support opening apkg files out of the box HOT 23
- Reading all notes from a deck HOT 7
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 ankipandas.