启动跟踪错误' kazam'从终端

时间:2017-07-31 07:25:23

标签: python-3.x screencast

从终端启动kazam时会显示此跟踪错误。

/home$ kazam
        /usr/bin/kazam:32: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
          from gi.repository import Gtk
        /usr/lib/python3/dist-packages/kazam/backend/webcam.py:24: PyGIWarning: GUdev was imported without specifying a version first. Use gi.require_version('GUdev', '1.0') before import to ensure that the right version gets loaded.
          from gi.repository import GObject, GUdev
        Traceback (most recent call last):
          File "/usr/bin/kazam", line 147, in <module>
            from kazam.app import KazamApp
          File "/usr/lib/python3/dist-packages/kazam/app.py", line 36, in <module>
            from kazam.backend.prefs import *
          File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 566, in <module>
            prefs = Prefs()
          File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 144, in __init__
            self.read_config()
          File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 224, in read_config
            self.audio_source = int(self.config.get("main", "audio_source"))
        TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

无法从菜单栏

打开该应用程序

如何解决追溯错误重新启动应用程序?

0 个答案:

没有答案