-
Notifications
You must be signed in to change notification settings - Fork 10
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
启动失败 #5
Comments
|
1.14.2-1 |
有点奇怪,你执行这些语句看下输出: import gi
gi.require_version('Gst', '1.0')
from gi.repository import Gst
print(Gst._version)
print(Gst.version_string())
print(Gst.init.__doc__)
print([a.get_name() + ":" + str(a.is_optional()) for a in Gst.init.get_arguments()]) |
1.0 |
看来 GObject 或 gstreamer 安装有问题。 |
Manjaro 17.1.7 GNOME |
我检查了下 Manjaro 的 pacman -Qo /usr/lib/python3.6/site-packages/gi/overrides/Gst.py |
/usr/lib/python3.6/site-packages/gi/overrides/Gst.py 由 gst-python 1.14.1-1 所拥有 |
gst-python 由 GStreamer 官方团队维护,主页只是说 "overrides for the gobject-introspection-based pygst bindings" 却没说为什么要 override,也没说兼容性。 你可以暂时把 |
卸载后可以启动。THX |
Traceback (most recent call last):
File "/usr/bin/popup-dict", line 7, in
from popupdict.main import main
File "/usr/lib/python3.6/site-packages/popupdict/main.py", line 8, in
from .gtk import *
File "/usr/lib/python3.6/site-packages/popupdict/gtk/init.py", line 7, in
Gst.init()
TypeError: init() missing 1 required positional argument: 'argv'
The text was updated successfully, but these errors were encountered: