Hi John,

Please check the link http://bugs.ascend4.org/view.php?id=530.I have added
the patch on the bug tracker.
I made some notes based on the changes and ran some tests and its working
fine :) . Please have a look at it and let me know if any further changes
are required.

*
*
*Details are :-*
*
*
1. Removed the uncompatibilities with new version of IPython based on the
recent IPython API changes.

2. Added a new IO stream handling methods for the newer Ipython version.

3. Added a method generatePrompt which helps to provide backward
compatibility for the previous versions of IPython (0.10 and 0.11) and
renders the prompt manager.
(
http://ipython.sourcearchive.com/documentation/0.10/classIPython_1_1kernel_1_1core_1_1interpreter_1_1Interpreter_9c6c621858bb8b870de3af05fe53fd29.html#9c6c621858bb8b870de3af05fe53fd29
)

4. Changed the configuring of the IPython config loader based on the new
API.

5. Provided a Temporary fix for the issue
http://bugs.ascend4.org/view.php?id=572 , by Mapping exit() and quit()
calls to 'None' i.e a null function.

6. For now, I have disabled the auto-indent behaviour, because it was
incompatible with the new API changes. I am trying to add a workaround for
the auto-indent issue.


Awaiting your reply.

Regards,

Pallav Tinna

3rd Year Undergraduate Student
Computer Science and Engineering

International Institute of Information Technology,Hyderabad
IIIT-H (India)




On Mon, Mar 18, 2013 at 3:47 AM, John Pye <[email protected]> wrote:

>  Hi Pallav
>
> This would really be a nice thing to fix, but my recollection was that
> IPython 0.12.1 is available on Ubuntu 12.04, our standard platform (we try
> to avoid taking on new dependencies that are not available in this
> platform). And then I recall that IPython did some refactoring to improve
> 'embedability', but that this wasn't available until IPython 0.13.x. So if
> you can find a way to restore support for the IPython Console for this
> newer version of IPython, that would be great, providing it fails
> gracefully for the older IPython (or perhaps you can add a workaround also
> for the older IPython?)
>
> The other issue was the 'ipython_view.py' file from the 'Accerciser'
> project contains all the necessary work-arounds, but Accerciser has been
> updated to use GTK 3, which ASCEND isn't yet using. Arghhh! So some careful
> examining of the Accerciser code would be helpful, but also not easy.
>
> I would suggest that you start by first trying to write a standalone
> GTK+-based IPython 0.13, then once you get that working, try to embed it in
> ASCEND.
>
> Cheers
> JP
>
>
> 2013/3/17 Pallav Tinna <[email protected]>
>
>> Hi,
>>      Can someone please guide me if I am going correct or not.? Should I
>> try modifying "console.py" in order to make sure the error occurs due to
>> above mentioned changes in the Ipython API.
>>
>>
>>
>>   Regards,
>>  Pallav Tinna
>> 3rd Year Undergraduate Student
>>
>> Computer Science and Engineering
>>
>> IIIT-H (India)
>>
>>
>>
>>
>> On Fri, Mar 15, 2013 at 7:01 AM, Pallav Tinna <[email protected]
>> > wrote:
>>
>>> In newer versions of Ipython(0.13) has no module "iplib". IPython.iplib
>>> has been moved to IPython.core.iplib and is being refactored. This new
>>> module is provided for backwards compatability. So, I guess its worth a
>>> try.
>>>
>>>
>>>
>>>   Regards,
>>>
>>>  Pallav Tinna
>>> 3rd Year Undergraduate Student
>>> Computer Science and Engineering
>>> IIIT-H (India)
>>>
>>
>

Attachment: 0000530.patch
Description: Binary data

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to