Topic closed
Reply #276 - 2007 July 29, 6:09 am
aircawn Member
From: Australia Registered: 2006-07-18 Posts: 166

Cool, I've just sent to to the web@website address.

Reply #277 - 2007 July 29, 6:28 am
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

I just tried importing this and it loaded fine. Can I confirm that you:

a) created a new deck
b) chose Japanese as the model?
c) when Anki 'freezes' and doesn't come back, does closing it give you an 'errors were generated' message? Is there a log file in the Anki directory?

Edit: sorry, you mentioned the Japanese model earlier

Last edited by resolve (2007 July 29, 6:36 am)

Reply #278 - 2007 July 29, 6:43 am
aircawn Member
From: Australia Registered: 2006-07-18 Posts: 166

Yup, I missed step A. That made the import complete straight away. Perhaps a warning before importing into a null deck might be helpful. smile

Regarding the card dupes, I disabled the... uh... was it "Production"? (The one other than Recognition) and that had no effect on the import routine. Only after deleting it would I get the correct amount of cards with their expiry dates.

Thanks!

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
Reply #279 - 2007 July 29, 6:52 am
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

Even if you don't have any deck open, import should still work (it creates a new deck for you). I just tried it and it still imports quickly. Not sure what's causing the problem there.

Disabling should work like deletion when importing - it seems like there's a bug. I'll check it out, thanks.

Reply #280 - 2007 July 30, 10:39 am
suffah Member
From: New York Registered: 2006-09-14 Posts: 261

resolve wrote:

Even if you don't have any deck open, import should still work (it creates a new deck for you). I just tried it and it still imports quickly. Not sure what's causing the problem there.

resolve,

I actually had the same problem when I tried beta4 a few days ago.  I tried again just now and it works fine, I actually just went to open an old deck and it automatically imported smoothly.  Previously, I tried to import the deck by selecting the deck, format, etc and it would say something to the effect "This may freeze Anki for a while" but nothing would happen.

Reply #281 - 2007 July 30, 4:25 pm
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

Hi Suffah,

If nothing happened but the user interface was responsive, it indicates that there was an error (as opposed to Anki getting into an infinite loop). Was anything in your error log?

Reply #282 - 2007 July 30, 4:26 pm
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

Beta 5

Firstly, remove the old configuration file
(Mac/Linux: rm -rf ~/.ankidev, Windows, find it in Documents and Settings)
Remember that you'll need to reimport your .fc files, as previous .anki files
won't work.

Syncing is now enabled, and will sync to a test server, which you can access at:

http://repose.ath.cx:5001/study

The decks are a snapshot from today, upgraded to the new version. As with
previous betas, please don't use this beta for real work, as things may still
break. From this beta, I am going to start using 0.3 for my own deck, and if
that goes well, then probably beta6 will be safe to start using properly.

The same applies for the web interface - any data stored there will be lost when
I release 0.3.

I've enabled psyco in the latest beta, which should make Anki quite a bit faster
on Windows and Linux. Unfortunately, psycho is not available for the Mac.

Oh, and there are some JLPT sample decks again now.

Could any Mac users confirm that hiragana generation is working properly?

Please let me know how you go!

Win: http://repose.cx/dump/anki-0.3.0-beta5.zip
Mac: http://repose.cx/dump/Anki.dmg
Linux: http://repose.cx/dump/beta5.tgz

Screenshot of display properties syncing:

http://repose.cx/dump/displaysync.png

Last edited by resolve (2007 July 30, 4:26 pm)

Reply #283 - 2007 July 30, 6:41 pm
JimmySeal Member
From: Kyoto Registered: 2006-03-28 Posts: 2279

Just logged in to see the test server and it looks like it has generated reverse flashcard entries for some of the cards.  One of my decks (with 2100 cards) has 580 new ones which appear to be Answer->Question cards, and another deck with 160 cards has 80 new ones all of a sudden.  Not sure if this will affect the final result if left unfixed, but it looks like a problem.

Reply #284 - 2007 July 30, 10:23 pm
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

johnzep: looks like you've triggered a bug in deleting models when syncing. On your end it probably looks like Anki gets stuck syncing, and eventually returns "empty response". I'll have a look into it tonight after work.

JimmySeal: If you upgrade the decks manually, disabling all but the card model you want, do you get the correct number of cards?

Reply #285 - 2007 July 30, 10:43 pm
johnzep Member
From: moriya, ibaraki Registered: 2006-05-14 Posts: 373

oh noes!

Reply #286 - 2007 July 30, 10:46 pm
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

Could you send me your local deck, and the steps you took to break syncing (if you remember)? It may help in tracking down the problem.

Reply #287 - 2007 July 31, 1:36 am
radical_tyro Member
Registered: 2005-11-19 Posts: 272

resolve wrote:

Could any Mac users confirm that hiragana generation is working properly?

Yep, seems to be working fine.

Reply #288 - 2007 July 31, 1:55 am
johnzep Member
From: moriya, ibaraki Registered: 2006-05-14 Posts: 373

hmmm...

I made a new user (johnzep2) and made a new deck...added a couple cards...and then the sync with the server still hangs

and this is the error message in the log file:

