ESTO ES LO QUE MUESTRA LA CONSOLA: (ES BASTANTE ILEGIBLE)
AL INICIAR EL SERVER:
C:\Projects\test\NoteCalc0.3>python manage.py runserver
Watching for file changes with StatReloader
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
February 17, 2023 - 15:37:26
Django version 2.2.3, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
AL INTRODUCIR LOS PRIMEROS DATOS ("1" y "a")
[17/Feb/2023 15:38:23] "GET / HTTP/1.1" 200 3001
[('1', 1, 'a')]
[17/Feb/2023 15:38:33] "POST / HTTP/1.1" 200 3499
Traceback (most recent call last):
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 138, in run
self.finish_response()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 196, in finish_response
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 111, in close
super().close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\simpl
e_server.py", line 38, in close
SimpleHandler.close(self)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 335, in close
self.result.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\http\response.py", line 252, in close
signals.request_finished.send(sender=self._handler_class)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 173, in send
return [
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 174, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\__init__.py", line 57, in close_old_connections
conn.close_if_unusable_or_obsolete()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\base\base.py", line 514, in close_if_unusable_or_obsolete
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 248, in close
if not self.is_in_memory_db():
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 367, in is_in_memory_db
return self.creation.is_in_memory_db(self.settings_dict['NAME'])
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\creation.py", line 12, in is_in_memory_db
return database_name == ':memory:' or 'mode=memory' in database_name
TypeError: argument of type 'WindowsPath' is not iterable
[17/Feb/2023 15:38:33] "POST / HTTP/1.1" 500 59
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60985)
Traceback (most recent call last):
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 138, in run
self.finish_response()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 196, in finish_response
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 111, in close
super().close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\simpl
e_server.py", line 38, in close
SimpleHandler.close(self)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 335, in close
self.result.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\http\response.py", line 252, in close
signals.request_finished.send(sender=self._handler_class)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 173, in send
return [
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 174, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\__init__.py", line 57, in close_old_connections
conn.close_if_unusable_or_obsolete()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\base\base.py", line 514, in close_if_unusable_or_obsolete
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 248, in close
if not self.is_in_memory_db():
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 367, in is_in_memory_db
return self.creation.is_in_memory_db(self.settings_dict['NAME'])
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\creation.py", line 12, in is_in_memory_db
return database_name == ':memory:' or 'mode=memory' in database_name
TypeError: argument of type 'WindowsPath' is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\socketserver.
py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\socketserver.
py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\socketserver.
py", line 720, in __init__
self.handle()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 171, in handle
self.handle_one_request()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 194, in handle_one_request
handler.run(self.server.get_app())
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 145, in run
self.handle_error()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 116, in handle_error
super().handle_error()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 382, in handle_error
self.finish_response()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 184, in finish_response
self.write(data)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 288, in write
self.send_headers()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 345, in send_headers
if not self.origin_server or self.client_is_modern():
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 358, in client_is_modern
return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable
----------------------------------------
AL INTRODUCIR LOS SEGUNDOS DATOS ("2" y "b"):
[('2', 2, 'b'), ['1', 1, 'a']]
[17/Feb/2023 15:40:25] "POST / HTTP/1.1" 200 3968
Traceback (most recent call last):
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 138, in run
self.finish_response()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 196, in finish_response
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 111, in close
super().close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\simpl
e_server.py", line 38, in close
SimpleHandler.close(self)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 335, in close
self.result.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\http\response.py", line 252, in close
signals.request_finished.send(sender=self._handler_class)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 173, in send
return [
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 174, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\__init__.py", line 57, in close_old_connections
conn.close_if_unusable_or_obsolete()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\base\base.py", line 514, in close_if_unusable_or_obsolete
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 248, in close
if not self.is_in_memory_db():
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 367, in is_in_memory_db
return self.creation.is_in_memory_db(self.settings_dict['NAME'])
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\creation.py", line 12, in is_in_memory_db
return database_name == ':memory:' or 'mode=memory' in database_name
TypeError: argument of type 'WindowsPath' is not iterable
[17/Feb/2023 15:40:25] "POST / HTTP/1.1" 500 59
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60992)
Traceback (most recent call last):
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 138, in run
self.finish_response()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 196, in finish_response
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 111, in close
super().close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\simpl
e_server.py", line 38, in close
SimpleHandler.close(self)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 335, in close
self.result.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\http\response.py", line 252, in close
signals.request_finished.send(sender=self._handler_class)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 173, in send
return [
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\dispatch\dispatcher.py", line 174, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\__init__.py", line 57, in close_old_connections
conn.close_if_unusable_or_obsolete()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\base\base.py", line 514, in close_if_unusable_or_obsolete
self.close()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 248, in close
if not self.is_in_memory_db():
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\base.py", line 367, in is_in_memory_db
return self.creation.is_in_memory_db(self.settings_dict['NAME'])
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\db\backends\sqlite3\creation.py", line 12, in is_in_memory_db
return database_name == ':memory:' or 'mode=memory' in database_name
TypeError: argument of type 'WindowsPath' is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\socketserver.
py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\socketserver.
py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\socketserver.
py", line 720, in __init__
self.handle()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 169, in handle
self.handle_one_request()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 194, in handle_one_request
handler.run(self.server.get_app())
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 145, in run
self.handle_error()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\site-packages
\django\core\servers\basehttp.py", line 116, in handle_error
super().handle_error()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 382, in handle_error
self.finish_response()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 184, in finish_response
self.write(data)
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 288, in write
self.send_headers()
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 345, in send_headers
if not self.origin_server or self.client_is_modern():
File "C:\Users\BCH\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\handl
ers.py", line 358, in client_is_modern
return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable
----------------------------------------
Y NO ENTRAN MÁS CARACTERES.