← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 697291] Re: database crashes during setup

 

Hi Jay,

I have 3 different version of OpenERP 6:

1) OpenERPv6trunk (downloaded with bzr and I made some modification)
2) OpenERPv6RC1 (downloaded from openerp.com without modification)
3) OpenERPv6RC2 (downloaded from openerp.com without modification)

Each above has their own server, etiny, gtk and addons

This error came from RC2. I just checked, file 
server/bin/addons/base/base_data.xml line 1207 contain the following:


<record id="IDR" model="res.currency">
<<<<<<< TREE
<field name="name">Rupiah</field>
<field name="code">IDR</field>
<field name="symbol">Rp</field>
<field name="rounding">1.00</field>
=======
<field name="name">Rp</field>
<field name="symbol">Rp</field>
<field name="rounding">0.01</field>
 >>>>>>> MERGE-SOURCE
<field name="accuracy">4</field>
<field name="company_id" ref="main_company"/>
</record>
<record id="rateIDR1" model="res.currency.rate">
<<<<<<< TREE
<field name="rate">1</field>
=======
<field name="rate">14352.00</field>
 >>>>>>> MERGE-SOURCE
<field name="currency_id" ref="IDR"/>
<field eval="time.strftime('2009-01-01')" name="name"/>
</record>
<record id="rateIDR" model="res.currency.rate">
<field name="rate">11796.39</field>
<field name="currency_id" ref="IDR"/>
<field eval="time.strftime('%Y-01-01')" name="name"/>
</record>

Can you please check at your end and please let me know if I made a 
mistake.

Thanks,
Iman


On 01/05/2011 01:06 AM, Jay (OpenERP) wrote:
> Hello Iman,
>
> This itlike an error due to some modifications at your end.
> Can you check the contents of the file server/bin/addons/base/base_data.xml line 1207?
>
> I guess you planned to modify the rate and missed something there.
>
> Thanks.
>
> ** Changed in: openobject-client-web
>         Status: New =>  Invalid
>

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697291

Title:
  database crashes during setup

Status in OpenObject Web Client:
  Invalid

Bug description:
  alle@alle-MacBookPro:~/OpenObject/OpenERP-v6/server/bin$ python openerp-server.py -c /etc/openerp-server.conf --addons-path=/home/alle/OpenObject/OpenERP-v6/addons -dcoba --update=all
[2011-01-05 00:07:45,047][?] INFO:server:OpenERP version - 6.0.0-rc2
[2011-01-05 00:07:45,047][?] INFO:server:addons_path - /home/alle/OpenObject/OpenERP-v6/addons
[2011-01-05 00:07:45,047][?] INFO:server:database hostname - localhost
[2011-01-05 00:07:45,047][?] INFO:server:database port - 5432
[2011-01-05 00:07:45,048][?] INFO:server:database user - openuser
[2011-01-05 00:07:45,048][?] INFO:server:initialising distributed objects services
[2011-01-05 00:07:45,202][?] INFO:web-services:starting HTTP service at 0.0.0.0 port 8069
[2011-01-05 00:07:45,202][?] INFO:web-services:starting HTTPS service at 0.0.0.0 port 8071
[2011-01-05 00:07:45,203][?] INFO:web-services:Registered XML-RPC over HTTP
[2011-01-05 00:07:45,203][?] INFO:web-services:starting NET-RPC service at 0.0.0.0 port 8070
[2011-01-05 00:07:45,223][coba] INFO:init:module base: loading objects
[2011-01-05 00:07:45,224][coba] INFO:init:module base: registering objects
[2011-01-05 00:07:45,340][coba] INFO:init:module base: creating or updating database tables
[2011-01-05 00:07:47,340][coba] INFO:init:module base: loading base_data.xml
Traceback (most recent call last):
  File "openerp-server.py", line 121, in <module>
    db,pool = pooler.get_db_and_pool(dbname, update_module=tools.config['init'] or tools.config['update'], pooljobs=False)
  File "/home/alle/OpenObject/OpenERP-v6/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/alle/OpenObject/OpenERP-v6/server/bin/addons/__init__.py", line 840, in load_modules
    has_updates = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report, skip_cleanup=True)
  File "/home/alle/OpenObject/OpenERP-v6/server/bin/addons/__init__.py", line 754, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/alle/OpenObject/OpenERP-v6/server/bin/addons/__init__.py", line 647, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/alle/OpenObject/OpenERP-v6/server/bin/tools/convert.py", line 961, in convert_xml_import
    doc = etree.parse(xmlfile)
  File "lxml.etree.pyx", line 2706, in lxml.etree.parse (src/lxml/lxml.etree.c:49958)
  File "parser.pxi", line 1522, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:72015)
  File "parser.pxi", line 1552, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:72325)
  File "parser.pxi", line 1435, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:71240)
  File "parser.pxi", line 997, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:68381)
  File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:64257)
  File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:65178)
  File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64521)
lxml.etree.XMLSyntaxError: StartTag: invalid element name, line 1207, column 2





References