←  AutoPatcher Bug Reports

AutoPatcher Forum

»

Another Run Time Error 0 - but on startup

vipernicus42's Photo vipernicus42 27 Nov 2007

Hey Guys,

I've been a big fan of Autopatcher for quite a while and just tried out the apup.exe for the first time (I've been using the August full release until now).

I downloaded the Nov 25th version. I unzipped it to a folder (E:\apup\ in case that makes any difference) and ran apup.exe

After double-clicking the exe, the window comes up, but does absolutely nothing for 20 seconds, then pops the Run Time Error 0 error.

The only thing I can think of is if apup is trying to get out to the internet without reading the proxy settings I have set in IE or Firefox, then it would not be able to Check for Available Releases, which might cause the timeout.

I'm in a corporate environment where any connection to the internet has to go through our squidNT proxy server. I'm an administrator, so I've made sure that my workstation has full rights to access anything on the internet, however, if any program isn't able to either fetch the proxy settings from IE or Firefox, or let me specify it in the program itself, it will have a very hard time getting to the internet.

Other than that I don't have any other ideas or info. I don't know where the log file is, if it isn't in the apup folder. If it's supposed to appear in the apup folder, it's not appearing.

I'm thinking that a try/catch should exist around the part that makes a connection to the 'net, and a line should be added to the log to the effect of "failed to connect" or something along those lines - IF that's what the problem is.

Any other suggestions? Any way I can fix it?

My workstation is a clean-slate WinXP SP2 box that only has winzip, firefox and textpad installed on it.

Jon
Quote

vipernicus42's Photo vipernicus42 27 Nov 2007

Can someone who has apup working on their system do a little test for me?

Unplug your network cable and run apup again. Let me know if it crashes the same way in 20 sec

That might confirm that it's simply a proxy-connectivity problem.

Jon
Quote

Erik Ramey's Photo Erik Ramey 27 Nov 2007

View Postvipernicus42, on Nov 27 2007, 10:18 AM, said:

Can someone who has apup working on their system do a little test for me?

Unplug your network cable and run apup again. Let me know if it crashes the same way in 20 sec

That might confirm that it's simply a proxy-connectivity problem.

Jon
Hey Jon! You can actually test this yourself by running APUP.exe /log. If you are having proxy issues, the log will show a "unable to connect" error message in the beginning
Quote

vipernicus42's Photo vipernicus42 27 Nov 2007

Awesome. So *that's* where the log part comes in.

Well, sure enough it's a connection problem.

AutoPatcher Updater starting.
List file HTTP location: http://www.autopatcher.com/releases.list
Download queue status: 1 files waiting.
releases.list:  The attempt to connect timed out

So.... how do I go about instructing apup.exe on how to get through my proxy?

It needs to either talk to IE or Firefox... or have some way for me to point it towards
proxyname.ourcompanydomain.com:3128

Jon

Edit: Chances are, since this is still in beta, it's probably not top of the priority list. I can definitely understand that. I just figured I'd ask if there was an "easy" way to do it. Heck,depending on what language it's written in, "easy" might mean "Hey Jon, do you want to code the proxy-communication method for us?" ;) Though I warn ya, I'm only "Intermediate", and only in .NET and Java. I've got a "basic" understanding of Perl, C++ and a few others, but nothing at the level needed for that... yet!
Edited by vipernicus42, 27 November 2007 - 08:07 PM.
Quote

Erik Ramey's Photo Erik Ramey 27 Nov 2007

Actually this feature as already been asked by a couple of people already. I'm only a release manager which I don't program APUP, but the plan of attack is to first stabilize the programming: APUP.exe plus all the scripts. I'm sure in a future release a proxy setting will be added but I can't say 100 percent if/when.
Quote

vipernicus42's Photo vipernicus42 27 Nov 2007

Very cool indeed.

Alrighty. I guess I'll take it home tonight and run it on my home comp to make an installer then bring it back into the office.

Thanks so much for the help :)

Jon
Quote

Cyrus's Photo Cyrus 28 Nov 2007

It's coded in VB6. If you were able to code a proxy portion of the program without seeing the existing code then it might get added, but you would have to ask Antonis or Renato, they are in charge of that.
Quote

Renato's Photo Renato 28 Nov 2007

Antonis is in charge of the codding, i create and maintain some releases.
Quote

Cyrus's Photo Cyrus 28 Nov 2007

@vipernicus42: make sure you download the new version of apup.exe (27 Nov)

@ Renato: sorry, my mistake. In that case he needs to just ask Antonis.
Quote

ViroMan's Photo ViroMan 24 Feb 2008

Sorry for digging up old threads but this seems like the one most relevant to my problem.

I have YET to get apup to work on my WinXP64.

Running the log on it shows the same as the guy above me. However I have disabled my Anti-Virus and Firewall and still do not get connections. I am NOT using a proxy and I have DSL.

In my disparity I have started work on my own program which reads the scripts just to download everything. I don't intend to give the program to the public unless antonis would like me too. This is just so I can get the updates for myself.
Edited by ViroMan, 24 February 2008 - 12:48 PM.
Quote