Hi again , am sorry for distribution;
Now when i tried edit the code of html from the browser and add an instruction for display the date to test if it will showed me this on email , it gives me an error and now i can’t doing any dunning process Although I delete the instruction that i added it to test and then i save but it still gives me this error when i try to do process:
Traceback (most recent call last):
File "/site-packages/genshi/input.py", line 161, in _generate
self.expat.Parse(data, False)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 12, column 21
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/site-packages/genshi/template/base.py", line 418, in __init__
self._stream = self._parse(source, encoding)
File "/site-packages/genshi/template/markup.py", line 82, in _parse
for kind, data, pos in source:
File "/site-packages/genshi/core.py", line 274, in _ensure
event = next(stream)
File "/site-packages/genshi/input.py", line 449, in _coalesce
for kind, data, pos in chain(stream, [(None, None, None)]):
File "/site-packages/genshi/input.py", line 169, in _generate
raise ParseError(msg, self.filename, e.lineno, e.offset)
genshi.input.ParseError: not well-formed (invalid token): line 12, column 21, in /tmp/trytond_frmcudoi.html
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/trytond/wsgi.py", line 104, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 48, in rpc
request, database_name, *request.rpc_params)
File "/trytond/wsgi.py", line 72, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 131, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 197, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/wizard/wizard.py", line 284, in execute
return wizard._execute(state_name)
File "/trytond/wizard/wizard.py", line 315, in _execute
result = self._execute(transition())
File "/trytond/wizard/wizard.py", line 315, in _execute
result = self._execute(transition())
File "/trytond/wizard/wizard.py", line 315, in _execute
result = self._execute(transition())
File "/trytond/modules/account_dunning_email/account.py", line 100, in transition_send_email
log = dunning.send_email(datamanager=datamanager)
File "/trytond/modules/account_dunning_email/account.py", line 141, in send_email
msg = self._email(from_, to, cc, bcc, languages)
File "/trytond/modules/account_dunning_email/account.py", line 151, in _email
msg, title = get_email(self.level.email_template, self, languages)
File "/trytond/report/report.py", line 412, in get_email
'language': language,
File "/trytond/modules/account_dunning_letter/dunning.py", line 57, in execute
return super(Letter, cls).execute(ids, data)
File "/trytond/report/report.py", line 191, in execute
oext, content = cls._execute(records, data, action_report)
File "/trytond/report/report.py", line 217, in _execute
return cls.convert(action, cls.render(action, report_context))
File "/trytond/report/report.py", line 317, in render
data = rel_report(**report_context).render()
File "/site-packages/relatorio/reporting.py", line 121, in __call__
template = self.tmpl_loader.load(self.fpath, self.mimetype)
File "/site-packages/relatorio/reporting.py", line 81, in load
path, cls=cls, relative_to=relative_to)
File "/site-packages/genshi/template/loader.py", line 236, in load
filename, encoding=encoding)
File "/site-packages/genshi/template/loader.py", line 274, in _instantiate
allow_exec=self.allow_exec)
File "/site-packages/genshi/template/markup.py", line 67, in __init__
allow_exec=allow_exec)
File "/site-packages/genshi/template/base.py", line 420, in __init__
raise TemplateSyntaxError(e.msg, self.filepath, e.lineno, e.offset)
genshi.template.base.TemplateSyntaxError: not well-formed (invalid token): line 12, column 21 (/tmp/trytond_frmcudoi.html, line 12)