Joined: Mar 2007
Posts: 227
Thanks:
0
I feel really silly for not trying that...
I think it has something to do with my previously installing kieron's .deb package, but I was too lazy to figure out exactly what it was and just wrote a bash script that opens anki from the anki-0.3.3 directory
Joined: May 2007
Posts: 910
Thanks:
0
Pcsl88: ah, thanks. The missing translations in stats.py were a bug, I've fixed it now.
The translations in the preferences dialog didn't appear because I changed the text since you sent me the translation. (it shouldn't say 'deck properties', but 'display properties'). When that happens, you should download the latest source, load the .po files into poedit, and look for 'fuzzy matches'. These are pieces of text that you translated, but have been disabled because the English text changed. They are usually easy to fix.
By the way, your translation of some of the deck statistics looks a bit silly, since you put a new line in. Things like:
msgid "Deck created: <b>%s</b> ago<br>"
msgstr "Mazo creado: Hace<br><b>%s</b>"
With the <br>, the Hace is at the start of the line.
Kieron: great, thanks again! Can I put a link on the Anki website?
Edited: 2007-08-15, 2:03 am
Joined: May 2007
Posts: 910
Thanks:
0
Most of the syncing issues should be resolved now. There was a bug in 0.3.3 for Mac uses which could cause Anki to crash when syncing - a new release just for Mac users is out now.
Megaqwerty: looks like there's a problem for you, could you send me your local deck?
Joined: Sep 2006
Posts: 258
Thanks:
0
resolve,
I get another strange bug. If I finish the current reviews, minimize the program, and come back to it a couple of hours later it will show only "1" card remaining, but after reviewing the "1" card it will show the real number of remaining cards. Hope this makes sense.
Joined: Jul 2007
Posts: 1,879
Thanks:
19
I downloaded 0.3.3 today on my Mac (10.4.9), and I got a lot of hiccups where it would just slow down horribly when entering text. I ran the system monitor, and the program's CPU usage would spike up to 80% or so. The more cards I added, the worse it seemed to behave. It took about 5 minutes to close out, and when I saved my deck before closing out, it grinded away for about a minute or two, to the point where they system monitor changed it to (Not Responding) for a bit, and CPU usage shot up to 98.6%. Dual-G5 2GHz, 2GB of RAM, fresh install of 10.4.9, too. The exhaust fans would ramp up a lot, too, as if my compy was getting ready for takeoff. Go figure.
The only other program I was running was Firefox, but I never saw it do anything in the system monitor.
Otherwise, I really like the program a lot. It's got a very clean interface. Good job.
Anyway, hope that performance info helps a little.
Edited: 2007-08-15, 11:57 pm
Joined: May 2007
Posts: 910
Thanks:
0
Hi rich_f,
Unsure what would be causing that - high CPU usage occurs on the Mac due to inefficiencies in the toolkit, but it shouldn't get to the point where it slows down horribly. How much memory was Anki using? I test it on 10.4.7 with about 768MB of RAM and the speed is acceptable. Could you try 0.2.8 and see if that performs any differently?
Joined: May 2007
Posts: 910
Thanks:
0
How is it working for other Mac users?
Joined: Oct 2006
Posts: 18
Thanks:
0
i'm on mac os 10.4.10. on opening anki, it does take a few extra seconds longer (spinning pinwheel), but nothing too serious. i haven't gone about adding cards on the latest version (all my adding was done on 0.2.8). i also don't have a need for syncing so haven't tried that either. one thing i did notice was that anki for mac was supposed to be 30mb, but i'm showing almost 94mb on disk. i thought it might of been from my .anki and .fc files (2500 cards for jpnese and 1800 cards for korean).
edit- i noticed that on answering the first card, it hangs for a bit, but after that, it goes back to normal. also, when the anki window opens, it opens very low on the monitor so that the bottom half of the window is cut off. i need to click and drag to get it in the middle of my screen. i had firefox running in the background, but i don't think there was any major differences. anki was using 2.4% of cpu. comp is running hot, though, but that is common enough in macs.
Edited: 2007-08-16, 7:00 am
Joined: May 2007
Posts: 910
Thanks:
0
sannomiya: thanks for the report. it's 94MB uncompressed, but the download is 30MB as it is compressed. all the extra space is taken up by the graphing libraries (If I packaged them separately the download would be much smaller, but would be more difficult to install)
Joined: Jul 2007
Posts: 1,879
Thanks:
19
Yeah, killing Firefox totally improved performance. I know it's a memory pig, but I thought I had enough RAM on that box to handle it. The only downside is that now I have to use Safari to look up words, but that's not a biggie. German language input is SO much easier for me on a Mac than on a PC.
Joined: May 2007
Posts: 910
Thanks:
0
There are a number of firefox options you can use to reduce the memory footprint, such as "trim on minimize" and an option which prevents firefox from storing the fully-rendered graphics of webpages in memory (can be expensive). A quick google should give you some results.
(you should definitely be able to handle firefox+anki at the same time in 2GB of ram, though - so either firefox was using a huge amount of memory, something else is, or your memory is not being utilized properly)
Joined: Jul 2007
Posts: 1,879
Thanks:
19
Ah, dangit, I spoke too soon. After an hour of work, it's starting to halt and hiccup again, pushing CPU cycles up to 99.2%, and spinning the beachball of doooom. It comes back after 10-20 seconds, but it's really annoying when you're trying to enter sentences.
Doh, I bet it's just the autosave.
Edited: 2007-08-16, 10:52 am
Joined: May 2007
Posts: 910
Thanks:
0
So you are seeing increased memory usage? Can you give me some figures?
Joined: Jul 2007
Posts: 1,879
Thanks:
19
Right now, I'm seeing it use about 33MB of real memory, and 330MB of virtual memory, but it isn't acting weird yet. I'll post memory numbers if/when it does act up again.
Joined: Jul 2007
Posts: 1,879
Thanks:
19
Okay, when it surges in CPU % to 80-99%, I only see the memory go up to 37MB real and 370MB virtual. It did it when I left the add new cards window open and edited a couple of cards in the card list. The card list only has about 160-170 cards in it, and it's all in either German or English. Nothing fancy, all Arial, all black, no images, videos, sounds.
Joined: May 2007
Posts: 910
Thanks:
0
Then sure, send me a comma separated file of kanji + story and I'll import it for you. :-)
Joined: May 2007
Posts: 910
Thanks:
0
rich_f: thanks for looking into it further.
Are any other Mac users having similar problems after hours of use?
Joined: Jul 2007
Posts: 1,879
Thanks:
19
Ok, it's been 3 hours using the program, and now its baseline memory usage is up to 50MB/450MB, with slowdowns happening more frequently as I add cards.
Joined: Jul 2007
Posts: 1,879
Thanks:
19
Ok, one last post about using the Mac today-- when I shut down Anki, it maxxed out both processors for a good 2 minutes, even went to Not Responding, then finally finished whatever it was doing and quit. By the time I was done, its memory use had crept up to 60MB/470MB.