brlin-tw / tidy-snap

Unofficial Snap Packaging for Tidy
https://github.com/Lin-Buo-Ren/tidy-snap
MIT License
1 stars 0 forks source link

Document: "example.html" is a file! #2

Open AJCxZ0 opened 4 years ago

AJCxZ0 commented 4 years ago

Clean install on Ubuntu 18.04.3. Running tidy on HTML file gives error, Document: "example.html" is not a file!

$ sudo snap install tidy
tidy 5.6.0-g3a30f6a+pkg-0b01 from 林博仁(Buo-ren, Lin) (brlin) installed
$ sudo snap connections tidy 
Interface        Plug                  Slot  Notes
home             tidy:home             -     -
removable-media  tidy:removable-media  -     -
$ pwd
/home/me/Documents
$ ls -l example.html 
-rw-r----- 1 me me 41726 Oct 18 18:15 example.html
$ file example.html 
example.html: HTML document, UTF-8 Unicode text, with very long lines
$ tidy -indent -wrap -clean -bare -utf8 -output example.html example.html 
Document: "example.html" is not a file!

The native packaged tidy (tidy-1:5.2.0-2), runs as expected.

sujato commented 3 years ago

Can confirm, this still occurs on a fresh install of Ubuntu 21.04, tidy version 5.6.0

brlin-tw commented 3 years ago

Apologies for the ignorance, I'll check it out.