Traceback (most recent call last):


 "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib64/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/chris/Projects/discord-fate-bot/discord_fate_bot/__main__.py", line 15, in <module>

bot.load_extension('.extensions.error_handling')


 "/home/chris/.local/share/virtualenvs/discord-fate-bot-MUSnTVTS/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 621, in load_extension

lib = importlib.import_module(name)


 "/home/chris/.local/share/virtualenvs/discord-fate-bot-MUSnTVTS/lib64/python3.7/importlib/__init__.py", line 122, in import_module

raise TypeError(msg.format(name))
TypeError: the 'package' argument is required to perform a relative import for '.extensions.error_handling'

Traceback (most recent call last):


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/Users/jeanne/Documents/my_app_dir/my_app/tamamo/views.py", line 32, in gogo_signup

fm.save()


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/contrib/auth/forms.py", line 121, in save

user.save()


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/contrib/auth/base_user.py", line 66, in save

super().save(*args, **kwargs)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/base.py", line 741, in save

force_update=force_update, update_fields=update_fields)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/base.py", line 790, in save_base

update_fields=update_fields, raw=raw, using=using,


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/dispatch/dispatcher.py", line 175, in send

for receiver in self._live_receivers(sender)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/dispatch/dispatcher.py", line 175, in <listcomp>

for receiver in self._live_receivers(sender)


 "/Users/jeanne/Documents/my_app/my_app/tamamo/signals.py", line 15, in save_profile

instance.memberprofile.save()


 "/Users/jeanne/Documents/my_app_dir/my_app/tamamo/models.py", line 54, in save

super().save(*args, **kwargs)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/base.py", line 741, in save

force_update=force_update, update_fields=update_fields)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/base.py", line 779, in save_base

force_update, using, update_fields,


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/base.py", line 851, in _save_table

forced_update)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/base.py", line 880, in _do_update

filtered = base_qs.filter(pk=pk_val)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/query.py", line 892, in filter

return self._filter_or_exclude(False, *args, **kwargs)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/query.py", line 910, in _filter_or_exclude

clone.query.add_q(Q(*args, **kwargs))


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1290, in add_q

clause, _ = self._add_q(q_object, self.used_aliases)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1318, in _add_q

split_subq=split_subq, simple_col=simple_col,


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1251, in build_filter

condition = self.build_lookup(lookups, col, value)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1116, in build_lookup

lookup = lookup_class(lhs, rhs)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/lookups.py", line 20, in __init__

self.rhs = self.get_prep_lookup()


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/lookups.py", line 70, in get_prep_lookup

return self.lhs.output_field.get_prep_value(self.rhs)


 "/Users/jeanne/Env/hgg_env/lib/python3.7/site-packages/django/db/models/fields/__init__.py", line 966, in get_prep_value

return int(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'ObjectId'
