Problem setting up a new site in other language than english

After finishing the setup-wizard for a german company in german language i get the messages:

Doppelter Namen Domain Retail
Doppelter Namen Domain Education
Doppelter Namen Domain Healthcare
Doppelter Namen Domain Agriculture
Doppelter Namen Domain Non Profit
Diese Adressvorlage als Standard einstellen, da es keinen anderen Standard gibt
Standardlagermaßeinheit: Stk konnte nicht gefunden werden

Then I get the message: Setup failed.

When I choose english language for the company, there is no problem finishing the setup wizard.

Does anyone has a solution for setting up a site in german successful?

Push up!

I was using the guide

Currently: ERPNext: v11.x.x - develop and frappe v11.x.x-develop

@shreya115 @rohit_w can you have a look?

Will try to replicate and check.

This error I get trying to install a new site in german (language/location/currency):

07:24:01 schedule.1 | Traceback (most recent call last):
07:24:01 schedule.1 | File “/opt/bench/erpnext/apps/frappe/frappe/utils/”, line 73, in enqueue_events_for_all_sites
07:24:01 schedule.1 | enqueue_events_for_site(site=site, queued_jobs=jobs_per_site[site])
07:24:01 schedule.1 | File “/opt/bench/erpnext/apps/frappe/frappe/utils/”, line 103, in enqueue_events_for_site
07:24:01 schedule.1 | log_and_raise()
07:24:01 schedule.1 | File “/opt/bench/erpnext/apps/frappe/frappe/utils/”, line 96, in enqueue_events_for_site
07:24:01 schedule.1 | enqueue_events(site=site, queued_jobs=queued_jobs)
07:24:01 schedule.1 | File “/opt/bench/erpnext/apps/frappe/frappe/utils/”, line 117, in enqueue_events
07:24:01 schedule.1 | update_modified=False)
07:24:01 schedule.1 | File “/opt/bench/erpnext/apps/frappe/frappe/”, line 734, in set_value
07:24:01 schedule.1 | list(keys) + [dt], debug=debug)
07:24:01 schedule.1 | File “/opt/bench/erpnext/apps/frappe/frappe/”, line 199, in sql
07:24:01 schedule.1 | self._cursor.execute(query, values)
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 170, in execute
07:24:01 schedule.1 | result = self._query(query)
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 328, in _query
07:24:01 schedule.1 | conn.query(q)
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 516, in query
07:24:01 schedule.1 | self._affected_rows = self._read_query_result(unbuffered=unbuffered)
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 727, in _read_query_result
07:24:01 schedule.1 |
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 1066, in read
07:24:01 schedule.1 | first_packet = self.connection._read_packet()
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 683, in _read_packet
07:24:01 schedule.1 | packet.check_error()
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 220, in check_error
07:24:01 schedule.1 | err.raise_mysql_exception(self._data)
07:24:01 schedule.1 | File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 109, in raise_mysql_exception
07:24:01 schedule.1 | raise errorclass(errno, errval)
07:24:01 schedule.1 | OperationalError: (1213, u’Deadlock found when trying to get lock; try restarting transaction’)

It has something to do with the language:

Language: english; Location: Germany; Currency: Euro → working
Language: german; Location: Germany; Curreny: Euro → not working

Can I help?

@shreya115 @rmehta Is there progress on this issue?

In my opinion, it is very important that new potential users (Spaniards, Germans, …) do not fail with their first attempts with ErpNext.

This will leave not a good first impression about the stability of a system that you want to feed important data with in the future.

Can I help?

@Christof, Extremely sorry about the issue. We have identified the bug and are currently fixing it, will update on the thread once it’s fixed.

1 Like

Fixed it here.

1 Like

Thank you - great work!