You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/app/.local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/app/.local/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/app/.local/lib/python3.10/site-packages/django/contrib/auth/decorators.py", line 60, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/app/./apps/web/views/ai/flux_model.py", line 259, in flux_model_upload_photos_view
photo.save()
File "/app/.local/lib/python3.10/site-packages/django/db/models/base.py", line 891, in save
self.save_base(
File "/app/.local/lib/python3.10/site-packages/django/db/models/base.py", line 997, in save_base
updated = self._save_table(
File "/app/.local/lib/python3.10/site-packages/django/db/models/base.py", line 1160, in _save_table
results = self._do_insert(
File "/app/.local/lib/python3.10/site-packages/django/db/models/base.py", line 1201, in _do_insert
return manager._insert(
File "/app/.local/lib/python3.10/site-packages/django/db/models/manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/app/.local/lib/python3.10/site-packages/django/db/models/query.py", line 1847, in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
File "/app/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1835, in execute_sql
for sql, params in self.as_sql():
File "/app/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1758, in as_sql
value_rows = [
File "/app/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1759, in <listcomp>
[
File "/app/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1760, in <listcomp>
self.prepare_value(field, self.pre_save_val(field, obj))
File "/app/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1708, in pre_save_val
return field.pre_save(obj, add=True)
File "/app/.local/lib/python3.10/site-packages/django/db/models/fields/files.py", line 338, in pre_save
file.save(file.name, file.file, save=False)
File "/app/.local/lib/python3.10/site-packages/django_resized/forms.py", line 140, in save
super().save(name, new_content, save)
File "/app/.local/lib/python3.10/site-packages/django/db/models/fields/files.py", line 99, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File "/app/.local/lib/python3.10/site-packages/django/core/files/storage/base.py", line 49, in save
name = self._save(name, content)
File "/app/.local/lib/python3.10/site-packages/storages/backends/s3.py", line 564, in _save
obj.upload_fileobj(content, ExtraArgs=params, Config=self.transfer_config)
File "/app/.local/lib/python3.10/site-packages/boto3/s3/inject.py", line 731, in object_upload_fileobj
return self.meta.client.upload_fileobj(
File "/app/.local/lib/python3.10/site-packages/boto3/s3/inject.py", line 642, in upload_fileobj
return future.result()
File "/app/.local/lib/python3.10/site-packages/s3transfer/futures.py", line 103, in result
return self._coordinator.result()
File "/app/.local/lib/python3.10/site-packages/s3transfer/futures.py", line 264, in result
raise self._exception
File "/app/.local/lib/python3.10/site-packages/s3transfer/tasks.py", line 265, in _main
self._submit(transfer_future=transfer_future, **kwargs)
File "/app/.local/lib/python3.10/site-packages/s3transfer/upload.py", line 595, in _submit
self._submit_upload_request(
File "/app/.local/lib/python3.10/site-packages/s3transfer/upload.py", line 630, in _submit_upload_request
self._transfer_coordinator.submit(
File "/app/.local/lib/python3.10/site-packages/s3transfer/futures.py", line 319, in submit
future = executor.submit(task, tag=tag)
File "/app/.local/lib/python3.10/site-packages/s3transfer/futures.py", line 470, in submit
future = ExecutorFuture(self._executor.submit(task))
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 176, in submit
self._adjust_thread_count()
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 199, in _adjust_thread_count
t.start()
File "/usr/local/lib/python3.10/threading.py", line 935, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
Upload works
Current Behavior
When i upload i get error: RuntimeError: can't start new thread
Hello - this repository is for the Boto3 AWS SDK for Python. I didn't see any references to boto3 in your logs or Dockerfile. The RuntimeError: can't start new thread has been reported several times in other places. I saw a few different solutions mentioned such as upgrading Docker or adding --progress-bar off to your pip install command. Since this issue doesn't appear to involve boto3 I'm going to close it.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the bug
Log:
Regression Issue
Expected Behavior
Upload works
Current Behavior
When i upload i get error:
RuntimeError: can't start new thread
Reproduction Steps
Im trying upload inside normal docker image:
https://github.com/paulocoutinhox/pyaa/blob/main/Dockerfile
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.35.40
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: