Joined: Aug 2006
Posts: 1,022
Thanks:
1
@chochajin you always could.
Joined: Aug 2006
Posts: 1,022
Thanks:
1
Just select another deck, and sync.
All decks that have Synchronisation enabled (Anki/Deck Properties/Synchronisation) should be displayed in the iAnki server dialog.
Joined: Jul 2008
Posts: 494
Thanks:
0
I actually tried that a while agon and got a weird error message, so I figured it's still not possible to have more than 2 decks at once on your ipod.
Joined: Mar 2009
Posts: 364
Thanks:
0
I keep getting error messages as well. It seems to happen when I try and sync a non RTK deck for some reason.
Joined: Aug 2006
Posts: 1,022
Thanks:
1
I see. It should be working - I use three decks myself with iAnki.
I improved the error reporting in 0.4.6, so if you get an error - let me know what it says.
Make sure the number of cards you are trying to sync is not too high. With three decks I usually set 200 to be well within safe limits.
If you've ever had an error trying to sync a new deck, it's possible there's an error in the database. Try deleting the databases and then syncing afresh.
Edited: 2009-07-17, 2:40 am
Joined: Jul 2008
Posts: 494
Thanks:
0
I updated iAnki (now version 0.4.6) and set it up to only 200 cards at a time, but I still can't get 2 decks at a time.
Error message:
Deck.realSync exception: TypeError: Null value
Any idea?
Joined: Jul 2008
Posts: 494
Thanks:
0
I realized that the mistake is not because I try to sync 2 decks at a time, but because iAnki won't accept my "KO 2001" deck at all. Even if I only sync that one. Even if I set only 100 cards for review. It always says something about "null value" and I have no clue what to do.
Sooner or later I need to be able to sync that deck.
I can't even erase the deck from iAnki anymore. I get the same error message. It's really strange.
I'm thankful for any kind of help.
Joined: Dec 2008
Posts: 63
Thanks:
0
Yup, he's the author. Try to shoot him an email.
Just guessing but looks like iAnki is crashing when trying to decode a certain character. Any chance your deck is corrupt or cards have unusual characters?
Joined: Aug 2008
Posts: 68
Thanks:
0
Thanks for the hint totsubo! I fixed the problem, which was of course due to my own stupidity. The name of my deck was in kanji and the plugin expected to be in ascii for synchronisation. *facepalm*
Edited: 2009-07-28, 8:22 am
Joined: Mar 2009
Posts: 364
Thanks:
0
My error I get when I'm syncing on the iPod:
At the bottom it says:
Deck.realSync exception: typeError: Null value
The popup error is:
data://(null)
Failed to open the database on disk. This is probably because the version was bad or there is not enough space left in this domain's quota.
To be fair, this is my massive sentences deck with audio and stuff. Maybe that's why its messing up? My iPod has plenty of space left on it too (which is why I spent the premium to get the 32gb).
Joined: Aug 2006
Posts: 1,022
Thanks:
1
Although the iPod may have lots of space, Safari is really stingy and gives webapps only 5MB, and it fills up very quickly. Try setting fewer cards.
Also when you hit the limit the database gets corrupted, so you have to do the following to fix it in Settings>Safari:
1) Delete all the iAnki-* databases.
2) Clear Cache.
Then after try syncing again with fewer cards (eg 200).
Joined: May 2007
Posts: 910
Thanks:
0
vos: google had a series of posts about using db storage for their mobile gmail client, and I think they touched on what to do when running out of space. Is it possible to automatically recover from overflow rather than requiring people to manually clear the DBs?
Joined: Mar 2009
Posts: 364
Thanks:
0
Vos: Trying to delete the databases in iAnki will pop up the same error. It won't let me delete them anymore! I've got all these ghost decks that I can't delete now. Clearing cache doesn't seem to get rid of them either. Any suggestions?
EDIT: The error is probably occurring because the database is blank since the sync failed.
Edited: 2009-07-29, 11:26 pm
Joined: Aug 2006
Posts: 1,022
Thanks:
1
Probably need to shut down Safari. You did try to delete the databases in Safari's Settings right? (not inside iAnki)
Try opening it and holding down the home button for 10 seconds. If that doesn't work, rebooting the iphone might work.
Edited: 2009-07-30, 11:14 am
Joined: Aug 2006
Posts: 1,022
Thanks:
1
Another user let me know that with OS 3.0 Safari will allow databases larger than 5MB, so I changed iAnki to support that. If you have OS 3.0 you should be able to sync a lot more cards without errors. You'll just have to put up with long sync times :p.
Joined: Dec 2008
Posts: 63
Thanks:
0
Are you sure about the >5MB limit on OS 3.0?
I have the new iPhone 3GS and all none of my databases are over 5 MB. They all seem capped at 5 MB.
Joined: Aug 2006
Posts: 1,022
Thanks:
1
Yes, I've tried it and it works, but you'll have to update to iAnki 0.4.7 and possibly delete & re-sync the old decks. When your deck goes above 5MB Safari should ask you if you want to increase the limit.
Edited: 2009-08-03, 2:07 am
Joined: Dec 2008
Posts: 63
Thanks:
0
Cool! Now if only google would update their apps to take advantage of this too!