Traceback (most recent call last):


 "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner

self.run()


 "/usr/lib/python3.4/threading.py", line 868, in run

self._target(*self._args, **self._kwargs)


 "/home/pi/python-gpiozero/gpiozero/mixins.py", line 80, in _copy_values

self.value = v


 "/home/pi/python-gpiozero/gpiozero/devices.py", line 313, in __setattr__

return super(CompositeDevice, self).__setattr__(name, value)


 "/home/pi/python-gpiozero/gpiozero/devices.py", line 159, in __setattr__

return super(GPIOBase, self).__setattr__(name, value)


 "/home/pi/python-gpiozero/gpiozero/output_devices.py", line 1062, in value

self.pwm_device.pin.frequency = int(1 / self.frame_width)
AttributeError: 'NoneType' object has no attribute 'frequency'

Traceback (most recent call last):


 "./try_telethon.py", line 38, in <module>

**kwargs)


 "/home/pi/telethon/telethon_examples/interactive_telegram_client.py", line 78, in __init__

super().__init__(session_user_id, api_id, api_hash, proxy)


 "/home/pi/telethon/telethon/telegram_client.py", line 89, in __init__

session = JsonSession.try_load_or_create_new(session)


 "/home/pi/telethon/telethon/tl/session.py", line 199, in try_load_or_create_new

except (json.decoder.JSONDecodeError, UnicodeDecodeError):
AttributeError: 'module' object has no attribute 'JSONDecodeError'
