empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
Error :database is lockedfor query : INSERT OR IGNORE INTO `mra_photos` (`day_taken_at`, `hour_taken_at`, `filename`, `to_upload`)  VALUES ("20251120", "14:46:03" , "/home/pi/Desktop/images/20112025/14/46/image_20112025_14_46_03_3742.jpg", 0)
try second time after 15 secs
Error :database is lockedfor query : INSERT OR IGNORE INTO `mra_photos` (`day_taken_at`, `hour_taken_at`, `filename`, `to_upload`)  VALUES ("20251120", "14:46:03" , "/home/pi/Desktop/images/20112025/14/46/image_20112025_14_46_03_3742.jpg", 0)
Error :database is locked
Error :database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 109, in <module>
    insert_new_photos_in_db(lsr, x.folder, x.verbose, x.flat_folder_date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 44, in insert_new_photos_in_db
    last_photo_in_db = lsrl.sql_conn.get_last_photo_infos()
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 208, in get_last_photo_infos
    return data
UnboundLocalError: local variable 'data' referenced before assignment
Error :database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 109, in <module>
    insert_new_photos_in_db(lsr, x.folder, x.verbose, x.flat_folder_date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 44, in insert_new_photos_in_db
    last_photo_in_db = lsrl.sql_conn.get_last_photo_infos()
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 208, in get_last_photo_infos
    return data
UnboundLocalError: local variable 'data' referenced before assignment
Error :database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 109, in <module>
    insert_new_photos_in_db(lsr, x.folder, x.verbose, x.flat_folder_date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 44, in insert_new_photos_in_db
    last_photo_in_db = lsrl.sql_conn.get_last_photo_infos()
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 208, in get_last_photo_infos
    return data
UnboundLocalError: local variable 'data' referenced before assignment
Error :database is lockedfor query : INSERT OR IGNORE INTO `mra_photos` (`day_taken_at`, `hour_taken_at`, `filename`, `to_upload`)  VALUES ("20251120", "16:36:01" , "/home/pi/Desktop/images/20112025/16/36/image_20112025_16_36_01_2740.jpg", 0)
try second time after 15 secs
Error :database is lockedfor query : INSERT OR IGNORE INTO `mra_photos` (`day_taken_at`, `hour_taken_at`, `filename`, `to_upload`)  VALUES ("20251120", "16:36:01" , "/home/pi/Desktop/images/20112025/16/36/image_20112025_16_36_01_2740.jpg", 0)
Error :database is locked
Error :database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 109, in <module>
    insert_new_photos_in_db(lsr, x.folder, x.verbose, x.flat_folder_date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 44, in insert_new_photos_in_db
    last_photo_in_db = lsrl.sql_conn.get_last_photo_infos()
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 208, in get_last_photo_infos
    return data
UnboundLocalError: local variable 'data' referenced before assignment
Error :database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 109, in <module>
    insert_new_photos_in_db(lsr, x.folder, x.verbose, x.flat_folder_date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 44, in insert_new_photos_in_db
    last_photo_in_db = lsrl.sql_conn.get_last_photo_infos()
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 208, in get_last_photo_infos
    return data
UnboundLocalError: local variable 'data' referenced before assignment
Error :database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 109, in <module>
    insert_new_photos_in_db(lsr, x.folder, x.verbose, x.flat_folder_date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 44, in insert_new_photos_in_db
    last_photo_in_db = lsrl.sql_conn.get_last_photo_infos()
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 208, in get_last_photo_infos
    return data
UnboundLocalError: local variable 'data' referenced before assignment
empty photo_infos list in append_photo_list : nothing done
empty photo_infos list in append_photo_list : nothing done
Error :database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 109, in <module>
    insert_new_photos_in_db(lsr, x.folder, x.verbose, x.flat_folder_date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/insert_obj_in_db.py", line 44, in insert_new_photos_in_db
    last_photo_in_db = lsrl.sql_conn.get_last_photo_infos()
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 208, in get_last_photo_infos
    return data
UnboundLocalError: local variable 'data' referenced before assignment
Error :database is lockedfor query : INSERT OR IGNORE INTO `mra_photos` (`day_taken_at`, `hour_taken_at`, `filename`, `to_upload`)  VALUES ("20251120", "23:25:04" , "/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_04_6907.jpg", 0)
try second time after 15 secs
