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

Alignment mark pictures get corrupted during update #2583

Closed
TobiNinja2 opened this issue Aug 18, 2023 · 6 comments
Closed

Alignment mark pictures get corrupted during update #2583

TobiNinja2 opened this issue Aug 18, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@TobiNinja2
Copy link

The Problem

I want to update the alignment marks after I updated the reference picture. But as I press "update marker" the pictures get corrupted (shows the "broken image" icon). During a reboot also the error is shown
"Failed to load /sdcard/config/ref1.jpg! Is it corrupted?" (same also then for ref0)
I can then get the old references back from the backup, but they do not align to the new reference image!!
I also tried a new SD card, but some topic.

Version

Release: v15.3.0 (Commit: 3fbff0a)

Logfile

[0d00h00m00s] 2023-08-18T07:42:35	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:42:35	<INF>	[MAIN] ==================== Start ======================
[0d00h00m00s] 2023-08-18T07:42:35	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:42:35	<INF>	[MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2023-08-18T07:42:35	<INF>	[MAIN] Total heap: 4376891 byte
[0d00h00m04s] 2023-08-18T07:42:39	<INF>	[MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2023-08-18T07:42:39	<INF>	[SDCARD] Basic R/W check started...
[0d00h00m04s] 2023-08-18T07:42:39	<INF>	[SDCARD] Basic R/W check successful
[0d00h00m04s] 2023-08-18T07:42:39	<ERR>	[HELPER] Migrated Configfile line ';Demo =' to 'Demo ='
[0d00h00m04s] 2023-08-18T07:42:39	<INF>	[MAIN] Config file migrated. Saved backup to /sdcard/config/config.bak
[0d00h00m04s] 2023-08-18T07:42:39	<INF>	[SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2023-08-18T07:42:39	<INF>	[SNTP] Configuring NTP Client...
[0d00h00m04s] 2023-08-18T09:42:40	<INF>	[SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[SNTP] Time is already set: 2023-08-18 09:42:40
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[SDCARD] Folder/file presence check started...
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[SDCARD] Folder/file presence check successful
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[MAIN] Tag: 'v15.3.0', Release: v15.3.0 (Commit: 3fbff0a), Date/Time: 2023-07-22 09:42, Web UI: Release: v15.3.0 (Commit: 3fbff0a)
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[WLANINI] SSID: xxxxxx
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2023-08-18T09:42:40	<INF>	[WIFI] Automatic interface config --> Use DHCP service
[0d00h00m06s] 2023-08-18T09:42:41	<INF>	[WIFI] Set hostname to: watermeter
[0d00h00m06s] 2023-08-18T09:42:41	<INF>	[WIFI] Init successful
[0d00h00m09s] 2023-08-18T09:42:44	<INF>	[WIFI] Connected to: xxxxxx, RSSI: -84
[0d00h00m10s] 2023-08-18T09:42:45	<INF>	[WIFI] Assigned IP: 192.168..xxx.xxx
[0d00h00m12s] 2023-08-18T09:42:47	<INF>	[SNTP] Time is synced with NTP Server pool.ntp.org: 2023-08-18 09:42:47
[0d00h00m14s] 2023-08-18T09:42:49	<INF>	[MAIN] Device info: CPU cores: 2, Chip revision: 100
[0d00h00m14s] 2023-08-18T09:42:49	<INF>	[MAIN] SD card info: Name: ASTC, Capacity: 7454MB, Free: 7431MB
[0d00h00m16s] 2023-08-18T09:42:51	<INF>	[MAIN] Initialization completed successfully
[0d00h00m19s] 2023-08-18T09:42:54	<INF>	[LOGFILE] Set log level to ERROR
[0d00h00m00s] 2023-08-18T07:44:46	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:44:46	<INF>	[MAIN] ==================== Start ======================
[0d00h00m00s] 2023-08-18T07:44:46	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:44:46	<INF>	[MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2023-08-18T07:44:46	<INF>	[MAIN] Total heap: 4376891 byte
[0d00h00m04s] 2023-08-18T07:44:51	<INF>	[MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2023-08-18T07:44:51	<INF>	[SDCARD] Basic R/W check started...
[0d00h00m04s] 2023-08-18T07:44:51	<INF>	[SDCARD] Basic R/W check successful
[0d00h00m04s] 2023-08-18T07:44:51	<INF>	[SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2023-08-18T07:44:51	<INF>	[SNTP] Configuring NTP Client...
[0d00h00m04s] 2023-08-18T09:44:51	<INF>	[SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2023-08-18T09:44:51	<INF>	[SNTP] Time is already set: 2023-08-18 09:44:51
[0d00h00m04s] 2023-08-18T09:44:51	<INF>	[MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[SDCARD] Folder/file presence check started...
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[SDCARD] Folder/file presence check successful
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[MAIN] Tag: 'v15.3.0', Release: v15.3.0 (Commit: 3fbff0a), Date/Time: 2023-07-22 09:42, Web UI: Release: v15.3.0 (Commit: 3fbff0a)
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[WLANINI] SSID: xxxxxx
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2023-08-18T09:44:52	<INF>	[WIFI] Automatic interface config --> Use DHCP service
[0d00h00m06s] 2023-08-18T09:44:52	<INF>	[WIFI] Set hostname to: watermeter
[0d00h00m06s] 2023-08-18T09:44:52	<INF>	[WIFI] Init successful
[0d00h00m09s] 2023-08-18T09:44:55	<INF>	[WIFI] Connected to: xxxxxx, RSSI: -81
[0d00h00m10s] 2023-08-18T09:44:56	<INF>	[WIFI] Assigned IP: 192.168..xxx.xxx
[0d00h00m26s] 2023-08-18T09:45:12	<INF>	[MAIN] Device info: CPU cores: 2, Chip revision: 100
[0d00h00m26s] 2023-08-18T09:45:12	<INF>	[MAIN] SD card info: Name: ASTC, Capacity: 7454MB, Free: 7430MB
[0d00h00m28s] 2023-08-18T09:45:14	<INF>	[MAIN] Initialization completed successfully
[0d00h00m31s] 2023-08-18T09:45:17	<INF>	[LOGFILE] Set log level to ERROR
[0d00h00m43s] 2023-08-18T09:45:30	<ERR>	[C FIND TEMPL] Failed to load /sdcard/config/ref0.jpg! Is it corrupted?
[0d00h00m44s] 2023-08-18T09:45:30	<ERR>	[C FIND TEMPL] Failed to load /sdcard/config/ref1.jpg! Is it corrupted?
[0d00h00m00s] 2023-08-18T07:47:41	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:47:41	<INF>	[MAIN] ==================== Start ======================
[0d00h00m00s] 2023-08-18T07:47:41	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:47:41	<INF>	[MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2023-08-18T07:47:41	<INF>	[MAIN] Total heap: 4376891 byte
[0d00h00m04s] 2023-08-18T07:47:45	<INF>	[MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2023-08-18T07:47:45	<INF>	[SDCARD] Basic R/W check started...
[0d00h00m04s] 2023-08-18T07:47:46	<INF>	[SDCARD] Basic R/W check successful
[0d00h00m04s] 2023-08-18T07:47:46	<INF>	[SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2023-08-18T07:47:46	<INF>	[SNTP] Configuring NTP Client...
[0d00h00m04s] 2023-08-18T09:47:46	<INF>	[SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2023-08-18T09:47:46	<INF>	[SNTP] Time is already set: 2023-08-18 09:47:46
[0d00h00m04s] 2023-08-18T09:47:46	<INF>	[MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2023-08-18T09:47:46	<INF>	[SDCARD] Folder/file presence check started...
[0d00h00m05s] 2023-08-18T09:47:46	<INF>	[SDCARD] Folder/file presence check successful
[0d00h00m05s] 2023-08-18T09:47:46	<INF>	[MAIN] Tag: 'v15.3.0', Release: v15.3.0 (Commit: 3fbff0a), Date/Time: 2023-07-22 09:42, Web UI: Release: v15.3.0 (Commit: 3fbff0a)
[0d00h00m05s] 2023-08-18T09:47:47	<INF>	[MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2023-08-18T09:47:47	<INF>	[WLANINI] SSID: xxxxxx
[0d00h00m05s] 2023-08-18T09:47:47	<INF>	[WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2023-08-18T09:47:47	<INF>	[MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2023-08-18T09:47:47	<INF>	[WIFI] Automatic interface config --> Use DHCP service
[0d00h00m06s] 2023-08-18T09:47:47	<INF>	[WIFI] Set hostname to: watermeter
[0d00h00m06s] 2023-08-18T09:47:47	<INF>	[WIFI] Init successful
[0d00h00m09s] 2023-08-18T09:47:50	<INF>	[WIFI] Connected to: xxxxxx, RSSI: -82
[0d00h00m10s] 2023-08-18T09:47:51	<INF>	[WIFI] Assigned IP: 192.168..xxx.xxx
[0d00h00m12s] 2023-08-18T09:47:53	<INF>	[SNTP] Time is synced with NTP Server pool.ntp.org: 2023-08-18 09:47:53
[0d00h00m14s] 2023-08-18T09:47:55	<INF>	[MAIN] Device info: CPU cores: 2, Chip revision: 100
[0d00h00m14s] 2023-08-18T09:47:55	<INF>	[MAIN] SD card info: Name: ASTC, Capacity: 7454MB, Free: 7430MB
[0d00h00m16s] 2023-08-18T09:47:57	<INF>	[MAIN] Initialization completed successfully
[0d00h00m18s] 2023-08-18T09:48:00	<INF>	[LOGFILE] Set log level to ERROR
[0d00h00m31s] 2023-08-18T09:48:13	<ERR>	[C FIND TEMPL] Failed to load /sdcard/config/ref0.jpg! Is it corrupted?
[0d00h00m31s] 2023-08-18T09:48:13	<ERR>	[C FIND TEMPL] Failed to load /sdcard/config/ref1.jpg! Is it corrupted?
[0d00h02m23s] 2023-08-18T09:50:04	<ERR>	[OTA FILE] Failed to stat file: /sdcard/config/close.png!
[0d00h02m33s] 2023-08-18T09:50:15	<ERR>	[OTA FILE] Failed to stat file: /sdcard/config/close.png!
[0d00h02m41s] 2023-08-18T09:50:22	<ERR>	[OTA FILE] Failed to stat file: /sdcard/config/close.png!
[0d00h02m47s] 2023-08-18T09:50:29	<ERR>	[OTA FILE] Failed to stat file: /sdcard/config/close.png!
[0d00h00m00s] 2023-08-18T07:50:42	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:50:42	<INF>	[MAIN] ==================== Start ======================
[0d00h00m00s] 2023-08-18T07:50:42	<INF>	[MAIN] =================================================
[0d00h00m00s] 2023-08-18T07:50:42	<INF>	[MAIN] PSRAM size: 8388608 byte (8MB / 64MBit)
[0d00h00m00s] 2023-08-18T07:50:42	<INF>	[MAIN] Total heap: 4376891 byte
[0d00h00m04s] 2023-08-18T07:50:46	<INF>	[MAIN] Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2
[0d00h00m04s] 2023-08-18T07:50:46	<INF>	[SDCARD] Basic R/W check started...
[0d00h00m04s] 2023-08-18T07:50:47	<INF>	[SDCARD] Basic R/W check successful
[0d00h00m04s] 2023-08-18T07:50:47	<INF>	[SNTP] TimeServer not defined, using default: pool.ntp.org
[0d00h00m04s] 2023-08-18T07:50:47	<INF>	[SNTP] Configuring NTP Client...
[0d00h00m04s] 2023-08-18T09:50:47	<INF>	[SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[0d00h00m04s] 2023-08-18T09:50:47	<INF>	[SNTP] Time is already set: 2023-08-18 09:50:47
[0d00h00m04s] 2023-08-18T09:50:47	<INF>	[MAIN] CPU frequency: 160 MHz
[0d00h00m05s] 2023-08-18T09:50:47	<INF>	[SDCARD] Folder/file presence check started...
[0d00h00m05s] 2023-08-18T09:50:47	<INF>	[SDCARD] Folder/file presence check successful
[0d00h00m05s] 2023-08-18T09:50:47	<INF>	[MAIN] Tag: 'v15.3.0', Release: v15.3.0 (Commit: 3fbff0a), Date/Time: 2023-07-22 09:42, Web UI: Release: v15.3.0 (Commit: 3fbff0a)
[0d00h00m05s] 2023-08-18T09:50:48	<INF>	[MAIN] Reset reason: Via esp_restart
[0d00h00m05s] 2023-08-18T09:50:48	<INF>	[WLANINI] SSID: xxxxxx
[0d00h00m05s] 2023-08-18T09:50:48	<INF>	[WLANINI] Password: XXXXXXXX
[0d00h00m05s] 2023-08-18T09:50:48	<INF>	[MAIN] WLAN config loaded, init WIFI...
[0d00h00m05s] 2023-08-18T09:50:48	<INF>	[WIFI] Automatic interface config --> Use DHCP service
[0d00h00m06s] 2023-08-18T09:50:48	<INF>	[WIFI] Set hostname to: watermeter
[0d00h00m06s] 2023-08-18T09:50:48	<INF>	[WIFI] Init successful
[0d00h00m09s] 2023-08-18T09:50:51	<INF>	[WIFI] Connected to: xxxxxx, RSSI: -81
[0d00h00m10s] 2023-08-18T09:50:52	<INF>	[WIFI] Assigned IP: 192.168..xxx.xxx
[0d00h00m11s] 2023-08-18T09:50:53	<INF>	[SNTP] Time is synced with NTP Server pool.ntp.org: 2023-08-18 09:50:53
[0d00h00m12s] 2023-08-18T09:50:54	<INF>	[MAIN] Device info: CPU cores: 2, Chip revision: 100
[0d00h00m12s] 2023-08-18T09:50:54	<INF>	[MAIN] SD card info: Name: ASTC, Capacity: 7454MB, Free: 7430MB
[0d00h00m14s] 2023-08-18T09:50:56	<INF>	[MAIN] Initialization completed successfully
[0d00h00m17s] 2023-08-18T09:50:59	<INF>	[LOGFILE] Set log level to ERROR
[0d00h01m02s] 2023-08-18T09:51:44	<ERR>	[OTA FILE] File sending failed!
[0d00h21m00s] 2023-08-18T10:11:43	<ERR>	[OTA FILE] File sending failed!

Expected Behavior

Just being able to update the alignment markers without getting files corrupted.

Screenshots

No response

Additional Context

No response

@TobiNinja2 TobiNinja2 added the bug Something isn't working label Aug 18, 2023
@TobiNinja2
Copy link
Author

image

@theunknownstarman
Copy link

same to me.

It's absolute impossible to make a new setup of AIOTEdge.

Trying a complete new setup with a ne formated SD Card.

The Setup starts. Make a new reference Picture.
But it's impossible to make ne markers or any ROI digit setup.

Help?

@caco3
Copy link
Collaborator

caco3 commented Aug 25, 2023

My initial interpretation would be that the SD card is not writable!

There where other people with similar issues, search the discussions.

@TobiNinja2
Copy link
Author

Hi,
That was also one of my first ideas. I migrated things to a new one, same story. Furthermore: i am able to delete and upload files via the file server functionality. Used this to upload the pictures from a backup and then the pictures show fine again. Trying to create new ones from the application leads then again to corruption :-(

@theunknownstarman
Copy link

The problem not identified, but now it works.

Trying new SD Cards but this did not help. Now I'm using the old one ...

After maybe 10 new installations it run's like nothing happened ...
no idea where is the problem.

@jomjol
Copy link
Owner

jomjol commented Aug 28, 2023

I close this issue, as it cannot be debugged anymore.

@jomjol jomjol closed this as completed Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants