* it thrown a KeyError which lead the whole UI not to render.
Stacktrace:
GNU nano 6.1 .local/share/arigram/error.log
ERROR [2022-02-16 21:43:03,216] controllers.py:922 - draw | Error happened in draw loop
Traceback (most recent call last):
File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 920, in draw
fun()
File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 913, in _resize
self._render()
File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 940, in _render
self._render_chats()
File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 957, in _render_chats
self.view.chats.draw(selected_chat, chats, self.model.chats.title)
File /Users/francescoduca/.local/src/arigram/arigram/views.py, line 234, in draw
last_msg_sender, last_msg = self._get_last_msg_data(chat)
File /Users/francescoduca/.local/src/arigram/arigram/views.py, line 267, in _get_last_msg_data
user, last_msg = get_last_msg(chat, self.model.users)
File /Users/francescoduca/.local/src/arigram/arigram/views.py, line 631, in get_last_msg
last_msg[sender].get(user_id),
KeyError: 'sender'
Signed-off-by: FraSharp <s23265@iisve.it>
* typed-st [1.4.3], when compiled with newer clang versions (e.g. Apple Clang 13.0.1) and with --std=c99, throws an implicit declaration, which has been fixed in typed-st [1.5.2].
Stacktrace: ast3/Python/ast.c:4514:9: error: implicit declaration of function '_PyUnicode_DecodeUnicodeEscape' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
v = _PyUnicode_DecodeUnicodeEscape(s, len, NULL, &first_invalid_escape);
^
Signed-off-by: FraSharp <s23265@iisve.it>
- Added a better `.gitignore`
- Formatted the `do` script better, made it better in general
- Improved instalation and upgrading instructons
- Removed arrow key support
- Imrproved `README.md` formatting
- Improved the runtime (`__main__.py`) script, improved formatting,
handling of arguments and added docstrings
- Renamed `colors` to `colours`
- Added type hints to the config file and improved how it handles some
things
- Improved chat action strings (e.g `uploading video` -> `is uploading a video`)
- Made `COPY_CMD` deprecated, using `pyperclip` instead
- Changed dependency for stability from dynamic to exact
(`python-telegram>=....` to `python-telegram==....`)
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
- Found more bugs
- Added more TODOs
- Added more functionality to `do`
- Fixed README
- Bump version
- Implement drafts
- Escape sequences in messages are now supported
- Added upgrading instructions in README
- Improved installation instructions
- Better keymapping support (more customisable)
- More low-level customisation
- Proper daemon initialisation
- Completed some TODOs in code and in README
- Made input design more consistant
- Custom extensions
- Removed/renabled useless variables
- Fixed bugs with update handlers
- Fixed requirement formatting and versioning