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

Error resetting telludb with apero_reset.py (0.7.288) #771

Open
larnoldgithub opened this issue Jul 5, 2024 · 2 comments
Open

Error resetting telludb with apero_reset.py (0.7.288) #771

larnoldgithub opened this issue Jul 5, 2024 · 2 comments

Comments

@larnoldgithub
Copy link
Collaborator

I want to reset the telluric directory, but get an error, see below. I tried twice, got the error twice.

00:22:34.069-**|RESET| ==================================================
00:22:34.075-**|RESET| Calibration directory:
00:22:34.082-**|RESET| ==================================================
00:22:36.386-  |RESET| Are you sure you wish to reset the Calibration directory? If you are sure you
00:22:36.386-  |RESET|  want to reset type 'yes'
00:22:36.394-  |RESET|  (/data/spirou3/apero-data/temptest/calib)


         Reset the Calibration directory?       n


00:22:38.769-  |RESET|  Not resetting CalibDB files.


00:22:38.776-**|RESET| ==================================================
00:22:38.782-**|RESET| Telluric directory:
00:22:38.789-**|RESET| ==================================================
00:23:08.730-  |RESET| Are you sure you wish to reset the Telluric directory? If you are sure you want
00:23:08.730-  |RESET|  to reset type 'yes'
00:23:08.737-  |RESET|  (/data/spirou3/apero-data/temptest/tellu)


         Reset the Telluric directory?  yes


00:23:13.754-  |RESET|   Resetting tellruic database directory
sh: 1: rm: Argument list too long
@larnoldgithub
Copy link
Collaborator Author

larnoldgithub commented Jul 5, 2024

Actually after 10min it seems apero did reset the tellu dir. I don't know where the error message above is coming from.

@njcuk9999
Copy link
Owner

I think it is just a warning. The problem with the telluric directory is that ls fails because there are too many files in that directory for ls (and hence same for rm) - I'm more surprised that it worked maybe rm does something clever when the ls fails?

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