From c55b0ba2a5aef15ef3e0aa697abd24a2b4759b90 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 8 Nov 2011 16:34:08 +0100 Subject: Update testing data to the newest piglit checkout. Also add a bug about crashing json_diff on arrays. --- ...e-5f4f6fef53a0907e3565ff2e6888fa916fe463e4.yaml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .ditz/issue-5f4f6fef53a0907e3565ff2e6888fa916fe463e4.yaml (limited to '.ditz') diff --git a/.ditz/issue-5f4f6fef53a0907e3565ff2e6888fa916fe463e4.yaml b/.ditz/issue-5f4f6fef53a0907e3565ff2e6888fa916fe463e4.yaml new file mode 100644 index 0000000..c5d55a9 --- /dev/null +++ b/.ditz/issue-5f4f6fef53a0907e3565ff2e6888fa916fe463e4.yaml @@ -0,0 +1,37 @@ +--- !ditz.rubyforge.org,2008-03-06/issue +title: "KeyError: None exception in line 124 of _format_dict" +desc: |- + mitmanek:json_diff (master) $ json_diff -H -x time_elapsed -x time /tmp/piglit/main test/new-testing-data.json >diff.html + Traceback (most recent call last): + File "/home/matej/.bin/json_diff", line 281, in + print HTMLFormatter(diff_res) + File "/home/matej/.bin/json_diff", line 133, in __str__ + return self._generate_page(self.diff).encode("utf-8") + File "/home/matej/.bin/json_diff", line 76, in _generate_page + self._format_dict(in_dict)) + File "/home/matej/.bin/json_diff", line 115, in _format_dict + out_str += self._format_dict(diff_dict[typechange], typechange, level) + File "/home/matej/.bin/json_diff", line 127, in _format_dict + out_str += self._format_dict(diff_dict[variable], None, level+1) + File "/home/matej/.bin/json_diff", line 115, in _format_dict + out_str += self._format_dict(diff_dict[typechange], typechange, level) + File "/home/matej/.bin/json_diff", line 127, in _format_dict + out_str += self._format_dict(diff_dict[variable], None, level+1) + File "/home/matej/.bin/json_diff", line 124, in _format_dict + (level_str, STYLE_MAP[typch], variable, unicode(diff_dict[variable]))) + KeyError: None +type: :bugfix +component: json_diff +release: +reporter: Matej Cepl +status: :unstarted +disposition: +creation_time: 2011-11-07 09:58:56.794804 Z +references: [] + +id: 5f4f6fef53a0907e3565ff2e6888fa916fe463e4 +log_events: +- - 2011-11-07 09:58:58.230693 Z + - Matej Cepl + - created + - "" -- cgit