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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, '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-buyer2bidder': {'buyers': [['1332180000', '5459150000', '0.4820740123319918', '7', 'KOMUNALNE GRADNJE d.o.o.', '-'], ['1332180000', '5662257000', '0.17910341493553977', '7', 'LESNINA MG OPREMA podjetje za inženiring, d.d., Ljubljana', '-'], ['1332180000', '5558176000', '0.12659526574777893', '7', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '7', '-', '-'], ['1332180000', '5142342000', '0.06743932148639051', '7', 'HIDROTEHNIK Vodnogospodarsko podjetje d.o.o.', '-']]}, 'dependency-mutual': {'buyers': [['1332180000', '5558176000', '0.12659526574777896', '5', '-', '-'], ['1332180000', '1086413000', '0.0685041405781874', '3', '-', '-']]}, 'ratio-assessed-final-bdg-pos': {'buyers': {'209534': ['5328', '0.5950482559984659', '1332180000', '1717570000', '193500.0', '106781.1', '45200000', '209534', '-', '-']}}, 'ratio-rev-per-employee-pos': {'buyers': {'212132': ['7615', '10.824096965468112', '1332180000', '1086413000', '100432.8', '2', '60100000', '212132', '-', '-'], '311248': ['3497', '11.716596662601924', '1332180000', '5558176000', '367768.5', '3', '45230000', '311248', '-', '-'], '322460': ['7723', '10.81495067021019', '1332180000', '1086413000', '99518.4', '2', '60100000', '322460', '-', '-'], '376216': ['8325', '10.708931882088097', '1332180000', '7216378000', '134261.43', '3', '45450000', '376216', '-', '-'], '410553': ['4198', '11.52085792961691', '1332180000', '1086413000', '100796.4', '1', '60000000', '410553', '-', '-']}}}, 'companyProfileDict': {}, 'fundsReceived': 0.0, 'issuedFunds': 0.0, 'issuedTenders': {}, 'issuedTendersChartData': {'byTenderNum': {}, 'byValue': {}}, 'numOfAnomalies': 4, 'wonTenders': {}, 'wonTendersChartData': {'byTenderNum': {}, 'byValue': {}}}}) |
|