When install Sale - Found Traceback and Error

Bug #878683 reported by Amit Bhavsar (Open ERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

Problem : When install Sale - Found Traceback and Error

When Install the sale module. A traceback and error found due to yml file.
==========================================
when install sale
==========================================
[2011-10-20 06:03:26,567][crm_test_wiz8] ERROR:tests.sale:list index out of range
Traceback (most recent call last):
  File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 740, in process
    self._process_node(node)
  File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 755, in _process_node
    self.process_python(node)
  File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 426, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/amb/source/addons/trunk/sale/test/invoice_on_shipped_qty.yml", line 10, in <module>
    - name: Slider Mobile
IndexError: list index out of range
[2011-10-20 06:03:26,592][crm_test_wiz8] ERROR:init.test:Tests failed to execute in module sale
Traceback (most recent call last):
  File "/home/amb/source/server/trunk/openerp/modules/loading.py", line 100, in load_test
    _load_data(cr, module_name, idref, mode, 'test')
  File "/home/amb/source/server/trunk/openerp/modules/loading.py", line 135, in _load_data
    tools.convert_yaml_import(cr, module_name, fp, idref, mode, noupdate)
  File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 805, in yaml_import
    yaml_interpreter.process(yaml_string)
  File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 740, in process
    self._process_node(node)
  File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 755, in _process_node
    self.process_python(node)
  File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 426, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/amb/source/addons/trunk/sale/test/invoice_on_shipped_qty.yml", line 10, in <module>
    - name: Slider Mobile
IndexError: list index out of range

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

hello Amit,

I checked it my end and not able to find any trace back, so i am setting this bug as invalid.

Please reopen it if you are still getting the trace back.

Thanks,
Puenendu Singh

Changed in openobject-addons:
status: Confirmed → Invalid
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Purnendu,

I have checked this again with the latest trunk and the issue are resolved.

But in past it's reproducible on trunk revision number 5425

So this bug 's status should be "Fix released " not an "Invalid".

Thanks!

Changed in openobject-addons:
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.