Sign in to follow this  
Followers 0
ptrex

Beta 123 Scripts Don't Run And No Errors

11 posts in this topic

After upgrading to the Beta 123 some of the scripts don' t run through the SciTE ALT + F5.

This is the ouput :

>"C:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\_\Apps\AutoIT3\_Development\Firewall\Firewall Log Analyzer.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams

>Running AU3Check (1.54.1.1) params: from:C:\Program Files\AutoIt3\beta

+>AU3Check ended.rc:0

>Running:(3.1.1.123):C:\Program Files\AutoIt3\beta\autoit3.exe "C:\_\Apps\AutoIT3\_Development\Firewall\Firewall Log Analyzer.au3"

There are no errors only the CPU hangs at 100 %

Without error messages I don' t have a clue to start looking at what's wrong.

I tried running my scripts as well as from others -> same problem.

Here is 1 example :

http://www.autoitscript.com/forum/index.ph...topic=15220&hl=

In version Beta 119 Everyting was working fine.

Can anyone give me a tîp where to start looking.

Did anything fundamental change in COM coding.

Thanks in advance !!

ptrex

Share this post


Link to post
Share on other sites



I have seen that there are some REGENUM issues as of version 122, in the Bug Forum Section.

So maybe this post should be moved to the BUG section.

Thanks

if you have a small repro script do it.

As I remember the enumeration was not so good for key. But val certainly have been impact too. :)

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

@Larry

It's not only this script that showed a difference in behaviour, there are more.

By the way, apart from the bad coding, those scripts ran good till Beta 119 ?

An other example is my Firewall Log Analyzer for XP see link in my signature.

In the first post is the au3 script.

Problems occured after Beta 119.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

@Larry

It's not only this script that showed a difference in behaviour, there are more.

By the way, apart from the bad coding, those scripts ran good till Beta 119 ?

An other example is my Firewall Log Analyzer for XP see link in my signature.

In the first post is the au3 script.

Problems occured after Beta 119.

You right, for debugging some regenum issue I change the return on error.

it does not return "" anymore but @error should be check to work on abnormal condition.

Func ODBCsources($h_controlID, $s_RegEntry, $s_Type)
    Local $s_List, $i_dsncount, $s_VarNm, $s_Value, $i
    $i = 1
    While $@error = 0
        $s_VarNm = RegEnumVal($s_RegEntry,  $i)
        If @error = 0 Then
            $s_Value = RegRead($s_RegEntry, $s_Varnm)
            GUICtrlCreateListViewItem($s_VarNm & "|" & $s_Type & "|" & $s_Value, $h_controlID)
            $i += 1
            $i_DSNcount += 1
        EndIf
    Wend
EndFunc

Can I change the doc or do I really need to go back to what is documented?

the posted code was wrong in checking in the loop but more buggy as stated by Larry

Edited by jpm

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

@Jpm

Thanks for the feedback. :(

I leave it up to you guys, wether you return back to previous behavious or stay as it is.

Best is to let everyone know, if you decide to stay as it is, that the behaviour has changed since version 119.

Regards,

ptrex

Thanks

I think I will document the new behavior as it help to understand what is going wrong. the error should be checked with @error first. :)

Share this post


Link to post
Share on other sites

Thanks

I think I will document the new behavior as it help to understand what is going wrong. the error should be checked with @error first. :)

That's what I did :(

Share this post


Link to post
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
Sign in to follow this  
Followers 0