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 Link to comment Share on other sites More sharing options...
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. Link to comment Share on other sites More sharing options...
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" ? Link to comment Share on other sites More sharing options...
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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now