mhsabbagh / green-recorder

A simple screen recorder for Linux desktop. Supports Wayland & Xorg
GNU General Public License v3.0
616 stars 118 forks source link

Error when changing settings for the first time. #55

Closed ettavolt closed 7 years ago

ettavolt commented 7 years ago

To reproduce (on 3.0.1.2.r2.ge7f877d):

  1. Make sure there is no config.ini (a config folder doesn't matter).
  2. Launch in terminal.
  3. Go to settings.
  4. Change something.
  5. Observe in terminal:
    Traceback (most recent call last):
    File "/usr/bin/green-recorder", line 536, in audioswitchchanged
    with open(confFile, 'w+') as newconfFile:
    TypeError: coercing to Unicode: need string or buffer, file found

    Similar error is output for any change until program is launched again with config.ini present.