Scheduled reports Unsupported unit: Weeks

Cristian18 days ago

I updated Traccar to version 6.6 and I have this warning in the logs:

2025-03-16 00:56:09  WARN: Scheduled reports error -
java.time.temporal.UnsupportedTemporalTypeException: Unsupported unit: Weeks

I've read that other users have already posted about this.

https://github.com/ical4j/ical4j/issues/767

I read this post, it says that the problem is related to the ical4j version.

according to the post the problem occurs as of version 4.0.7

Traccar 6.6 is in version 4.0.8
https://github.com/traccar/traccar/blob/fc5ae14952a44c85894e470cad04d4f91e6a3bd2/build.gradle#L83

In Traccar 6.4 I don't have the warning and it works with version 4.0.4 of ical4j

Has anyone tried to download the version below 4.0.7 to see if the warning disappears? What impact can it have on the rest of the system?

Anton Tananaev18 days ago

You can downgrade the dependency if you want. You'll likely need to make some code changes.