Jump to content

Recommended Posts

Posted (edited)

Hi to all, I have a Tidy unhandled exception, with a script I am working on.

The Tidy.exe that give me the problem is the last downloadable version (file version 21.316.1639.1 , march 23 2021)

I substituted with an older (and smaller..) Tidy.exe (version 19.102.1901.0 january 2 2019) and that works like a charm.

 

I attached screenshot of the "error" and my (unfinished) code, but this code cause the exception.

Cheers

tidy_exception.PNG

Recap:

OK version 19.102.1901.0 january 2 2019 

FAIL version 21.316.1639.1 , march 23 2021 (current stable)

FAIL version 21.316.1639.3 (beta)

 

ComputerPlucker.au3Fetching info...

Edited by t0nZ
updated situation
Posted

Tidies fine here (with a quite old version of SciTE and Tidy). So there might be a problem with the version of Tidy ou run.

  Quote

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /Tidy /in "C:\Local\Test\Test.au3"
+>12:21:10 Starting AutoIt3Wrapper v.19.102.1901.0 SciTE v.4.1.2.0   Keyboard:00000407  OS:WIN_10/  CPU:X64 OS:X64  Environment(Language:0407)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\xx\AppData\Local\AutoIt v3\SciTE
>Running Tidy (19.102.1901.0)  from:C:\Program Files (x86)\AutoIt3\SciTE\tidy
+>12:21:14 Tidy ended.rc:0
+>12:21:14 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 6.127

Expand  

 

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)

Fixed one week ago.

https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Hi @Jos and @mLipok I already tried the beta version with no success, same error.

So as today :

OK version 19.102.1901.0 january 2 2019 

FAIL version 21.316.1639.1 , march 23 2021 (current stable)

FAIL version 21.316.1639.3 (beta)

In first post I updated the code that cause the problem (I have other scripts, with no problems at all...)

 

Posted (edited)

from this doc:
https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/History.html

  Quote
30-3-2021

*** Updated Tidy v21.316.1639.0.0 (Jos)
   - v21.316.1639.2  Fixed: hardcrash for one line input script (30/03/2021)
   - v21.316.1639.3  Fixed: : hardcrash when option properconstants=1 is enabled (30/03/2021)
Expand  

Please check in:
...\SciTE\Tidy\Tidy.ini 

I have:

  Quote

properconstants=1

Expand  

the last fix was related to this value.

If you have also set this to 1 change them to:

  Quote

properconstants=0

Expand  

and run Tidy.exe on your script to check again if the issue occurs again.

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 4/8/2021 at 9:09 AM, mLipok said:

please check in:
...\SciTE\Tidy\Tidy.ini 

Expand  

To be fair I don't have a Tidy.ini... so I created one with only that line, but no success..

Or where I can find a proper Tidy.ini ?

image.png.3b707783e55b7cb30c07b4c63938282d.png

 

  • Developers
Posted (edited)
  On 4/7/2021 at 8:47 PM, Jos said:

Try the current Beta or else supply all required files for this Source in a Zip file to me please.

Expand  

Lets stop guessing and simply supply me, as requested, a set of files that causes the hardcrash so I can debug. ;) 

I See you updated the first post and that indeed does hardcrash so I will have a look. :) 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • Developers
Posted

I think i found the issue with a variable overflow which also happened in the old version but simply didn't crash then. :)
Please give the current Tidy Beta v21.316.1639.4 a try.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
×
×
  • Create New...