-
Notifications
You must be signed in to change notification settings - Fork 84
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
Ship a logging implementation #41
Comments
I tried with |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/pyimagej-error-when-initializing/48765/3 |
Don't want to use log4j anymore, due to all the community hysteria—ahem security concerns. But still need to figure out this warning. |
I didn't fix this bug yet. But I did fix the adjacent illegal reflection access warnings, as of 135bbf9, supported by scyjava's new |
The key to fixing this bug will be to use version 2.4.0 or later of ImageJ2, which is not yet released. We have already purged the log4j dependencies from the dependency tree—we just need to validate the current pom-scijava BOM using the melting pot, fix any problems, release pom-scijava 32.0.0, with |
As soon as we have an ImageJ2 v2.4.0, we should update this repository across the board to recommend using it. Then this issue can be closed, assuming the log4j warnings are indeed gone. |
This log4j warnings were indeed fixed by ImageJ2 2.4.0. But then there are different but related warnings:
Earlier this month, I thoroughly researched how to deal with this annoying issue once and for all. I made a spreadsheet with details. We decided the correct solution for PyImageJ is ensure that scijava-config is always on PyImageJ's classpath: 1261e31. Relatedly:
|
Remove Python3.10 exclusion on Windows
PyImageJ does not currently ship a log4j implementation, which results in an obnoxious warning at startup:
We can fix it by making
imagej.init()
include a log4j implementation on the classpath.The text was updated successfully, but these errors were encountered: