Porém o erro ainda persiste
(fibonacci_env) ➜ alura-space git:(master) ✗ python manage.py migrate
Traceback (most recent call last):
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/core/management/base.py", line 335, in execute
output = self.handle(*args, **options)
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 79, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/migrations/executor.py", line 18, in __init__
self.loader = MigrationLoader(self.connection)
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/migrations/loader.py", line 49, in __init__
self.build_graph()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/migrations/loader.py", line 206, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/migrations/recorder.py", line 61, in applied_migrations
if self.has_table():
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/migrations/recorder.py", line 44, in has_table
return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/base/base.py", line 255, in cursor
return self._cursor()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/base/base.py", line 232, in _cursor
self.ensure_connection()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
self.connect()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/base/base.py", line 194, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py", line 162, in get_new_connection
conn = Database.connect(**conn_params)
TypeError: argument 1 must be str, not PosixPath
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 22, in <module>
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
utility.execute()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/core/management/__init__.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/core/management/base.py", line 301, in run_from_argv
connections.close_all()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/utils.py", line 225, in close_all
connection.close()
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py", line 190, in close
if not self.is_in_memory_db():
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py", line 287, in is_in_memory_db
return self.creation.is_in_memory_db(self.settings_dict['NAME'])
File "/home/mmaia/projetos/alura-space/fibonacci_env/lib/python3.5/site-packages/django/db/backends/sqlite3/creation.py", line 13, in is_in_memory_db
return database_name == ':memory:' or 'mode=memory' in database_name
TypeError: argument of type 'PosixPath' is not iterable
Alguém pode me ajudar?