Warracker icon indicating copy to clipboard operation
Warracker copied to clipboard

Unable to import warranty from csv file

Open adyjob2012 opened this issue 1 year ago • 23 comments

I have add 2 sample of warranty product and export it to a csv file. Then I use the same csv file with all the exported header and filled up with a new warranty product and try to import into Warracker but fail.

Error pop up : import failed due to errors in one or more rows. No warranties were imported.

Below is the console logs:

INFO:app:[SECURE_FILE] Serving file with size 68718 bytes, mimetype: image/jpeg INFO:app:[SECURE_FILE] Using streaming response for file: 20250616135014_photo_xiaomi14T.jpg INFO:app:[SECURE_FILE] Streaming completed: 68718/68718 bytes sent INFO:app:[SECURE_FILE] Raw filename from route: '20250616135014_Price_List_Water_Sports_as_Jun_2024_-A3.pdf' (len: 59) INFO:app:[SECURE_FILE] repr(filename): '20250616135014_Price_List_Water_Sports_as_Jun_2024-A3.pdf' INFO:app:[SECURE_FILE] Searching DB for paths like: 'uploads/20250616135014_Price_List_Water_Sports_as_Jun_2024-A3.pdf' (repr: 'uploads/20250616135014_Price_List_Water_Sports_as_Jun_2024-A3.pdf') INFO:app:[SECURE_FILE] DB query results for 'uploads/20250616135014_Price_List_Water_Sports_as_Jun_2024-A3.pdf': [(2, 1)] INFO:app:[SECURE_FILE] Initial authorization (is_admin=True): True INFO:app:[SECURE_FILE] User 1 authorized for file '20250616135014_Price_List_Water_Sports_as_Jun_2024-A3.pdf'. Attempting to serve from /data/uploads. INFO:app:[SECURE_FILE] Path for verification: '/data/uploads/20250616135014_Price_List_Water_Sports_as_Jun_2024-A3.pdf' (repr: '/data/uploads/20250616135014_Price_List_Water_Sports_as_Jun_2024-A3.pdf') INFO:app:[SECURE_FILE] File size: 664481 bytes INFO:app:[SECURE_FILE] Serving file with size 664481 bytes, mimetype: application/pdf INFO:app:[SECURE_FILE] Using streaming response for file: 20250616135014_Price_List_Water_Sports_as_Jun_2024-_A3.pdf INFO:app:[SECURE_FILE] Streaming completed: 664481/664481 bytes sent INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:54:37 UTC)" (scheduled at 2025-06-16 13:52:37.520299+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:54:37 UTC)" (scheduled at 2025-06-16 13:52:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:54:37 UTC)" (scheduled at 2025-06-16 13:52:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-668), apprise_time=09:00(diff:N/A), current_local=21:52, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:54:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-668), apprise_time=09:00(diff:N/A), current_local=21:52, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:54:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-668), apprise_time=09:00(diff:N/A), current_local=21:52, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:54:37 UTC)" executed successfully INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:56:37 UTC)" (scheduled at 2025-06-16 13:54:37.520299+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:56:37 UTC)" (scheduled at 2025-06-16 13:54:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:56:37 UTC)" (scheduled at 2025-06-16 13:54:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-666), apprise_time=09:00(diff:N/A), current_local=21:54, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:56:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-666), apprise_time=09:00(diff:N/A), current_local=21:54, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:56:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-666), apprise_time=09:00(diff:N/A), current_local=21:54, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:56:37 UTC)" executed successfully INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:58:37 UTC)" (scheduled at 2025-06-16 13:56:37.520299+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:58:37 UTC)" (scheduled at 2025-06-16 13:56:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:58:37 UTC)" (scheduled at 2025-06-16 13:56:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-664), apprise_time=09:00(diff:N/A), current_local=21:56, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:58:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-664), apprise_time=09:00(diff:N/A), current_local=21:56, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:58:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-664), apprise_time=09:00(diff:N/A), current_local=21:56, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 13:58:37 UTC)" executed successfully WARNING:app:CSV file contains unknown headers which will be ignored: ExpirationDate, Status INFO:app:Created new tag 'Power Supply' with ID 5 for user 1 during CSV import. INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 14:00:37 UTC)" (scheduled at 2025-06-16 13:58:37.520299+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 14:00:37 UTC)" (scheduled at 2025-06-16 13:58:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 14:00:37 UTC)" (scheduled at 2025-06-16 13:58:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-662), apprise_time=09:00(diff:N/A), current_local=21:58, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 14:00:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-662), apprise_time=09:00(diff:N/A), current_local=21:58, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 14:00:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-662), apprise_time=09:00(diff:N/A), current_local=21:58, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 14:00:37 UTC)" executed successfully

