Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap2HTML does not like long paths #46

Open
santinoscripts opened this issue Jan 8, 2024 · 2 comments
Open

Snap2HTML does not like long paths #46

santinoscripts opened this issue Jan 8, 2024 · 2 comments

Comments

@santinoscripts
Copy link

Hi there,
I've downloaded the program Snap2HTML and I like it, it looks very useful but I found out a strange behaviour. If I start it (be it using the GUI or command-line) and select both 'include hidden items' and 'include system items', whenever the program finds a folder with a long path name (> 259 chars) it will end (not crash) before all the folders are indexed.
But if I select no options or only one of those options, everything works as expected but the program will skip the rest of the folders (inside the same parent folder) after the folder with the long path name.

Let me make it a bit more visual using this example:

C:.
├───folder 1
│   ├───subfolder 1
│   ├───subfolder 2
│   ├───subfolder 3 - this one has a very very long name
│   ├───subfolder 4
│   └───subfolder 5
└───folder 2
    ├───subfolder 1
    └───subfolder 2

So, if I check both 'hidden items' and 'system items' the program will only index up until "C:\folder 1\subfolder 2". Not "subfolder 3" or "C:\folder 2".
And If I check none or only one of the options it will index "C:\folder 2" this time, but it will also skip all the folders inside "C:\folder 1" after "C:\folder 1\subfolder 2".

I hope I've made it clear so you can review it.

Looks like this is an old problem:
#16
#37
Please, allow us to help you find and fix this problem.
Cheers.

@santinoscripts
Copy link
Author

Anything? Not interested in fixing a program-breaking bug that renders it useless? This thing is easily reproducible.

@rlv-dan
Copy link
Owner

rlv-dan commented Jul 21, 2024

Unfortunately I have a life too. Even though I am actually interested in fixing this, interest does not automatically give me time to do so.

Good news though! Snap2html is open source. You can fix it yourself instead of having to wait for me to do it. Don't know how to code? Simply hire someone to do it for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants