Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exception

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support
View previous topic :: View next topic  
Author Message
SdB



Joined: 31 Aug 2010
Posts: 35

PostPosted: Tue Aug 31, 2010 7:15 pm    Post subject: Exception Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Aug 31, 2010 10:43 pm    Post subject: Reply with quote

Did you have .NET 3.5 installed on this machine? .NET 3.5 is required for Google translation.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
SdB



Joined: 31 Aug 2010
Posts: 35

PostPosted: Tue Aug 31, 2010 10:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Sep 01, 2010 12:32 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Sep 02, 2010 2:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group