Okay, I just pushed the fix upstream. Sorry for not testing on Python3! On Wednesday, October 28, 2015 at 8:58:47 AM UTC-4, john lunzer wrote: > > Python3 doesn't have iteritems because they made everything iterators by > default so that iteritems is just items. I guess I can just use items and > deal with the increased memory footprint for Python2. > > On Wednesday, October 28, 2015 at 8:52:06 AM UTC-4, lewis wrote: >> >> Select the "Nav" tab, enter search text into the window and press enter. >> Leo crashes completely with this in the console: >> >> [snip] >> ** isPython3: True >> Leo 5.1-final, build 20151027155247, Tue Oct 27 15:52:47 CDT 2015 >> Git repo info: branch = master, commit = e4dc0c93de13 >> Python 3.4.3, PyQt version 5.5.1 >> Windows 7 AMD64 (build 6.1.7601) SP1 >> reading settings in c:\Users\lewis\.leo\myLeoSettings.leo >> Traceback (most recent call last): >> File "n:\git\leo-editor\leo\plugins\quicksearch.py", line 356, in >> returnPresse >> d >> self.scon.doSearch(t) >> File "n:\git\leo-editor\leo\plugins\quicksearch.py", line 602, in >> doSearch >> lineMatchHits = self.addParentMatches(parents) >> File "n:\git\leo-editor\leo\plugins\quicksearch.py", line 498, in >> addParentMat >> ches >> for parent_key, parent_value in parent_list.iteritems(): >> AttributeError: 'OrderedDefaultDict' object has no attribute 'iteritems' >> [end] >> >> Regards >> Lewis >> >
-- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
