Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

New Database Creation Language Error V10

Subscribe

Get notified when there's activity on this post

This question has been flagged
languageerrordatabasecreationpack
6222 Views
Avatar
AITLAMSALI Alaa

Hi, In Odoo V10 when i try to create new database i have this message bellow i tried many solutions for days but noway, please help me !

Frontend : 

Database creation error: Wrong value for base.language.install.lang: u'fr_FR'

--------------
Backend:

Traceback (most recent call last):

File "/home/odoouser/odoo-dev/odoo/odoo/modules/registry.py", line 83, in new

odoo.modules.load_modules(registry._db, force_demo, status, update_module)

File "/home/odoouser/odoo-dev/odoo/odoo/modules/loading.py", line 289, in load_modules

tools.load_language(cr, lang)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/translate.py", line 1201, in load_language

installer = env['base.language.install'].create({'lang': lang})

File "/home/odoouser/odoo-dev/odoo/odoo/models.py", line 3823, in create

record = self.browse(self._create(old_vals))

File "/home/odoouser/odoo-dev/odoo/odoo/models.py", line 3903, in _create

self._check_selection_field_value(name, val)

File "/home/odoouser/odoo-dev/odoo/odoo/models.py", line 2122, in _check_selection_field_value

field.convert_to_cache(value, self)

File "/home/odoouser/odoo-dev/odoo/odoo/fields.py", line 1780, in convert_to_cache

raise ValueError("Wrong value for %s: %r" % (self, value))

ValueError: Wrong value for base.language.install.lang: u'fr_FR'

2018-02-12 09:35:36,370 3116 ERROR TDD odoo.http: Wrong value for base.language.install.lang: u'fr_FR'

Traceback (most recent call last):

File "/home/odoouser/odoo-dev/odoo/odoo/http.py", line 118, in dispatch_rpc

result = dispatch(method, params)

File "/home/odoouser/odoo-dev/odoo/odoo/service/common.py", line 57, in dispatch

return g[exp_method_name](*params)

File "/home/odoouser/odoo-dev/odoo/odoo/service/common.py", line 29, in exp_authenticate

res_users = odoo.registry(db)['res.users']

File "/home/odoouser/odoo-dev/odoo/odoo/__init__.py", line 52, in registry

return modules.registry.Registry(database_name)

File "/home/odoouser/odoo-dev/odoo/odoo/modules/registry.py", line 59, in __new__

return cls.new(db_name)

File "/home/odoouser/odoo-dev/odoo/odoo/modules/registry.py", line 83, in new

odoo.modules.load_modules(registry._db, force_demo, status, update_module)

File "/home/odoouser/odoo-dev/odoo/odoo/modules/loading.py", line 289, in load_modules

tools.load_language(cr, lang)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/translate.py", line 1201, in load_language

installer = env['base.language.install'].create({'lang': lang})

File "/home/odoouser/odoo-dev/odoo/odoo/models.py", line 3823, in create

record = self.browse(self._create(old_vals))

File "/home/odoouser/odoo-dev/odoo/odoo/models.py", line 3903, in _create

self._check_selection_field_value(name, val)

File "/home/odoouser/odoo-dev/odoo/odoo/models.py", line 2122, in _check_selection_field_value

field.convert_to_cache(value, self)

File "/home/odoouser/odoo-dev/odoo/odoo/fields.py", line 1780, in convert_to_cache

raise ValueError("Wrong value for %s: %r" % (self, value))

ValueError: Wrong value for base.language.install.lang: u'fr_FR'



Another message before that one, maybe it concern the same error


2018-02-12 09:35:36,284 3116 ERROR TDD odoo.service.db: CREATE DATABASE failed:

Traceback (most recent call last):

File "/home/odoouser/odoo-dev/odoo/odoo/service/db.py", line 49, in _initialize_db

registry = odoo.modules.registry.Registry.new(db_name, demo, None, update_module=True)

File "/home/odoouser/odoo-dev/odoo/odoo/modules/registry.py", line 83, in new

odoo.modules.load_modules(registry._db, force_demo, status, update_module)

File "/home/odoouser/odoo-dev/odoo/odoo/modules/loading.py", line 280, in load_modules

loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)

File "/home/odoouser/odoo-dev/odoo/odoo/modules/loading.py", line 156, in load_module_graph

_load_data(cr, module_name, idref, mode, kind='data')

File "/home/odoouser/odoo-dev/odoo/odoo/modules/loading.py", line 95, in _load_data

tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/convert.py", line 845, in convert_file

convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/convert.py", line 915, in convert_xml_import

obj.parse(doc.getroot(), mode=mode)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/convert.py", line 796, in parse

self.parse(rec, mode)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/convert.py", line 799, in parse

self._tags[rec.tag](rec, de, mode=mode)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/convert.py", line 697, in _tag_record

f_val = _eval_xml(self, field, self.env)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/convert.py", line 144, in _eval_xml

with file_open(node.get('file'), 'rb') as f:

File "/home/odoouser/odoo-dev/odoo/odoo/tools/misc.py", line 195, in file_open

return _fileopen(name, mode=mode, basedir=rtp, pathinfo=pathinfo, basename=basename)

File "/home/odoouser/odoo-dev/odoo/odoo/tools/misc.py", line 251, in _fileopen

raise IOError('File not found: %s' % basename)

ParseError: "File not found: base/static/img/main_partner-image.png" while parsing /home/odoouser/odoo-dev/odoo/odoo/addons/base/base_data.xml:17, near

<record id="main_partner" model="res.partner" context="{'default_is_company': True}">

<field name="name">My Company</field>

<field name="company_id" eval="None"/>

<field name="image" type="base64" file="base/static/img/main_partner-image.png"/>

<field name="customer" eval="False"/>

<field name="is_company" eval="True"/>

<field name="street"/>

<field name="city"/>

<field name="zip"/>

<field name="phone"/>

<field name="email">info@yourcompany.com</field>

<field name="website">www.yourcompany.com</field>

</record>


Thanks for your help

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Odoo Community 15 - local windows server 2008 R2 Standard
error database creation access
Avatar
1
Aug 22
2350
Database creation error: could not translate host name Solved
error database creation postgresql installer
Avatar
Avatar
2
Feb 24
4310
Error en Odoo al cambiar el entre idiomas
language error
Avatar
Avatar
2
Jul 24
1850
database creation error
error database
Avatar
0
Jun 23
7232
Critical database error "KeyError: 'hr'" when launching odoo
error database
Avatar
4
Nov 20
5891
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now