[2025-02-27 19:25:06,762][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: warehouse The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset self.page = paginator.page(page_number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page number = self.validate_number(number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number if number > self.num_pages: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages if self.count == 0 and not self.allow_empty_first_page: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count return c() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count return self.query.get_count(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count return obj.get_aggregation(using, ["__count"])["__count"] File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation result = compiler.execute_sql(SINGLE) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: warehouse [2025-02-27 19:25:13,560][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: warehouse The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset self.page = paginator.page(page_number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page number = self.validate_number(number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number if number > self.num_pages: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages if self.count == 0 and not self.allow_empty_first_page: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count return c() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count return self.query.get_count(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count return obj.get_aggregation(using, ["__count"])["__count"] File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation result = compiler.execute_sql(SINGLE) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: warehouse [2025-02-28 10:56:42,709][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: warehouse The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset self.page = paginator.page(page_number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page number = self.validate_number(number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number if number > self.num_pages: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages if self.count == 0 and not self.allow_empty_first_page: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count return c() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count return self.query.get_count(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count return obj.get_aggregation(using, ["__count"])["__count"] File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation result = compiler.execute_sql(SINGLE) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: warehouse [2025-02-28 10:59:12,958][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: warehouse The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset self.page = paginator.page(page_number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page number = self.validate_number(number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number if number > self.num_pages: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages if self.count == 0 and not self.allow_empty_first_page: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count return c() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count return self.query.get_count(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count return obj.get_aggregation(using, ["__count"])["__count"] File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation result = compiler.execute_sql(SINGLE) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: warehouse [2025-02-28 10:59:24,215][django.request.log_response():241] [ERROR] Internal Server Error: /register/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: user_profile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists(): File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists return self.query.has_results(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results return compiler.has_results() File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results return bool(self.execute_sql(SINGLE)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: user_profile [2025-02-28 11:06:01,105][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: warehouse The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset self.page = paginator.page(page_number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page number = self.validate_number(number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number if number > self.num_pages: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages if self.count == 0 and not self.allow_empty_first_page: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count return c() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count return self.query.get_count(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count return obj.get_aggregation(using, ["__count"])["__count"] File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation result = compiler.execute_sql(SINGLE) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: warehouse [2025-02-28 11:06:36,929][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/multiple/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: warehouse The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 204, in paginate_queryset self.page = paginator.page(page_number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 75, in page number = self.validate_number(number) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 53, in validate_number if number > self.num_pages: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 102, in num_pages if self.count == 0 and not self.allow_empty_first_page: File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 96, in count return c() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 621, in count return self.query.get_count(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 559, in get_count return obj.get_aggregation(using, ["__count"])["__count"] File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 544, in get_aggregation result = compiler.execute_sql(SINGLE) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: warehouse [2025-02-28 11:09:28,852][django.request.log_response():241] [ERROR] Internal Server Error: /register/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: user_profile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists(): File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists return self.query.has_results(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results return compiler.has_results() File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results return bool(self.execute_sql(SINGLE)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: user_profile [2025-02-28 11:10:28,041][django.request.log_response():241] [ERROR] Internal Server Error: /register/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: user_profile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register if Users.objects.filter(name=str(data['name']), developer=1, is_delete=0).exists(): File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists return self.query.has_results(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results return compiler.has_results() File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results return bool(self.execute_sql(SINGLE)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: user_profile [2025-02-28 11:22:16,975][django.request.log_response():241] [ERROR] Internal Server Error: /register/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: user_profile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register # 检查是否存在名为 data['name'] 的开发者用户且未被删除 File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists return self.query.has_results(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results return compiler.has_results() File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results return bool(self.execute_sql(SINGLE)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: user_profile [2025-02-28 11:22:22,226][django.request.log_response():241] [ERROR] Internal Server Error: /register/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: user_profile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register # 检查是否存在名为 data['name'] 的开发者用户且未被删除 File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists return self.query.has_results(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results return compiler.has_results() File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results return bool(self.execute_sql(SINGLE)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: user_profile [2025-02-28 11:24:32,849][django.request.log_response():241] [ERROR] Internal Server Error: /register/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such table: user_profile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./userregister/views.py", line 63, in register # 检查是否存在名为 data['name'] 的开发者用户且未被删除 File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1225, in exists return self.query.has_results(using=self.db) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 592, in has_results return compiler.has_results() File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1366, in has_results return bool(self.execute_sql(SINGLE)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: user_profile [2025-02-28 15:21:53,672][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted [2025-02-28 20:51:02,628][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted [2025-02-28 22:30:32,193][django.security.SuspiciousSession.decode():108] [WARNING] Session data corrupted [2025-02-28 23:10:38,459][django.request.log_response():241] [WARNING] Not Found: /stock/stockbinlist [2025-02-28 23:11:22,350][django.request.log_response():241] [WARNING] Not Found: /stock/emptybin [2025-03-01 13:13:22,891][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 69, in create def create(self, request, *args, **kwargs): KeyError: 'warehouse_name' [2025-03-01 13:19:06,717][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 68, in create File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__ self._assert_mutable() File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable raise AttributeError("This QueryDict instance is immutable") AttributeError: This QueryDict instance is immutable [2025-03-01 13:33:37,542][django.request.log_response():241] [ERROR] Internal Server Error: /warehouse/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/greater_wms/./warehouse/views.py", line 68, in create File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 526, in __setitem__ self._assert_mutable() File "/usr/local/lib/python3.10/dist-packages/django/http/request.py", line 523, in _assert_mutable raise AttributeError("This QueryDict instance is immutable") AttributeError: This QueryDict instance is immutable [2025-03-01 14:18:07,094][django.request.log_response():241] [WARNING] Not Found: /warehouse_1/ [2025-03-10 19:59:30,989][django.request.log_response():241] [WARNING] Not Found: /dashboard/ [2025-03-10 19:59:34,904][django.request.log_response():241] [WARNING] Not Found: /dashboard/ [2025-03-12 15:23:43,311][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:23:45,231][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:23:45,234][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:23:51,359][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:23:52,259][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:23:52,275][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:24:03,304][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:24:03,313][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:24:22,409][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:24:22,424][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:24:57,499][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 15:24:58,923][django.request.log_response():241] [WARNING] Not Found: /sockjs-node/info [2025-03-12 20:51:21,094][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-12 20:52:08,884][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-12 20:52:20,960][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-12 22:37:39,830][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-12 22:37:44,179][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-13 10:50:38,257][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-13 10:56:25,952][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 10:57:23,167][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 10:58:01,494][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 11:01:20,743][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 11:07:09,331][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 11:07:16,578][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 21:36:36,576][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 21:36:39,157][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 21:36:42,406][django.request.log_response():241] [WARNING] Not Found: /warehouse/ [2025-03-13 21:36:48,663][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 21:37:04,044][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 21:37:21,724][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 21:38:03,849][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 21:43:05,840][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:01:36,666][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:01:50,931][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:04:07,813][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:04:31,578][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:06:59,285][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:12:25,717][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:12:37,838][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:30:50,626][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:30:55,264][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:30:59,647][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-13 22:31:26,119][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create check_code = random.randint(1000, 9999) NameError: name 'random' is not defined [2025-03-13 22:31:34,462][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create check_code = random.randint(1000, 9999) NameError: name 'random' is not defined [2025-03-13 22:32:16,714][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 119, in create check_code = random.randint(1000, 9999) NameError: name 'random' is not defined [2025-03-13 22:33:09,371][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 120, in create staff.objects.create(staff_name=str(data['staff_name']), NameError: name 'staff' is not defined [2025-03-13 22:33:12,904][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 120, in create staff.objects.create(staff_name=str(data['staff_name']), NameError: name 'staff' is not defined [2025-03-14 10:06:47,430][django.request.log_response():241] [WARNING] Not Found: /staff/1/get [2025-03-14 11:25:14,368][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: staff.group_id The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset return list(self.page) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__ return len(self.object_list) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such column: staff.group_id [2025-03-14 11:25:18,672][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: staff.group_id The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset return list(self.page) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__ return len(self.object_list) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such column: staff.group_id [2025-03-14 11:25:20,078][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: staff.group_id The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset return list(self.page) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__ return len(self.object_list) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such column: staff.group_id [2025-03-14 11:25:39,687][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: staff.group_id The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset return list(self.page) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__ return len(self.object_list) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such column: staff.group_id [2025-03-14 11:25:42,559][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 11:25:42,605][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: staff.group_id The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset return list(self.page) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__ return len(self.object_list) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such column: staff.group_id [2025-03-14 11:25:42,622][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: staff.group_id The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset return list(self.page) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__ return len(self.object_list) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such column: staff.group_id [2025-03-14 11:25:49,761][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) sqlite3.OperationalError: no such column: staff.group_id The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 50, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset return list(self.page) File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__ return len(self.object_list) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 376, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1866, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 87, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 103, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/dist-packages/django/db/backends/sqlite3/base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such column: staff.group_id [2025-03-14 11:37:13,619][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 11:37:22,315][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 11:37:25,483][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 11:37:37,221][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:04:22,541][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:04:45,609][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:04:48,366][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:35:25,405][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:36:31,183][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:36:40,906][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:37:39,646][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:37:50,206][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:37:57,781][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:39:20,465][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:41:20,108][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:41:34,125][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:42:16,984][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:42:24,816][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:43:04,207][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:46:20,027][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:47:44,445][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:47:51,761][django.request.log_response():241] [ERROR] Internal Server Error: /login/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 32, in login "appid": staff_detail.app_id, AttributeError: 'ListModel' object has no attribute 'app_id' [2025-03-14 14:48:22,914][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:49:38,845][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 14:52:52,158][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:11:44,097][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:11:52,055][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:11:56,885][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:12:22,078][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:12:34,790][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:13:25,204][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-14 15:13:26,719][django.request.log_response():241] [WARNING] Not Found: /dn/list/ [2025-03-14 15:13:28,211][django.request.log_response():241] [WARNING] Not Found: /warehouse/ [2025-03-14 15:13:32,887][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-14 15:13:34,178][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-14 15:27:22,119][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:41:21,413][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:42:32,081][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:45:45,374][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:48:11,654][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:48:19,097][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:48:24,047][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 15:59:50,156][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:02:58,460][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch self.initial(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial self.perform_authentication(request) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication request.user File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user self._authenticate() File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate user_auth_tuple = authenticator.authenticate(self) File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate user = staffs.objects.filter(openid__exact=str(token)).first() NameError: name 'staffs' is not defined [2025-03-14 16:03:00,545][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch self.initial(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial self.perform_authentication(request) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication request.user File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user self._authenticate() File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate user_auth_tuple = authenticator.authenticate(self) File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate user = staffs.objects.filter(openid__exact=str(token)).first() NameError: name 'staffs' is not defined [2025-03-14 16:03:17,681][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 497, in dispatch self.initial(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 414, in initial self.perform_authentication(request) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 324, in perform_authentication request.user File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 227, in user self._authenticate() File "/usr/local/lib/python3.10/dist-packages/rest_framework/request.py", line 380, in _authenticate user_auth_tuple = authenticator.authenticate(self) File "/home/flower/code/vue_ws/goods_wms/./utils/auth.py", line 14, in authenticate user = staffs.objects.filter(openid__exact=str(token)).first() NameError: name 'staffs' is not defined [2025-03-14 16:04:11,290][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:04:21,291][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:04:52,163][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:25:13,809][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:36:51,879][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:40:29,989][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:44:08,592][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:46:18,620][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:50:16,125][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 16:50:37,768][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 17:11:26,865][django.request.log_response():241] [ERROR] Internal Server Error: /login/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 48, in login auth.login(request, user) File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/__init__.py", line 144, in login user_logged_in.send(sender=user.__class__, request=request, user=user) File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 176, in send return [ File "/usr/local/lib/python3.10/dist-packages/django/dispatch/dispatcher.py", line 177, in (receiver, receiver(signal=self, sender=sender, **named)) File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 23, in update_last_login user.save(update_fields=["last_login"]) File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 795, in save raise ValueError( ValueError: The following fields do not exist in this model, are m2m fields, or are non-concrete fields: last_login [2025-03-14 17:22:24,195][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 17:28:18,321][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 17:28:31,039][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:43:31,977][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:43:38,128][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:44:10,720][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:44:25,826][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 121, in create user = User.objects.create_user(username=str(data['staff_name']), File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 161, in create_user return self._create_user(username, email, password, **extra_fields) File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 154, in _create_user user.password = make_password(password) File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/hashers.py", line 86, in make_password raise TypeError( TypeError: Password must be a string or bytes, got int. [2025-03-14 20:44:31,078][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 121, in create user = User.objects.create_user(username=str(data['staff_name']), File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 161, in create_user return self._create_user(username, email, password, **extra_fields) File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/models.py", line 154, in _create_user user.password = make_password(password) File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/hashers.py", line 86, in make_password raise TypeError( TypeError: Password must be a string or bytes, got int. [2025-03-14 20:47:11,284][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:55:54,959][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:58:48,810][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:59:00,909][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 20:59:11,738][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:01:29,478][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:03:41,280][django.request.log_response():241] [ERROR] Internal Server Error: /register/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userregister/views.py", line 19, in register post_data = json.loads(request.body.decode()) File "/usr/lib/python3.10/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 2 (char 35) [2025-03-14 21:05:51,560][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:07:49,193][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:08:29,157][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:08:41,184][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:10:47,058][django.request.log_response():241] [ERROR] Internal Server Error: /login/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id AttributeError: 'NoneType' object has no attribute 'openid' [2025-03-14 21:11:07,084][django.request.log_response():241] [ERROR] Internal Server Error: /login/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id AttributeError: 'NoneType' object has no attribute 'openid' [2025-03-14 21:11:24,677][django.request.log_response():241] [ERROR] Internal Server Error: /login/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login staff_id = staff.objects.filter(openid=user_detail.openid, staff_name=str(user_detail.name)).first().id AttributeError: 'NoneType' object has no attribute 'openid' [2025-03-14 21:18:48,585][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:20:43,308][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:21:56,985][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:22:13,409][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:22:21,563][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:22:27,218][django.request.log_response():241] [ERROR] Internal Server Error: /login/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 28, in login data = { AttributeError: 'NoneType' object has no attribute 'openid' [2025-03-14 21:23:01,370][django.request.log_response():241] [ERROR] Internal Server Error: /login/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./userlogin/views.py", line 27, in login staff_detail = staff.objects.filter(staff_name=str(user_detail.name)).first() NameError: name 'user_detail' is not defined [2025-03-14 21:23:39,383][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:23:44,482][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:28:59,181][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 21:52:28,140][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 38, in list queryset = self.filter_queryset(self.get_queryset()) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 94, in get_queryset del self.fields['check_code'] AttributeError: 'APIViewSet' object has no attribute 'fields' [2025-03-14 22:04:28,496][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 42, in list serializer = self.get_serializer(page, many=True) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 178, in get_serializer if 'check_code' in serializer.fields: AttributeError: 'ListSerializer' object has no attribute 'fields' [2025-03-14 22:10:57,990][django.request.log_response():241] [ERROR] Internal Server Error: /staff/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./staff/views.py", line 78, in list return super().list(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1164, in get_field_names assert field_name not in self._declared_fields, ( AssertionError: Cannot both declare the field 'check_code' and include it in the userStaffGetSerializer 'exclude' option. Remove the field or, if inherited from a parent serializer, disable with `check_code = None`. [2025-03-14 22:13:34,574][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 22:13:56,327][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-14 22:14:31,905][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-14 22:14:31,913][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 22:29:08,955][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 22:29:12,510][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-14 22:29:13,492][django.request.log_response():241] [WARNING] Not Found: /dn/list/ [2025-03-14 22:54:48,492][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 22:56:00,428][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 22:56:21,902][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 22:56:25,044][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-14 22:56:29,449][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:37:09,303][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:41:38,560][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:44:11,069][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:44:17,884][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:44:37,180][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:44:41,300][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:45:30,925][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 14:51:36,442][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 15:20:21,544][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 16:09:08,613][django.request.log_response():241] [WARNING] Not Found: /stock/management/ [2025-03-15 16:09:22,781][django.request.log_response():241] [WARNING] Not Found: /stock/management/ [2025-03-15 16:17:35,904][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 16:17:50,416][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 16:18:20,970][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 83, in create serializer = self.get_serializer(data=request.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 108, in get_serializer serializer_class = self.get_serializer_class() File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 78, in get_serializer_class return serializers.stockShelfSerializer AttributeError: module 'stock.serializers' has no attribute 'stockShelfSerializer' [2025-03-15 16:23:35,107][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create serializer.is_valid(raise_exception=True) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid self._validated_data = self.run_validation(self.initial_data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation value = self.to_internal_value(data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'row' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field. [2025-03-15 16:24:34,969][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create serializer.is_valid(raise_exception=True) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid self._validated_data = self.run_validation(self.initial_data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation value = self.to_internal_value(data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1124, in get_field_names assert not (fields is None and exclude is None), ( AssertionError: ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = '__all__' to the stockShelfSerializer serializer.",) [2025-03-15 16:26:45,259][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 79, in create serializer = self.get_serializer(data=request.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 108, in get_serializer serializer_class = self.get_serializer_class() File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 122, in get_serializer_class assert self.serializer_class is not None, ( AssertionError: 'stockshelfViewSet' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method. [2025-03-15 16:33:14,414][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 16:33:36,708][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 16:34:01,764][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create serializer.is_valid(raise_exception=True) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid self._validated_data = self.run_validation(self.initial_data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation value = self.to_internal_value(data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'ip' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field. [2025-03-15 16:35:14,837][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 84, in create serializer.is_valid(raise_exception=True) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 227, in is_valid self._validated_data = self.run_validation(self.initial_data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 426, in run_validation value = self.to_internal_value(data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 479, in to_internal_value for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 362, in _writable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'ip_address' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field. [2025-03-15 16:43:42,844][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 86, in create return Response(request.data, status=200, headers=headers) NameError: name 'headers' is not defined [2025-03-15 16:48:29,330][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 110, in create instance = shelflist( File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__ raise TypeError( TypeError: StockshelfModel() got unexpected keyword arguments: 'shelf_rows', 'shelf_cols', 'shelf_layers' [2025-03-15 16:50:58,170][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create with transaction.atomic(): NameError: name 'transaction' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 128, in create status=status.HTTP_500_INTERNAL_SERVER_ERROR NameError: name 'status' is not defined [2025-03-15 16:51:36,437][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create with transaction.atomic(): NameError: name 'transaction' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 128, in create status=status.HTTP_500_INTERNAL_SERVER_ERROR NameError: name 'status' is not defined [2025-03-15 16:52:26,278][django.request.log_response():241] [WARNING] Bad Request: /stock/management/ [2025-03-15 16:54:42,141][django.request.log_response():241] [WARNING] Bad Request: /stock/management/ [2025-03-15 16:58:10,934][django.request.log_response():241] [WARNING] Bad Request: /stock/management/ [2025-03-15 17:01:56,017][django.request.log_response():241] [WARNING] Bad Request: /stock/management/ [2025-03-15 17:02:09,481][django.request.log_response():241] [WARNING] Bad Request: /stock/management/ [2025-03-15 17:04:02,130][django.request.log_response():241] [WARNING] Bad Request: /stock/management/ [2025-03-15 17:04:16,401][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ [2025-03-15 17:15:57,951][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 123, in create if instance.is_created(): AttributeError: 'StockshelfModel' object has no attribute 'is_created' [2025-03-15 17:20:20,387][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 104, in create existing_positions = shelflist.get_existing_positions(shelf_name, rows, cols, layers) AttributeError: type object 'StockshelfModel' has no attribute 'get_existing_positions' [2025-03-15 17:21:54,421][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 104, in create existing_positions = shelflist.get_existing_positions(shelf_name, rows, cols, layers) AttributeError: type object 'StockshelfModel' has no attribute 'get_existing_positions' [2025-03-15 17:40:24,143][django.request.log_response():241] [WARNING] Not Found: /warehouse/multiple/ [2025-03-15 17:45:20,232][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 18:04:14,418][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 106, in create instances.append(shelflist( File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__ raise TypeError( TypeError: StockshelfModel() got unexpected keyword arguments: 'stock_type' [2025-03-15 18:06:02,460][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 106, in create instances.append(shelflist( File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__ raise TypeError( TypeError: StockshelfModel() got unexpected keyword arguments: 'stock_type' [2025-03-15 19:14:23,394][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/flower/code/vue_ws/goods_wms/./stock/views.py", line 114, in create instances.append(shelflist( File "/usr/local/lib/python3.10/dist-packages/django/db/models/base.py", line 565, in __init__ raise TypeError( TypeError: StockshelfModel() got unexpected keyword arguments: 'total_rows', 'total_cols', 'total_layers' [2025-03-15 19:15:05,402][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ [2025-03-15 19:21:54,504][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 19:29:05,761][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 20:46:21,692][django.request.log_response():241] [WARNING] Not Found: /stock/management/1/ [2025-03-15 20:49:15,791][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/1/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 511, in dispatch self.response = self.finalize_response(request, response, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 423, in finalize_response assert isinstance(response, HttpResponseBase), ( AssertionError: Expected a `Response`, `HttpResponse` or `HttpStreamingResponse` to be returned from the view, but received a `` [2025-03-15 20:49:50,626][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1/ [2025-03-15 20:50:21,987][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1/ [2025-03-15 20:50:33,824][django.request.log_response():241] [WARNING] Bad Request: /stock/management/6/ [2025-03-15 21:44:29,330][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 22:05:11,516][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/ [2025-03-15 22:13:57,683][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/ [2025-03-15 22:15:50,587][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/ [2025-03-15 22:17:02,750][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/ [2025-03-15 22:17:27,689][django.request.log_response():241] [WARNING] Bad Request: /stock/management/1127/ [2025-03-15 22:56:36,633][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 22:56:37,641][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 22:56:39,237][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 23:10:44,521][django.request.log_response():241] [WARNING] Not Found: /stock/management/shelf/2186/ [2025-03-15 23:10:56,959][django.request.log_response():241] [WARNING] Not Found: /stock/management/shelf/2186/ [2025-03-15 23:16:32,491][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:16:33,239][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:16:34,653][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:16:35,491][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-15 23:16:36,637][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-15 23:16:40,811][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 23:16:44,846][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 23:17:03,573][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:17:21,787][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:17:26,221][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:17:27,026][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:17:27,760][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-15 23:17:28,390][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-15 23:17:29,162][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-15 23:17:29,702][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-15 23:17:36,348][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:17:37,131][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:17:37,650][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-15 23:17:38,189][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-15 23:17:38,727][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-15 23:17:39,267][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-15 23:17:39,737][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-15 23:17:42,694][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 23:17:44,169][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:17:45,107][django.request.log_response():241] [WARNING] Not Found: /dn/list/ [2025-03-15 23:17:45,955][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-15 23:17:50,723][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:17:53,947][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:17:55,155][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:18:02,866][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:18:06,871][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:18:12,970][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:18:20,867][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-15 23:18:25,591][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-15 23:18:29,558][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 12:00:48,806][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 12:00:52,623][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 12:00:53,786][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 12:00:54,648][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-16 12:00:55,336][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 12:00:56,281][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 13:54:47,764][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:55:09,046][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:55:11,118][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:55:11,934][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:55:13,114][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:55:14,686][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-16 13:55:17,340][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 13:55:19,973][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 13:55:20,758][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-16 13:55:23,251][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:56:44,305][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 13:57:18,119][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 13:57:27,421][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 13:57:45,264][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:57:46,981][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:57:47,925][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:57:49,886][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 13:57:50,441][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 13:57:51,913][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-16 13:57:53,327][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 13:57:54,974][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 13:57:56,905][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 13:57:58,375][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-16 13:58:03,430][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:59:22,005][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 13:59:28,331][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:00:05,411][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:00:40,923][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:00:48,274][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:01:04,614][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:02:05,550][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:03:24,407][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-16 14:03:28,187][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:03:29,025][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-16 14:03:39,864][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:03:54,632][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:03:55,387][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-16 14:03:57,958][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:04:03,248][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:04:06,129][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-16 14:04:08,502][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:04:09,047][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:04:22,775][django.request.log_response():241] [WARNING] Not Found: /binproperty/ [2025-03-16 14:04:50,852][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:05:01,994][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:05:04,836][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:05:06,039][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:05:06,947][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:05:31,787][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:05:32,844][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:05:33,746][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:05:34,347][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:05:35,303][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:05:40,938][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:05:43,442][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-16 14:05:44,432][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:05:49,732][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:06:56,771][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:07:00,134][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:07:07,234][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:07:33,729][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:07:42,834][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:08:18,299][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:08:19,219][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-16 14:08:20,214][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 14:08:20,835][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:08:21,426][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:08:22,721][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:08:28,690][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:08:53,408][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:17:39,755][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:17:41,709][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 14:17:42,827][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:18:49,865][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:24:49,596][django.request.log_response():241] [WARNING] Not Found: /stock/bin/ [2025-03-16 14:41:36,955][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field. [2025-03-16 14:41:38,092][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field. [2025-03-16 14:42:39,695][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 14:42:41,265][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field. [2025-03-16 14:44:47,940][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'goods_batchgoods_std' was included on serializer stocklistSerializer in the 'exclude' option, but does not match any model field. [2025-03-16 14:46:10,116][django.request.log_response():241] [ERROR] Internal Server Error: /stock/bin/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'goods_batchgoods_std' was included on serializer stocklistSerializer in the 'exclude' option, but does not match any model field. [2025-03-16 14:52:42,946][django.request.log_response():241] [ERROR] Internal Server Error: /stock/management/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 507, in to_representation for field in fields: File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 368, in _readable_fields for field in self.fields.values(): File "/usr/local/lib/python3.10/dist-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 356, in fields for key, value in self.get_fields().items(): File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1052, in get_fields field_names = self.get_field_names(declared_fields, info) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 1175, in get_field_names assert field_name in fields, ( AssertionError: The field 'empty_labelshelf_department' was included on serializer stockShelfSerializer in the 'exclude' option, but does not match any model field. [2025-03-16 14:54:19,838][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 15:00:14,053][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 15:00:17,040][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 15:01:31,146][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 15:01:34,032][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 17:09:21,861][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 17:09:32,497][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 17:09:33,317][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 17:29:53,325][django.request.log_response():241] [WARNING] Not Found: /binset/ [2025-03-16 17:32:05,198][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 17:32:09,904][django.request.log_response():241] [WARNING] Not Found: /cyclecount/manualcyclecount/ [2025-03-16 17:32:11,567][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 17:32:13,154][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 17:32:31,444][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 17:32:41,750][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-16 17:33:46,980][django.request.log_response():241] [WARNING] Not Found: /dn/list/ [2025-03-16 17:33:47,695][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 17:33:48,909][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 17:34:00,206][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 17:35:04,030][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 17:35:05,515][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 17:36:43,735][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-16 17:36:45,882][django.request.log_response():241] [WARNING] Not Found: /dn/list/ [2025-03-16 17:36:47,261][django.request.log_response():241] [WARNING] Not Found: /stock/list/ [2025-03-16 17:37:44,462][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 17:37:45,415][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 17:38:05,094][django.request.log_response():241] [WARNING] Not Found: /asn/list/ [2025-03-16 17:39:00,434][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 17:39:01,656][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 17:40:44,860][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 17:46:35,691][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 19:32:45,590][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 19:32:47,629][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 19:33:56,137][django.request.log_response():241] [WARNING] Not Found: /reportcenter/flow/ [2025-03-16 19:35:15,500][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation ret[field.field_name] = field.to_representation(attribute) File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation return int(value) ValueError: invalid literal for int() with base 10: '' [2025-03-16 19:36:46,324][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation ret[field.field_name] = field.to_representation(attribute) File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation return int(value) ValueError: invalid literal for int() with base 10: '' [2025-03-16 19:40:38,901][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation ret[field.field_name] = field.to_representation(attribute) File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation return int(value) ValueError: invalid literal for int() with base 10: '' [2025-03-16 19:41:34,080][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 19:41:39,104][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 19:41:55,154][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 19:42:29,235][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation ret[field.field_name] = field.to_representation(attribute) File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation return int(value) ValueError: invalid literal for int() with base 10: '' [2025-03-16 19:52:56,036][django.request.log_response():241] [WARNING] Not Found: /cyclecount/qtyrecorviewset/ [2025-03-16 19:52:57,886][django.request.log_response():241] [WARNING] Not Found: /goods/ [2025-03-16 19:53:08,274][django.request.log_response():241] [ERROR] Internal Server Error: /reportcenter/flow/ Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 472, in thread_handler raise exc_info[1] File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 253, in _get_response_async response = await wrapped_callback( File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 435, in __call__ ret = await asyncio.wait_for(future, timeout=None) File "/usr/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/dist-packages/asgiref/sync.py", line 476, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/rest_framework/mixins.py", line 43, in list return self.get_paginated_response(serializer.data) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 768, in data ret = super().data File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance) File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 686, in to_representation return [ File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 687, in self.child.to_representation(item) for item in iterable File "/usr/local/lib/python3.10/dist-packages/rest_framework/serializers.py", line 522, in to_representation ret[field.field_name] = field.to_representation(attribute) File "/usr/local/lib/python3.10/dist-packages/rest_framework/fields.py", line 915, in to_representation return int(value) ValueError: invalid literal for int() with base 10: '无'