Jump to content

AutoIt library suddenly stopped working


Recommended Posts

Ok, this is very weird...

I'm using the AutoIt libraries for VS/C# and Java. I've not installed AutoIt as an application, since it's not necessary.

It's been working for months now in both Java/Eclipse and VS/C#, but today - after a reboot of the computer, it no longer works.

I'm using it to access a login prompt on a web page (which cannot be used with normal http auth), so all AutoIt is doing is activating the login prompt, entering username and password, and hitting Enter.

Now, nothing happens. Nothing at all. The login prompt opens, and AutoIt doesn't do anything at all. No errors in the code (C# nor Java), it just stands there until it finally times out.

The error message in VS is of no help, since this is not a C#/Code issue, but AutoIt that simply doesn't do anything:

The HTTP request to the remove WebDriver server for URL blblabla timed out after 60 seconds ---> System.Net.WebException: The operation has timed out.

Can someone please help? I'm dependent on this, and this is one of the most silly and strange problems I've ever seen. There's no hint of any kind, and hence no indication on where to start debugging. It seems that Windows 10 just simply refuses to run the AutoIt library.

Link to comment
Share on other sites

(Cannot find a way to edit my post...)

Elaboration:

I'm mainly using the AutoIt library in C#/Java code that uses Selenium. Although that doesn't have anything to do with the problem, since I've also got a stand-alone winforms application that uses it, and the problem is exactly the same there: Just yesterday, everything works. Today, after a rebott, AutoIt doesn't do anything.

Link to comment
Share on other sites

Hm. There's been a Windows update, I think. But in what way could that have broken things? And how can the AV software interfere? I'm in a coorporate network, so I have no way to disable the AV software (which I shouldn't be).

Link to comment
Share on other sites

This is really bad, and stupid. How can this happen? Several restarts of the machine, checking of the AV software (nothing found), and AutoIt still refuses to work. It just doesn't do anything, and there are no errors!

Link to comment
Share on other sites

How can I edit a post here? Isn't it possible?

Anyway: To troubleshoot some more, I downloaded the AutoIt application and tried running some of the example scripts. 

The calculator example script opens the calculator, but does absolutely nothing more. Mind you, this is exactly what happened a couple of days ago when I first installed the AutoIt libraries for Java and tried an example there. And that was while it was still working when used to enter user/pass in a web login prompt.

I'll have to start looking for alternatives soon, because this seems incredibly unstable.

Link to comment
Share on other sites

  • Moderators

frankh,

You need a certain number of posts to get post editing permissions.

Quote

I'm using the AutoIt libraries for VS/C# and Java

I take it you mean AutoItX?

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Update:

I opened up the VS solution for the Winforms application using Selenium and AutoIt. And now it actually shows an error when trying to build it:

Unable to copy "D:\Source\Repos\Tools\ChromeMullog\WindowsOperations\bin\Debug\WindowsOperations.dll" to "bin\Debug\WindowsOperations.dll". The process cannot access the file "bin\Debug\WindowsOperations.dll" because it is being used by another process.

Since this is inside the project, and there is no reason why any other process should use this file, I'm thinking maybe the AV software (Trend) is messing up after all? It's impossible to find out, though, since I'm unable to disable it, and the logs are not available in any meaningful way.

Link to comment
Share on other sites

Update 2:

I was able to uninstall Trend Micro AV, and restarted the computer afterwards. And Autoit is STILL not working. So, one cause eliminated. 

Then this gets even worse; It seemingly stops working without a specific reason or cause.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...