Rick Brewster Posted October 10, 2005 Share Posted October 10, 2005 Yeah, I do need that crash log, I can't reproduce this. Thanks. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Crazy Man Dan Posted October 10, 2005 Share Posted October 10, 2005 Crash log for Paint.NET v2.5 (Beta 3 Release build 2.5.2108.39014)Time of crash: 10/10/2005 1:23:15 PM OS version: 5.1.2600.0 .NET Framework version: 1.1.4322.2032 Exception details: System.InvalidCastException: Specified cast is not valid. at PaintDotNet.Data.TgaFileType.TgaSaveConfigWidget.InitWidgetFromToken(SaveConfigToken token) at PaintDotNet.SaveConfigWidget.set_Token(SaveConfigToken value) at PaintDotNet.SaveConfigDialog.set_FileType(FileType value) at PaintDotNet.MainForm.GetSaveConfigToken(FileType fileType, SaveConfigToken saveConfigToken, SaveConfigToken& newSaveConfigToken) at PaintDotNet.MainForm.DoSaveAsDialog(String& newFileName, FileType& newFileType, SaveConfigToken& newSaveConfigToken) at PaintDotNet.MainForm.DoSaveAs() at PaintDotNet.MainForm.menuFileSaveAs_Click(Object sender, EventArgs e) at System.Windows.Forms.MenuItem.OnClick(EventArgs e) at System.Windows.Forms.MenuItemData.Execute() at System.Windows.Forms.Command.Invoke() at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at PaintDotNet.PdnBaseForm.OurWndProc(Message& m) at PaintDotNet.PdnBaseForm.WndProc(Message& m) at PaintDotNet.MainForm.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ------------------------------------------------------------------------------ I believe this is the same crash log. I encountered this error when saving as a TGA, replacing an already saved TGA image. When propted if I wanted to replace the existing file, I selected "Yes." The screen froze, stuck there a while, blanked out, then popped up an error box telling me to look at the pdncrashlog file. It let me save the first TGA, but after crashing on the replace, I have as of yet been unable to save another TGA, encountering the same crash log each time. I hope that sheds some light on the problem! Dan Quote I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 10, 2005 Author Share Posted October 10, 2005 Yes, that definitely helps. I'm able to reproduce this now. I'm looking into it. Thanks! Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 10, 2005 Author Share Posted October 10, 2005 In the meantime, as an [obnoxious] workaround, you can delete the following registry key before you save a TGA: HKEY_CURRENT_USER \ Software \ Paint.NET \ PaintDotNet.Data.TgaFileType.TgaFileType There seems to be a problem after deserializing this data, but if it's not there then everything works fine. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 10, 2005 Author Share Posted October 10, 2005 This is the most bizarre bug. Anyway, I have a better workaround for now. Go to the command line and type the following: %WINDIR%\Microsoft.Net\Framework\v1.1.4322\gacutil.exe /u TgaFileType You should see output similar to the following: Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4318.0 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. Assembly: TgaFileType, Version=2.5.2108.39008, Culture=neutral, PublicKeyToken=85cad16301864386, Cus tom=null Uninstalled: TgaFileType, Version=2.5.2108.39008, Culture=neutral, PublicKeyToken=85cad16301864386, Custom=null Number of items uninstalled = 1 Number of failures = 0 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Crazy Man Dan Posted October 10, 2005 Share Posted October 10, 2005 Alrighty. I gave that a shot, and it seems to work fine now. I did, however, have to make one small change. On my computer, the path was: %WINDIR%\Microsoft.NET\Framework\v1.1.4322\gacutil.exe I'm not sure why there was a difference, but just so other users are aware: If you attempt this and the specified path cannot be found, check in your WINDOWS directory and scout out the proper path for your specific system. Quote I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 10, 2005 Author Share Posted October 10, 2005 It's different on your computer because I forgot the 'Framework' part of the path ... I fixed up my post just now. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.