Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot won't run #58

Closed
asdfjkluiop opened this issue Dec 27, 2019 · 4 comments
Closed

Bot won't run #58

asdfjkluiop opened this issue Dec 27, 2019 · 4 comments

Comments

@asdfjkluiop
Copy link

Describe the bug
When attempting to run the bot I get

Traceback (most recent call last):
  File "mumbleBot.py", line 888, in <module>
    botamusique = MumbleBot(args)
  File "mumbleBot.py", line 145, in __init__
    self.set_comment()
  File "mumbleBot.py", line 816, in set_comment
    self.mumble.users.myself.comment(var.config.get('bot', 'comment'))
AttributeError: 'NoneType' object has no attribute 'comment'

To Reproduce
Steps to reproduce the behavior:

  1. Setup the latest bot
  2. Copy config over to configuration.ini
  3. Run bot
@azlux
Copy link
Owner

azlux commented Dec 27, 2019

Hi,
This error means the bot was not able to connect the mumble server and create the mumble python object.
I really need to make a better error in this case

azlux added a commit to azlux/pymumble that referenced this issue Dec 27, 2019
@asdfjkluiop
Copy link
Author

asdfjkluiop commented Dec 27, 2019

Hmmmm, so I did a bit of looking around and it looks like AF_INET6 is not set on the socket created by pymumble and my mumble server is IPv6 exclusive. That might explain the inability to connect. I'll go open a bug report there about this issue and leave this here as an enhancement related to the error.

EDIT: That's not the only issue I'm having as changing it temporarily for testing still fails. Might be something with my cert. I'm going to keep poking around to see if I can't figure out the issue.

azlux added a commit that referenced this issue Dec 28, 2019
@azlux
Copy link
Owner

azlux commented Dec 28, 2019

Should be good now.
Please try to update the submodule, instructions here : https://github.com/azlux/botamusique#update

@azlux
Copy link
Owner

azlux commented Dec 28, 2019

If you need help. You can enable debug mode or contact me on #mumble on freenode.

@azlux azlux closed this as completed Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants