Doesn't show articles

Issue #73 invalid
Kristian K created an issue

Starting the program and logging in to Wikipedia works fine. When adding an article, the autocomplete function works properly and the console also shows that the article has been downloaded. In the GUI there is now the article name in the left panel. Adding another article works in the same way and it's name is also shown in the left panel. But nowhere is the article text shown. When clicking on one of the language names in the bottom-left then program freezes.

Here's a console dump from a session adding two article and then clicking on 'de' down below:

$ ./minoritytranslate 
[main] INFO  ee.translate.keeleleek.mtapplication.MinorityTranslateFXLoader  - Oracle Corporation 1.8.0_65
[main] INFO  ee.translate.keeleleek.mtapplication.MinorityTranslateFXLoader  - Linux 4.2.7-200.fc22.x86_64
Loading JavaFX from /home/kristian/Rakendused/minoritytranslate-1.12-beta_linux_amd64/runtime/lib/jfxrt.jar!
class javafx.scene.control.Alert
[main] INFO  ee.translate.keeleleek.mtapplication.MinorityTranslate  - Starting application
[main] INFO  ee.translate.keeleleek.mtapplication.MinorityTranslate  - Configuration: fallback GUI=false
[Thread-4] INFO  ee.translate.keeleleek.mtapplication.model.application.ApplicationProxy  - Downloading http://translate.keeleleek.ee/download/versions/messages/message-versions.json
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.dialogs.ManualDialogMediator  - Reading /home/kristian/Minority Translate/preferences.json
ee.translate.keeleleek.mtapplication.model.preferences.ProcessingPreferences@3894856f
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.controller.wikis.FetchWikisCommand  - Reading wikis
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.dialogs.ManualDialogMediator  - Reading /home/kristian/Minority Translate/wikis.json
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.controller.lists.FetchListsCommand  - Reading lists
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.dialogs.ManualDialogMediator  - Reading /home/kristian/Minority Translate/lists.json
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.messages.Messages  - Localisation messages directory '/home/kristian/Minority Translate/i18n' not found.
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.messages.Messages  - Loaded en messages file from jar
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.messages.Messages  - Loaded et messages file from jar
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.messages.Messages  - Loaded fiu-vro messages file from jar
[JavaFX Application Thread] INFO  ee.translate.keeleleek.mtapplication.view.messages.Messages  - Loaded ru messages file from jar
[pool-2-thread-1] INFO  ee.translate.keeleleek.mtapplication.model.connection.ConnectionProxy  - Connection available
[Thread-13] INFO  ee.translate.keeleleek.mtapplication.model.bots.LoginProxy  - Logging in to MediaWiki DEVELOPMENT
[Thread-12] INFO  ee.translate.keeleleek.mtapplication.model.timer.TimerProxy  - Downloading wiki information
[Thread-12] INFO  ee.translate.keeleleek.mtapplication.model.bots.BotsProxy  - Retrieveing languages
[Thread-12] INFO  ee.translate.keeleleek.mtapplication.model.bots.BotsProxy  - Retrieved 310 languages
[Thread-13] INFO  ee.translate.keeleleek.mtapplication.model.bots.LoginProxy  - Logging in to MediaWiki DEVELOPMENT
[Thread-12] INFO  ee.translate.keeleleek.mtapplication.model.timer.TimerProxy  - Downloading userlists information
[Thread-19] INFO  ee.translate.keeleleek.mtapplication.model.bots.LoginProxy$1  - Logging in to et wiki
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q7251&et title=Alan Turing ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q7251&vot title= ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q7251&sv title=Alan Turing ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q7251&en title=Alan Turing ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q7251&de title=Alan Turing ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q7251&fi title=Alan Turing ...}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q7251 langCode=et wikiTitle=Alan Turing}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q7251 langCode=vot wikiTitle=Wp/vot/}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q7251 langCode=sv wikiTitle=Alan Turing}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q7251 langCode=en wikiTitle=Alan Turing}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q7251 langCode=de wikiTitle=Alan Turing}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q7251 langCode=fi wikiTitle=Alan Turing}
[Thread-39] INFO  ee.translate.keeleleek.mtapplication.model.bots.LoginProxy$1  - Logging in to en wiki
[Thread-38] INFO  ee.translate.keeleleek.mtapplication.model.bots.LoginProxy$1  - Logging in to sv wiki
[Thread-40] INFO  ee.translate.keeleleek.mtapplication.model.bots.LoginProxy$1  - Logging in to de wiki
[Thread-41] INFO  ee.translate.keeleleek.mtapplication.model.bots.LoginProxy$1  - Logging in to fi wiki
[Thread-33] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q7251&vot
[Thread-32] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q7251&et
[Thread-35] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q7251&en
[Thread-34] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q7251&sv
[Thread-37] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q7251&fi
[Thread-36] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q7251&de
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q13191&et title=Apelsin ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q13191&vot title= ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q13191&sv title= ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q13191&en title=Orange (fruit) ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q13191&de title= ...}
[Thread-6] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentProxy  - Creating article {ref=Q13191&fi title=Appelsiini (hedelmä) ...}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q13191 langCode=et wikiTitle=Apelsin}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q13191 langCode=vot wikiTitle=Wp/vot/}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q13191 langCode=sv wikiTitle=}
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q13191 langCode=en wikiTitle=Orange (fruit)}
[Thread-52] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q13191&sv
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q13191 langCode=de wikiTitle=}
[Thread-54] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q13191&de
[Thread-7] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Requesting download for {qid=Q13191 langCode=fi wikiTitle=Appelsiini (hedelmä)}
[Thread-50] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q13191&et
[Thread-51] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q13191&vot
[Thread-55] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q13191&fi
[Thread-53] INFO  ee.translate.keeleleek.mtapplication.model.content.ContentDownloaderProxy  - Downloading complete for article with reference Q13191&en

Comments (9)

  1. Andrjus Frantskjavitsius repo owner

    Did it show text for the first article?

    Did it show text for other (non incubator) languages?

    Will look into the hangup issue.

  2. Kristian K reporter

    No text at all. I changed votic to source language and estonian as target language but the same thing happens.

  3. Andrjus Frantskjavitsius repo owner

    Can you try with no incubator wikis?

    Incubators are problematic when linking (no wikidata). Nothing can be done about that.

  4. Kristian K reporter

    I tried but still the same. Can you try if the problem duplicates on your machine with an incubator wiki? I used votic (vad'd'a)

  5. Andrjus Frantskjavitsius repo owner

    Works fine on my machine.

    Screenshot_2015-12-22_20-54-35.png

    I'm currently working with changed loading process. Can you check if this works on your machine. Make sure you delete the '~/Minority Translate' path. First try adding articles using only non incubator (e.g. et and en) wikis.

    Use this version

  6. Andrjus Frantskjavitsius repo owner

    @keeleleek , I actually encountered a similar issue when running on Windows 7 x64 virtual machine. Everything was working again after a restart. Did you try restarting? On what OS were you testing on?

  7. Kristian K reporter

    It now works. This Issue can be closed for now. I will report again when I can reproduce it.

  8. Log in to comment