Ubuntu Xenial support?

Asked by Jonathan Vargas

Will be a release for 16.04? I tried to run the unstable branch using development files, but did not work:

$ python3 setup.py install
Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    from DistUtilsExtra.command import *
ImportError: No module named 'DistUtilsExtra'

Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Kazam Screencaster Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

1. Why don't you install the prebuild kazam package via the package management tools?

2. For installing from source, you probably miss the package python3-distutils-extra

Revision history for this message
Jonathan Vargas (jvargas-alkaid) said :
#2

The stable builds are 1.4, they don't support camera recording.
The unstable builds, are not available for xenial, if I try with trusty ones, something else fails.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Do you still get the same error message with python3-distutils-extra installed?

Revision history for this message
Jonathan Vargas (jvargas-alkaid) said :
#4

I installed it and now I get:

$ kazam
/usr/local/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/local/lib/python3.5/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/local/bin/kazam", line 147, in <module>
    from kazam.app import KazamApp
  File "/usr/local/lib/python3.5/dist-packages/kazam/app.py", line 36, in <module>
    from kazam.backend.prefs import *
  File "/usr/local/lib/python3.5/dist-packages/kazam/backend/prefs.py", line 587, in <module>
    prefs = Prefs()
  File "/usr/local/lib/python3.5/dist-packages/kazam/backend/prefs.py", line 149, in __init__
    self.read_config()
  File "/usr/local/lib/python3.5/dist-packages/kazam/backend/prefs.py", line 229, in read_config
    self.audio_source = int(self.config.get("main", "audio_source"))
  File "/usr/local/lib/python3.5/dist-packages/kazam/backend/config.py", line 116, in get
    ret = ConfigParser.get(self, section, key)
  File "/usr/lib/python3.5/configparser.py", line 797, in get
    d)
  File "/usr/lib/python3.5/configparser.py", line 393, in before_get
    self._interpolate_some(parser, option, L, value, section, defaults, 1)
  File "/usr/lib/python3.5/configparser.py", line 406, in _interpolate_some
    rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'

$ kazam --version
/usr/local/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
kazam 1.5.4 'NX-72307'

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Sorry, I cannot help further.
Maybe you can contact someone from the https://launchpad.net/~kazam-team

Revision history for this message
Chaitrali Palasdeokar (chaitralipalasdeokar) said :
#6

Kazam was working well on my ubuntu laptop . I uninstalled some python packages and also uninstalled some files using the autoremove command on ubuntu. Now when I try to open kazam it is showing this error. I browsed through the internet for the solution but couldn't find any.

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'

Can you help with this problem?

Provide an answer of your own, or ask Jonathan Vargas for more information if necessary.

To post a message you must log in.