Skip to content

UnboundLocalError: cannot access local variable 'channel_name' where it is not associated with a value #78

@omgMath

Description

@omgMath

Hi.

Sadly I'm not sure how to exactly reproduce the error, but we somehow get UnboundLocalError: cannot access local variable 'channel_name' where it is not associated with a value raised from here.

Looking at the code above it, it seems the code fails here, meaning the channel_name variable is not initialized yet.

This seems to hide the true error which is a bit unfortunate.

If I see it correctly we could just move channel_name = uuid4().hex one line up and then should be fine?

Thanks for having a look.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions