"new" BUG 126 - still the fail to view an id that is not in the list

This commit is contained in:
2024-03-10 13:36:31 +11:00
parent 98d33b4880
commit 33c86f49fb

23
BUGs
View File

@@ -1,4 +1,4 @@
### Next: 126 ### Next: 127
BUG-100: I managed to get 2 photos matching mich in the NOT_WORKING photo (probably dif refimgs but same p.tag?) BUG-100: I managed to get 2 photos matching mich in the NOT_WORKING photo (probably dif refimgs but same p.tag?)
= /photos/2012/20120414-damien/IMG_8467.JPG = /photos/2012/20120414-damien/IMG_8467.JPG
BUG-106: cant add trudy /pat? as refimgs via FaceDBox BUG-106: cant add trudy /pat? as refimgs via FaceDBox
@@ -13,21 +13,8 @@ BUG-119: "Uncaught (in promise) Error: A listener indicated an asynchronous
BUG-120: on tablet: BUG-120: on tablet:
[2023-04-09 12:21:21,214] ERROR in app: Exception on /view/16978 [GET] [2023-04-09 12:21:21,214] ERROR in app: Exception on /view/16978 [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/code/files.py", line 655, in view
OPT=States( request )
File "/code/states.py", line 92, in __init__
self.url = pref.orig_url
AttributeError: 'NoneType' object has no attribute 'orig_url'
-- should be much more defensive on this now - no more crashes, just persistent errors -- should be much more defensive on this now - no more crashes, just persistent errors
(ERROR: pref not found - dn=uid=ddp,ou=users,dc=depaoli,dc=id,dc=au, st=, s=????)
BUG-123: pa_job_manager crashed with timeout on connection (probably when I turned off traefik for a bit?). Regardless, should be more fault tolerant --> maybe offer to restart pa_job_manager IF its crashed? BUG-123: pa_job_manager crashed with timeout on connection (probably when I turned off traefik for a bit?). Regardless, should be more fault tolerant --> maybe offer to restart pa_job_manager IF its crashed?
this definitely happened also, when I shutdown the DB back-end mid job, and it was able to be restarted, so could get f/e to at least suggest a restart of the contianer, or auto-restart job_mgr? this definitely happened also, when I shutdown the DB back-end mid job, and it was able to be restarted, so could get f/e to at least suggest a restart of the contianer, or auto-restart job_mgr?
@@ -38,3 +25,9 @@ BUG-125: when an image is highlighted, then post the contextmenu on a different
and the selected menu function processes the original or the new depending on the way the code works. and the selected menu function processes the original or the new depending on the way the code works.
There is a chance we need to change the document on click to a mouse down (or whatever the context menu There is a chance we need to change the document on click to a mouse down (or whatever the context menu
uses for default), rather than just fix the highlight uses for default), rather than just fix the highlight
BUG-126: view of image not in list:
ERROR: viewing an id, but its not in eids OPT=<States(path_type='Import', orig_search_term='', url='/files_ip', view_eid=56413, current=0, first_eid=67650, last_eid=55520, num_entries=3726, orig_ptype='Import', orig_url='/files_ip', grouping='None', how_many=50, offset=350, size=128, cwd='static/Import', root='static/Import', noo='Newest', folders=False, order='order_by(File.year.desc(),File.month.desc(),File.day.desc(),Entry.name.desc())', last_order='order_by(File.year,File.month,File.day,Entry.name)', last_order_raw='f.year, f.month, f.day, e.name')>, id=56413, eids=56408,56434,56417,56437,56473,56438,56467,56379,56363,56454,56440,56412,56481,56455,56369,56525,56393,55412,56381,56364,56501,56533,56476,56453,56406,56411,56384,56378,56505,56486,56396,56460,56441,56502,56439,56449,56529,56508,56403,56432,56488,56466,56392,56367,56398,50211,56496,56404,56446,56426
(I did a lot of next/prev while moving images, etc. so feasible I race conditioned this somehow)
TODO: ensure logs contain every time we change eids, and see if we can see the sequence leading up to this