frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
20.22k stars 7.06k forks source link

Setup Wizard doesn't work in German #5586

Closed dottenbr closed 8 years ago

dottenbr commented 8 years ago

When running the setup wizard in German it fails, when running it in English it works. You should fix this before V7 release.

Traceback (most recent call last):
File "/home/www/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
response = frappe.handler.handle()
File "/home/www/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/home/www/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, frappe.form_dict)
File "/home/www/frappe-bench/apps/frappe/frappe/init.py", line 875, in call
return fn(*args, newargs)
File "/home/www/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 32, in setup_complete
frappe.get_attr(method)(args)
File "/home/www/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py", line 37, in setup_complete
setup_domain(args.get('domain'))
File "/home/www/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/domainify.py", line 70, in setup_domain
set_desktop_icons(data.desktop_icons)
File "/home/www/frappe-bench/apps/frappe/frappe/desk/doctype/desktop_icon/desktop_icon.py", line 186, in set_desktop_icons
frappe.db.set_value('Desktop Icon', icon_name, 'standard', 1)
File "/home/www/frappe-bench/apps/frappe/frappe/database.py", line 607, in set_value
{2}""".format(dt, field, conditions), values, debug=debug)
File "/home/www/frappe-bench/apps/frappe/frappe/database.py", line 137, in sql
self._cursor.execute(query, values)
File "/home/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/home/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, "Duplicate entry 'Aufgabe-Administrator-1' for key 'unique_module_name_owner_standard'")
the problem is in unique_module_name_owner_standard
dottenbr commented 8 years ago

@anandpdoshi this is a V7 fix

anandpdoshi commented 8 years ago

Let me try to reproduce this error

On 28-Jun-2016, at 8:04 PM, Dominik notifications@github.com wrote:

@anandpdoshi https://github.com/anandpdoshi this is a V7 fix

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/frappe/erpnext/issues/5586#issuecomment-229068056, or mute the thread https://github.com/notifications/unsubscribe/AAzEsT8-S2WAMAGgY2q3hv_s_xVyXw9Nks5qQTD-gaJpZM4JAKqV.

anandpdoshi commented 8 years ago

Can you share some data you entered in the setup wizard? What was the Domain that you selected? Was it Manufacturing?

InspireSoft commented 7 years ago

I experienced the same Error, I've chosen deutsch, Deutschland and created customer 'Kunde 1', supplier 'Lieferant' and item 'Artikel 1' with everything rest the default.