macOS 中 AT-SPI 配置错误

macOS 中 AT-SPI 配置错误

使用 Python 和 Gtk+,我使用 Aloe 测试来验证某些模块的更正。测试的设计方式是使用背后的 AT-SPI 服务,但在我的安装中,它们似乎无法链接进程。

接下来,我在一个非常简单的例子中展示了错误屏幕的副本(你好世界)。代码已完全验证,并且测试在Linux机器上正常运行。

MacBook-Pro-de-Borja:eg seoane$ aloe -x --verbosity=3 features/task1-app.feature
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
Feature: Hello World App

  In order to check if you completed the app in the first part of the assigment
  As a wise person
  I want to validate the app

  Scenario: The app is a Hello World Gtk+ app                                    # features/task1-app.feature:6
    Given I find a file named "holamundo.py"
    When I run "holamundo.py"
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!

** (process:843): ERROR **: 09:18:46.379: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?
Trace/BPT trap: 5
MacBook-Pro-de-Borja:eg seoane$ 2018-09-20 09:18:46.693 python3[846:26517] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 

(holamundo.py-test-76010700:846): Gtk-WARNING **: 09:18:46.796: Locale not supported by C library.
    Using the fallback 'C' locale.

我通过 Pip3 安装了 Aloe;并且at-spi2-atkspi2核心通过 Homebrew。

我不知道我的安装出了什么问题。

相关内容