palmtree5 / aiopixel Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Thank you for taking the time to come report an issue. To help with this, please fill out the following info. Feel free to include screenshots of error messages as needed.
Cog:
hypixelapi
Description of the problem:
error in command hypixel player
console log
[2019-07-21 17:50:01] [ERROR] red: Exception in command 'hypixel player'
Traceback (most recent call last):
File "c:\users\edgar\appdata\local\programs\python\python37-32\scripts\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\Edgar\AppData\Local\Red-DiscordBot\Red-DiscordBot2\cogs\CogManager\cogs\hpapi\hpapi.py", line 230, in hpplayer
player = await self.api_client.player_from_name(name)
File "C:\Users\Edgar\AppData\Local\Red-DiscordBot\Red-DiscordBot2\cogs\Downloader\lib\aiopixel\client.py", line 310, in player_from_name
return await self.player_from_uuid(uuid)
File "C:\Users\Edgar\AppData\Local\Red-DiscordBot\Red-DiscordBot2\cogs\Downloader\lib\aiopixel\client.py", line 350, in player_from_uuid
player_stats.append(getattr(stats, k + "Stats")(v))
AttributeError: module 'aiopixel.models.stats' has no attribute 'PitStats'
Cog:
Hypixel v3
Description of the problem:
When I run [p]hypixel player <name>
it returns this:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/discord/ext/commands/core.py", line 63, in wrapped
ret = await coro(*args, **kwargs)
File "/root/.local/share/Red-DiscordBot/cogs/CogManager/cogs/hpapi/hpapi.py", line 230, in hpplayer
player = await self.api_client.player_from_name(name)
File "/root/.local/share/Red-DiscordBot/cogs/Downloader/lib/aiopixel/client.py", line 310, in player_from_name
return await self.player_from_uuid(uuid)
File "/root/.local/share/Red-DiscordBot/cogs/Downloader/lib/aiopixel/client.py", line 355, in player_from_uuid
player_data["lastLogin"], player_data["karma"], player_data["networkExp"],
KeyError: 'karma'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/discord/ext/commands/bot.py", line 860, in invoke
await ctx.command.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/redbot/core/commands/commands.py", line 566, in invoke
await super().invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/discord/ext/commands/core.py", line 1127, in invoke
await ctx.invoked_subcommand.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/discord/ext/commands/core.py", line 698, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/usr/local/lib/python3.7/dist-packages/discord/ext/commands/core.py", line 72, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'karma'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.