Page 1 of 2

[MLS] XYplorer crashes with translation tool

Posted: 18 Nov 2012 00:40
by fenixproductions
I've started working on translation and I am unable to continue with built-in tool (will use Notepad++ though).

First thing is that suddenly XY started to give strange error after click on Interface Translation Tool menu item:

Code: Select all

Error:  	13 (0000000D)
Desc:   	Type mismatch
Dll:    	0
Proc:   	InitCAT@0

Source: 	XYplorer
XY ver: 	11.70.0113
OS:     	Windows XP Professional (Dodatek Service Pack 3), 32-bit
Date:   	2012-11-18 00:34:06
It was not that bad at first (tool still working and only counter not available) but today it got worse:
after getting string #244 XY crashes on Apply & next for some longer texts or texts with commas (,).

Problematic LNG file:
http://www.fenixproductions.pl/files/temp/xy/Polish.zip

Re: [MLS] XYplorer crashes with translation tool

Posted: 18 Nov 2012 06:49
by Borut
Hi fenix,

If I am not wrong, the two strings in the line #245 are interchanged - what should be original is translation and vice versa. Most probably an omission while you were using external editor, I guess.

But, the interesting part is that I was still not able to get any error message or crash - at my place it apparently worked normally. However, I have a German XP and Polish is not defined as a substitution language for applications that are not Unicode enabled (although I do not believe that that would make any difference in this case). Strange.

Hope this info helps a bit.

Regards,
Borut

Re: [MLS] XYplorer crashes with translation tool

Posted: 18 Nov 2012 12:55
by fenixproductions
@Borut
Now I am ashamed because you're right about interchange thing.
Making it in proper order solves crash but "Type mismatch" is still there.

Edited: Solved temporary: now 311 is problematic - even if I use clear Reference.lng file.

Re: [MLS] XYplorer crashes with translation tool

Posted: 18 Nov 2012 14:32
by admin
I cannot reproduce any error. It might have been the fuzzy match. I removed the fuzzy match anyway (because it is slow and the new word lists are much much better :biggrin: ), so that might fix it.

Brutal crash by clicking on the orange suggestion

Posted: 19 Nov 2012 10:29
by Borut
There is apparently a reproducible crash situation, which otherwise has nothing to do with other issues in this thread (I guess). I believe that the following steps are sufficient for what I have just experienced:

0. Use an adapted TBX file (I used the one for hr-HR).
1. In ITT, enter in filter something for what only orange suggestions come up (i.e. from the upper file) - in my case it was "Transfer rate"
2. Click on the first suggestion.

=> Everything goes away... :? "Would you like to report this to MS?" :mrgreen:

Hmm, this is currently almost a show stopper, but hopefully easy to reproduce, debug and handle.

Thanks,
Borut

Re: Brutal crash by clicking on the orange suggestion

Posted: 19 Nov 2012 11:07
by ParoX
Borut wrote:There is apparently a reproducible crash situation, which otherwise has nothing to do with other issues in this thread (I guess). I believe that the following steps are sufficient for what I have just experienced:

0. Use an adapted TBX file (I used the one for hr-HR).
1. In ITT, enter in filter something for what only orange suggestions come up (i.e. from the upper file) - in my case it was "Transfer rate"
2. Click on the first suggestion.

=> Everything goes away... :? "Would you like to report this to MS?" :mrgreen:

Hmm, this is currently almost a show stopper, but hopefully easy to reproduce, debug and handle.

Thanks,
Borut
Also a blocker for me, definitely!
Under Win7 64bit and Win8 64bit, reproducible every time when i try to select a suggestion from MicrosoftTermCollection-DE-XY.tbxy

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 12:45
by admin
Cannot reproduce it. :? Weird.

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 13:08
by ParoX
admin wrote:Cannot reproduce it. :? Weird.
Maybe with all of my MLS related datafiles?

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 13:19
by Borut
I am writing this further based on my environment (not ParoX). I experienced some variations in the meantime:

a) When there are white and orange suggestions, double clicking on white works as expected, while double clicking on orange ones does nothing (XY lives happily further, apparently with no effect at all, and nothing copied from the list).
b) When there are only orange ones, I have also seen hangs with some 45% CPU usage, but nothing more of XY on the screen, only on the task bar and in process manager (was experimenting with only one file and not two of them, as initially).

Very strange. I would tip onto merging process and some pointers or such a thing.

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 13:27
by admin
Still no luck.

BTW, single clicking is enough. Or would you say double clicking is more natural for this?

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 13:30
by Borut
When small lists are used (for instance the same small file defined as both WordList1 and 2), then it neither hangs, nor does anything on click and lives further. Maybe it has to do with the number of items in the file?? :? Mystery, but a bad one.

PS. Yup, I know, single is enough, but I somehow do both in this case, sometimes single, sometimes double (especially when nothing happens :) ).

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 14:11
by admin
Let me know if it still happens with the next version.

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 21:27
by Borut

Code: Select all

v11.70.0117 -2012-11-19 20:48
    + ITT: Various improvements including a Sticky Notes section at the 
      bottom (your personal notes are read from and written to a file 
      ITT.txt), and a new menu "Edit" with added keyboard shortcuts.
This is strictly speaking not a bug, but a design issue: I am working on a laptop with a 16:9 screen format and a resolution of 1366x768. It appears not to be possible to adjust ITT window size. Even if I make my taskbar disappear, I still am not able to see and use the whole ITT window. :x

Re: [MLS] XYplorer crashes with translation tool

Posted: 19 Nov 2012 21:40
by Borut
admin wrote:Let me know if it still happens with the next version.
Unfortunately yes, mostly in that a click on the orange suggestions brings up a hang, which has to be killed via task manager.

Re: [MLS] XYplorer crashes with translation tool

Posted: 20 Nov 2012 08:13
by admin
Ah, got it! :twisted: