Ville,

build 5594 is running fine.

Thanks
Lewis

On Sunday, January 27, 2013 7:16:40 PM UTC+11, Ville M. Vainio wrote:
>
> Agh, that syntax was incompateble with python 3, thanks for reporting in.
>
> Please pull and try again
>
>
> On Sun, Jan 27, 2013 at 5:18 AM, lewis <[email protected]<javascript:>
> > wrote:
>
>> Ville,
>>
>> I get this traceback when trying to run build 5591:
>> [start]
>> C:\Python33\Lib\site-packages\leo-editor>launchleo.py
>> Traceback (most recent call last):
>>   File "C:\Python33\Lib\site-packages\leo-editor\launchLeo.py", line 8, 
>> in <modu
>> le>
>>     leo.core.runLeo.run()
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\core\runLeo.py", 
>> line 87, i
>> n run
>>     g.app.loadManager.load(fileName,pymacs)
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoApp.py", 
>> line 1923,
>>  in load
>>     lm.doPrePluginsInit(fileName,pymacs)
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoApp.py", 
>> line 1983,
>>  in doPrePluginsInit
>>     lm.createGui(pymacs)
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoApp.py", 
>> line 2013,
>>  in createGui
>>     lm.createSpecialGui(gui_option,pymacs,script,windowFlag)
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoApp.py", 
>> line 2030,
>>  in createSpecialGui
>>     g.app.createDefaultGui()
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoApp.py", 
>> line 762,
>> in createDefaultGui
>>     app.createQtGui(fileName,verbose=verbose)
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\core\leoApp.py", 
>> line 791,
>> in createQtGui
>>     import leo.plugins.qtGui as qtGui
>>   File "C:\Python33\Lib\site-packages\leo-editor\leo\plugins\qtGui.py", 
>> line 760
>> 8
>>     exec script in self.ipk.namespace
>>               ^
>> SyntaxError: invalid syntax
>> [end]
>>
>> Build 5584 launches fine:
>> Leo Log Window
>> Leo 4.11 devel, build 5584, 2013-01-25 09:13:32
>> Python 3.3.0, qt version 4.8.4
>> Windows 6, 0, 6002, 2, Service Pack 2
>>
>> Regards
>> Lewis
>>
>>
>> On Sunday, January 27, 2013 12:56:01 PM UTC+11, Ville M. Vainio wrote:
>>
>>> Added a new command, 
>>>
>>> alt-x ipython-exec
>>>
>>> This executes the currently selected node/script in ipython kernels 
>>> namespace
>>>
>>> This is a replacement for the old push-to-ipython command.
>>>
>>> Going forward, I'm looking into adapting valuespace.py plugin to use 
>>> ipython namespace when it's available.
>>>
>>>
>>> On Fri, Jan 25, 2013 at 11:17 AM, Ville M. Vainio <[email protected]>wrote:
>>>
>>>>  Just in the way of clarification - push-to-ipython doesn't currently 
>>>> do that, but a future incarnation can.
>>>>
>>>>
>>>> On Fri, Jan 25, 2013 at 9:44 AM, Ville M. Vainio <[email protected]>wrote:
>>>>
>>>>> At least push-to-ipython can evaluate scripts in ipython namespace 
>>>>> (you can see where that namespace dict is from my code).
>>>>>
>>>>> Now that we know it works on windows as well, do you want me to merge 
>>>>> the code with leo trunk?
>>>>>
>>>>> Also, enthought python distribution has PyQt too? Maybe it could be a 
>>>>> good recommendation for Windows users to use that when installing Leo on 
>>>>> blank machine...
>>>>>  
>>>>>
>>>>> On Fri, Jan 25, 2013 at 3:28 AM, Edward K. Ream <[email protected]>wrote:
>>>>>
>>>>>>  On Thu, Jan 24, 2013 at 2:01 PM, Ville M. Vainio 
>>>>>> <[email protected]>wrote:
>>>>>>
>>>>>>> Leo finally caught up with modern IPython ;-).
>>>>>>>
>>>>>>
>>>>>> Hurray!  This is great stuff.
>>>>>>
>>>>>> I have it running on both Linux and Windows7, using the enthought 
>>>>>> distro as Tom suggested.  Thanks, Tom.
>>>>>>
>>>>>> It's clear from your demo that IPython can access Leo data.  But the 
>>>>>> old push-to-ipython command crashes.  Is there a way to pass scripts 
>>>>>> from 
>>>>>> Leo to ipython?
>>>>>>
>>>>>> Edward
>>>>>>  
>>>>>> -- 
>>>>>> 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 leo-editor+...@**googlegroups.com.
>>>>>> To post to this group, send email to [email protected].
>>>>>>
>>>>>> Visit this group at 
>>>>>> http://groups.google.com/**group/leo-editor?hl=en<http://groups.google.com/group/leo-editor?hl=en>
>>>>>> .
>>>>>> For more options, visit 
>>>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>>>> .
>>>>>>  
>>>>>>  
>>>>>>
>>>>>
>>>>>
>>>>
>>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/leo-editor?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to