-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Prevent recursion into output folder? #62
Comments
I can confirm this |
Huh, that’s odd! Do you have an example repo or module I could run this on to reproduce? |
Sure! Try this one:
|
Thanks! So I've tried to reproduce with this repo, but I'm not hitting any errors or the recursive fun time going on for you. Granted I'm running on Linux, but I could try others to match your system. Does this happen pretty consistently for you? Is there a specific file system (e.g. network share, Windows volume) or particular OS it occurs on? |
Oh and please share the Go version you used to install gopages and the version installed on the system gopages runs on. I suspect the logic to run |
I've merged some dependency updates via #67 and cut release |
Thanks, I'll try tomorrow! |
No, the problem still persists for |
Thank you for checking! If you have a moment, could you provide the info above so I could try to reproduce?
|
This will never end and consume all space or throw OS error because of path limit. :) So it's wise to kill it ASAP. In "doc/godoc" you will find the recursion |
Can you provide more details about your machine and Go version? I ran this on my machine and it completes successfully in about a second. |
Sure!
|
I tried to run test in docker container with Debian GNU/Linux 12 (bookworm) and can confirm there is no error on Linux. |
Got it, thanks! I can reproduce now. That's a mighty large directory O.O |
As a temporary work-around, you could run |
That's exactly what I do right now :) |
Hi!
I'm invoking like this:
from within the main directory of my project (e.g. the same directory as go.mod, etc)
I find that
gopages
seems to be re-reading its own output as new input? In other words, it is creating files like:After quite a long time, the program fails with this error:
Can I somehow tell
gopages
to exclude/ignore the output directory?The text was updated successfully, but these errors were encountered: