Giter VIP home page Giter VIP logo

aiopixel's People

Watchers

 avatar  avatar

aiopixel's Issues

hypixelapi error

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'

Hypixel v3 issues

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.