-
Notifications
You must be signed in to change notification settings - Fork 12
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
"cat: /root/.xsession-errors: 没有那个文件或目录"这是为什么呢? #66
Comments
不以root运行,直接在peter用户下运行 |
`peter@peter-PC:~/Desktop/uos-youqu/wechat_automation_test$ sudo bash env.sh (manage.py:10529): dbind-WARNING **: 09:48:52.383: Could not open X display (manage.py:10529): dbind-ERROR **: 09:48:52.389: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running? 报以上错误,看起来像是这个文件里194行:sudo chmod +x /usr/bin/youqu-shell-rm 是不是这里的问题? |
安装环境依赖的时候,不加sudo,显示如下: ██╗ ██╗ ██████╗ ███████╗ ███╗ ██╗ ██╗ ██╗ 命中:3 https://pro-driver-packages.uniontech.com eagle InRelease WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 忽略:1 https://professional-packages.chinauos.com/desktop-professional eagle/main amd64 python3-gi amd64 3.30.4-1 |
然后创建APP工程又报如下错误: |
root@peter-PC:/home/peter/Desktop/uos-youqu/wechat_automation_test# youqu manage.py startapp testabc
cat: /root/.xsession-errors: 没有那个文件或目录
cat: /root/.xsession-errors: 没有那个文件或目录
cat: /root/.xsession-errors: 没有那个文件或目录
cat: /root/.xsession-errors: 没有那个文件或目录
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: 无法连接:Connection refused
No protocol specified
(manage.py:29977): dbind-WARNING **: 17:19:56.171: Could not open X display
(manage.py:29977): dbind-ERROR **: 17:19:56.177: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?
/usr/bin/youqu:行 1: 29977 追踪与中断点陷阱(核心已转储)pipenv run python "$@"
The text was updated successfully, but these errors were encountered: