Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Updating frappe : [========================================]
- Updating erpnext : [========================================]
- Updating shopping_cart : [========================================]
- Updating Pages : [========================================]
- Traceback (most recent call last):
- File "/root/frappe-bench/env/bin/frappe", line 9, in <module>
- load_entry_point('frappe==4.1.0', 'console_scripts', 'frappe')()
- File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
- ret = run(fn, args)
- File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
- out = globals().get(fn)(**args)
- File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
- return fn(*args, **new_kwargs)
- File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 429, in latest
- build_website()
- File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
- return fn(*args, **new_kwargs)
- File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 566, in build_website
- frappe.website.sync.sync(verbose=verbose)
- File "/root/frappe-bench/apps/frappe/frappe/website/sync.py", line 38, in sync
- sync_generators(generators)
- File "/root/frappe-bench/apps/frappe/frappe/website/sync.py", line 71, in sync_generators
- doc.update_sitemap()
- File "/root/frappe-bench/apps/frappe/frappe/website/website_generator.py", line 67, in update_sitemap
- self.insert_route()
- File "/root/frappe-bench/apps/frappe/frappe/website/website_generator.py", line 115, in insert_route
- route.insert(ignore_permissions=True)
- File "/root/frappe-bench/apps/frappe/frappe/model/document.py", line 145, in insert
- self.db_insert()
- File "/root/frappe-bench/apps/frappe/frappe/model/base_document.py", line 202, in db_insert
- ), d.values())
- File "/root/frappe-bench/apps/frappe/frappe/database.py", line 107, in sql
- self._cursor.execute(query, values)
- File "/root/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
- self.errorhandler(self, exc, value)
- File "/root/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
- raise errorclass, errorvalue
- frappe.exceptions.NameError: (u'Website Route', u'acme-stones-pvt-ltd-home', IntegrityError(1062, "Duplicate entry 'acme-stones-pvt-ltd-home' for key 'PRIMARY'"))
- Error: None
- Traceback (most recent call last):
- File "/usr/local/bin/bench", line 9, in <module>
- load_entry_point('bench==0.1', 'console_scripts', 'bench')()
- File "/home/erpnext/erpnext/bench-repo/bench/cli.py", line 26, in cli
- return bench()
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 488, in __call__
- return self.main(*args, **kwargs)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 474, in main
- self.invoke(ctx)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 758, in invoke
- return self.invoke_subcommand(ctx, cmd, cmd_name, ctx.args[1:])
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 767, in invoke_subcommand
- return cmd.invoke(cmd_ctx)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 659, in invoke
- ctx.invoke(self.callback, **ctx.params)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 325, in invoke
- return callback(*args, **kwargs)
- File "/home/erpnext/erpnext/bench-repo/bench/cli.py", line 96, in update
- patch_sites()
- File "/home/erpnext/erpnext/bench-repo/bench/utils.py", line 77, in patch_sites
- exec_cmd("{frappe} --latest all".format(frappe=get_frappe(bench=bench)), cwd=os.path.join(bench, 'sites'))
- File "/home/erpnext/erpnext/bench-repo/bench/utils.py", line 56, in exec_cmd
- subprocess.check_call(cmd, cwd=cwd, shell=True)
- File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '/root/frappe-bench/env/bin/frappe --latest all' returned non-zero exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement