-
Notifications
You must be signed in to change notification settings - Fork 24
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
Sisyphus Autoclean with Symlinks #66
Comments
I guess you are talking about this warning here, right? Or is your problem that you keep getting warnings for different directories? The only way I see right now is to disable the warning there in the code until I find a nicer solution. |
Yes exactly. For now I turned off autocleaning because it was spamming the console every few minutes. |
This branch here should fix your issue: https://github.com/rwth-i6/sisyphus/tree/cleanup_once |
Hey, first of all sorry for the later reply. |
Good point, maybe the starting the cleaner should be delayed until the manger is started. |
Sorry for the late reply. I added a bugfix to the cleanup_once branch and delayed the startup of the cleaner till the manager loop is started. Please try it again. |
No worries, I was on vacation and only came back today so the timing was fitting :) From what I see (like 10 minute test run) it seems to be working. Thanks again for your help! |
Not sure why this is still open, but this is working now. |
@Atticus1806 Is this actually under master? I am still getting these warnings |
These changes are under master. They don't suppress all warning, but make sure that Sisyphus only tries to clean a directory once instead trying it each time the cleaner is run. So you should only get each warning once, instead of getting repeatedly all the time. |
Thanks for the answer. I am getting this warning every time I run without
exception. Not sure if something is misconfigured. I will check this with
Benedikt.
…On Sat, Oct 14, 2023, 09:55 Jan-Thorsten Peter ***@***.***> wrote:
These changes are under master. They don't suppress all warning, but make
sure that Sisyphus only tries to clean a directory once instead trying it
each time the cleaner is run. So you should only get each warning once,
instead of getting repeatedly all the time.
—
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEQ6G5NO76WKA22VX7PC3MTX7JANVANCNFSM5EOBBH5Q>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
You get each warning only once per start up! So if you restart Sisyphus it's expected to see the warnings again. Before that fix the same warning kept showing up over and over again every time Sisyphus tried to cleanup the directory. I think you could just add a check if the directory which should be cleaned actually belongs the user running Sisyphus inside |
When importing jobs from other work directories as symlink sisyphus tries to autoclean them causing a lot of warnings, spamming the console. Is there a workarround or fix besides turning off autoclean?
The text was updated successfully, but these errors were encountered: