A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/local/apache2/htdocs/tbfy.web/include/models/OrganizationsModel.py in getMJUSourceOrgsView(self=<models.OrganizationsModel.OrganizationsModel object>) |
875
|
876 content = self.conf.Template(filename='templates/orgs_overview_mju.tpl')
|
=> 877 return content.render(data=dict)
|
878
|
879 def languageCorrections(self, string2Handle):
|
content = <mako.template.Template object>, content.render = <bound method Template.render of <mako.template.Template object>>, data undefined, dict = {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}} |
/usr/local/lib/python3.7/site-packages/mako/template.py in render(self=<mako.template.Template object>, *args=(), **data={'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}}) |
474
|
475 """
|
=> 476 return runtime._render(self, self.callable_, args, data)
|
477
|
478 def render_unicode(self, *args, **data):
|
global runtime = <module 'mako.runtime' from '/usr/local/lib/python3.7/site-packages/mako/runtime.py'>, runtime._render = <function _render>, self = <mako.template.Template object>, self.callable_ = <function render_body>, args = (), data = {'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}} |
/usr/local/lib/python3.7/site-packages/mako/runtime.py in _render(template=<mako.template.Template object>, callable_=<function render_body>, args=(), data={'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}}, as_unicode=False) |
881 context,
|
882 *args,
|
=> 883 **_kwargs_for_callable(callable_, data)
|
884 )
|
885 return context._pop_buffer().getvalue()
|
global _kwargs_for_callable = <function _kwargs_for_callable>, callable_ = <function render_body>, data = {'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}} |
/usr/local/lib/python3.7/site-packages/mako/runtime.py in _render_context(tmpl=<mako.template.Template object>, callable_=<function render_body>, context=<mako.runtime.Context object>, *args=(), **kwargs={'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}}) |
918 # if main render method, call from the base of the inheritance stack
|
919 (inherit, lclcontext) = _populate_self_namespace(context, tmpl)
|
=> 920 _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
|
921 else:
|
922 # otherwise, call the actual rendering method specified
|
global _exec_template = <function _exec_template>, inherit = <function render_body>, lclcontext = <mako.runtime.Context object>, args = (), kwargs = {'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}} |
/usr/local/lib/python3.7/site-packages/mako/runtime.py in _exec_template(callable_=<function render_body>, context=<mako.runtime.Context object>, args=(), kwargs={'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}}) |
945 _render_error(template, context, e)
|
946 else:
|
=> 947 callable_(context, *args, **kwargs)
|
948
|
949
|
callable_ = <function render_body>, context = <mako.runtime.Context object>, args = (), kwargs = {'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}} |
/usr/local/apache2/htdocs/tbfy.web/templates_orgs_overview_mju_tpl in render_body(context=<mako.runtime.Context object>, **pageargs={'data': {'anomaliesDict': {'dependency-bidder2buyer': {'buyers': [['5428394000', '3334023000', '0.15750857885402184', '6', '-', '-']]}, 'dependency-buyer2bidder': {'buyers': [['5428394000', '3334023000', '0.8327369406499171', '20', '-', '-'], ['5428394000', '5662257000', '0.1525461237184757', '20', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-']]}, 'dependency-mutual': {'buyers': [['5428394000', '3334023000', '0.13116321208101436', '1', '-', '-']]}, 'ratio-assessed-final-bdg-neg': {'buyers': {'254802': ['340', '-0.174302591892717', '5428394000', '5662257000', '180000.0', '214530.21', '45214200', '254802', '-', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana'], '423103': ['725', '-0.1877950606486142', '5428394000', '3334023000', '969421.0', '1171103.05', '45214200', '423103', '-', '-']}}, 'ratio-rev-per-employee-neg': {'buyers': {'360732': ['10201', '-5.06720564558465', '5428394000', '5300231000', '10.6', '2000', '15800000', '360732', '-', 'Poslovni sistem Mercator d.o.o.'], '420986': ['8254', '-2.36360979483182', '5428394000', '5300231000', '186.16', '2000', '15800000', '420986', '-', 'Poslovni sistem Mercator d.o.o.']}}, 'ratio-rev-per-employee-pos': {'buyers': {'423103': ['376', '13.973456641269768', '5428394000', '3334023000', '1171103.05', '1', '45214200', '423103', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 6, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}}) |
|