Omniferum Posted January 26, 2012 Report Share Posted January 26, 2012 Can anyone shed some light on this problem? All other souceforge apps were created with the exact same template but only THIS app is causing trouble. 26/01/2012 2:13:27 PM: Update started with 1 application(s) 26/01/2012 2:13:28 PM: RBTray: Replacing {url} in '{url}' with 'http://sourceforge.net/projects/rbtray/' 26/01/2012 2:13:29 PM: RBTray: Replacing {page} in 'http://sourceforge.net{page}' with '/projects/rbtray/files/' 26/01/2012 2:13:30 PM: RBTray: Replacing {refer1} in 'http://sourceforge.net{refer1}' with '/projects/rbtray/files/rbtray/' 26/01/2012 2:13:31 PM: RBTray: Replacing {refer2} in 'http://sourceforge.net{refer2}' with '/projects/rbtray/files/rbtray/4.3/' 26/01/2012 2:13:32 PM: RBTray: Replacing {download} in '{download}' with 'http://sourceforge.net/projects/rbtray/files/rbtray/4.3/RBTray-4_3.zip' 26/01/2012 2:13:32 PM: RBTray: Using referer: (none) 26/01/2012 2:13:35 PM: RBTray: Server source file: /projects/rbtray/files/rbtray/4.3/RBTray-4_3.zip 26/01/2012 2:13:35 PM: RBTray: Determined target file name: Z:\Software\Ketarin Maintained Applications\Productivity\RBTray-4_3.zip 26/01/2012 2:13:35 PM: RBTray: Checking if update is required... 26/01/2012 2:13:36 PM: RBTray: Replacing {url} in '{url}' with 'http://sourceforge.net/projects/rbtray/' 26/01/2012 2:13:37 PM: RBTray: Replacing {page} in '{page}' with '/projects/rbtray/files/' 26/01/2012 2:13:38 PM: RBTray: Failed, The format of the URI "/projects/rbtray/files/" cannot be determined. 26/01/2012 2:13:39 PM: RBTray: Replacing {url} in '{url}' with 'http://sourceforge.net/projects/rbtray/' 26/01/2012 2:13:40 PM: RBTray: Replacing {page} in 'http://sourceforge.net{page}' with '/projects/rbtray/files/' 26/01/2012 2:13:41 PM: RBTray: Replacing {refer1} in 'http://sourceforge.net{refer1}' with '/projects/rbtray/files/rbtray/' 26/01/2012 2:13:42 PM: RBTray: Replacing {refer2} in 'http://sourceforge.net{refer2}' with '/projects/rbtray/files/rbtray/4.3/' 26/01/2012 2:13:45 PM: RBTray: Replacing {download} in '{download}' with 'http://sourceforge.net/projects/rbtray/files/rbtray/4.3/RBTray-4_3.zip' 26/01/2012 2:13:45 PM: RBTray: Using referer: (none) 26/01/2012 2:13:47 PM: RBTray: Server source file: /projects/rbtray/files/rbtray/4.3/RBTray-4_3.zip 26/01/2012 2:13:47 PM: RBTray: Determined target file name: Z:\Software\Ketarin Maintained Applications\Productivity\RBTray-4_3.zip 26/01/2012 2:13:47 PM: RBTray: Checking if update is required... 26/01/2012 2:13:48 PM: RBTray: Replacing {url} in '{url}' with 'http://sourceforge.net/projects/rbtray/' 26/01/2012 2:13:50 PM: RBTray: Replacing {page} in '{page}' with '/projects/rbtray/files/' 26/01/2012 2:13:50 PM: RBTray: Failed, The format of the URI "/projects/rbtray/files/" cannot be determined. 26/01/2012 2:13:51 PM: RBTray: Replacing {url} in '{url}' with 'http://sourceforge.net/projects/rbtray/' 26/01/2012 2:13:52 PM: RBTray: Replacing {page} in 'http://sourceforge.net{page}' with '/projects/rbtray/files/' 26/01/2012 2:13:53 PM: RBTray: Replacing {refer1} in 'http://sourceforge.net{refer1}' with '/projects/rbtray/files/rbtray/' 26/01/2012 2:13:54 PM: RBTray: Replacing {refer2} in 'http://sourceforge.net{refer2}' with '/projects/rbtray/files/rbtray/4.3/' 26/01/2012 2:13:55 PM: RBTray: Replacing {download} in '{download}' with 'http://sourceforge.net/projects/rbtray/files/rbtray/4.3/RBTray-4_3.zip' 26/01/2012 2:13:55 PM: RBTray: Using referer: (none) 26/01/2012 2:13:58 PM: RBTray: Server source file: /projects/rbtray/files/rbtray/4.3/RBTray-4_3.zip 26/01/2012 2:13:58 PM: RBTray: Determined target file name: Z:\Software\Ketarin Maintained Applications\Productivity\RBTray-4_3.zip 26/01/2012 2:13:58 PM: RBTray: Checking if update is required... 26/01/2012 2:13:59 PM: RBTray: Replacing {url} in '{url}' with 'http://sourceforge.net/projects/rbtray/' 26/01/2012 2:14:00 PM: RBTray: Replacing {page} in '{page}' with '/projects/rbtray/files/' 26/01/2012 2:14:00 PM: RBTray: Failed, The format of the URI "/projects/rbtray/files/" cannot be determined. 26/01/2012 2:14:00 PM: Executing command: rd /s /q "Z:\Ketatemp\" 26/01/2012 2:14:00 PM: Command result: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. Link to comment Share on other sites More sharing options...
shawn Posted January 26, 2012 Report Share Posted January 26, 2012 It doesn't look like it's got the actual URL in there. What's in the "URL" field in the app profile? Can you share the generated app profile? Link to comment Share on other sites More sharing options...
Omniferum Posted January 26, 2012 Author Report Share Posted January 26, 2012 <?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="b8ef28aa-9c14-43e2-b8e7-1947f24fe139"> <WebsiteUrl>{url}</WebsiteUrl> <UserAgent>{sfua}</UserAgent> <UserNotes /> <LastFileSize>93156</LastFileSize> <LastFileDate>2012-01-23T21:22:15.4837461</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>::Use this if the file you are downloading is a binary that can be unzipped and run {7z} x "{file}" -o"{temppath}{appname:regexreplace: \(.*\):}" -y for /f "tokens=2 delims=[]" %a in ('dir /b /s "{temppath}{appname:regexreplace: \(.*\):}\*.exe" ^| find /v /n "" ^| findstr /c:[1]') do set dir=%~dpa* {copyfolder} "%dir%" "{installpath}{category}\{appname:regexreplace: \(.*\):}\" rd /s /q "{temppath}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>([^"'<>\*]+files[^"'<>\*]+\.(zip|7z|rar|exe|msi))</Regex> <Url>http://sourceforge.net{refer2}</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>(.*?)[\s-]+</Regex> <Url>http://sourceforge.net{page}</Url> <Name>name</Name> </UrlVariable> </value> </item> <item> <key> <string>page</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>[^"';=]+files[^"';=]+</Regex> <Url>{url}</Url> <Name>page</Name> </UrlVariable> </value> </item> <item> <key> <string>refer1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>folder.*?([^"']+files[^"']+)</Regex> <Url>http://sourceforge.net{page}</Url> <Name>refer1</Name> </UrlVariable> </value> </item> <item> <key> <string>refer2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>folder.*?([^"']+files[^"']+)</Regex> <Url>http://sourceforge.net{refer1}</Url> <Name>refer2</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>[^"']+projects[^"']+</Regex> <Url>http://sourceforge.net/projects/rbtray/</Url> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>dateupdated.*?([^"'>]+)<</Regex> <Url>{page}</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*This is a comment line, the line below is the C# script. It will run the instructions found in the Setup Tab. If the command below is encapsulated with stars and slashes merely remove them to make the command function, otherwise it will remain a comment*/ app.Install(null);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation>Z:\Software\Ketarin Maintained Applications\Productivity\RBTray-4_3.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2012-01-23T21:22:15.4837461</LastUpdated> <TargetPath>{downloadpath}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>RBTray</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
shawn Posted January 27, 2012 Report Share Posted January 27, 2012 {page} isn't returning a complete URL, so version (which is dependent on that URL) isn't being built. Since it depends on {version} for the change indicator, it's failing. The fix is to prefix {page} with the rest of the URL, as: http://sourceforge.net{page} Link to comment Share on other sites More sharing options...
Omniferum Posted January 27, 2012 Author Report Share Posted January 27, 2012 Ah, how silly of me to overlook something so simple. Danke mein friend 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