Notepad++ HTML Tidy Unknown Exception Windows 7 x64
Asked Answered
I

2

3

When I attempt to run HTML Tidy from the TextFX menu in NotePad++ (v5.9.3) I get the following error:

Config file "C:\Program Files(x86)\Notepad++\plugins\Config\tidy\HTMLTIDY.CFG" not found! I'll pick whatever defaults I want to!

After I click OK I get:

"Unknown exception" and my cursor changes to the hourglass whenever I am in the document I was attempting to run HTMLTidy on.

The file exists in the location specified, I have tried changing the permissions on the file so Everyone has full control but that made no difference.

Install answered 28/9, 2011 at 17:49 Comment(0)
B
5

Windows 7 x64, Notepad++ 5.9.5 Solution:

It has to do with the libTidy.dll not being included in the current distributions.
However, it was available in earlier versions.

Solution is to download the 5.9 zip, then
copy the ansi\plugins\Config\tidy folder to your current Notepad++\plugins\Config folder

Also, if you install to the c:\Program Files or c:\Program Files (x86) directories, you will need to adjust the permissions on the tidy folder to allow non-administrator access

Bundy answered 28/10, 2011 at 23:12 Comment(2)
Be careful when posting copy and paste boilerplate/verbatim answers to multiple questions (https://mcmap.net/q/57003/-notepad-html-tidy/…), these tend to be flagged as "spammy" by the community.Lovell
Thanks for the feedback, they were similar questions and I felt the information would be helpful in both places.Bundy
I
2

I have the same problem. Seems to be a bug. Wasted a few hours on this.

Ended up piping everything through the Tidy online beatutifier.

Implead answered 27/10, 2011 at 12:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.