MewesK Posted June 16, 2020 Share Posted June 16, 2020 HI guys, I'm using the new WSL2 (with Ubuntu 20). Opening, and "Saving as" from/to the WSL mount (\\wsl$\...) works perfectly fine with paint.net, but saving produces always this error: Application version: paint.net 4.2.12 System.ComponentModel.Win32Exception (0x80004005): ReplaceFileW() returned FALSE (50, ERROR_NOT_SUPPORTED) at PaintDotNet.SystemLayer.NativeUtilities.ThrowOnWin32Error(String message, Int32 lastWin32Error, Boolean alwaysThrow) in D:\src\pdn\src\SystemLayer\NativeUtilities.cs:line 89 at PaintDotNet.SystemLayer.FileSystem.ReplaceFile(String replacedFileName, String replacementFileName, String backupFileName) in D:\src\pdn\src\SystemLayer\FileSystem.cs:line 48 at PaintDotNet.IO.SaveTransaction.Commit() in D:\src\pdn\src\PaintDotNet\IO\SaveTransaction.cs:line 287 at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass246_1.<DoSaveImpl>b__6() in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2794 at PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\src\Base\Functional\Func.cs:line 174 I guess ReplaceFileW is not available on WSL2 mounts. Not a show stopper but rather annoying^^ Thanks for the awesome application! -Mewes Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 16, 2020 Share Posted June 16, 2020 I put out a hotfix for this: https://forums.getpaint.net/topic/116563-problem-after-saving-a-picture/?do=findComment&comment=572295 Please let me know if it works for you. I plan on releasing a proper 4.2.13 update soon. 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...
MewesK Posted June 16, 2020 Author Share Posted June 16, 2020 Works a charm! Thanks a lot, I threw some money your way :3 Quote 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.