[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
[code] ~$ kazam Traceback (most recent call last): File "/usr/bin/kazam", line 149, in from kazam.app import KazamApp File "/usr/lib/python3/dist-packages/kazam/app.py", line 36, in from kazam.backend.prefs import * File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 30, in from kazam.backend.webcam import Webcam File "/usr/lib/python3/dist-packages/kazam/backend/webcam.py", line 25, in gi.require_version('GUdev', '1.0') File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace GUdev not available [/code] how to fixed the bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
Sorry please ignore comment above, the result after patch on Fedora 25: $ kazam /usr/lib/python3.5/site-packages/kazam/frontend/window_area.py:30: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, GObject, Gdk, Wnck, GdkX11 /usr/lib/python3.5/site-packages/kazam/backend/gstreamer.py:35: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GObject, Gst /usr/lib/python3.5/site-packages/kazam/frontend/indicator.py:97: PyGIWarning: Keybinder was imported without specifying a version first. Use gi.require_version('Keybinder', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Keybinder Segmentation fault (core dumped) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
After applying patch I got following in Fedora 15: $ kazam Traceback (most recent call last): File "/usr/bin/kazam", line 147, in from kazam.app import KazamApp File "/usr/lib/python3.5/site-packages/kazam/app.py", line 36, in from kazam.backend.prefs import * File "/usr/lib/python3.5/site-packages/kazam/backend/prefs.py", line 587, in prefs = Prefs() File "/usr/lib/python3.5/site-packages/kazam/backend/prefs.py", line 149, in __init__ self.read_config() File "/usr/lib/python3.5/site-packages/kazam/backend/prefs.py", line 231, in read_config self.webcam_source = int(self.config.get("main", "webcam_source")) ValueError: invalid literal for int() with base 10: 'rest' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
Same - running 16.04 LTE Xenial Xerus, Kazam v.1.5.3, still getting unexpected keyword argument 'raw' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
On Ubuntu 16.04 doesn't work, the workaround seems already applied. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Branch linked: lp:debian/kazam -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Branch linked: lp:ubuntu/wily-proposed/kazam -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
This bug was fixed in the package kazam - 1.4.5-2 --- kazam (1.4.5-2) unstable; urgency=medium * configparser_api_changes.patch: Update for changes in ConfigParser api (Closes: #801203, LP: #1500083). * debian/control: Bump Standards-Version to 3.9.6 -- Andrew Starr-BochicchioMon, 12 Oct 2015 21:33:25 -0400 ** Changed in: kazam (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Changed in: kazam (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Changed in: kazam (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Bug watch added: Debian Bug tracker #801203 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801203 ** Also affects: kazam (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801203 Importance: Unknown Status: Unknown ** Changed in: kazam (Ubuntu) Assignee: (unassigned) => Andrew Starr-Bochicchio (andrewsomething) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Changed in: kazam (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Description changed: + **Workaround** + Open the terminal and type : + sudo gedit /usr/lib/python3/dist-packages/kazam/backend/config.py + click the magnifier and in the search box type def get + locate the highlighted def get(self, section, key): + and modify to have: + + def get(self, section, key,raw=True,fallback='rest'): + try: + return super(KazamConfig,self).get(section, key,raw=raw,fallback=fallback) + ret = ConfigParser.get(self, section, key) + + save and run Kazam + Hallo Just clicked the icon on the dash and it crash. No way to run it. Please fix it soon. Best regards Traceback (most recent call last): File "/usr/bin/kazam", line 146, in from kazam.app import KazamApp File "/usr/lib/python3/dist-packages/kazam/app.py", line 35, in from kazam.backend.prefs import * File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 478, in prefs = Prefs() File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 121, in __init__ self.read_config() File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 199, in read_config self.audio_source = int(self.config.get("main", "audio_source")) File "/usr/lib/python3/dist-packages/kazam/backend/config.py", line 103, in get return ConfigParser.get(self, section, key) File "/usr/lib/python3.4/configparser.py", line 772, in get d) File "/usr/lib/python3.4/configparser.py", line 371, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1) File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some rawval = parser.get(section, option, raw=True, fallback=rest) TypeError: get() got an unexpected keyword argument 'raw' njin@ForeverYoung:~$ ProblemType: Crash DistroRelease: Ubuntu 15.10 Package: kazam 1.4.5-1build1 ProcVersionSignature: Ubuntu 4.2.0-11.13-generic 4.2.1 Uname: Linux 4.2.0-11-generic x86_64 ApportVersion: 2.19-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Sat Sep 26 20:30:17 2015 EcryptfsInUse: Yes ExecutablePath: /usr/bin/kazam InstallationDate: Installed on 2015-09-12 (14 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150911) InterpreterPath: /usr/bin/python3.4 PackageArchitecture: all ProcCmdline: /usr/bin/python3 /usr/bin/kazam PythonArgs: ['/usr/bin/kazam'] SourcePackage: kazam Title: kazam crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
Hallo Alan Bell After editing it now works perfectly. Many thanks. Best regards -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
editing /usr/lib/python3/dist-packages/kazam/backend/config.py line 101-103 to read def get(self, section, key,raw=True,fallback='rest'): try: return super(KazamConfig,self).get(section, key,raw=raw,fallback=fallback) allows it to start. This matches the keyword parameters with configparser and calls the superclass method with the keyword parameters. They should be ignored by whatever calls the KazamConfig get method, but if anything else calls get on the KazamConfig class expecting to get the method from the superclass it will also work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
this is related to this issue http://bugs.python.org/issue14388 /usr/lib/python3/dist-packages/kazam/backend/config.py extends /usr/lib/python3.4/configparser.py and has a get method, which requires different parameters to the configparser method. ** Bug watch added: Python Roundup #14388 http://bugs.python.org/issue14388 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1500083] Re: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw'
** Summary changed: - kazam 1.4.5 crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' + kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1500083 Title: kazam [1.4.5 and 1.5.3] crashed with TypeError in _interpolate_some(): get() got an unexpected keyword argument 'raw' To manage notifications about this bug go to: https://bugs.launchpad.net/kazam/+bug/1500083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs