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

Call to a deprecated function in convert_sulisCam_copy_script.py #10

Open
smccue2019 opened this issue Aug 12, 2024 · 3 comments
Open

Comments

@smccue2019
Copy link

Encountered while installing a transfer from sea onto the shoreside server. This lowering included no SulisCam image files under images/SulisCam.

Processing Lowering J2-1583
Processing Lowering Record...
Processing Event Records...
Processing Aux Data Records...
Processing Framegrab copy script...
Processing SulisCam copy script...
/home/sealog/sealog-import-tools/convert_sulisCam_copy_script.py:88: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("Nothing to return")
2024-08-12 18:02:33,940 - /home/sealog/sealog-import-tools/convert_sulisCam_copy_script.py - WARNING - Nothing to return

@rgov
Copy link
Member

rgov commented Aug 12, 2024

Was the lack of Sulis camera images expected or unexpected?

@smccue2019
Copy link
Author

smccue2019 commented Aug 12, 2024 via email

@rgov
Copy link
Member

rgov commented Aug 12, 2024

Is anything not working to your expectation then? If there are no Sulis images, the script warns about it to highlight a potential issue, but the warning can be disregarded if everything is OK.

The deprecation warning can be fixed, though.

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