adyjob2012 avatar Jun 16 '25 14:06 adyjob2012

Hi @adyjob2012 ,

Can you upload the file here, so that I can replicate it as well?

I just tested imports, and it's working well on my instance.

sassanix avatar Jun 16 '25 14:06 sassanix

warranties_import1.csv

This is the sample of the csv file I try to import with a new warranty

adyjob2012 avatar Jun 16 '25 14:06 adyjob2012

warranties_import1.csv

This is the sample of the csv file I try to import with a new warranty

You've given me an interesting puzzle.

Did you get the CSV file after you exported it from warracker?

sassanix avatar Jun 16 '25 14:06 sassanix

Yes, the csv was the original exported file from warracker and I remove all the existing warranties and just add one new warranty. I did not change any of the header

adyjob2012 avatar Jun 16 '25 14:06 adyjob2012

Yes, the csv was the original exported file from warracker and I remove all the existing warranties and just add one new warranty. I did not change any of the header

Now I know what's happening, it's future dated. I never thought of this use case for the CSV import.

I will work on it, and release an update to allow future dating on imports as well.

A workaround would be to put 2025 as the year of purchase during import, and then manually changing the year of purchase.

sassanix avatar Jun 16 '25 14:06 sassanix

Thanks for the update. i will try it out on the year 2025 as a purchase date and change it manually after import. Do I need to put the expirationDate?

adyjob2012 avatar Jun 16 '25 14:06 adyjob2012

I still unable to import the csv file even after change the purchase date to year 2025 (today date) with or without the expirationDate

adyjob2012 avatar Jun 16 '25 14:06 adyjob2012

I still unable to import the csv file even after change the purchase date to year 2025 (today date) with or without the expirationDate

Check the date formatting as well, it could be changing after you're pasting it. Make sure it's properly formatted.

sassanix avatar Jun 16 '25 14:06 sassanix

In the admin setting, I have choose date format as : date/month/year (eg, 16/06/2025), so my csv date format should be 20-06-2025. However, I still unable to import csv file successfully.

adyjob2012 avatar Jun 16 '25 15:06 adyjob2012

In the admin setting, I have choose date format as : date/month/year (eg, 16/06/2025), so my csv date format should be 20-06-2025. However, I still unable to import csv file successfully.

I understand, I haven't made it that way, but I can have the export and import respect the settings as well in a future update.

You will need to use this format for the csv import: Date (YYYY-MM-DD, e.g., 2024-05-21)

sassanix avatar Jun 16 '25 15:06 sassanix

It works now after changing to date format (YYYY-MM-DD, e.g., 2024-05-21)

adyjob2012 avatar Jun 16 '25 15:06 adyjob2012

Just found another problem, if the csv file contain new Tags that not exist in Warracker, system will create the new tags (as shown in logs file) but not shown in the Warracker Tags list. However, if I create a new Tags with same name, system will prompt Tags name already exist. I can't find it on the list even with search tool.

adyjob2012 avatar Jun 16 '25 15:06 adyjob2012

Intresting, can you show me the console logs when you upload with the tags, and it's not showing at all on the cards?

If you do a ctrl + shift + r , does that bring it up for you?

sassanix avatar Jun 16 '25 15:06 sassanix

with ctrl + shift + r it does bring it up. But in the log file I can see it keep creating new ID for the same Tag if the csv file fail to import

adyjob2012 avatar Jun 16 '25 16:06 adyjob2012

Try to delete your browser data for the warracker page, and login again.

It should work better.

sassanix avatar Jun 16 '25 16:06 sassanix

Intresting, can you show me the console logs when you upload with the tags, and it's not showing at all on the cards?

If you do a ctrl + shift + r , does that bring it up for you?

It does show on the card for the Tag name but only not in the managed Tags list

adyjob2012 avatar Jun 16 '25 16:06 adyjob2012

