TLE Posted July 31, 2009 Report Share Posted July 31, 2009 Hi, Like to start of by saying what a fantastic app, it really has made my life that little bit easier. On to business.. I am getting the following error when downloading FirefoxPortable from sourceforge. The path all exists at it used by other applications. If someone could take a look I would be most grateful. i have looked through the forum and couldn't find anyone else with tis problem. I used one of the templates originally to add this. Many Thanks TLE Error: FireFoxPortable Could not find a part of the path 'J:\LoadArea\PortableInstalls\'. <?xml version="1.0" encoding="utf-16"?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="5431147b-c68e-4cf9-a1f5-8d0db06f0f1c"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads\.sourceforge\.net\/portableapps\/.*?_(\d\..+?|\d\w.+?)(?:_en-us|_en){0,1}(?:\.paf\.exe|\.zip)</Regex> <Url>http://portableapps.com/apps/internet/firefox_portable</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>app</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads\.sourceforge\.net\/portableapps\/(.+?)(?:\.paf\.exe|\.zip)</Regex> <Url>http://portableapps.com/apps/internet/firefox_portable</Url> <Name>app</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Misc</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{root}LoadArea\PortableInstalls\</TargetPath> <FixedDownloadUrl>http://downloads.sourceforge.net/portableapps/{app}.paf.exe?download</FixedDownloadUrl> <Name>FireFoxPortable</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
FranciscoR Posted August 1, 2009 Report Share Posted August 1, 2009 We've had a number of issues with sf.net, see here and here but I'm afraid you won't find anything related to this issue. Checking for update only doesn't produce an error: 01-08-2009 10:49:20: Update started with 1 application(s)01-08-2009 10:49:22: FireFoxPortable: Replacing {app} in 'http://downloads.sourceforge.net/portableapps/{app}.paf.exe?download' with 'FirefoxPortable_3.5.1_English' 01-08-2009 10:49:22: FireFoxPortable: Using referer: (none) 01-08-2009 10:49:26: FireFoxPortable: Server source file: /portableapps/FirefoxPortable_3.5.1_English.paf.exe 01-08-2009 10:49:26: FireFoxPortable: Determined target file name: D:\LoadArea\PortableInstalls\ 01-08-2009 10:49:26: FireFoxPortable: Checking if update is required... 01-08-2009 10:49:26: FireFoxPortable: Update required, 'D:\LoadArea\PortableInstalls\' does not yet exist 01-08-2009 10:49:30: FireFoxPortable: Replacing {version} in '{version}' with '3.5.1_English' 01-08-2009 10:49:31: Update finished Downloading update produces one of those never-ending downloads and nothing is downloaded (but I have no clue on how to fix this, sorry): 01-08-2009 10:49:47: Update started with 1 application(s) 01-08-2009 10:49:49: FireFoxPortable: Replacing {app} in 'http://downloads.sourceforge.net/portableapps/{app}.paf.exe?download' with 'FirefoxPortable_3.5.1_English' 01-08-2009 10:49:49: FireFoxPortable: Using referer: (none) 01-08-2009 10:49:52: FireFoxPortable: Server source file: /portableapps/FirefoxPortable_3.5.1_English.paf.exe 01-08-2009 10:49:52: FireFoxPortable: Determined target file name: D:\LoadArea\PortableInstalls\ 01-08-2009 10:49:52: FireFoxPortable: Checking if update is required... 01-08-2009 10:49:52: FireFoxPortable: Update required, 'D:\LoadArea\PortableInstalls\' does not yet exist 01-08-2009 10:50:00: FireFoxPortable: Failed, Não foi possível encontrar uma parte do caminho 'D:\LoadArea\PortableInstalls\'. 01-08-2009 10:50:01: FireFoxPortable: Replacing {app} in 'http://downloads.sourceforge.net/portableapps/{app}.paf.exe?download' with 'FirefoxPortable_3.5.1_English' 01-08-2009 10:50:01: FireFoxPortable: Using referer: (none) 01-08-2009 10:50:04: FireFoxPortable: Server source file: /portableapps/FirefoxPortable_3.5.1_English.paf.exe 01-08-2009 10:50:04: FireFoxPortable: Determined target file name: D:\LoadArea\PortableInstalls\ 01-08-2009 10:50:04: FireFoxPortable: Checking if update is required... 01-08-2009 10:50:04: FireFoxPortable: Update required, 'D:\LoadArea\PortableInstalls\' does not yet exist 01-08-2009 10:50:09: FireFoxPortable: Replacing {version} in '{version}' with '3.5.1_English' 01-08-2009 10:50:09: Update finished Link to comment Share on other sites More sharing options...
floele Posted August 1, 2009 Report Share Posted August 1, 2009 In this particular case, no file name is given, so the downloaded file cannot be saved. You should specify a file location instead of a folder. Link to comment Share on other sites More sharing options...
FranciscoR Posted August 1, 2009 Report Share Posted August 1, 2009 That's new Flo, but it doesn't seem to work. Ketarin is now downloading a 2.94MB file while the FF installer has 8.85MB. Link to comment Share on other sites More sharing options...
TLE Posted August 1, 2009 Author Report Share Posted August 1, 2009 Hi Guys, Thanks for the replys. Flo, that worked a treat specifying the file name. Thanks TLE. <?xml version="1.0" encoding="utf-16"?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="5431147b-c68e-4cf9-a1f5-8d0db06f0f1c"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads\.sourceforge\.net\/portableapps\/.*?_(\d\..+?|\d\w.+?)(?:_en-us|_en){0,1}(?:\.paf\.exe|\.zip)</Regex> <Url>http://portableapps.com/apps/internet/firefox_portable</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>app</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads\.sourceforge\.net\/portableapps\/(.+?)(?:\.paf\.exe|\.zip)</Regex> <Url>http://portableapps.com/apps/internet/firefox_portable</Url> <Name>app</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Misc</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{root}LoadArea\PortableInstalls\{app}.paf.exe</TargetPath> <FixedDownloadUrl>http://downloads.sourceforge.net/portableapps/{app}.paf.exe?download</FixedDownloadUrl> <Name>FireFoxPortable</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
FranciscoR Posted August 1, 2009 Report Share Posted August 1, 2009 Is my PC crazy or does your XML also DL the infamous 2.94MB file? This doesn't seem to be fixed, here's an alternative mirror: <?xml version="1.0" encoding="utf-16"?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>true</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:(\d+(?:\.\d+)+.*?|\d b[a-z]* ?\d+|\d+ sp\w+|r\d+)(?= ?(?:download|final|[<\[\]]))|(?-s:20\d\d-\d\d-\d\d))</Regex> <Url>http://majorgeeks.com/Portable_Firefox_d4424.html</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>redir</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:(http://[^"]+|href="downloadget[^"]+)".+{mirror:regexreplace:(USA ?\d?):\|$1\|})</Regex> <Url>http://majorgeeks.com/Portable_Firefox_d4424.html</Url> <Name>redir</Name> </UrlVariable> </value> </item> <item> <key> <string>mirror</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>USA 2</TextualContent> <Name>mirror</Name> </UrlVariable> </value> </item> <item> <key> <string>durl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>((?:URL\=downloadget\d|files\d\.majorgeeks\.com/files/|(?:www\.)?majorgeeks\.com/downloadget)[^"]+)"</Regex> <Url>{redir:regexreplace:href="downloadget([^"]+):http\\://majorgeeks.com/downloadget$1}</Url> <Name>durl</Name> </UrlVariable> </value> </item> <item> <key> <string>function</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{durl:replace:URL=downloadget:majorgeeks.com/downloadget}</TextualContent> <Name>function</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Internet</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Programas\Internet\FirefoxPortable_3.5.1.exe</PreviousLocation> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-08-01T20:25:58.4792868</LastUpdated> <TargetPath>{target}\{category}\{appname:replace:MG_:}_{version}.{url:ext}</TargetPath> <FixedDownloadUrl>http://{function}</FixedDownloadUrl> <Name>MG_FirefoxPortable</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
andreone Posted August 1, 2009 Report Share Posted August 1, 2009 If it helps, I tried your two jobs and: - the first one downloads a 2.94Mb file (which is of course an invalid exe) - the second one doesn't download anything (but there's no error ???) Link to comment Share on other sites More sharing options...
FranciscoR Posted August 1, 2009 Report Share Posted August 1, 2009 (edited) MajorGeeks is the second? It works for me, maybe this has to do with your location? A while ago I discussed a similar issue with CybTekSol, I pointed MajorGeeks as an alternative DL simply because it's a lot more stable and predictable than anything that involves Sourceforge.net. 01-08-2009 22:42:30: Update started with 1 application(s) 01-08-2009 22:42:33: MG_FirefoxPortable: Replacing {mirror} in '(?-s:(http://[^"]+|href="downloadget[^"]+)".+{mirror:regexreplace:(USA ?\d?):\|$1\|})' with 'USA 2' 01-08-2009 22:42:33: MG_FirefoxPortable: Replacing {redir} in '{redir:regexreplace:href="downloadget([^"]+):http\\://majorgeeks.com/downloadget$1}' with 'href="downloadget.php?id=4424&file=9&evp=febbbb907cb60c49a2fd8a804abcb00a' 01-08-2009 22:42:34: MG_FirefoxPortable: Replacing {durl} in '{durl:replace:URL=downloadget:majorgeeks.com/downloadget}' with 'files1.majorgeeks.com/files/4223a1d5b9e017dda51515829140e5d2/browsers/FirefoxPortable_3.5.1_English.paf.exe' 01-08-2009 22:42:34: MG_FirefoxPortable: Replacing {function} in 'http://{function}' with 'files1.majorgeeks.com/files/4223a1d5b9e017dda51515829140e5d2/browsers/FirefoxPortable_3.5.1_English.paf.exe' 01-08-2009 22:42:34: MG_FirefoxPortable: Using referer: [url]http://majorgeeks.com/Portable_Firefox_d4424.html[/url] 01-08-2009 22:42:35: MG_FirefoxPortable: Server source file: /files/4223a1d5b9e017dda51515829140e5d2/browsers/FirefoxPortable_3.5.1_English.paf.exe 01-08-2009 22:42:36: MG_FirefoxPortable: Replacing {version} in '{target}\Internet\FirefoxPortable_{version}.exe' with '3.5.1' 01-08-2009 22:42:36: MG_FirefoxPortable: Determined target file name: D:\Programas\Internet\FirefoxPortable_3.5.1.exe 01-08-2009 22:42:36: MG_FirefoxPortable: Checking if update is required... 01-08-2009 22:42:36: MG_FirefoxPortable: Update not required, since date and file size remain unchanged 01-08-2009 22:42:36: MG_FirefoxPortable: Replacing {version} in '{version}' with '3.5.1' 01-08-2009 22:42:36: Update finished Edited August 1, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
andreone Posted August 1, 2009 Report Share Posted August 1, 2009 No, no. I already checked the download location, which I set to c:\{appname:replace:MG_:}_{version}.{url:ext} and then c:\test.exe just to be sure. 01/08/2009 23:53:28: Update started with 1 application(s) 01/08/2009 23:53:29: MG_FirefoxPortable: Replacing {mirror} in '(?-s:(http://[^"]+|href="downloadget[^"]+)".+{mirror:regexreplace:(USA ?\d?):\|$1\|})' with 'USA 2' 01/08/2009 23:53:29: MG_FirefoxPortable: Replacing {redir} in '{redir:regexreplace:href="downloadget([^"]+):http\\://majorgeeks.com/downloadget$1}' with 'href="downloadget.php?id=4424&file=9&evp=febbbb907cb60c49a2fd8a804abcb00a' 01/08/2009 23:53:33: MG_FirefoxPortable: Replacing {durl} in '{durl:replace:URL=downloadget:majorgeeks.com/downloadget}' with 'files1.majorgeeks.com/files/4223a1d5b9e017dda51515829140e5d2/browsers/FirefoxPortable_3.5.1_English.paf.exe' 01/08/2009 23:53:33: MG_FirefoxPortable: Replacing {function} in 'http://{function}' with 'files1.majorgeeks.com/files/4223a1d5b9e017dda51515829140e5d2/browsers/FirefoxPortable_3.5.1_English.paf.exe' 01/08/2009 23:53:33: MG_FirefoxPortable: Using referer: http://majorgeeks.com/Portable_Firefox_d4424.html 01/08/2009 23:53:33: MG_FirefoxPortable: Server source file: /files/4223a1d5b9e017dda51515829140e5d2/browsers/FirefoxPortable_3.5.1_English.paf.exe 01/08/2009 23:53:33: MG_FirefoxPortable: Determined target file name: c:\test.exe 01/08/2009 23:53:33: MG_FirefoxPortable: Checking if update is required... 01/08/2009 23:53:33: MG_FirefoxPortable: Update required, 'c:\test.exe' does not yet exist 01/08/2009 23:53:33: MG_FirefoxPortable: Skipped downloading updates 01/08/2009 23:53:34: MG_FirefoxPortable: Replacing {version} in '{version}' with '3.5.1' 01/08/2009 23:53:34: Update finished An update is required but downloading is skipped? Link to comment Share on other sites More sharing options...
FranciscoR Posted August 1, 2009 Report Share Posted August 1, 2009 Ah, semantics is now different (on appyface request), just uncheck "do not download, check updates only" to download. Link to comment Share on other sites More sharing options...
andreone Posted August 1, 2009 Report Share Posted August 1, 2009 Ah, semantics is now different (on appyface request), just uncheck "do not download, check updates only" to download. Oups, I did not check that. Alright then, your settings work fine, I managed to download a valid exe of ~8Mb Link to comment Share on other sites More sharing options...
TLE Posted August 2, 2009 Author Report Share Posted August 2, 2009 Thanks Guys, To be honest I have never heard of thatr issue FranciscoR, I will keep it in mind now though. That script works fine for me. Thanks again guys. TLE Link to comment Share on other sites More sharing options...
FranciscoR Posted August 16, 2009 Report Share Posted August 16, 2009 Flo, not sure if this helps but the problem seems to be the comma character in redirected url. Link to comment Share on other sites More sharing options...
CybTekSol Posted August 19, 2009 Report Share Posted August 19, 2009 Ah, semantics is now different (on appyface request), just uncheck "do not download, check updates only" to download. This has caught me twice lately FranciscoR! 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