When providing only session (with no "name" or "to" param, as indicated in the documentation), server returns 500 with the following info:
Traceback (most recent call last): File "/home/bbs/pybbs/datasvc.py", line 137, in do_POST DataService.classes[cls].POST(self, session, params, op) File "/home/bbs/pybbs/Board.py", line 141, in POST Board.ClearUnreadAll(session.GetUser()) File "/home/bbs/pybbs/Board.py", line 498, in ClearUnreadAll board.ClearUnread(user) File "/home/bbs/pybbs/Board.py", line 489, in ClearUnread return bread.Clear(self.name) File "/home/bbs/pybbs/BRead.py", line 301, in Clear self._cache[entry]._list[0] = bh.nowidAttributeError: 'NoneType' object has no attribute 'nowid'
When providing only session (with no "name" or "to" param, as indicated in the documentation), server returns 500 with the following info:
Traceback (most recent call last): File "/home/bbs/pybbs/datasvc.py", line 137, in do_POST DataService.classes[cls].POST(self, session, params, op) File "/home/bbs/pybbs/Board.py", line 141, in POST Board.ClearUnreadAll(session.GetUser()) File "/home/bbs/pybbs/Board.py", line 498, in ClearUnreadAll board.ClearUnread(user) File "/home/bbs/pybbs/Board.py", line 489, in ClearUnread return bread.Clear(self.name) File "/home/bbs/pybbs/BRead.py", line 301, in Clear self._cache[entry]._list[0] = bh.nowidAttributeError: 'NoneType' object has no attribute 'nowid'
// THERE MUST BE SOMEWHERE YOU 改屎了!
Please confirm and fix it.
Thanks!