kazso Posted July 10, 2019 Report Share Posted July 10, 2019 When i add a variable to an application, which is part of the download URL (for example https://download-installer.cdn.mozilla.net/pub/firefox/releases/{version}/win32/en-US/Firefox Setup {version}.exe) or the filename (for example d:\Firefox {version}.exe), and the variable is read from a local file, then canceling a file download (update or force download) will result in an unhandled exception error: I get the same error with Ketarin 1.8.10.15 and 1.8.11 Beta. These are the steps to recreate this error (using Firefox as an example): Create a text file (c:\firefoxversion.txt) and write a version number into it (68.0). Create a new application in Ketarin (Firefox), and add a version variable to it. Change the type to Content from URL (Regular Expression), add the path to the text file into Contents from URL (c:\firefoxversion.txt), and add [\d\.]+ as the regular expression. Add the download URL: https://download-installer.cdn.mozilla.net/pub/firefox/releases/{version}/win32/en-US/Firefox Setup {version}.exe Add a path to Save in folder (c:\). Update (or force download) this application. Cancel during the download. I uploaded firefoxversion.txt and firefox.xml. To test this, import firefox.xml into Ketarin and copy firefoxversion.txt to c:\. firefoxversion.txt firefox.xml Quote Link to post Share on other sites
floele Posted July 16, 2019 Report Share Posted July 16, 2019 Interesting, seems a bit like a bug in the .NET Framework maybe. Will catch the exception anyway to prevent an error from occurring. Quote Link to post Share on other sites
shawn Posted July 19, 2019 Report Share Posted July 19, 2019 Do you get the error if you use an actual file: URL such as "file:///C:/path/firefoxversion.txt" ? Quote Link to post Share on other sites
kazso Posted August 3, 2019 Author Report Share Posted August 3, 2019 On 7/19/2019 at 2:29 AM, shawn said: Do you get the error if you use an actual file: URL such as "file:///C:/path/firefoxversion.txt" ? I get the same error with the file: URL. Quote Link to post Share on other sites
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.