Traceback (most recent call last):
  File "ui\sync.pyc", line 30, in run
  File "ui\sync.pyc", line 80, in syncDeck
  File "anki\sync.pyc", line 87, in applyDiff
  File "anki\sync.pyc", line 442, in <lambda>
  File "anki\sync.pyc", line 489, in sendCmd
anki.errors.SyncError: {'type': 'noResponse'}

Last edited by johnzep (2007 July 31, 1:57 am)

Reply #289 - 2007 July 31, 2:56 am
JimmySeal Member
From: Kyoto Registered: 2006-03-28 Posts: 2279

JimmySeal: If you upgrade the decks manually, disabling all but the card model you want, do you get the correct number of cards?

I haven't tried the beta yet, but I'm just referring to logging into the test server that you've set up.  I did that this morning and my decks had extra cards waiting to be reviewed so it looks like that happened when you upgraded the snapshot this morning and might belie some deeper problem.

I'll give the beta a try soon.

Reply #290 - 2007 July 31, 3:40 am
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

JimmySeal: that's partly a design decision - by choosing the card models before importing you can prevent the extra cards from being generated, but it could probably be done better.

johnzep: Okay, I've been able to reproduce the problem, and it looks like I overlooked something in the diffing code. I'll release beta6 within a day or so once I get it fixed.

Reply #291 - 2007 July 31, 10:55 pm
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

Beta 6

Syncing should work properly this time. Various bug fixes. Non-latin usernames
should really work this time.

Firstly, remove the old configuration file
(Mac/Linux: rm -rf ~/.ankidev, Windows, find it in Documents and Settings)
Remember that you'll need to reimport your .fc files, as previous .anki files
won't work.

The new test server is at a different location to the previous beta. As with the
previous beta, any data synced to the test server will be lost.

http://repose.ath.cx:5002/study

Win: http://repose.cx/dump/anki-0.3.0-beta6.zip
Mac: http://repose.cx/dump/Anki.dmg
Linux: http://repose.cx/dump/beta6.tgz

Reply #292 - 2007 July 31, 11:56 pm
littleblue Member
From: Kyoto Registered: 2007-05-29 Posts: 11

hi there - is there any way i canchange a .anki file i made with beta 4 to work with beta6?  I got so much into it and it would be horrible if I had to scrap it sad

Reply #293 - 2007 July 31, 11:57 pm
johnzep Member
From: moriya, ibaraki Registered: 2006-05-14 Posts: 373

still having syncing problems.

I deleted every old anki file or folder I could find to try to get a clean slate.

Made a fresh deck with a few cards.

Sync'd and chose the option "create new deck yada-yada on server"

it seems to hang and gives this message:

Traceback (most recent call last):
  File "ui\sync.pyc", line 30, in run
  File "ui\sync.pyc", line 80, in syncDeck
  File "anki\sync.pyc", line 89, in applyDiff
  File "anki\sync.pyc", line 438, in <lambda>
  File "anki\sync.pyc", line 485, in sendCmd
anki.errors.SyncError: {'type': 'noResponse'}

Reply #294 - 2007 August 01, 12:14 am
johnzep Member
From: moriya, ibaraki Registered: 2006-05-14 Posts: 373

I also switched over to linux to try out that version...

the syncing worked.

But in linux I have a different problem...I can't enter japanese text when adding new cards.

using SCIM -->  Anthy I can enter japanese text in other programs, but in Anki it doesn't seem to work.  and if I write japanese in another app and try to paste it, 猫  becomes \u732b.

Reply #295 - 2007 August 01, 1:18 am
lerris Member
From: Orlando Registered: 2006-06-17 Posts: 44 Website

I had that same problem. Found this fix.. not sure which step fixed it, or if it was a combination of them all as I did them all at once.

* im-switch -s scim_xim
* added "/SupportedUnicodeLocales =
en_US.UTF-8,en_GB.UTF-8,en_AU.UTF-8" to ~/.scim/global
* export QT_IM_MODULE=xim

Reply #296 - 2007 August 01, 1:36 am
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

johnzep: hmm. I'll do some more testing on windows

littleblue: I can manually upgrade it for you if you send it to me. Perhaps my warnings about "don't use this for serious work" were not clear enough.

Last edited by resolve (2007 August 01, 1:55 am)

Reply #297 - 2007 August 01, 1:58 am
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

Okay, the problem is the timestamps windows was generating don't have enough resolution. I should be able to push out beta7 in the next 12 hours. 3rd time lucky, I hope!

Reply #298 - 2007 August 01, 2:10 am
johnzep Member
From: moriya, ibaraki Registered: 2006-05-14 Posts: 373

lerris wrote:

I had that same problem. Found this fix.. not sure which step fixed it, or if it was a combination of them all as I did them all at once.

* im-switch -s scim_xim
* added "/SupportedUnicodeLocales =
en_US.UTF-8,en_GB.UTF-8,en_AU.UTF-8" to ~/.scim/global
* export QT_IM_MODULE=xim

I tried this but didn't seem to work sad

Reply #299 - 2007 August 01, 3:22 am
resolve Member
From: 山口 Registered: 2007-05-29 Posts: 919 Website

johnzep: Ubuntu?

Reply #300 - 2007 August 01, 3:24 am
johnzep Member
From: moriya, ibaraki Registered: 2006-05-14 Posts: 373

resolve wrote:

johnzep: Ubuntu?

yep...feisty fawn ^_^

Topic closed