![]() |
|
Rikaichan: RevTK Community Edition - Printable Version +- kanji koohii FORUM (http://forum.koohii.com) +-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html) +--- Forum: Learning resources (http://forum.koohii.com/forum-9.html) +--- Thread: Rikaichan: RevTK Community Edition (/thread-5351.html) |
Rikaichan: RevTK Community Edition - cb4960 - 2013-11-03 wakatsuki_kagami Wrote:Sorry for the rather idiotic question, but this thread has like 22 pages and uuugh i don't really want to go though it all; also, pardon my shit 英語 skills. Anyway, i recently tried this and - obviously - liked it very much (expecially the word frequency list), only i can't seem to actually import anything to anki. I suppose the correct procedure would be to create a new .anki file by specifying a path in rikaisama's options, then import said file with anki (provided it has the right plugin, which i installed)... except it doesn't work - by which i mean it gives me an error while importing the file -, so i was wondering if i did anything wrong. Well, i probably did, only i honestly don't find the instructions in the docs detailed enough for potheads like 不肖私 to actually interpret correctly. はい拙者が悪い生徒なんでございます。ともかくよろしくお願いします(優しくしてねw)。Are you using the Real-Time Import feature? If so, follow the instructions in the previous post. Rikaichan: RevTK Community Edition - Artgor - 2013-11-03 cb4960 Wrote:Could be due to incorrect entries in the "Save format" or "Field names" text boxes in the Rikaisama options dialog. Turn on the Real-Time Import debugging/logging feature:Here is the log: processPendingDatagrams: START processPendingDatagrams: filename = D:\Users\Andrew\AppData\Local\Temp\~rikai_anki_rti.txt MessageCommand.__init__: START MessageCommand.parseHeader: command = add MessageCommand.parseHeader: version = 1 MessageCommand.performCommand: START MessageCommand.doAdd: START MessageCommand.parseFieldNames: fieldNames = [u'Word', u'Reading', u'Example', u'Meaning'] MessageCommand.parseTags: tags = "[u'']" MessageCommand.doAdd: line = 准教授 じゅんきょうじゅ 北山准教授は「手が動かなくなった人も、こうした装置でより多くの人とコミュニケーションを取ることができる。 (n) associate professor MessageCommand.addLineToDeck: ankiFieldInfo = {u'Meaning': u'(n) associate professor', u'Reading': u'\u3058\u3085\u3093\u304d\u3087\u3046\u3058\u3085', u'Word': u'\u51c6\u6559\u6388', u'Example': u'\u5317\u5c71\u51c6\u6559\u6388\u306f\u300c\u624b\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u4eba\u3082\u3001\u3053\u3046\u3057\u305f\u88c5\u7f6e\u3067\u3088\u308a\u591a\u304f\u306e\u4eba\u3068\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002'} And these are my setting: ![]() ![]() I hope this would help identify the problem. Rikaichan: RevTK Community Edition - cb4960 - 2013-11-03 Artgor Wrote:The log would seem to indicate that you are trying to add a "Note" using a "Note type" that doesn't contain one or more of the fields in Rikaisama's "Field names" box.cb4960 Wrote:Could be due to incorrect entries in the "Save format" or "Field names" text boxes in the Rikaisama options dialog. Turn on the Real-Time Import debugging/logging feature:Here is the log: To solve this, make sure that you have the right "Note Type" selected: 1) Open Anki 2) Select your deck from the deck chooser. 3) Click "Add" (it's between "Decks" and "Browse") 4) Make sure that the button to the right of "Type", located near the top-left of dialog, shows the name of the correct "Note type" (ie. the one that contains the "Word", "Reading", "Example" and "Meaning" fields). Did that help? Also the "Words that are Already in your Vocabulary Deck" feature currently only works with Anki 1 decks, so you should disable it. In the next version I am going to remove this feature and allow a text-based word list to be used instead. Rikaichan: RevTK Community Edition - Artgor - 2013-11-03 cb4960 Wrote:The log would seem to indicate that you are trying to add a "Note" using a "Note type" that doesn't contain one or more of the fields in Rikaisama's "Field names" box.It seems that there is no problem with the "Note Type"; but disabling the "Words that are Already in your Vocabulary Deck" feature really helped. Thank's a lot; it's great to have this amazing tool work again! Rikaichan: RevTK Community Edition - cb4960 - 2013-11-04 I have just uploaded version 19.4 of the Rikaisama Firefox extension. Download version 19.4 via SourceForge What's New? ● Replaced the "Words that are Already in your Anki Vocaulary Deck" feature with the "Known Words" and "To-Do Words" features: ![]() The lists should contain one word per line. Lines may contain multiple tab-separated columns. cb4960 Rikaichan: RevTK Community Edition - SomeCallMeChris - 2013-11-04 When using the file dialog to select the 'Known Words' file, there's a warning that the selected file already exists, and do you really want to overwrite it. No such overwrite actually happens, and the feature works just fine, but the superfluous warning is a little ... off-putting. Bug report aside, I like the new feature and it seems to be working well for me (as far as I can tell a few minutes into using it). Of course, I came to Anki late in my Japanese learning so there's -tons- of words that I -know- that aren't in my deck. Still, while not precise in that sense, what it tells me really is much more important and will save me a ton of time now that I don't have to search in Anki for each word that I want to add but think I might already have. Pretty awesome. ![]() (I'm not sure what to do with the other list, but ... okay. That's nice too, I suppose.) Rikaichan: RevTK Community Edition - AnYa13 - 2013-11-04 A few years ago, I used this great feature with anki 1 on my old computer. But for some reason the import doesn't work on my new computer with anki2. I really don't know, what I'm doing wrong... Rikaisama and the anki addon are installed. When anki is open, I choose my deck. But when I look up a word with Rikaisama in my browser and press R... nothing. No cards are imported to my deck. I hope the following information can help to find a solution: Rikaisama: ![]() ![]() Anki: ![]() ![]() And this error pops up when I open anki: Traceback (most recent call last): File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addons", line 39, in loadAddons File "c:\pyi\iu.py", line 436, in importHook File "c:\pyi\iu.py", line 521, in doimport File "C:\Users\ELPHONY_2\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 42, in <module> DEBUG = true NameError: name 'true' is not defined Rikaichan: RevTK Community Edition - cb4960 - 2013-11-04 SomeCallMeChris Wrote:When using the file dialog to select the 'Known Words' file, there's a warning that the selected file already exists, and do you really want to overwrite it.Thanks for the report, I'll fix it soon. SomeCallMeChris Wrote:(I'm not sure what to do with the other list, but ... okay. That's nice too, I suppose.)The way I use it, the known list is an export of my Anki vocab deck and the to-do list is the same list I use for the Clipboard & Save file. If Rikaisama indicates that a word is already in my to-do list, then I won't bother hitting the S key to save it, thus saving a keystroke. Rikaichan: RevTK Community Edition - cb4960 - 2013-11-04 AnYa13 Wrote:A few years ago, I used this great feature with anki 1 on my old computer. But for some reason the import doesn't work on my new computer with anki2. I really don't know, what I'm doing wrong...In line 42 of "C:\Users\ELPHONY_2\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", change "DEBUG = true" to "DEBUG = True" Notice the capital T in True. Rikaichan: RevTK Community Edition - cb4960 - 2013-11-04 I have just uploaded version 19.5 of the Rikaisama Firefox extension. Download version 19.5 via SourceForge What's New? ● Fixed bug when selecting a known/to-do list file that shows a warning message that the selected file already exists, and do you really want to overwrite it. (Thanks SomeCallMeChris!). cb4960 Rikaichan: RevTK Community Edition - AnYa13 - 2013-11-04 Quote:In line 42 of "C:\Users\ELPHONY_2\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", changeOkay, thanks. Now I got this in the log file: ----------------------------------------------------------- Main: START But thats all... Rikaichan: RevTK Community Edition - cb4960 - 2013-11-04 I have just uploaded version 1.1 of the Real-Time Import Anki add-on. https://ankiweb.net/shared/info/2512410601 What's New? ● Logging is now enabled by default. ● If you are using an incorrect note type, Rikaisama will pop-up a message similar to the following: Quote:Error, current note type does not contain the following field: 'Word' Rikaichan: RevTK Community Edition - cb4960 - 2013-11-04 AnYa13 Wrote:Other users have reported issues with their firewall/anti-virus software blocking the Real-Time Import feature. Make sure that yours is not.Quote:In line 42 of "C:\Users\ELPHONY_2\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", changeOkay, thanks. Now I got this in the log file: Rikaichan: RevTK Community Edition - AnYa13 - 2013-11-05 cb4960 Wrote:Other users have reported issues with their firewall/anti-virus software blocking the Real-Time Import feature. Make sure that yours is not.I've checked everything I can think of. I added it to the exceptions of my firewall and my antivirus software and I opened the 49600 port (or can I use another port if this one doesn't work?). Nothing. I even tried to turn off both (firewall and antivirus) for a test... But nothing changed. Whatever I do: No error messages (not in the log file, not in anki, not from my firewall or antivirus software) and no imported cards. Can it be that complicated...? Maybe I did something wrong. But I don't know, where the error is. Any idea would be appreciated! Rikaichan: RevTK Community Edition - cb4960 - 2013-11-05 AnYa13 Wrote:Try uninstalling and then reinstalling Rikaisama, and then restarting your computer. If that doesn't work I can write a debug version of Rikaisama that contains some kind of logging that might help solve the issue.cb4960 Wrote:Other users have reported issues with their firewall/anti-virus software blocking the Real-Time Import feature. Make sure that yours is not.I've checked everything I can think of. I added it to the exceptions of my firewall and my antivirus software and I opened the 49600 port (or can I use another port if this one doesn't work?). Nothing. I even tried to turn off both (firewall and antivirus) for a test... But nothing changed. Whatever I do: No error messages (not in the log file, not in anki, not from my firewall or antivirus software) and no imported cards. Rikaichan: RevTK Community Edition - AnYa13 - 2013-11-05 cb4960 Wrote:Try uninstalling and then reinstalling Rikaisama, and then restarting your computer. If that doesn't work I can write a debug version of Rikaisama that contains some kind of logging that might help solve the issue.I've tried this, but without success. I have really no idea, why it doesn't work... ![]() But I would like to give the debug version a try. Thank you for your efforts!
Rikaichan: RevTK Community Edition - cb4960 - 2013-11-05 AnYa13 Wrote:I created a debug version for you:cb4960 Wrote:Try uninstalling and then reinstalling Rikaisama, and then restarting your computer. If that doesn't work I can write a debug version of Rikaisama that contains some kind of logging that might help solve the issue.I've tried this, but without success. I have really no idea, why it doesn't work... http://www.mediafire.com/download/b3xihl9fv1sb3ar/Rikaisama_v19.5_debug1.xpi Please uninstall Rikaisama before installing the debug version. After installing: 1) Open the Firefox Error Console (Tools -> Web developer -> Error Console) 2) Enable Rikaisama, highlight 世間, and press the R key. 3) Take a screenshot of the Error console. For example, mine looks like this: ![]() Also, if you so desire, you can double-check to make sure that RealTimeImport_UDP_Client.exe isn't being blocked by your anti-virus. This is the program I wrote to send datagrams to the Real-Time Import plugin from Rikaisama. Rikaichan: RevTK Community Edition - AnYa13 - 2013-11-06 cb4960 Wrote:I created a debug version for you:Thank you very much! Here's the screenshot: ![]() I've checked my firewall and my antivirus again, but I can't see any evidence for blocking the plugin. There are no messages or warnings. (I use Antivira Free Antivirus; is there a way to see exactly, what it blocks?) Rikaichan: RevTK Community Edition - cb4960 - 2013-11-06 That looks pretty normal. Perhaps your PC is missing a needed DLL file. Try this version that includes an additional DLL: http://www.mediafire.com/download/xvg16r3n12cedb3/Rikaisama_v19.5_debug2.xpi If it works, I'll bundle it into the official release. Also, does the audio feature work for you? Highlight 世界 and press the F key to find out. Rikaichan: RevTK Community Edition - AnYa13 - 2013-11-06 cb4960 Wrote:That looks pretty normal. Perhaps your PC is missing a needed DLL file. Try this version that includes an additional DLL:Unfortunately this version didn't work... But the audio feature (as well as saving to a txt file) works fine. I noticed something: When I press the R key, Zone Alarm says that the plugin want to use another udp port: 49345, but in the settings (anki and rikaisama) it's 49600. But Zone Alarm doesn't seem to block it (I click on allow). Rikaichan: RevTK Community Edition - cb4960 - 2013-11-07 Lets try a new series of tests that take Rikaisama out of the equation: http://www.mediafire.com/download/bp9dsx6bkgoqi4h/RTI_Test.zip 1) Open your Anki deck like normal 2) Unzip RTI_Test.zip somewhere. 3) Double click RTI_Test/Test1/test_rti.bat, RTI_Test/Test2/test_rti.bat, and RTI_Test/Test3/test_rti.bat. Do any of these add a card to your Anki deck? -- I'm not sure why Zone Alarm would say port 49345, but I suppose WireShark could be used to see what's really happening. Rikaichan: RevTK Community Edition - AnYa13 - 2013-11-08 Ok, that's embarrassing: The problem was Zone Alarm. After completely deactivating Zone Alarm, the Real-Time-Import works absolutely fine. I didn't think that it's blocking the plugin, because I clicked at "allowing access". I'm so sorry for all the trouble... ![]() Thank you very much for all your help and your patience! Rikaichan: RevTK Community Edition - cb4960 - 2013-11-08 AnYa13 Wrote:Ok, that's embarrassing: The problem was Zone Alarm. After completely deactivating Zone Alarm, the Real-Time-Import works absolutely fine. I didn't think that it's blocking the plugin, because I clicked at "allowing access". I'm so sorry for all the trouble...I'm glad that you got it to work! Rikaichan: RevTK Community Edition - wakatsuki_kagami - 2013-11-09 By the way, i tried rikaisama again and found out i didn't uncheck the "Disable these keys" option - which kinda makes me wonder why that option was checked in the first place, but oh well; the most simple solutions are often the most overlooked (or peharps i am in fact a complete airhead). Anyway this is probably a god-tier tool which will prove itself infinitely useful to me, so thanks a lot. Rikaichan: RevTK Community Edition - BlackIce - 2013-11-23 Sorry for offtopic but is there a rikaisama-like software that works on a pdf file? The addon is really helpful for the browser & thanks btw! |