Skip to content

TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>) #2874

@kyleboe

Description

@kyleboe

Expected Behavior

Bot will continue to run correctly.

Actual Behavior

After about an hour or so I get get the following error which causes the bot to crash:

Traceback (most recent call last):
  File "pokecli.py", line 501, in <module>
    main()
  File "pokecli.py", line 132, in main
    raise e
TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)

Steps to Reproduce

Let the bot run between 1-2 hours.

Other Information

OS: macOS El Cap 10.11.6
Git Commit: eeecbc6
Python Version: Python 2.7.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions