[GH-ISSUE #3] Call status check script not working #2

Closed
opened 2026-03-02 23:32:53 +03:00 by kerem · 1 comment
Owner

Originally created by @andre4ik3 on GitHub (Mar 17, 2022).
Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/3

As I said in #2 , I wasn't able to complete a call previously due to lack of physical camera. I have one now, but FaceTime still refuses to work. When trying to do a FaceTime call, before even connecting or declining, the following error happens:

AppleScript Error -1719: System Events got an error: Can't get scroll area 2 of window 1 of process "FaceTime". Invalid index.

I glanced over the code and it seems that it is trying to get the sidebar (scroll area) that is not present here because the call has not yet started. When the error happens, this is the view of the desktop computer:

CleanShot 2022-03-17 at 18 27 47@2x


System Details

  • Mac mini (M1, 2020) w/ 8GB RAM
  • Headless (aka no display attached)
  • Camera: Logitech 720p webcam (it is detected in FaceTime, the black view is because I wrapped it in a cloth)
  • AirMessage Server: 4.0.0-alpha7 (build 36)
Originally created by @andre4ik3 on GitHub (Mar 17, 2022). Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/3 As I said in #2 , I wasn't able to complete a call previously due to lack of physical camera. I have one now, but FaceTime still refuses to work. When trying to do a FaceTime call, before even connecting or declining, the following error happens: `AppleScript Error -1719: System Events got an error: Can't get scroll area 2 of window 1 of process "FaceTime". Invalid index.` I glanced over the code and it seems that it is trying to get the sidebar (scroll area) that is not present here because the call has not yet started. When the error happens, this is the view of the desktop computer: ![CleanShot 2022-03-17 at 18 27 47@2x](https://user-images.githubusercontent.com/62390580/158834814-1a4ba212-1472-41af-8bf5-eac69bf9b2c1.png) --- #### System Details - Mac mini (M1, 2020) w/ 8GB RAM - Headless (aka no display attached) - Camera: Logitech 720p webcam (it *is* detected in FaceTime, the black view is because I wrapped it in a cloth) - AirMessage Server: 4.0.0-alpha7 (build 36)
kerem closed this issue 2026-03-02 23:32:53 +03:00
Author
Owner

@andre4ik3 commented on GitHub (Mar 17, 2022):

Nevermind, looking at the call status check script again, it does not yet support Russian locale in the labels list! 😅

Fixed by changing FaceTime locale to English in System Preferences :)

<!-- gh-comment-id:1070989796 --> @andre4ik3 commented on GitHub (Mar 17, 2022): Nevermind, looking at the call status check script again, it does not yet support Russian locale in the labels list! 😅 Fixed by changing FaceTime locale to English in System Preferences :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/airmessage-server#2
No description provided.