Traceback (most recent call last):


 "D:/Project/account-adapter/imbox_downloader.py", line 61, in <module>

for uid, message in all_messages:


 "C:\Users\**\Miniconda3\lib\site-packages\imbox\__init__.py", line 50, in fetch_list

yield (uid, self.fetch_by_uid(uid))


 "C:\Users\**\Miniconda3\lib\site-packages\imbox\__init__.py", line 41, in fetch_by_uid

email_object = parse_email(raw_email)


 "C:\Users\**\Miniconda3\lib\site-packages\imbox\parser.py", line 160, in parse_email

attachment = parse_attachment(part)


 "C:\Users\**\Miniconda3\lib\site-packages\imbox\parser.py", line 102, in parse_attachment

name, value = decode_param(param)


 "C:\Users\**\Miniconda3\lib\site-packages\imbox\parser.py", line 74, in decode_param

value = base64.decodestring(code)


 "C:\Users\**\Miniconda3\lib\base64.py", line 560, in decodestring

return decodebytes(s)


 "C:\Users\**\Miniconda3\lib\base64.py", line 552, in decodebytes

_input_type_check(s)


 "C:\Users\**\Miniconda3\lib\base64.py", line 521, in _input_type_check

raise TypeError(msg) from err
TypeError: expected bytes-like object, not str

Traceback (most recent call last):


 "tuxemon.py", line 62, in <module>

main()


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/main.py", line 93, in main

control.main()


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/control.py", line 599, in main

self.main_loop()


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/control.py", line 656, in main_loop

self.event_engine.update(time_delta)


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventengine.py", line 326, in update

self.update_running_events(dt)


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventengine.py", line 388, in update_running_events

action = self.get_action(next_action.type, next_action.parameters)


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventengine.py", line 188, in get_action

return action(self.game, parameters)


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventaction.py", line 121, in __init__

values = self.cast_values(parameters)


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventaction.py", line 170, in cast_values

return list(map(cast, zip_longest(self.valid_parameters, parameters)))


 "/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventaction.py", line 164, in cast

return t[0](v)
TypeError: 'NoneType' object has no attribute '__getitem__'
