Tomorrow Posted October 20, 2010 Report Share Posted October 20, 2010 Just a heads up:Ketarin 1.5 is now out of Beta and featured in main site downloads Just noticed today. Small question too.Are you able to get http://user.utorrent.com/downloads to show anything meaningful on variables?.I tried to set the start/end tags and Ketarin shows that URL is loaded.I am able to successfully set the tags and save settings but when i check for update it fails.When i open variables it shows http://user.utorrent.com/downloads and just 3 letters of gibberish in the field where website contents should be.Very odd. Link to comment Share on other sites More sharing options...
floele Posted October 20, 2010 Author Report Share Posted October 20, 2010 Any error messages? Or what exactly is going "poopy poo"? Also, did you add the ";" to the line I mentioned? ";" is required. Link to comment Share on other sites More sharing options...
floele Posted October 20, 2010 Author Report Share Posted October 20, 2010 @Tomorrow: Funny that you mention it, because I realized that yesterday and will include a fix for 1.6 beta1. The problem is the gzip compression of the website. Link to comment Share on other sites More sharing options...
Tomorrow Posted October 20, 2010 Report Share Posted October 20, 2010 @Tomorrow: Funny that you mention it, because I realized that yesterday and will include a fix for 1.6 beta1. The problem is the gzip compression of the website. Copy that.No hurry as i have set it to a predefined textual content for the time being(i still use uT 1.8.5 anyway since 2.0+ was pretty bad when it came out).I just keep the updated stable version package for testing purposes. Link to comment Share on other sites More sharing options...
Omniferum Posted October 20, 2010 Report Share Posted October 20, 2010 (edited) Any error messages? Or what exactly is going "poopy poo"? Also, did you add the ";" to the line I mentioned? ";" is required. Copied and pasted the exact line, tried with and without quotes. Changed the command to C# script. I got nada I mean poopy poo as it recognizes it in a strange way. For example for {7z} start /wait "{root}Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" It will give "windows cannot find x. Make sure you typed the name correctly and try again" Where x is the switch for 7z. Full command is {7z} x "{file}" -o"{p1}{category}\{appname:regexreplace: \(.*\):}" -y If I change the {7z} to the following start /wait {root}"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" it will execute perfectly fine. Dear god please floele, I would love you forever if you could allow other variables in global :'( I just want to be able to place the below command as a global variable and all that need 7z and I can just put {7z} without caring. {7z} x "{file}" -o"{p1}{category}\{appname:regexreplace: \(.*\):}" -y Just a lot of my programs don't really need that much to get them installed. Even my ahk and universal extract programs are just "{AHK}" "{startuppath}\PA.ahk" "{file}" "{p1}{category}\{appname:regexreplace: \(.*\):}" "{ue}" "{file}" "{p1}{appname:regexreplace: \(.*\):}" Edited October 20, 2010 by Omniferum Link to comment Share on other sites More sharing options...
Omniferum Posted October 20, 2010 Report Share Posted October 20, 2010 (edited) Ah, my ignorance of C# Need to change the command to C# and encapsulate the command as so /* "app.Install(null);" */ Sort of surprised those things aren't included by default when you change to C#. However this does give me "script exectued succesfully" whilst not actually running anything that is in the Install Instructions. Checked the log, nothing is actually logged when I run the script. Edited October 20, 2010 by Omniferum Link to comment Share on other sites More sharing options...
floele Posted October 20, 2010 Author Report Share Posted October 20, 2010 @Omniferum: First of all: No, you just made a comment. Your C# script will do nothing. Mine should work fine. If not, can you please copy+paste the not working app XML? Link to comment Share on other sites More sharing options...
floele Posted October 20, 2010 Author Report Share Posted October 20, 2010 @{7z}: This is not a Ketarin issue. C:\Users\Administrator>start /wait "C:\Program Files\7-Zip\7z.exe" x y Die Datei "x" kann nicht gefunden werden. start /wait c:\"Program Files\7-Zip\7z.exe" x y OK Just the way it is. Link to comment Share on other sites More sharing options...
shawn Posted October 20, 2010 Report Share Posted October 20, 2010 Tomorrow, here's a working uTorrent profile: <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="98e52edb-3990-43de-b09d-06c5515c9d84"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl>http://www.utorrent.com/</WebsiteUrl> <UserAgent>{ie32}</UserAgent> <UserNotes /> <LastFileSize>328568</LastFileSize> <LastFileDate>2010-10-16T03:55:24.9037236</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate>2009-05-20T22:20:53</DownloadDate> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>updated</VariableChangeIndicator> <CanBeShared>false</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.utorrent.com/downloads</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>"([^"]+)">Changelog</Regex> <Url>http://www.utorrent.com/downloads/?</Url> <EndText>">Changelog</EndText> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>updated</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>\(US\)\s*-\s*(\S+\s*\d+,\s*\d+)<</Regex> <Url>http://www.utorrent.com/downloads/?</Url> <Name>updated</Name> </UrlVariable> </value> </item> <item> <key> <string>aversion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>/([\d\.]+)/[^"]+exe</Regex> <Url>http://www.utorrent.com/downloads/complete?os=win</Url> <Name>aversion</Name> </UrlVariable> </value> </item> <item> <key> <string>bversion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Version ([\d\.]+\s\(build\s*[\d]+)\)</Regex> <Url>{schangelog}&</Url> <Name>bversion</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://download.utorrent.com/[\d\.]{3,}/utorrent.exe</Regex> <Url>http://utorrent.com/downloads/complete?os=win</Url> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{bversion:regexreplace:[^\d\.]+:.}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Internet</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-10-16T03:55:24.9037236</LastUpdated> <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version:replace: build :.}.exe</TargetPath> <FixedDownloadUrl>http://download.utorrent.com/{aversion}/utorrent.exe</FixedDownloadUrl> <Name>uTorrent</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
shawn Posted October 20, 2010 Report Share Posted October 20, 2010 Feature request: link to the forum from the Help menu. Link to comment Share on other sites More sharing options...
josh Posted October 20, 2010 Report Share Posted October 20, 2010 (edited) {file:filename} {file:ext} are not resolved when using -http://openoffice.mirrorbrain.org/files/stable/3.2.1/OOo_3.2.1_Win_x86_install_en-US.exe- BTW please fix search toolbar behaviour ASAP, today i installed a couple of applications in my old PC w a Pentium 4 3GHz and 512 RAM and it took me +10 seconds to type each letter: i-n-c-o-m-m-a-n-d-:-s-f this is quite annoying. Why this delay? Both Firefox and Chromium parse sqlite db's w +3500 bookmarks and in comparison with Ketarin they are 1000% faster. Edited October 20, 2010 by josh Link to comment Share on other sites More sharing options...
josh Posted October 20, 2010 Report Share Posted October 20, 2010 BTW#2, when i paste a previously copied regex into regex field, at first there's no match; i need to exit window and open again in order to match (and jump into) string Link to comment Share on other sites More sharing options...
Tomorrow Posted October 20, 2010 Report Share Posted October 20, 2010 (edited) Hmm.Just had my first ever crash of Ketarin.Tho it seems that .NET was at fault here: .NET Runtime version 2.0.50727.4952 - Fatal Execution Engine Error (7219851A) (80131506) And: Faulting application name: Ketarin.exe, version: 1.5.0.400, time stamp: 0x4cb49a95 Faulting module name: mscorwks.dll, version: 2.0.50727.4952, time stamp: 0x4bebd49a Exception code: 0xc0000005 Fault offset: 0x0001daef Faulting process id: 0x%9 Faulting application start time: 0x%10 Faulting application path: %11 Faulting module path: %12 Report Id: %13 And: Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: Ketarin.exe P2: 1.5.0.400 P3: 4cb49a95 P4: mscorwks.dll P5: 2.0.50727.4952 P6: 4bebd49a P7: c0000005 P8: 0001daef P9: P10: Attached files: These files may be available here: Analysis symbol: Rechecking for solution: 0 Report Id: 0aa0f985-dc97-11df-82dd-0015f2c80684 Report Status: 0 And: Application popup: Ketarin.exe - No debugger found. : No registered JIT debugger was specified. Click on Retry to have the process wait while attaching a debugger manually. Click on Cancel to abort the JIT debug request. Edited October 20, 2010 by Tomorrow Link to comment Share on other sites More sharing options...
Omniferum Posted October 21, 2010 Report Share Posted October 21, 2010 Go go gadget ignorance I suppose. Just hadn't had that batch problem before is all and I do remember just encapsulating the entire damn thing, perhaps just one of those coding things where you tweak for several hours to a large number of items and forget the changes made over time. Just twiddled for a bit "app.Install(null);" <- doesn't work app.Install(null); <- works, yes i'm allowed to feel stupid. One of those things Is there anything hidden about this command for reference sake? will it cause troubles with some batch commands or will it call the setup instructions in entirety and run it as a batch just as if you had the code there. Merely curious. Link to comment Share on other sites More sharing options...
shawn Posted October 21, 2010 Report Share Posted October 21, 2010 Based on the syntax, I assume it's written such that what you're doing is invoking a method of the "app" object. That is, the string itself may not be exposed, but this method simply executes it ensuring that the proper executor (batch vs c#) is called. Link to comment Share on other sites More sharing options...
floele Posted October 21, 2010 Author Report Share Posted October 21, 2010 @Tomorrow: No info that would help me to fix the problem there. I probably can't even do something about it. See http://stackoverflow.com/questions/334706/fatal-execution-engine-error-79ffee24-80131506 maybe. @Omniferum: Nope. Should just work. Ketarin doesn't do anything else itself. @shawn: Yep. @josh: file refers to the file you have downloaded, maybe you should apply these functions to the URL variable. Link to comment Share on other sites More sharing options...
Tomorrow Posted October 21, 2010 Report Share Posted October 21, 2010 @Tomorrow: No info that would help me to fix the problem there. I probably can't even do something about it. See http://stackoverflow.com/questions/334706/fatal-execution-engine-error-79ffee24-80131506 maybe. Ok i did some research and arrived at this hotfix: https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=26147 Was able to succesfully install.I suppose we will see.The crash could have been a isolated incident but im not taking any chances. Link to comment Share on other sites More sharing options...
josh Posted October 21, 2010 Report Share Posted October 21, 2010 I did try that (problem is with commands) D:\USB-Toolkit>... --dir=\USB-Toolkit\Test\OpenOffice.{url:ext} "http://openoffice.mirrorbrain.org/extended/3.3.0rc1/OOo_3.3.0rc1_20101015_Win_x86_install_en-US.exe" D:\USB-Toolkit>... --dir=\USB-Toolkit\Test\{url:filename} "http://openoffice.mirrorbrain.org/extended/3.3.0rc1/OOo_3.3.0rc1_20101015_Win_x86_install_en-US.exe" Link to comment Share on other sites More sharing options...
Tomorrow Posted October 21, 2010 Report Share Posted October 21, 2010 {url:ext} is working fine for me. Try 1.6 Beta 1 Link to comment Share on other sites More sharing options...
josh Posted October 21, 2010 Report Share Posted October 21, 2010 {url:ext} is working fine for me. Try 1.6 Beta 1 Also did that, no go. Same error. I am using variables in commands Link to comment Share on other sites More sharing options...
josh Posted October 22, 2010 Report Share Posted October 22, 2010 btw i found workaround for this issue 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