Hi! Did anyone find a solution for this error?
I've got the same stacktrace here (also Win7 + Python 3.3.5). Thanks. João Em sexta-feira, 21 de março de 2014 13h06min48s UTC-3, bosah vandenberg escreveu: > > Same system with Python 2.7 Works > > leoID=nbv (in C:\Users\Bo\.leo) > > load dir: C:\Python27\Lib\site-packages\leo-editor\leo\core > > global config dir: C:\Python27\Lib\site-packages\leo-editor\leo\config > > home dir: C:\Users\Bo > > reading > settings in > C:\Python27\Lib\site-packages\leo-editor\leo\config\leoSettings.leo > > Using default leo file name: > C:\Users\Bo\.leo\workbook.leo > > Abbreviations off > > reading > settings in C:\Python27\Lib\site-packages\leo-editor\leo\doc\CheatSheet.leo > > > > > On Fri, Mar 21, 2014 at 12:05 PM, bosah vandenberg > <[email protected]<javascript:> > > wrote: > >> Leo 4.11 final, build 042b3a51ba03 (branch: master), 2014-03-21 09:00:58 >> >> Python 3.3.5, qt version 4.8.5 >> Windows 6, 2, 9200, 2, >> >> leoID=nbv (in C:\Users\Bo\.leo) >> >> load dir: C:\Python33\Lib\site-packages\leo-editor\leo\core >> >> global config dir: C:\Python33\Lib\site-packages\leo-editor\leo\config >> >> home dir: C:\Users\Bo >> >> reading >> settings in >> C:\Python33\Lib\site-packages\leo-editor\leo\config\leoSettings.leo >> >> error >> parsing C:\Python33\Lib\site-packages\leo-editor\leo\config\leoSettings.leo >> >> Traceback (most recent call last): >> >> >> File >> "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoFileCommands.py", line >> 1326, in parse_leo_file >> handler = saxContentHandler(c,inputFileName,silent,inClipboard) >> >> >> File >> "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoFileCommands.py", line >> 79, in __init__ >> xml.sax.saxutils.XMLGenerator.__init__(self) >> >> File "C:\Python33\lib\xml\sax\saxutils.py", line 118, in __init__ >> self._write = out.write >> >> AttributeError: 'NoneType' object has no attribute 'write' >> >> Abbreviations off >> >> can not open C:\Users\Bo\My Documents\Leo >> >> >> >> >> On Fri, Mar 21, 2014 at 11:43 AM, Terry Brown >> <[email protected]<javascript:> >> > wrote: >> >>> On Fri, 21 Mar 2014 11:36:49 -0400 >>> bosah vandenberg <[email protected] <javascript:>> wrote: >>> >>> > Reinstalled with same results. Works on 2.7 won't work on 3.5 QT4 >>> >>> Ok, so assuming you meant 3.3.5 Qt 4 :-) we can say that >>> >>> Python 3.3.5 / Qt 4.8.5 works in Win 7 but not Win 8? >>> >>> Seems odd that just changing the Win 7/8 part breaks things, more >>> likely to be a Qt / Win 8 issue than a Leo issue specifically, I would >>> think. >>> >>> Cheers -Terry >>> >>> > I never used qt5 - don't have it downloaded so I'm sure. >>> > >>> > >>> > On Fri, Mar 21, 2014 at 11:26 AM, bosah vandenberg >>> > <[email protected]<javascript:> >>> > >>> > wrote: >>> > >>> > > I was using the Python 3.3 QT4 >>> > > >>> > > It was mostly an experiament. I just shouldn't have blown away my >>> > > other install. :( >>> > > >>> > > I will try the same setup you had with 3.3.5 again with windows 8. >>> > > I don't have much hope but I think its a good thing to establish >>> > > going forward. >>> > > >>> > > >>> > > On Fri, Mar 21, 2014 at 11:16 AM, Terry Brown >>> > > <[email protected] <javascript:>>wrote: >>> > > >>> > >> On Fri, 21 Mar 2014 10:53:37 -0400 >>> > >> bosah vandenberg <[email protected] <javascript:>> wrote: >>> > >> >>> > >> > I retreated to the current head of the python 2.7 branch and it >>> > >> > works again. >>> > >> > >>> > >> > I think there is an issue for Leo in python 3.4, 3.3.5 and 3.3.4 >>> > >> > on win8 >>> > >> >>> > >> Leo is known not to work with Qt 5 based flavors of PyQt, so if >>> > >> any of your setups were using that, it wouldn't be expected to >>> > >> work. >>> > >> >>> > >> I just tried, successfully, >>> > >> Python 3.3.5, qt version 4.8.5 >>> > >> Windows 6, 1, 7601, 2, Service Pack 1 >>> > >> (that's Win 7 64bit) >>> > >> >>> > >> If you could try that combo changing only the Win 7 -> Win 8 part, >>> > >> that would be interesting, if it showed a Win 7 / Win 8 >>> > >> distinction. >>> > >> >>> > >> Python 3.4 isn't available from Riverbank (PyQt) currently, you >>> > >> were building from source? >>> > >> >>> > >> Cheers -Terry >>> > >> >>> > >> > On Fri, Mar 21, 2014 at 10:10 AM, bosah vandenberg >>> > >> > <[email protected] <javascript:>> wrote: >>> > >> > >>> > >> > > I am running windows 8 with the latest Leo-editor (from Git >>> > >> > > Repository) >>> > >> > > >>> > >> > > >>> > >> > > Is this an error in Python 3.3.5? >>> > >> > > I found a reference to a problem with IDLE on google >>> > >> > > >>> > >> > > >>> > >> > > On Fri, Mar 21, 2014 at 9:24 AM, bosah vandenberg >>> > >> > > <[email protected] <javascript:>>wrote: >>> > >> > > >>> > >> > >> I installed python 34 to see if it worked. It didn't. >>> > >> > >> >>> > >> > >> >>> > >> > >> Then I was stupid and upgraded my 3.3 to the latest 3.35, >>> > >> > >> reinstalled QT and this.... >>> > >> > >> >>> > >> > >> >>> > >> > >> reading >>> > >> > >> settings in >>> > >> > >> >>> C:\Python33\Lib\site-packages\leo-editor\leo\config\leoSettings.leo >>> > >> > >> >>> > >> > >> error >>> > >> > >> parsing >>> > >> > >> >>> C:\Python33\Lib\site-packages\leo-editor\leo\config\leoSettings.leo >>> > >> > >> >>> > >> > >> Traceback (most recent call last): >>> > >> > >> >>> > >> > >> >>> > >> > >> File >>> > >> > >> >>> > >> >>> "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoFileCommands.py", >>> > >> > >> line 1326, in parse_leo_file handler = >>> > >> > >> saxContentHandler(c,inputFileName,silent,inClipboard) >>> > >> > >> >>> > >> > >> >>> > >> > >> File >>> > >> > >> >>> > >> >>> "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoFileCommands.py", >>> > >> > >> line 79, in __init__ >>> > >> > >> xml.sax.saxutils.XMLGenerator.__init__(self) >>> > >> > >> >>> > >> > >> File "C:\Python33\lib\xml\sax\saxutils.py", line 118, in >>> > >> > >> __init__ self._write = out.write >>> > >> > >> >>> > >> > >> AttributeError: 'NoneType' object has no attribute 'write' >>> > >> > >> >>> > >> > >> Abbreviations off >>> > >> > >> >>> > >> > >> can not open C:\Python33\Lib\site-packages\leo-editor >>> > >> > >> >>> > >> > >> >>> > >> > >> >>> > >> > >> any ideas? >>> > >> > >> >>> > >> > >> >>> > >> > >> >>> > >> > >> If I try to open leo files they are blank. >>> > >> > >> >>> > >> > >> -- >>> > >> > >> You received this message because you are subscribed to a >>> > >> > >> topic in the Google Groups "leo-editor" group. >>> > >> > >> To unsubscribe from this topic, visit >>> > >> > >> >>> https://groups.google.com/d/topic/leo-editor/-ywBoGviBX4/unsubscribe >>> > >> . >>> > >> > >> To unsubscribe from this group and all its topics, send an >>> > >> > >> email to [email protected] <javascript:>. >>> > >> > >> To post to this group, send email to >>> > >> > >> [email protected] <javascript:>. Visit this group at >>> > >> > >> http://groups.google.com/group/leo-editor. For more options, >>> > >> > >> visit https://groups.google.com/d/optout. >>> > >> > >> >>> > >> > > >>> > >> > > >>> > >> > >>> > >> >>> > >> -- >>> > >> You received this message because you are subscribed to a topic in >>> > >> the Google Groups "leo-editor" group. >>> > >> To unsubscribe from this topic, visit >>> > >> >>> https://groups.google.com/d/topic/leo-editor/-ywBoGviBX4/unsubscribe. >>> > >> To unsubscribe from this group and all its topics, send an email to >>> > >> [email protected] <javascript:>. >>> > >> To post to this group, send email to >>> > >> [email protected]<javascript:> >>> . >>> > >> Visit this group at http://groups.google.com/group/leo-editor. >>> > >> For more options, visit https://groups.google.com/d/optout. >>> > >> >>> > > >>> > > >>> > >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "leo-editor" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/leo-editor/-ywBoGviBX4/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected] <javascript:>. >>> To post to this group, send email to [email protected]<javascript:> >>> . >>> Visit this group at http://groups.google.com/group/leo-editor. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- 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.
