← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 779475] Re: [6.1 trunk]:[l10n_ch]: loading test/l10n_ch_report.yml fails

 

On 09. 05. 11 14:41, Amit Parik (OpenERP) wrote:
> Hello Bogdan,
>
> I have checked your issue with the latest trunk and stable both with French language. But all are working as expected.
> trunk rev no
> addons 4682
> server 3402
> client 1886
>
> Stable rev no
> addons 4569
> server 3421
> client 1843
>
> So would you please provide your end revision number which you have used
> or again check with the latest revision and notify us.
>
> Thanks and waiting for your reply!
>
>
> ** Changed in: openobject-addons
>        Status: New => Incomplete
>
hi there!
addons: 4683
server:3405
client: 1886

new db: language french, with demo.
log error from bug #779461 then
configure extended: country Suisse/Switzerland currency CHF
check accounting only
configure COA for Switzerland as it comes by default
log error bug #779474
log error bug #779475
no error till the end

thank you!
b

-- 
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/779475

Title:
  [6.1 trunk]:[l10n_ch]: loading test/l10n_ch_report.yml fails

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  hi there,

  while installing a NEW db with latest revs, i get this traceback:

  [2011-05-08 14:42:59,267][bs_test_minimal] INFO:init:module l10n_ch: loading test/l10n_ch_report.yml
  [2011-05-08 14:42:59,285][bs_test_minimal] ERROR:test:Tests failed to execute in module l10n_ch
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp_server-6.1_dev-py2.7.egg/openerp/addons/__init__.py", line 680, in load_test
      _load_data(cr, module_name, id_map, mode, 'test')
    File "/usr/local/lib/python2.7/dist-packages/openerp_server-6.1_dev-py2.7.egg/openerp/addons/__init__.py", line 703, in _load_data
      tools.convert_yaml_import(cr, module_name, file, id_map, mode, noupdate)
    File "/usr/local/lib/python2.7/dist-packages/openerp_server-6.1_dev-py2.7.egg/openerp/tools/yaml_import.py", line 794, in yaml_import
      yaml_interpreter.process(yaml_string)
    File "/usr/local/lib/python2.7/dist-packages/openerp_server-6.1_dev-py2.7.egg/openerp/tools/yaml_import.py", line 726, in process
      for node in yaml.load(yaml_string):
    File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 58, in load
      return loader.get_single_data()
    File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 42, in get_single_data
      node = self.get_single_node()
    File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 36, in get_single_node
      document = self.compose_document()
    File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 58, in compose_document
      self.get_event()
    File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 113, in get_event
      self.current_event = self.state()
    File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 188, in parse_document_end
      token = self.peek_token()
    File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 128, in peek_token
      self.fetch_more_tokens()
    File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 220, in fetch_more_tokens
      return self.fetch_value()
    File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 580, in fetch_value
      self.get_mark())
  ScannerError: mapping values are not allowed here
    in "<string>", line 7, column 17:
        !record {model: res.partner.category, id: res_ ... 
                      ^

  thank you,
  bogdan


References