console logs file :

INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-526), apprise_time=09:00(diff:N/A), current_local=00:14, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:16:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-526), apprise_time=09:00(diff:N/A), current_local=00:14, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:16:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-526), apprise_time=09:00(diff:N/A), current_local=00:14, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:16:37 UTC)" executed successfully INFO:app:[SECURE_FILE] Raw filename from route: '20250616132411_photo_GTabS7.png' (len: 31) INFO:app:[SECURE_FILE] repr(filename): '20250616132411_photo_GTabS7.png' INFO:app:[SECURE_FILE] Searching DB for paths like: 'uploads/20250616132411_photo_GTabS7.png' (repr: 'uploads/20250616132411_photo_GTabS7.png') INFO:app:[SECURE_FILE] DB query results for 'uploads/20250616132411_photo_GTabS7.png': [(1, 1)] INFO:app:[SECURE_FILE] Initial authorization (is_admin=True): True INFO:app:[SECURE_FILE] User 1 authorized for file '20250616132411_photo_GTabS7.png'. Attempting to serve from /data/uploads. INFO:app:[SECURE_FILE] Path for verification: '/data/uploads/20250616132411_photo_GTabS7.png' (repr: '/data/uploads/20250616132411_photo_GTabS7.png') INFO:app:[SECURE_FILE] File size: 531801 bytes INFO:app:[SECURE_FILE] Serving file with size 531801 bytes, mimetype: image/png INFO:app:[SECURE_FILE] Using streaming response for file: 20250616132411_photo_GTabS7.png INFO:app:[SECURE_FILE] Streaming completed: 531801/531801 bytes sent INFO:app:[SECURE_FILE] Raw filename from route: '20250616132411_photo_GTabS7.png' (len: 31) INFO:app:[SECURE_FILE] repr(filename): '20250616132411_photo_GTabS7.png' INFO:app:[SECURE_FILE] Raw filename from route: '20250616135014_photo_xiaomi14T.jpg' (len: 34) INFO:app:[SECURE_FILE] repr(filename): '20250616135014_photo_xiaomi14T.jpg' INFO:app:[SECURE_FILE] Searching DB for paths like: 'uploads/20250616132411_photo_GTabS7.png' (repr: 'uploads/20250616132411_photo_GTabS7.png') INFO:app:[SECURE_FILE] Searching DB for paths like: 'uploads/20250616135014_photo_xiaomi14T.jpg' (repr: 'uploads/20250616135014_photo_xiaomi14T.jpg') INFO:app:[SECURE_FILE] DB query results for 'uploads/20250616132411_photo_GTabS7.png': [(1, 1)] INFO:app:[SECURE_FILE] Initial authorization (is_admin=True): True INFO:app:[SECURE_FILE] User 1 authorized for file '20250616132411_photo_GTabS7.png'. Attempting to serve from /data/uploads. INFO:app:[SECURE_FILE] Path for verification: '/data/uploads/20250616132411_photo_GTabS7.png' (repr: '/data/uploads/20250616132411_photo_GTabS7.png') INFO:app:[SECURE_FILE] File size: 531801 bytes INFO:app:[SECURE_FILE] Serving file with size 531801 bytes, mimetype: image/png INFO:app:[SECURE_FILE] Using streaming response for file: 20250616132411_photo_GTabS7.png INFO:app:[SECURE_FILE] Streaming completed: 531801/531801 bytes sent INFO:app:[SECURE_FILE] DB query results for 'uploads/20250616135014_photo_xiaomi14T.jpg': [(2, 1)] INFO:app:[SECURE_FILE] Initial authorization (is_admin=True): True INFO:app:[SECURE_FILE] User 1 authorized for file '20250616135014_photo_xiaomi14T.jpg'. Attempting to serve from /data/uploads. INFO:app:[SECURE_FILE] Path for verification: '/data/uploads/20250616135014_photo_xiaomi14T.jpg' (repr: '/data/uploads/20250616135014_photo_xiaomi14T.jpg') INFO:app:[SECURE_FILE] File size: 68718 bytes INFO:app:[SECURE_FILE] Serving file with size 68718 bytes, mimetype: image/jpeg INFO:app:[SECURE_FILE] Using streaming response for file: 20250616135014_photo_xiaomi14T.jpg INFO:app:[SECURE_FILE] Streaming completed: 68718/68718 bytes sent INFO:app:[SECURE_FILE] Raw filename from route: '20250616135014_photo_xiaomi14T.jpg' (len: 34) INFO:app:[SECURE_FILE] repr(filename): '20250616135014_photo_xiaomi14T.jpg' INFO:app:[SECURE_FILE] Searching DB for paths like: 'uploads/20250616135014_photo_xiaomi14T.jpg' (repr: 'uploads/20250616135014_photo_xiaomi14T.jpg') INFO:app:[SECURE_FILE] DB query results for 'uploads/20250616135014_photo_xiaomi14T.jpg': [(2, 1)] INFO:app:[SECURE_FILE] Initial authorization (is_admin=True): True INFO:app:[SECURE_FILE] User 1 authorized for file '20250616135014_photo_xiaomi14T.jpg'. Attempting to serve from /data/uploads. INFO:app:[SECURE_FILE] Path for verification: '/data/uploads/20250616135014_photo_xiaomi14T.jpg' (repr: '/data/uploads/20250616135014_photo_xiaomi14T.jpg') INFO:app:[SECURE_FILE] File size: 68718 bytes INFO:app:[SECURE_FILE] Serving file with size 68718 bytes, mimetype: image/jpeg INFO:app:[SECURE_FILE] Using streaming response for file: 20250616135014_photo_xiaomi14T.jpg INFO:app:[SECURE_FILE] Streaming completed: 68718/68718 bytes sent INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:18:37 UTC)" (scheduled at 2025-06-16 16:16:37.520299+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:18:37 UTC)" (scheduled at 2025-06-16 16:16:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:18:37 UTC)" (scheduled at 2025-06-16 16:16:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-524), apprise_time=09:00(diff:N/A), current_local=00:16, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:18:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-524), apprise_time=09:00(diff:N/A), current_local=00:16, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:18:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-524), apprise_time=09:00(diff:N/A), current_local=00:16, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:18:37 UTC)" executed successfully INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:20:37 UTC)" (scheduled at 2025-06-16 16:18:37.520299+00:00) INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:20:37 UTC)" (scheduled at 2025-06-16 16:18:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:Starting expiration notification process INFO:apscheduler.executors.default:Running job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:20:37 UTC)" (scheduled at 2025-06-16 16:18:37.520299+00:00) INFO:backend.notifications:Starting expiration notification process INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-522), apprise_time=09:00(diff:N/A), current_local=00:18, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:20:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-522), apprise_time=09:00(diff:N/A), current_local=00:18, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:20:37 UTC)" executed successfully INFO:backend.notifications:DEBUG: Found 1 eligible users for notification checking INFO:backend.notifications:No users are scheduled for notifications at their local time INFO:backend.notifications:DEBUG: Checked 1 total users for notification eligibility INFO:backend.notifications:DEBUG User [email protected]: channel=email, email_time=09:00(diff:-522), apprise_time=09:00(diff:N/A), current_local=00:18, timezone=Asia/Kuala_Lumpur INFO:apscheduler.executors.default:Job "init_scheduler..notification_wrapper (trigger: interval[0:02:00], next run at: 2025-06-16 16:20:37 UTC)" executed successfully

adyjob2012 avatar Jun 16 '25 16:06 adyjob2012

Hi @adyjob2012 , please update to the latest version, and let me know if the issue with the imports is fixed for you now.

sassanix avatar Jun 25 '25 14:06 sassanix

I have update to version 0.10.1.4. Import still have the same issue that the Warranty Date field must set to format Year/Month/Date else will not success.

adyjob2012 avatar Jun 28 '25 05:06 adyjob2012

Hi @adyjob2012 can you try to test with this unreleased version image: ghcr.io/sassanix/warracker/test:csv .

I've updated the CSV import logic in the backend to use flexible date parsing for the PurchaseDate field. It now supports a wide variety of common date formats (e.g., YYYY-MM-DD, MM/DD/YYYY, DD/MM/YYYY, YYYY/MM/DD, and many others) instead of strictly requiring YYYY-MM-DD. This should resolve the issue without needing to manually reformat dates in your import files.

sassanix avatar Jul 11 '25 15:07 sassanix