Downloader bug in WB053Beta10
#26
Posted 09 January 2007 - 01:23 PM
But i think, i may know where the problem is!
The first download after starting WB works fine, only all following downloads, no matter if they are the ini or the scripts, fail.
Looks like you don't clean up properly after each download.
Only the one without a prior download and fresh initialisation works flawless.
Why others don't have the same problem? Maybe the new TCP/IP stack of SP2 is more 'programmer friendly' and fixes this problem by himself.
#27
Posted 09 January 2007 - 02:40 PM
I'll try to find some built-in packages that don't resort to dll's..
#28
Posted 09 January 2007 - 03:15 PM
If SP1 doesn't support this function then we can assume that this issue likely extends to all win9x and pre-XP SP2 OS releases..
I'll try to find some built-in packages that don't resort to dll's..
I don't know if it helps but I use both sp1 and sp2 in 2 computers and winbuilder works fine. If you want I'll conect my dsl modem with usb and see the results . I'm sure you will find this bug
John
#29
Posted 09 January 2007 - 03:48 PM
I come just back from our Testroom and tryed WB on a Win98 machine. It worked, after some initial complaining about not being able to download the updates.ini. It startet working flawlessly after 3 attempts.
Sorry couldn't use any other Win versions, all machines are busy testing our Vista fixed software.
PS: THat Computer was connected by a single NIC.
#30
Posted 09 January 2007 - 03:59 PM
I don't know if it helps but I use both sp1 and sp2 in 2 computers and winbuilder works fine. If you want I'll conect my dsl modem with usb and see the results . I'm sure you will find this bug
John
Thanks for taking the time to debug!
If it's not SP related, then I wonder where it can hang?
#31
Posted 09 January 2007 - 05:51 PM
I come just back from our Testroom and tryed WB on a Win98 machine.
Thanks for testing in win 98 !
I'll update the wiki righ now!
EDIT: Can you test it also in Windows ME?
John
#32
Posted 09 January 2007 - 07:57 PM
Will check, but i wouldn't get my hopes up, if i were you.
As far as i know, we only have Win98 and Win98SE of the non NT systems.
@Nuno
You will not believe it! WB works flawless on a XPSP2 inside a virtual machine on my computer!
#33
Posted 09 January 2007 - 08:59 PM
@Nuno
You will not believe it! WB works flawless on a XPSP2 inside a virtual machine on my computer!
I'll google for a workaround to the current download function..
#34
Posted 10 January 2007 - 11:35 AM
But will take some time to replace the code and learn how to quickly handle it.
Will likely have to release 053 to replace the older 052 - it's been too long since last release.
Next step is also introducing a version check (using major and minor (beta) version) inside updates.ini to allow wb to download itself new updates to the .exe - this way it will be easier to keep up with new betas.
I'm hoping that since Indy10 has such experience in producing web components - hopefully they'll have this sort of issues already adressed properly - allowing to also use proxy servers - wich also seems to be a limitation on the current download functions..
#35
Posted 10 January 2007 - 12:37 PM
Can't you just use the build in Windows function with Delphi? As long as you stick with the basics it should work down to W95a!The most stable (and freeware) pack of components I've found is Indy direct 10
But will take some time to replace the code and learn how to quickly handle it.
Will likely have to release 053 to replace the older 052 - it's been too long since last release.
Next step is also introducing a version check (using major and minor (beta) version) inside updates.ini to allow wb to download itself new updates to the .exe - this way it will be easier to keep up with new betas.
I'm hoping that since Indy10 has such experience in producing web components - hopefully they'll have this sort of issues already adressed properly - allowing to also use proxy servers - wich also seems to be a limitation on the current download functions..
Besides, there is then no way in haven or hell, that someone can access the internet without WB being able to do so too.
#36
Posted 10 January 2007 - 12:58 PM
Thought it would complain about fat32 filesystems and their different file sequence - it can be fixed too..
I liked Indy because it seems compatible with win9x as well, using buit-in code and avoiding the use external windows dll's.
Not to mention on the extensive documentation they provide - a really handy assistance.
#37
Posted 10 January 2007 - 01:43 PM
Never said that!winbuilder has sucessfully built projects under win9x??
Thought it would complain about fat32 filesystems and their different file sequence - it can be fixed too..
I said the downloader would work ok under W98, as this was the question, wasn't it.
If my error does depend on not me not having SP2, then it aöso shouldn't work with any other previous Windows.
#38
Posted 10 January 2007 - 02:07 PM
The XPLiveCD project complains about not finding cmd.exe. After i clicked ok 3 times the build continues. Looks though, as if it will take ages!
#39
Posted 10 January 2007 - 02:53 PM
So... started WBB11 in Win98 on a virtual machine on my Laptop.
The XPLiveCD project complains about not finding cmd.exe. After i clicked ok 3 times the build continues. Looks though, as if it will take ages!
Yes, I've never tested myself on a win9x either virtual or just the real thing - maybe after we get over these rough download edges..
#40
Posted 12 January 2007 - 01:10 PM
It uses the same functions as the ones on wb and it should provide a mean to debug why download occurs unders some conditions and fails in others..
Also included the delphi source code in case you wish to see how it works.
Project___2007___Download.7z 186.92KB
327 downloads
#41
Posted 12 January 2007 - 01:52 PM
Still the same problem. First download of updates.ini after start works, the following not.MedEvil, can you please try this little program?
It uses the same functions as the ones on wb and it should provide a mean to debug why download occurs unders some conditions and fails in others..
Also included the delphi source code in case you wish to see how it works.
Project___2007___Download.7z 186.92KB 327 downloads
Download of http://beta.boot-lan... Alt del.script fails right from the start, though the progressbar shows 4 blue squares.
When trying downloads from other sites, the Downloader also always fails.
btw. Nuno if we wanna debug this fellow, we need a more verbose version. An error has occured, will not do.
#42
Posted 12 January 2007 - 06:42 PM
...
btw. Nuno if we wanna debug this fellow, we need a more verbose version. An error has occured, will not do.
Well, now it's positive that the issue is found on the http download component - I will replace by another to see the results.
the message box "An error has occured" comes from inside the delphi component StndActions - will use the Indy10 one since it also seems add support for proxies.
Thanks for these testings!
#43
Posted 23 January 2007 - 11:58 AM
I was trying to login on msn messenger, but it refused since my IE was offline wich I didn't care since I use firefox.
Might not be related, but after removing the offline option from IE, msn was back online..
This is just an idea in case you migth try it out - I'm still puzzled on the reason why it won't work on your machine.
#44
Posted 23 January 2007 - 01:43 PM
I use Opera,Firefox and IE, sometimes even OffByOne. All work without a problem.medevil: One question to you use internet explorer to browse the web?
Sorry!
#45
Posted 23 January 2007 - 03:14 PM
#46
Posted 23 January 2007 - 07:43 PM
If you could create a version, that shows what network settings WB is using/detecting, we could make a big leap forward.Thank you for trying - the mistery remains..
#47
Posted 24 January 2007 - 12:49 PM
If you could create a version, that shows what network settings WB is using/detecting, we could make a big leap forward.
It's available from the standard actions component on delphi 7 - not sure yet on the inner works but my best guess is that it will default to the same settings from wich IE relies on too..
This is not an happy solution - Indy 10 is more complete, even adding support for proxy connections - will likely replace the current method soon.
#48
Posted 24 January 2007 - 01:24 PM
It can't rely on the settings from IE, else proxys would work too.It's available from the standard actions component on delphi 7 - not sure yet on the inner works but my best guess is that it will default to the same settings from wich IE relies on too..
This is not an happy solution - Indy 10 is more complete, even adding support for proxy connections - will likely replace the current method soon.
#49
Posted 24 January 2007 - 01:35 PM
#50
Posted 24 January 2007 - 02:14 PM
Nuno, i have fantastic news for you!Yes.. should have remembered this one - will test on a proxy!
Believe it or not i found the problem!
Though still no idea by what it is caused.
If one uses a dialup connection, like i do, there is a checkbox for automatic detection of settings. If that box is checked WB can't connect to the net. When i remove the check, WB works all of a sudden fine.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users