Traceback (most recent call last):


 "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\thingsboard_gateway\connectors\snmp\snmp_connector.py", line 67, in run

self.__process_data(device)


 "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\thingsboard_gateway\connectors\snmp\snmp_connector.py", line 147, in __process_data

self.collect_statistic_and_send(self.get_name(), converted_data)


 "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\thingsboard_gateway\connectors\snmp\snmp_connector.py", line 121, in collect_statistic_and_send

self.__gateway.send_to_storage(connector_name, data)


 "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\thingsboard_gateway\gateway\tb_gateway_service.py", line 318, in send_to_storage

{"connector": self.available_connectors[connector_name]}, wait_for_publish=True, device_type=data["deviceType"])


 "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\thingsboard_gateway\gateway\tb_gateway_service.py", line 618, in add_device

self.__save_persistent_devices()


 "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\thingsboard_gateway\gateway\tb_gateway_service.py", line 666, in __save_persistent_devices

with open(self._config_dir + self.__connected_devices_file, 'w') as config_file:
PermissionError: [Errno 13] Permission denied: 'C:\\Program 
s\\thingsboard-gateway-master\\thingsboard_gateway\\config\\connected_devices.json'

Traceback (most recent call last):


 "/usr/share/weewx/wee_config", line 123, in <module>

main()


 "/usr/share/weewx/wee_config", line 117, in main

config_mgr.run(args, options)


 "/usr/share/weewx/weecfg/config.py", line 126, in run

backup_path = weecfg.save(config_dict, output_path, not options.no_backup)


 "/usr/share/weewx/weecfg/__init__.py", line 200, in save

backup_path = weeutil.weeutil.move_with_timestamp(config_path)


 "/usr/share/weewx/weeutil/weeutil.py", line 1309, in move_with_timestamp

shutil.move(filepath, newpath)


 "/usr/lib/python3.7/shutil.py", line 577, in move

copy_function(src, real_dst)


 "/usr/lib/python3.7/shutil.py", line 263, in copy2

copyfile(src, dst, follow_symlinks=follow_symlinks)


 "/usr/lib/python3.7/shutil.py", line 121, in copyfile

with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/etc/weewx/weewx.conf.20201030090526'
