-
Notifications
You must be signed in to change notification settings - Fork 11
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
Date decoding error #91
Comments
Oh that's interesting. Seems like the app fails to convert some date it received somehow. What locale and specifically date format do you have configured in the backend? Can you hop on the TestFlight and share logs from the settings screen. |
Thanks for picking this up! I've sent the logs via settings. Locals not sure, do you mean what OCR languages? Eng, chi_tra, kor |
My guess is that the date format coming from your instance is somehow different than what my app expects. It might be that the backend language and date format configuration affects the API payloads. The plan would be to check in the logs what payload it's failing to decode, and then figure out why. |
So based on that date issue, I've tried changing the date format on the server to several formats and none work, I've also tried PAPERLESS_DATE_ORDER=MDY on docker too, no good. |
Where did you sent me those logs? |
Oh oops sorry I thought the logs were sent automatically! I clicked export logs via the app, but where is the file located? Thanks! |
Ah! You just have to tap again to share the logs via the share sheet. Alternatively you can use the feedback button directly |
Clicking share does not export any visible file... could that be broken too? I actually think the date field may be nil, but yea I am having issue sending and logs |
Feedback also doesn't work? I've been getting lots of logs with both methods, so I don't think it's something super widespread. Might still be some issue I don't understand. |
Thanks for your effort, actually don't know why it has no logs to export. Here is the latest The operation couldn’t be completed. (swift_paperless.DateDecodingError error 0.) |
Hey @hermanmak, that looks like a standard ISO8601 format to me, and in principle, the app tries to decode it as such. Could you check what the response to Aside from that, I've pushed build 77 which adds some extra logging. If you manage to get the logs out of the app, I can look into this some more. |
Another error now cancelled |
This is only in the log right? If it doesn't show up in the top of the app, these errors are not an issue. |
Yes the only log.. just this one and the original with the date string |
Ok! Can you share the full log with me? |
[18/5/2024, 9:58 PM] [General] Checking login status |
Was my logs enough to debug? |
I haven't figured it out yet. |
The operation couldn’t be completed. (swift_paperless.DateDecodingError error 0.)
The text was updated successfully, but these errors were encountered: