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