[Tilesathome] Tiles at Home help?
Ed Loach
ed at loach.me.uk
Mon Sep 1 23:46:42 BST 2008
Sebastian Spaeth wrote:
> Dirk-Lüder Kreie wrote:
> > Ed Loach schrieb:
Thanks all for your answers. It reassures me somewhat that my
problems haven't caused major issues.
I think one of you asked what OS I'm on. I'm using Windows Vista
Ultimate (64-bit). I realise this will probably introduce it's own
problems...
I'll confess here that while I don't know Perl, I do program VB.NET
for a living and got as far as the MCAD qualifications in the
Microsoft exams (I'm about 2 years behind on the exam study that
will update that to MCSD).
So, tonight I've been looking at some of the code. The first thing I
worked out was uncommenting line 71 in tah.pl gives me a status
window so I can actually see what is happening; previously I only
got such a window if I tried exiting with threads still active. The
progress scroll box in the Windows GUI shows much less information
and stops updating once the string variable gets full (which is
usually on the first request processed).
Last night things seemed to work until I went to bed at 23:56 UK
time. An early start for a customer visit and when I got back this
evening and closed T at H as it didn’t seem to have done anything and
the status window that appeared showed:
--- Start copy ---
[#11 0% upload] Failed to retrieve server queue load. Assuming
full queue.
[#11 0% upload] Failed to retrieve server queue load. Assuming
full queue.
[#11 0% upload] Failed to retrieve server queue load. Assuming
full queue.
[#11 0% upload] Failed to retrieve server queue load. Assuming
full queue.
[#11 0% upload] Failed to retrieve server queue load. Assuming
full queue.
[#11 0% upload] Failed to retrieve server queue load. Assuming
full queue.
[#11 0% upload] queue full. Idle for 592 (Total 967:33)...
--- End copy ---
So I'm going to try and work out why - the issue is in the sub
UploadOkOrNot - I've changed the status message here to try and show
the $res as running the same URL in IE gives me 0.0 (or something
slightly higher occasionally).
Other points I'll mention:
--- Start copy ---
Use of uninitialized value in concatenation (.) or string at
C:\Users\Ed\Documen
ts\OSM\Tiles at Home\TilesAtHome\tah.pl line 384.
--- End copy ---
Where line 384 is
$main->LB->Text("Processing... ".$ENV{http_proxy}." \r\n");
As I said I don't know Perl, but is I think this is because I don't
have a proxy set so no environment variable has been set? I think
that is this bit of configure_proxy:
if ($http_proxy_enabled) {
$main->LB->Append("Exporting http_proxy...\r\n");
$ENV{http_proxy}="http://$http_proxy_username:$http_proxy_password\@
$http_proxy_host:$http_proxy_port/";
} else {
delete $ENV{http_proxy};
}
I'll let you know if I work out what my upload problem is.
All the best
Ed
More information about the Tilesathome
mailing list