Write a custom notification service
Load the custom notification service
Got error:
TypeError: %d format: a number is required, not str
Call stack:
File "C:\Users\{username}\code\Python\Steamauto\Steamauto.py", line 426, in <module>
exit_code.set(main())
File "C:\Users\{username}\code\Python\Steamauto\Steamauto.py", line 398, in main
plugins_enabled = get_plugins_enabled(steam_client, steam_client_mutex)
File "C:\Users\{username}\code\Python\Steamauto\Steamauto.py", line 321, in get_plugins_enabled
buff_auto_accept_offer = BuffAutoAcceptOffer(logger, steam_client, steam_client_mutex, config)
File "C:\Users\{username}\code\Python\Steamauto\plugins\BuffAutoAcceptOffer.py", line 41, in __init__
self.asset = AppriseAsset(plugin_paths=[os.path.join(os.path.dirname(__file__), "..", APPRISE_ASSET_FOLDER)])
File "C:\Users\{username}\AppData\Local\Programs\Python\Python39\lib\site-packages\apprise\AppriseAsset.py", line 187, in __init__
N_MGR.module_detection(plugin_paths)
File "C:\Users\{username}\AppData\Local\Programs\Python\Python39\lib\site-packages\apprise\manager.py", line 373, in module_detection
_import_module(new_path)
File "C:\Users\{username}\AppData\Local\Programs\Python\Python39\lib\site-packages\apprise\manager.py", line 303, in _import_module
logger.debug(
Message: 'Custom module %s - %d schema(s) (name=%s) loaded in {:.6f}s'
Arguments: ('C:\\Users\\{username}\\code\\Python\\Steamauto\\plugins\\..\\Apprise', 'a9ef43d150c298bfa67f64baa07ae9a20324dab7', 1, 0.3263719081878662)
:bulb: Screenshots and Logs
TypeError: %d format: a number is required, not str
Call stack:
File "C:\Users\{username}\code\Python\Steamauto\Steamauto.py", line 426, in <module>
exit_code.set(main())
File "C:\Users\{username}\code\Python\Steamauto\Steamauto.py", line 398, in main
plugins_enabled = get_plugins_enabled(steam_client, steam_client_mutex)
File "C:\Users\{username}\code\Python\Steamauto\Steamauto.py", line 321, in get_plugins_enabled
buff_auto_accept_offer = BuffAutoAcceptOffer(logger, steam_client, steam_client_mutex, config)
File "C:\Users\{username}\code\Python\Steamauto\plugins\BuffAutoAcceptOffer.py", line 41, in __init__
self.asset = AppriseAsset(plugin_paths=[os.path.join(os.path.dirname(__file__), "..", APPRISE_ASSET_FOLDER)])
File "C:\Users\{username}\AppData\Local\Programs\Python\Python39\lib\site-packages\apprise\AppriseAsset.py", line 187, in __init__
N_MGR.module_detection(plugin_paths)
File "C:\Users\{username}\AppData\Local\Programs\Python\Python39\lib\site-packages\apprise\manager.py", line 373, in module_detection
_import_module(new_path)
File "C:\Users\{username}\AppData\Local\Programs\Python\Python39\lib\site-packages\apprise\manager.py", line 303, in _import_module
logger.debug(
Message: 'Custom module %s - %d schema(s) (name=%s) loaded in {:.6f}s'
Arguments: ('C:\\Users\\{username}\\code\\Python\\Steamauto\\plugins\\..\\Apprise', 'a9ef43d150c298bfa67f64baa07ae9a20324dab7', 1, 0.3263719081878662)
:mega: Notification Service(s) Impacted
Custom Notification
:lady_beetle: Describe the bug
Write a custom notification service Load the custom notification service Got error:
:bulb: Screenshots and Logs
:computer: Your System Details:
:crystal_ball: Additional context The bug is introduced by this commit: https://github.com/caronc/apprise/commit/9dcf7693975ebf0f05566a5aeb18b0da54c0d33e