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
Kazam not working on Python 3.5.3 #4
Comments
My problem too...' |
I am seeing the same problem on Ubuntu 17.10:
|
+1 |
On Ubuntu 17.10: |
Open file
find
and replace
Try start Kazam. |
+1 Ubuntu 17.10, x64, Python 2.7.14 |
Another solution is to modify the function prototype to pass extra arguments:
Then forward extra kwargs in the call:
And per the previous suggestion I would simplify:
The additional arguments are not necessary for python 3. Both approaches are equivalent. The only advantage here is to avoid having to fix the same problem if the parameters change in the future. |
The fix is to simply add kwargs to the function and pass them to the super class. See hzbd#4
@cutephoton Nice fix! Why didn't you ask for a pull request? |
Yeah, sorry about that -- I needed kazam for a project at the time and forgot about the fix. Looks like there's a pull request with a similar fix as of the last week. Thank you for the positive feedback. |
JUST ADDING **KWARGS TO THE PARAMETERS WILL SOLVE THE PROBLEM. 1-Open file /usr/lib/python3/dist-packages/kazam/backend/config.py or /usr/local/lib/python3.6/dist-packages/kazam/backend/config.py 2-Find this function def get(self, section, key): and replace def get(self, section, key,**kwargs): 3-Find this return line return ConfigParser.get(self, section, key) and replace return ConfigParser.get(self, section, key,**kwargs) |
It seems tha Kazam is not working on Python 3.5
Steps:
https://launchpad.net/kazam/stable/1.4.5/+download/kazam-1.4.5.tar.gz
The text was updated successfully, but these errors were encountered: