Boto3 error conflicting the pull

Hello All,

While i was taking the latest update or pull for the bench site and i am facing this error and stuck in the middle that how to resolve this issue as functional consultant i am not aware of this issue for rectification. Please guide to improvement.

serpentcs@serpentcs-pc:~/frappe-bench$ bench new-site erpnext_solufy
MySQL root password:

Installing frappe…
Updating DocTypes for frappe : [================================= ]Traceback (most recent call last):
File “/usr/lib/python2.7/”, line 174, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/”, line 72, in _run_code
exec code in run_globals
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/utils/”, line 94, in
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/utils/”, line 18, in main
File “/home/serpentcs/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 722, in call
return self.main(*args, **kwargs)
File “/home/serpentcs/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 697, in main
rv = self.invoke(ctx)
File “/home/serpentcs/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/serpentcs/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/serpentcs/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/serpentcs/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/commands/”, line 29, in new_site
verbose=verbose, install_apps=install_app, source_sql=source_sql, force=force)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/commands/”, line 64, in _new_site
_install_app(app, verbose=verbose, set_as_patched=not source_sql)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/”, line 141, in install_app
sync_for(name, force=True, sync_everything=True, verbose=verbose, reset_permissions=True)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/model/”, line 45, in sync_for
reset_permissions=reset_permissions, for_sync=True)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/modules/”, line 58, in import_file_by_path
ignore_version=ignore_version, reset_permissions=reset_permissions)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/modules/”, line 131, in import_doc
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/model/”, line 245, in insert
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/model/”, line 828, in run_post_save_methods
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/model/”, line 702, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/model/”, line 965, in composer
return composed(self, method, *args, **kwargs)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/model/”, line 948, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/model/”, line 696, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/core/doctype/doctype/”, line 220, in on_update
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/core/doctype/doctype/”, line 273, in run_module_method
module = load_doctype_module(, self.module)
File “/home/serpentcs/frappe-bench/apps/frappe/frappe/modules/”, line 178, in load_doctype_module
raise ImportError(‘Module import failed for {0} ({1})’.format(doctype, module_name + ’ Error: ’ + str(e)))
ImportError: Module import failed for S3 Backup Settings (frappe.integrations.doctype.s3_backup_settings.s3_backup_settings Error: No module named boto3)

May be related to post below they recently made s3 backup a part of core so if you have the old app these changes may be affected:
Can you coment?

@mohnish_thakur2003 Seems after pulling latest code you haven’t run bench setup requirements

Run bench setup requirements, this will install boto3 dependency for S3 Backup Utility.


@rish4bhn fixed this via [fix] Allow capital letters in bucket name for S3 Backup DocType by rishabhnambiar · Pull Request #4489 · frappe/frappe · GitHub

Actually the capital letters thing is not fixed I posted here after doing bench update this am:

Is there any error log?

just heard back fix was only merged to devlop not master…

Fix was pushed to hotfix recently, we’ll have to wait for it to get to master!
The issue faced by @mohnish_thakur2003 should by fixed by running bench setup requirements