Traceback (most recent call last):
13:08:23 worker_default.1 | File “/usr/lib/python2.7/runpy.py”, line 174, in _run_module_as_main
13:08:23 worker_default.1 | “main”, fname, loader, pkg_name)
13:08:23 worker_default.1 | File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
13:08:23 worker_default.1 | exec code in run_globals
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 79, in
13:08:23 worker_default.1 | main()
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 16, in main
13:08:23 worker_default.1 | click.Group(commands=commands)(prog_name=‘bench’)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
13:08:23 worker_default.1 | return self.main(*args, **kwargs)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
13:08:23 worker_default.1 | rv = self.invoke(ctx)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
13:08:23 worker_default.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
13:08:23 worker_default.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
13:08:23 worker_default.1 | return ctx.invoke(self.callback, **ctx.params)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
13:08:23 worker_default.1 | return callback(*args, **kwargs)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/apps/frappe/frappe/commands/scheduler.py”, line 157, in start_worker
13:08:23 worker_default.1 | start_worker(queue)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 106, in start_worker
13:08:23 worker_default.1 | Worker(queues, name=get_worker_name(queue)).work()
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 460, in work
13:08:23 worker_default.1 | self.execute_job(job, queue)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 575, in execute_job
13:08:23 worker_default.1 | self.fork_work_horse(job, queue)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 521, in fork_work_horse
13:08:23 worker_default.1 | self.main_work_horse(job, queue)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 590, in main_work_horse
13:08:23 worker_default.1 | success = self.perform_job(job, queue)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 692, in perform_job
13:08:23 worker_default.1 | self.prepare_job_execution(job)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 624, in prepare_job_execution
13:08:23 worker_default.1 | self.procline(msg.format(job.func_name, job.origin, time.time()))
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/job.py”, line 241, in func_name
13:08:23 worker_default.1 | self._unpickle_data()
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/job.py”, line 209, in _unpickle_data
13:08:23 worker_default.1 | self._func_name, self._instance, self._args, self._kwargs = unpickle(self.data)
13:08:23 worker_default.1 | File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/rq/job.py”, line 53, in unpickle
13:08:23 worker_default.1 | raise UnpickleError(‘Could not unpickle’, pickled_string, e)
13:08:23 worker_default.1 | rq.exceptions.UnpickleError: (u’Could not unpickle’, AttributeError(‘lang’,))
Facing same issue when try to set up erpnext first time. … kindly reasolve the query so that we can move ahead.
Thanks in advance.
I am facing the same issue as well.
This seems to be happening if we select language as “english”, I tried by selecting "English (United States), that seems to fix this issue.