Compare commits

..

4 Commits

4 changed files with 12 additions and 8 deletions

3
BUGs
View File

@@ -1,4 +1,5 @@
### Next: 147 ### Next: 148
BUG-147: cant change base path in settings anymore?
BUG-146: with an empty DB, I See 'No files in Path!' twice (for file*, except for files_rbp) BUG-146: with an empty DB, I See 'No files in Path!' twice (for file*, except for files_rbp)
BUG-118: can move files from Bin path, but it leaves the del_file entry for it - need to remove it BUG-118: can move files from Bin path, but it leaves the del_file entry for it - need to remove it
BUG-117: when search returns files that can be deleted and/or restored, the icon stays as delete and tries to delete! BUG-117: when search returns files that can be deleted and/or restored, the icon stays as delete and tries to delete!

2
TODO
View File

@@ -1,3 +1,5 @@
* clean up git branches!!!
### GENERAL ### GENERAL
* jobs for AI should show path name * jobs for AI should show path name
* rm dups job should show progress bar * rm dups job should show progress bar

View File

@@ -2775,7 +2775,7 @@ if __name__ == "__main__":
# Initial job run on startup (hence True in 1st param) # Initial job run on startup (hence True in 1st param)
try: try:
with PA_db_session() as sess: with PA_db_session() as sess:
HandleJobs(True,sess) HandleJobs(True)
except Exception as e: except Exception as e:
PAprint(f"ERROR: Initial job handle failed: {e}") PAprint(f"ERROR: Initial job handle failed: {e}")
@@ -2793,10 +2793,10 @@ if __name__ == "__main__":
# 2. Process Jobs after a successful socket connection # 2. Process Jobs after a successful socket connection
with PA_db_session() as sess: with PA_db_session() as sess:
HandleJobs(False, sess) HandleJobs(False)
# Check for scheduled tasks as well # Check for scheduled tasks as well
if ScheduledJobs(sess): if ScheduledJobs():
HandleJobs(False, sess) HandleJobs(False)
except socket.timeout: except socket.timeout:
if DEBUG: if DEBUG:
@@ -2805,8 +2805,8 @@ if __name__ == "__main__":
# 3. Process Scheduled Jobs during the timeout # 3. Process Scheduled Jobs during the timeout
try: try:
with PA_db_session() as sess: with PA_db_session() as sess:
if ScheduledJobs(sess): if ScheduledJobs():
HandleJobs(False, sess) HandleJobs(False)
except sqlalchemy.exc.OperationalError: except sqlalchemy.exc.OperationalError:
PAprint("DB Connection lost during scheduled task window. Retrying next cycle.") PAprint("DB Connection lost during scheduled task window. Retrying next cycle.")
continue continue

View File

@@ -1,5 +1,5 @@
numpy==1.26.4 numpy==1.26.4
setuptools setuptools<70.0.0
flask flask
flask_login flask_login
flask-ldap3-login flask-ldap3-login
@@ -17,6 +17,7 @@ datetime
pytz pytz
dlib dlib
face_recognition face_recognition
face_recognition_models @ git+https://github.com/ageitgey/face_recognition_models
Werkzeug Werkzeug
flask-compress flask-compress
ffmpeg-python ffmpeg-python