Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various changes to support arm64 Apple Silicon based devices #9

Merged
merged 16 commits into from Feb 16, 2022

Conversation

FraSharp
Copy link
Contributor

No description provided.

FraSharp and others added 16 commits February 16, 2022 21:40
* 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>
* they were restoring typed-st to [1.4.3].

Signed-off-by: FraSharp <s23265@iisve.it>
* 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>
Signed-off-by: FraSharp <s23265@iisve.it>
Signed-off-by: FraSharp <s23265@iisve.it>
… based devices

Signed-off-by: FraSharp <s23265@iisve.it>
Signed-off-by: FraSharp <s23265@iisve.it>
Signed-off-by: FraSharp <s23265@iisve.it>
@TruncatedDinoSour
Copy link
Owner

Thank you <3

@TruncatedDinoSour TruncatedDinoSour merged commit c65d04f into TruncatedDinoSour:main Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants