← Back to team overview

openerp-india team mailing list archive

Re: [Bug 1183248] Re: [7.0/trunk] l10n_ch description is generating reStructuredText errors on apps.openerp.com/apps

 

Thank you for the follow-up. I solved the bug by updating PostgreSQL, and
everything works as it should now. Keep up the great work!

-guttermonk

On Monday, July 15, 2013, Yannick Vaucher @ Camptocamp <
1183248@xxxxxxxxxxxxxxxxxx> wrote:

> @guttermonk, I don't think your issue is related to this bug which is
> about swiss localization in OpenERP, please create an other bug report
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1183248
>
> Title:
>   [7.0/trunk] l10n_ch description is generating reStructuredText errors
>   on apps.openerp.com/apps
>
> Status in OpenERP Addons (modules):
>   Confirmed
>
> Bug description:
>   Description need to be fixed:
>
>   https://apps.openerp.com/apps/7.0/l10n_ch/
>
>
>   {"message": "OpenERP Server Error", "code": 200, "data": {"debug":
> "Traceback (most recent call last):
>    File \"/home/odoo/src/web/saas-1/addons/web/http.py\", line 304, in
> dispatch
>    r = method(self, **self.params)
>    File \"/home/odoo/src/custom/private/loempia/controllers/frontend.py\",
> line 41, in deco
>    return f(self, req, *args, **kwargs)
>    File \"/home/odoo/src/custom/private/loempia/controllers/frontend.py\",
> line 186, in index
>    [\"name\", \"path\", \"description_html\", \"image_ids\",
> \"shortdesc\", \"summary\", \"author\", \"website\"])
>    File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 57, in
> search_read
>    records = self.read(record_ids, fields or [], context or {})
>    File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 43, in
> proxy
>    result = self.proxy.execute_kw(self.session._db, self.session._uid,
> self.session._password, self.model, method, args, kw)
>    File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 30, in
> proxy_method
>    result = self.session.send(self.service_name, method, *args)
>    File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 88, in
> send
>    return openerp.netsvc.dispatch_rpc(service_name, method, args)
>    File \"/home/odoo/src/server/saas-1/openerp/netsvc.py\", line 237, in
> dispatch_rpc
>    result = dispatch(method, params)
>    File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line
> 36, in dispatch
>    res = fn(db, uid, *params)
>    File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line
> 160, in execute_kw
>    return execute(db, uid, obj, method, *args, **kw or {})
>    File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line
> 111, in wrapper
>    return f(dbname, *args, **kwargs)
>    File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line
> 170, in execute
>    res = execute_cr(cr, uid, obj, method, *args, **kw)
>    File \"/home/odoo/src/addons/saas-1/audittrail/audittrail.py\", line
> 516, in execute_cr
>    return fct_src(cr, uid, model, method, *args, **kw)
>    File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line
> 157, in execute_cr
>    return getattr(object, method)(cr, uid, *args, **kw)
>    File \"/home/odoo/src/server/saas-1/openerp/osv/orm.py\", line 3607, in
> read
>    result = self._read_flat(cr, user, select, fields, context, load)
>    File \"/home/odoo/src/server/saas-1/openerp/osv/orm.py\", line 3722, in
> _read_flat
>    res2 = self._columns[f].get(cr, self, ids, f, user, context=context,
> values=res)
>    File \"/home/odoo/src/server/saas-1/openerp/osv/fields.py\", line 1132,
> in get
>    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
>    File \"/home/odoo/src/custom/private/loempia/loempia2.py\", line 165,
> in _get_desc
>    res[module.id] = util.rst2html(module.description)
>    File \"/home/odoo/src/custom/private/loempia/util.py\", line 46, in
> rst2html
>    output = publish_string(source=content, settings_overrides=overrides,
> writer=MyWriter())
>    File \"/usr/lib/python2.7/dist-packages/docutils/core.py\", line 401,
> in publish_string
>    enable_exit_status=enable_exit_status)
>    File \"/usr/lib/python2.7/dist-packages/docutils/core.py\", line 649,
> in publish_programmatically
>    output = pub.publish(enable_exit_status=enable_exit_status)
>    File \"/usr/lib/python2.7/dist-packages/docutils/core.py\", line 211,
> in publish
>    self.settings)
>    File \"/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py\",
> line 69, in read
>    self.parse()
>    File \"/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py\",
> line 75, in parse
>    self.parser.parse(self.input, document)
>    File
> \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py\", line
> 157, in parse
>    self.statemachine.run(inputlines, document, inliner=self.inliner)
>    File
> \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line
> 170, in run
>    input_source=document['source'])
>    File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\",
> line 237, in run
>    context, state, transitions)
>    File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\",
> line 458, in check_line
>    return method(match, context, next_state)
>    File
> \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line
> 1110, in indent
>    elements = self.block_quote(indented, line_offset)
>    File
> \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line
> 1125, in block_quote
>    self.nested_parse(blockquote_lines, line_offset, blockquote)
>    File
> \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line
> 284, in nested_parse
>    node=node, match_titles=match_titles)
>    File
> \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line
> 195, in run
>    results = StateMachineWS.run(self, input_lines, input_offset)
>    File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\",
> line 237, in run
>    context, state, transitions)
>    File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\",
> line 458, in check_line
>    return method(match, context, next_state)
>    File
> \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line
> 2703, in underline
>    source=src, line=srcline)
>    File \"/usr/lib/python2.7/dist-packages/docutils/utils.py\", line 232,
> in severe
>    return self.system_message(self.SEVERE_LEVEL, *args, **kwargs)
>    File \"/usr/lib/python2.7/dist-packages/docutils/utils.py\", line 190,
> in system_message
>    raise SystemMessage(msg, level)
>   SystemMessage: <string>:3: (SEVERE/4) Unexpected section title.
>
>   Swiss localization :
>   ====================
>   ", "message": "<string>:3: (SEVERE/4) Unexpected section title.
>
>   Swiss localization :
>   ====================", "name": "docutils.utils.SystemMessage",
> "arguments": ["<string>:3: (SEVERE/4) Unexpected section title.
>
>   Swiss localization :
>   ===================="]}}
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1183248/+subscriptions
>

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1183248

Title:
  [7.0/trunk] l10n_ch description is generating reStructuredText errors
  on apps.openerp.com/apps

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Description need to be fixed:

  https://apps.openerp.com/apps/7.0/l10n_ch/

  
  {"message": "OpenERP Server Error", "code": 200, "data": {"debug": "Traceback (most recent call last):
   File \"/home/odoo/src/web/saas-1/addons/web/http.py\", line 304, in dispatch
   r = method(self, **self.params)
   File \"/home/odoo/src/custom/private/loempia/controllers/frontend.py\", line 41, in deco
   return f(self, req, *args, **kwargs)
   File \"/home/odoo/src/custom/private/loempia/controllers/frontend.py\", line 186, in index
   [\"name\", \"path\", \"description_html\", \"image_ids\", \"shortdesc\", \"summary\", \"author\", \"website\"])
   File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 57, in search_read
   records = self.read(record_ids, fields or [], context or {})
   File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 43, in proxy
   result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
   File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 30, in proxy_method
   result = self.session.send(self.service_name, method, *args)
   File \"/home/odoo/src/web/saas-1/addons/web/session.py\", line 88, in send
   return openerp.netsvc.dispatch_rpc(service_name, method, args)
   File \"/home/odoo/src/server/saas-1/openerp/netsvc.py\", line 237, in dispatch_rpc
   result = dispatch(method, params)
   File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line 36, in dispatch
   res = fn(db, uid, *params)
   File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line 160, in execute_kw
   return execute(db, uid, obj, method, *args, **kw or {})
   File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line 111, in wrapper
   return f(dbname, *args, **kwargs)
   File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line 170, in execute
   res = execute_cr(cr, uid, obj, method, *args, **kw)
   File \"/home/odoo/src/addons/saas-1/audittrail/audittrail.py\", line 516, in execute_cr
   return fct_src(cr, uid, model, method, *args, **kw)
   File \"/home/odoo/src/server/saas-1/openerp/service/model.py\", line 157, in execute_cr
   return getattr(object, method)(cr, uid, *args, **kw)
   File \"/home/odoo/src/server/saas-1/openerp/osv/orm.py\", line 3607, in read
   result = self._read_flat(cr, user, select, fields, context, load)
   File \"/home/odoo/src/server/saas-1/openerp/osv/orm.py\", line 3722, in _read_flat
   res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
   File \"/home/odoo/src/server/saas-1/openerp/osv/fields.py\", line 1132, in get
   result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
   File \"/home/odoo/src/custom/private/loempia/loempia2.py\", line 165, in _get_desc
   res[module.id] = util.rst2html(module.description)
   File \"/home/odoo/src/custom/private/loempia/util.py\", line 46, in rst2html
   output = publish_string(source=content, settings_overrides=overrides, writer=MyWriter())
   File \"/usr/lib/python2.7/dist-packages/docutils/core.py\", line 401, in publish_string
   enable_exit_status=enable_exit_status)
   File \"/usr/lib/python2.7/dist-packages/docutils/core.py\", line 649, in publish_programmatically
   output = pub.publish(enable_exit_status=enable_exit_status)
   File \"/usr/lib/python2.7/dist-packages/docutils/core.py\", line 211, in publish
   self.settings)
   File \"/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py\", line 69, in read
   self.parse()
   File \"/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py\", line 75, in parse
   self.parser.parse(self.input, document)
   File \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py\", line 157, in parse
   self.statemachine.run(inputlines, document, inliner=self.inliner)
   File \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line 170, in run
   input_source=document['source'])
   File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\", line 237, in run
   context, state, transitions)
   File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\", line 458, in check_line
   return method(match, context, next_state)
   File \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line 1110, in indent
   elements = self.block_quote(indented, line_offset)
   File \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line 1125, in block_quote
   self.nested_parse(blockquote_lines, line_offset, blockquote)
   File \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line 284, in nested_parse
   node=node, match_titles=match_titles)
   File \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line 195, in run
   results = StateMachineWS.run(self, input_lines, input_offset)
   File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\", line 237, in run
   context, state, transitions)
   File \"/usr/lib/python2.7/dist-packages/docutils/statemachine.py\", line 458, in check_line
   return method(match, context, next_state)
   File \"/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py\", line 2703, in underline
   source=src, line=srcline)
   File \"/usr/lib/python2.7/dist-packages/docutils/utils.py\", line 232, in severe
   return self.system_message(self.SEVERE_LEVEL, *args, **kwargs)
   File \"/usr/lib/python2.7/dist-packages/docutils/utils.py\", line 190, in system_message
   raise SystemMessage(msg, level)
  SystemMessage: <string>:3: (SEVERE/4) Unexpected section title.

  Swiss localization :
  ====================
  ", "message": "<string>:3: (SEVERE/4) Unexpected section title.

  Swiss localization :
  ====================", "name": "docutils.utils.SystemMessage", "arguments": ["<string>:3: (SEVERE/4) Unexpected section title.

  Swiss localization :
  ===================="]}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1183248/+subscriptions