<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div></div><div>Hi Matt</div><div><br></div><div><br></div><div>Simply Fantastic advice. I moved the ipython dir to some other name and ran "iyt" </div><div>which re-installed the .ipython dir and now there is no error. Thanks a lot.</div><div>Best </div><div>Abhi</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:tahoma, new york, times, serif;font-size:10pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Matthew Turk <matthewturk@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Discussion of the yt analysis package <yt-users@lists.spacepope.org><br><b><span style="font-weight: bold;">Sent:</span></b> Tue, 29 June, 2010 9:10:09 PM<br><b><span style="font-weight:
 bold;">Subject:</span></b> Re: [yt-users] New yt installation problem<br></font><br>Hi Abhijit,<br><br>This looks just like incompatible IPython upgrades, or something along<br>those lines.  If you move the ~/.ipython directory out of the way, it<br>will re-initialize the default shell scripts, and that should be clear<br>-- I'd suggest "mv ~/.ipython ~/.ipython_old" and then that might<br>work.  Otherwise, I think things should still work, independent of the<br>IPython installation.  :)<br><br>Best,<br><br>Matt<br><br>On Tue, Jun 29, 2010 at 8:24 AM, Dr. ABHIJIT BHATTACHARYYA<br><<a ymailto="mailto:b_abhijit2k@yahoo.co.in" href="mailto:b_abhijit2k@yahoo.co.in">b_abhijit2k@yahoo.co.in</a>> wrote:<br>> Hi Matt<br>> I did it. Now the error is different and I am pasting the warning message.<br>> Best<br>> Abhijit<br>><br>>> iyt<br>> Your PyGtk has set_interactive(), so you can use the<br>> more stable
 single-threaded Gtk mode.<br>> See <a href="https://bugs.launchpad.net/ipython/+bug/270856" target="_blank">https://bugs.launchpad.net/ipython/+bug/270856</a><br>> System command list not initialized, probably the first run...<br>> running %rehashx to refresh the command list. Run %rehashx<br>> again to refresh command list (after installing new software etc.)<br>> ---------------------------------------------------------------------------<br>> AttributeError                            Traceback (most recent call last)<br>> /usr/local/lib/python2.6/site-packages/IPython/ipmaker.pyc in<br>> force_import(modname, force_reload)<br>>      61         reload(sys.modules[modname])<br>>      62     else:<br>> ---> 63         __import__(modname)<br>>     
 64<br>>      65<br>> /home/vega/.ipython/ipy_user_conf.py in <module>()<br>>     112     ip.ex('execfile("%s")' % os.path.expanduser(fname))<br>>     113<br>> --> 114 main()<br>>     115<br>>     116<br>> /home/vega/.ipython/ipy_user_conf.py in main()<br>>      31     # uncomment if you want to get ipython -p sh behaviour<br>>      32     # without having to use command line switches<br>> ---> 33     import ipy_profile_sh<br>>      34<br>>      35     # Configure your favourite editor?<br>> /usr/local/lib/python2.6/site-packages/IPython/Extensions/ipy_profile_sh.py<br>> in <module>()<br>>     268     ip.IP.runlines = _runlines<br>>     269<br>> --> 270
 main()<br>>     271<br>>     272<br>> /usr/local/lib/python2.6/site-packages/IPython/Extensions/ipy_profile_sh.py<br>> in main()<br>>     131<br>>     132     ip.set_hook('input_prefilter', slash_prefilter_f)<br>> --> 133     extend_shell_behavior(ip)<br>>     134<br>>     135 class LastArgFinder:<br>> /usr/local/lib/python2.6/site-packages/IPython/Extensions/ipy_profile_sh.py<br>> in extend_shell_behavior(ip)<br>>     172     ip.IP.__sig__ = 0xa005<br>>     173     # mark the IPSHELL with this signature<br>> --> 174     ip.IP.user_ns['__builtins__'].__dict__['__sig__'] =<br>> ip.IP.__sig__<br>>     175<br>>     176     from IPython.Itpl import ItplNS<br>> AttributeError: 'dict' object
 has no attribute '__dict__'<br>> WARNING: Loading of ipy_user_conf failed.<br>><br>> Welcome to yt!<br>> [~/.ipython]|1><br>><br>> ________________________________<br>> From: Matthew Turk <<a ymailto="mailto:matthewturk@gmail.com" href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>><br>> To: Discussion of the yt analysis package <<a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>> Sent: Tue, 29 June, 2010 8:44:54 PM<br>> Subject: Re: [yt-users] New yt installation problem<br>><br>> Hi Abhijit,<br>><br>> If you remove a single space from the front of line 33, which<br>> currently has 5 spaces, so that it only has 4, it should work.  This<br>> is the line that says "import ipy_profile_sh".<br>><br>> Best,<br>><br>> Matt<br>><br>> On Tue, Jun 29, 2010 at 7:58 AM, Dr. ABHIJIT
 BHATTACHARYYA<br>> <<a ymailto="mailto:b_abhijit2k@yahoo.co.in" href="mailto:b_abhijit2k@yahoo.co.in">b_abhijit2k@yahoo.co.in</a>> wrote:<br>>> Hi Matt,<br>>> Here is the ipy_user_conf file.<br>>> Best<br>>> Abhijit<br>>><br>>> ________________________________<br>>> From: Matthew Turk <<a ymailto="mailto:matthewturk@gmail.com" href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>><br>>> To: Discussion of the yt analysis package <<a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>>> Sent: Mon, 28 June, 2010 2:44:31 AM<br>>> Subject: Re: [yt-users] New yt installation problem<br>>><br>>> Hi Abhijit,<br>>><br>>> Sorry to hear that upgrade didn't work; very puzzling.  Glad to hear,<br>>> however, that the fresh install worked for you!  The error
 with<br>>> ipy_user_conf.py is confusing.  That's a file that should ship with<br>>> IPython, and which we don't make any modifications to.  Could you post<br>>> a slightly longer excerpt?  It seems that the issue might be with the<br>>> level of indentation.  Or, even attach ~/.ipython/ipy_user_conf.py?<br>>><br>>> Thanks,<br>>><br>>> Matt<br>>><br>>> On Sun, Jun 27, 2010 at 1:24 PM, Dr. ABHIJIT BHATTACHARYYA<br>>> <<a ymailto="mailto:b_abhijit2k@yahoo.co.in" href="mailto:b_abhijit2k@yahoo.co.in">b_abhijit2k@yahoo.co.in</a>> wrote:<br>>>> Hi<br>>>><br>>>> After failure with the canonical install script I foloowed instruction<br>>>> for<br>>>> the manual installation procedure. This method gave me success. However,<br>>>> invoking the "iyt" gives me following warning (seems not a clean run).<br>>>>
 The<br>>>> good news is that ignoring this warning, I could plot Enzo data using<br>>>> pylab.plot. Here one important point I noticed is that, in earlier<br>>>> version,<br>>>> I had to use pylab.show() command to plot on the screen after declaration<br>>>> of<br>>>> pylab.xlabel, pylab.ylabel and pylab.plot commands. Here, as soon as I<br>>>> use<br>>>> pylab.xlabel, I find graphics window on the screen which adpts all the<br>>>> subsequient command and hence do not require any pylab.show().<br>>>><br>>>> For the warning, I checked all path is given in .cshrc. In<br>>>> ~/.ipython/ipy_user_conf.py file, the problem is given by "o =<br>>>> ip.options"<br>>>> line. Any handle?<br>>>> regs<br>>>> Abhijit<br>>>><br>>>>> iyt<br>>>> Your PyGtk has set_interactive(), so you can use
 the<br>>>> more stable single-threaded Gtk mode.<br>>>> See <a href="https://bugs.launchpad.net/ipython/+bug/270856" target="_blank">https://bugs.launchpad.net/ipython/+bug/270856</a><br>>>><br>>>><br>>>> ---------------------------------------------------------------------------<br>>>> IndentationError                          Traceback (most recent call<br>>>> last)<br>>>><br>>>> /usr/local/lib/python2.6/site-packages/IPython/ipmaker.pyc in<br>>>> force_import(modname, force_reload)<br>>>>      61         reload(sys.modules[modname])<br>>>>      62     else:<br>>>> --->
 63         __import__(modname)<br>>>>      64<br>>>>      65<br>>>><br>>>> IndentationError: unindent does not match any outer indentation level<br>>>> (ipy_user_conf.py, line 52)<br>>>> WARNING: Loading of ipy_user_conf failed.<br>>>><br>>>><br>>>> Welcome to yt!<br>>>><br>>>><br>>>> In [1]:<br>>>><br>>>><br>>>> _______________________________________________<br>>>> yt-users mailing list<br>>>> <a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org"
 target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>>>><br>>>><br>>> _______________________________________________<br>>> yt-users mailing list<br>>> <a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>>><br>>><br>>> _______________________________________________<br>>> yt-users mailing list<br>>> <a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org"
 target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>>><br>>><br>> _______________________________________________<br>> yt-users mailing list<br>> <a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>><br>><br>> _______________________________________________<br>> yt-users mailing list<br>> <a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>><br>><br>_______________________________________________<br>yt-users
 mailing list<br><a ymailto="mailto:yt-users@lists.spacepope.org" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br></div></div><div style="position:fixed"></div>


</div><br></body></html>