zorael / kameloso

IRC bot with Twitch support
Boost Software License 1.0
8 stars 3 forks source link

Twitch API queries fail under Windows #101

Closed zorael closed 4 years ago

zorael commented 4 years ago
[17:47:50] Failed to validate API keys. Disabling API features.
[17:47:50] kameloso.plugins.twitchbot.api.TwitchQueryException@source\kameloso\plugins\twitchbot\api.d(434): Failed to query Twitch
----------------
0x0000000140336726 in kameloso.plugins.twitchbot.api.queryTwitch at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\api.d(861)
0x000000014033717A in kameloso.plugins.twitchbot.api.getValidation at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\api.d(669)
0x000000014033DB82 in kameloso.plugins.twitchbot.onEndOfMotd.validationDg at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\package.d(1170)
0x00000001403F8940 in void core.thread.fiber.Fiber.run()
0x000000014044ED03 in fiber_entryPoint
0x00000001403F8D79 in pure nothrow @nogc void core.thread.fiber.Fiber.initStack().trampoline()
[17:47:52] Exception twitchbot.scheduledFibers[0]: Failed to query Twitch
[17:47:52] kameloso.plugins.twitchbot.api.TwitchQueryException@source\kameloso\plugins\twitchbot\api.d(434): Failed to query Twitch
----------------
0x0000000140336726 in kameloso.plugins.twitchbot.api.queryTwitch at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\api.d(861)
0x000000014033CFC8 in kameloso.plugins.twitchbot.onRoomState.getDisplayNameDg at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\package.d(960)
0x00000001403F8940 in void core.thread.fiber.Fiber.run()
0x000000014044ED03 in fiber_entryPoint
0x00000001403F8D79 in pure nothrow @nogc void core.thread.fiber.Fiber.initStack().trampoline()
[17:47:52] Exception twitchbot.scheduledFibers[1]: Failed to query Twitch
[17:47:52] kameloso.plugins.twitchbot.api.TwitchQueryException@source\kameloso\plugins\twitchbot\api.d(434): Failed to query Twitch
----------------
0x0000000140336726 in kameloso.plugins.twitchbot.api.queryTwitch at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\api.d(861)
0x000000014033CFC8 in kameloso.plugins.twitchbot.onRoomState.getDisplayNameDg at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\package.d(960)
0x00000001403F8940 in void core.thread.fiber.Fiber.run()
0x000000014044ED03 in fiber_entryPoint
0x00000001403F8D79 in pure nothrow @nogc void core.thread.fiber.Fiber.initStack().trampoline()
[17:48:45] Exception twitchbot.scheduledFibers[0]: Failed to query Twitch
[17:48:45] kameloso.plugins.twitchbot.api.TwitchQueryException@source\kameloso\plugins\twitchbot\api.d(434): Failed to query Twitch
----------------
0x0000000140336726 in kameloso.plugins.twitchbot.api.queryTwitch at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\api.d(861)
0x00000001403375CB in kameloso.plugins.twitchbot.api.cacheFollows at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\api.d(725)
0x000000014033EB5E in kameloso.plugins.twitchbot.periodically.dg.__foreachbody1 at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\package.d(1393)
0x00000001403FB2CE in aaApply2
0x000000014033EACC in kameloso.plugins.twitchbot.periodically.dg at C:\cygwin\home\zorael\src\kameloso\source\kameloso\plugins\twitchbot\package.d(1390)
0x00000001403F8940 in void core.thread.fiber.Fiber.run()
0x000000014044ED03 in fiber_entryPoint
0x00000001403F8D79 in pure nothrow @nogc void core.thread.fiber.Fiber.initStack().trampoline()
zorael commented 4 years ago

Should be "fixed" as of the instructions added in 755281c67eb5f7bcacc0189ed58ef61e51a6dec2.