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

Problems parsing timestamps #387

Open
A6GibKm opened this issue Mar 22, 2024 · 2 comments
Open

Problems parsing timestamps #387

A6GibKm opened this issue Mar 22, 2024 · 2 comments

Comments

@A6GibKm
Copy link
Contributor

A6GibKm commented Mar 22, 2024

I get the following errors in secrets when reading entry.ctime and others.

21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-07T09:25:56.169776+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-01-18T13:40:05.200661+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-01-18T13:40:05.200661+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-07T10:08:46.760348+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-01-18T13:40:05.200661+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-01-18T13:40:05.200661+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T15:47:52.466692+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T15:47:52.466692+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T15:47:52.466692+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T16:01:35.955788+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T16:01:35.955788+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T16:01:35.955788+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-28T12:20:04.155298+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-28T12:20:04.155298+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-28T12:20:04.155298+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-30T14:17:28.878676+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-30T14:17:28.878676+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-30T14:17:28.878676+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-30T14:17:28.878676+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T10:52:49.287549+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T10:52:49.287549+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T10:52:49.287549+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T10:52:49.287549+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T14:20:09.570260+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T14:20:09.570260+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T14:20:09.570260+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T14:20:09.570260+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T14:20:09.570260+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T10:52:49.287549+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-28T12:20:04.155298+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T15:47:52.466692+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T14:20:09.570260+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T10:52:49.287549+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2023-12-28T12:20:04.155298+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-02-06T15:47:52.466692+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ'
21-03-24 19:00:56 | ERROR | Invalid creation time: time data '2024-01-18T13:40:05.200661+00:00' does not match format '%Y-%m-%dT%H:%M:%S%fZ
@A6GibKm
Copy link
Contributor Author

A6GibKm commented Mar 22, 2024

This comes from

        try:
            time = element.ctime
        except ValueError as err:
            logging.error("Invalid creation time: %s", str(err))

@A6GibKm A6GibKm changed the title Problems parsing times Problems parsing timestamps Mar 24, 2024
@Evidlo
Copy link
Member

Evidlo commented May 17, 2024

"Invalid creation time: %s"

Can you give a stack trace or a link to where that code snippet exists?

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