WillCroPoint Posted July 23, 2007 Share Posted July 23, 2007 When "saving as..." a picture having a full path of more than 260 characters (I know this a weired situation but anyway), Paint.Net v3.08 FR crashes rather than providing me with a "meaningful" :wink: error message: "A non handled error occurred... blahblah" The crash log looks like this: ------------------------------------------------------------------------------ Ce fichier texte a été créé car Paint.NET a rencontré un incident. Veuillez envoyer ce fichier dans un message électronique àl'adresse paint.net@hotmail.com de façon àce que nous puissions diagnostiquer et résoudre le problème. Application version: Paint.NET v3.08 (Final Release build 3.08.2708.22795) Time of crash: 23/07/2007 14:59:47 Application uptime: 00:01:21.6324705 OS Version: 6.0.6000.0 Workstation x86 .NET Framework version: 2.0.50727.312 x86 Processor: 2x "Intel® Pentium® D CPU 2.80GHz" @ ~2809MHz Physical memory: 2046 MB Tablet PC: no Locale: pdnr.c: fr, hklm: fr, hkcu: n/a, cc: fr-FR, cuic: fr Exception details: System.IO.PathTooLongException: Le chemin d'accès spécifié, le nom de fichier ou les deux sont trop longs. Le nom de fichier qualifié complet doit comprendre moins de 260 caractères et le nom du répertoire moins de 248 caractères. àSystem.IO.Path.NormalizePathFast(String path, Boolean fullCheck) àSystem.IO.Path.GetDirectoryName(String path) àPaintDotNet.DocumentWorkspace.ShowFileDialog(Control owner, IFileDialog fd) àPaintDotNet.DocumentWorkspace.DoSaveAsDialog(String& newFileName, FileType& newFileType, SaveConfigToken& newSaveConfigToken, Surface saveScratchSurface) àPaintDotNet.DocumentWorkspace.DoSaveAs() àPaintDotNet.Menus.FileMenu.MenuFileSaveAs_Click(Object sender, EventArgs e) àSystem.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) àSystem.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) àPaintDotNet.PdnMenuItem.OnClick(EventArgs e) àSystem.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) àSystem.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) àSystem.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) àSystem.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) àSystem.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) àSystem.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) àSystem.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) àSystem.Windows.Forms.Control.WndProc(Message& m) àSystem.Windows.Forms.ScrollableControl.WndProc(Message& m) àSystem.Windows.Forms.ToolStrip.WndProc(Message& m) àSystem.Windows.Forms.ToolStripDropDown.WndProc(Message& m) àSystem.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) àSystem.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) àSystem.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ------------------------------------------------------------------------------ PS: This does not happen when opening the file or saving (not "save as") the opened file. Also, when "saving as" the opened file, the filename is trucated so as to have a full path made of 260 characters. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 23, 2007 Share Posted July 23, 2007 Thanks, I've filed a bug. 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 July 24, 2007 Share Posted July 24, 2007 This is fixed for the upcoming v3.10 release. 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.