Closed marinelay closed 3 weeks ago
Nice catch!
I can confirm the issue is reproducible with python examples/demo/touchtracer/main.py -m monitor --save
I guess no one used the --save
option for the last ~12 years? 😅
Would you like to make a PR for it?
Fixed via #8681
Software Versions
Describe the bug
https://github.com/kivy/kivy/blob/c0d4894384abb81cf4729984a1eaa4c437d266da/kivy/__init__.py#L482-L487
Config
is object ofConfigParser
andConfigParser.write
method does not require any positional arguments. Thus, it always raisesTypeError: write() takes 1 positional argument but 2 were given
at line 484. I believe settingself.filename
askivy_config_fn
is more accurate like this:I wonder it is the right behavior.
Expected behavior
To Reproduce
Code and Logs and screenshots https://github.com/kivy/kivy/blob/c0d4894384abb81cf4729984a1eaa4c437d266da/kivy/__init__.py#L482-L487