View previous topic :: View next topic |
Author |
Message |
SdB
Joined: 31 Aug 2010 Posts: 35
|
Posted: Tue Aug 31, 2010 7:15 pm Post subject: Exception |
|
|
Moin, I evaluate 2.3.2.0.
an exception occured using automatic translation:
---------------------------
Unerwarteter Fehler
---------------------------
E401: Ein unerwarteter Fehler ist aufgetreten. Bitte geben Sie die Details dieses Fehler an Infralution weiter (Benutzen Sie Strg+C um den Fehler in die Zwischenablage zu kopieren).
Klicken Sie "Abbrechen" um Globalizer.NET zu verlassen.
Klicken Sie "Wiederholen" um eine Wiederholung zu versuchen.
Klicken Sie "Ignorieren" um weitere Fehler dieses Typs zu ignorieren.
Ausnahme: System.DivideByZeroException
Beschreibung: Es wurde versucht, durch 0 (null) zu teilen.
Stapelverfolgung:
bei Infralution.Globalizer.TranslationWindow.TranslateSelection(Translator translator, OperationKind operationKind)
bei Infralution.Globalizer.TranslationWindow._googleToolStripMenuItem_Click(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
Abbrechen Wiederholen Ignorieren
--------------------------- |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Aug 31, 2010 10:43 pm Post subject: |
|
|
Did you have .NET 3.5 installed on this machine? .NET 3.5 is required for Google translation. _________________ Infralution Support |
|
Back to top |
|
|
SdB
Joined: 31 Aug 2010 Posts: 35
|
Posted: Tue Aug 31, 2010 10:59 pm Post subject: |
|
|
Yes, the machine has .net 3.5 installed and automatic translation works basically. I do not recall the exact steps which resulted in the issue. I just played around as I installed the eval version a few hours ago. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Sep 01, 2010 12:32 am Post subject: |
|
|
I haven't been able to replicate this as yet. Looking at the code the only way I can see that you could possibly get a divide by zero error in that location is if the number of selected rows is zero - but in that case the Auto Translate menu should be disabled. We will put some protective code in any case to ensure against this possibility. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Sep 02, 2010 2:38 am Post subject: |
|
|
I was able to track down the probable cause of this error. The Auto Translate context menus were not being disabled correctly in some circumstances which could lead to this execption if you clicked on them with an empty workspace. This has been fixed in the latest release 2.3.3 _________________ Infralution Support |
|
Back to top |
|
|
|