From dd38b9b1d686a53e130ad1b3424531c2494db91f Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 9 Jan 2022 18:12:41 +1100 Subject: [PATCH] re-format BUGs --- BUGs | 67 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 33 deletions(-) diff --git a/BUGs b/BUGs index b9d838f..8a77227 100644 --- a/BUGs +++ b/BUGs @@ -1,39 +1,40 @@ -### Next: 75 +### Next: 77 BUG-56: when making a viewing list of AI:mich, (any search?) and going past the page_size, it gets the wrong data from the DB for the 'next' entry BUG-60: entries per page (in folders view) ignores pagesize, and this also contributes to BUG-56 I think BUG-74: search/others? remembers start/offset, and if you reset view (e.g. another search) it doesnt show first page of results BUG-75: Tried moving 111 working dir and it failed as dt is invalid/empty? just means buttons for existing are empty -paweb | [2022-01-09 15:42:19,485] ERROR in app: Exception on /getexistingpaths/undefined [POST] -paweb | Traceback (most recent call last): -paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app -paweb | response = self.full_dispatch_request() -paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request -paweb | rv = self.handle_user_exception(e) -paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request -paweb | rv = self.dispatch_request() -paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request -paweb | return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) -paweb | File "/usr/local/lib/python3.8/dist-packages/flask_login/utils.py", line 272, in decorated_view -paweb | return func(*args, **kwargs) -paweb | File "/code/files.py", line 631, in GetExistingPathsAsDiv -paweb | new_dtime=datetime.datetime.strptime(dt, "%Y%m%d") + datetime.timedelta(days=delta) -paweb | File "/usr/lib/python3.8/_strptime.py", line 568, in _strptime_datetime -paweb | tt, fraction, gmtoff_fraction = _strptime(data_string, format) -paweb | File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime -paweb | raise ValueError("time data %r does not match format %r" % -paweb | ValueError: time data 'undefined' does not match format '%Y%m%d' + BUT, although files moved on FS, it is not visible in the DB??? + I am in the BIN path!!!!! + pa=# select * from path_dir_link where dir_eid in ( 5, 41818, 41819, 41832, 41921, 43539, 43545 ); + path_id | dir_eid + ---------+--------- + 2 | 5 + *** 3 | 41818 + 2 | 41819 + 2 | 41832 + 2 | 41921 + 2 | 43539 + 2 | 43545 -BUT, although files moved on FS, it is not visible in the DB??? -I am in the BIN path!!!!! -pa=# select * from path_dir_link where dir_eid in ( 5, 41818, 41819, 41832, 41921, 43539, 43545 ); - path_id | dir_eid ----------+--------- - 2 | 5 -*** 3 | 41818 - 2 | 41819 - 2 | 41832 - 2 | 41921 - 2 | 43539 - 2 | 43545 + Test move between paths in DEV, should now work +BUG-76: Tried moving 111 working dir and it failed as dt is invalid/empty? just means buttons for existing are empty + paweb | [2022-01-09 15:42:19,485] ERROR in app: Exception on /getexistingpaths/undefined [POST] + paweb | Traceback (most recent call last): + paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app + paweb | response = self.full_dispatch_request() + paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request + paweb | rv = self.handle_user_exception(e) + paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request + paweb | rv = self.dispatch_request() + paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request + paweb | return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) + paweb | File "/usr/local/lib/python3.8/dist-packages/flask_login/utils.py", line 272, in decorated_view + paweb | return func(*args, **kwargs) + paweb | File "/code/files.py", line 631, in GetExistingPathsAsDiv + paweb | new_dtime=datetime.datetime.strptime(dt, "%Y%m%d") + datetime.timedelta(days=delta) + paweb | File "/usr/lib/python3.8/_strptime.py", line 568, in _strptime_datetime + paweb | tt, fraction, gmtoff_fraction = _strptime(data_string, format) + paweb | File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime + paweb | raise ValueError("time data %r does not match format %r" % + paweb | ValueError: time data 'undefined' does not match format '%Y%m%d' -Test move between paths in DEV, should now work