<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.python.ipython.user">
    <title>gmane.comp.python.ipython.user</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3893"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3892"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3891"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3890"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3889"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3888"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3887"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3886"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3885"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3884"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3883"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3882"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3881"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3880"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3879"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3878"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3877"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3876"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3875"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.ipython.user/3874"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3893">
    <title>Re: ipython 0.9.rc1: problem with example from themanual during import, using MultiEngineClient</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3893</link>
    <description>
Sorry about the delay and the confusing docs.  I am working on
updating them for the 0.9 release.  Hopefully that will help


This should work.  Can you tell me more about your setup?  OS?
Platform?  Can you show what is in you ~/.ipython or _ipython
directory?


It this works, then you have:

1.  Either both ipython1 and IPython 0.9 installed

or

2.  Just IPython 0.9 installed

I would remove ipython1 and IPython 0.9 and do a reinstall of _just_
0.9 and try again.  Also, in 0.9, you don't need to provide (and
can't) the ip and port.  The two options are:

client.TaskClient("path to a furl file")
client.TaskClient()   # empty - look for the default furl flie.

But...there are a few bugs that are in the process of being fixed (we
have fixed them, but the fixes aren't in the release candidate or
trunk yet).

But, this should work.  Why don't you clean up your install and give
it a try again.

Cheers,

Brian
</description>
    <dc:creator>Brian Granger</dc:creator>
    <dc:date>2008-09-05T21:40:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3892">
    <title>ipython 0.9.rc1: problem with example from the manual during import, using MultiEngineClient</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3892</link>
    <description>Hi everyone, sorry if this is a duplicate post; the original appeared,
on my machine, under another thread.  Sorry for that.

I'm following the instructions in the Aug 29 2008 manual for parallel
computing, and have been having some problems; reading back through the
posts, I've noticed nothing to help (please, correct me if I'm wrong!).

If I start my cluster with:

$ ipcluster -n 4 &amp;

Then, with IPython, 0.9.rc1:

In [1]: from IPython.kernel import client

In [2]: tc = client.TaskClient()

I get:
---------------------------------------------------------------------------

... traceback information....

ValueError: not a furl or a file containing a furl:
/home/m.starnes/.ipython/ipcontroller-tc.furl


If I follow the instructions printed by the shell during cluster startup:

In [1]: from ipython1.kernel import client   # Differs from the manual

In [2]: mec = client.MultiEngineClient(('127.0.0.1',10105)) # Differs.

All seems well.  The same occurs when I follow the 'Quickstart Task
Farming' section:

In [3</description>
    <dc:creator>mark starnes</dc:creator>
    <dc:date>2008-09-05T08:59:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3891">
    <title>Non-system, dtraced python</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3891</link>
    <description>Hi,

    Since there is (was ?) a problem with system python (dtrace but
incompatible libreadline) vs python.org python (no dtrace), I thought
ipython users may be interested in a patch I have extracted from apple
sources to build a dtrace python yourself:

http://www.ar.media.kyoto-u.ac.jp/members/david/archives/wordpress/dtrace-2.5.2-2.patch

More info + a built binary similar to python.org built can be found here:

http://cournape.wordpress.com/2008/09/02/building-dtrace-enabled-python-from-sources-on-mac-os-x/

The code in the patch is just a subset of apple patches, e.g. no code is
mine,

cheers,

David
</description>
    <dc:creator>David Cournapeau</dc:creator>
    <dc:date>2008-09-05T04:40:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3890">
    <title>Completer</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3890</link>
    <description>Sorry for bombarding this list:

So in my Shell(InteractiveShell) class, the init looks like this:


class Shell(InteractiveShell):

    def __init__(self):
        InteractiveShell.__init__(self, "JustinShell")
        self.init_readline()


Now for example if I do:

shell = Shell()
x = "hi.l"
shell.complete(x)

It throws an exception inside init_readline on line 1332:

self.Completer = IPCompleter(self, self.user_ns, self.user_global_ns,
self.rc.readline_omit__names, self.alias_table)

AttributeError: Struct instance has no attribute 'readline_omit__names'

Any love?
</description>
    <dc:creator>JM Seitz</dc:creator>
    <dc:date>2008-09-04T23:16:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3889">
    <title>Re: ipython 0.9.rc1 problem with manual example during import, using MultiEngineClient</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3889</link>
    <description>Hello again,

Further to the request below, more problems occur for me later in the
manual.  If I execute:

In [1]: from ipython1.kernel import client

In [2]: tc = client.TaskClient(('127.0.0.1',10105))

In [3]: for n in range(1000):
    tasklist.append(client.Task("a=%i"%n, pull="a"))

In [4]: taskids = [ tc.run(t) for t in tasklist ]

I get:

---------------------------------------------------------------------------
Fault                                     Traceback (most recent call last)

/home/m.starnes/Documents/phd/meetings/85_/&lt;ipython console&gt; in &lt;module&gt;()

/usr/local/lib64/python2.5/site-packages/ipython1-0.3pre3-py2.5.egg/ipython1/kernel/taskclient.pyc
in run(self, task)
     84
     85     def run(self, task):
---&gt; 86         return blockingCallFromThread(self.task_controller.run,
task)
     87
     88     def get_task_result(self, taskid, block=False):

/usr/local/lib64/python2.5/site-packages/ipython1-0.3pre3-py2.5.egg/ipython1/kernel/twistedutil.pyc
in blockingCallFromThread(f, *a, **kw)
 </description>
    <dc:creator>mark starnes</dc:creator>
    <dc:date>2008-09-04T09:44:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3888">
    <title>ipython 0.9.rc1 problem with manual example during import, using MultiEngineClient</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3888</link>
    <description>Hi everyone,

I'm following the instructions in the Aug 29 2008 manual for parallel
computing, and have been having some problems; reading back through the
posts, I've noticed nothing to help (please, correct me if I'm wrong!).

If I start my cluster with:

$ ipcluster -n 4 &amp;

Then, with IPython, 0.9.rc1:

In [1]: from IPython.kernel import client

In [2]: tc = client.TaskClient()

I get:
---------------------------------------------------------------------------

... traceback information....

ValueError: not a furl or a file containing a furl:
/home/m.starnes/.ipython/ipcontroller-tc.furl


If I follow the instructions printed by the shell during cluster startup:

In [1]: from ipython1.kernel import client   # Differs from the manual

In [2]: mec = client.MultiEngineClient(('127.0.0.1',10105)) # Differs.

All seems well.  The same occurs when I follow the 'Quickstart Task
Farming' section:

In [3]: tc = client.TaskClient(('127.0.0.1',10105))


is fine, but

In [3]: tc = client.TaskClient()  # as per the ma</description>
    <dc:creator>mark starnes</dc:creator>
    <dc:date>2008-09-04T09:07:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3887">
    <title>Re: demo, classes and indentation</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3887</link>
    <description>Howdy,

On Tue, Sep 2, 2008 at 11:33 PM, Stefan Schwarzburg
&lt;stefan.schwarzburg&lt; at &gt;googlemail.com&gt; wrote:

Unfortunately I'm afraid the demo stuff has fallen into a bit of
disrepair.  I hadn't used it in a while and I recently noticed
problems with it.  We're trying to wrap up the 0.9 release, but I have
some teaching to do soon and I'll try to fix it as soon as I can,
adding proper tests in the process.   I'll keep this in mind as I do
so, because it's likely a problem that was  simply never addressed.

One note though: you simply can't break up the sections of a demo
anywhere  but at the top-level of indentation, so there's just no way
to have a section include only part of a class or function
declaration.  That's just a limitation of python's indentation-based
model.  So for your demos, you need to keep the split points at the
top-level, keeping classes or functions *entirely* within one  demo
block.  That limitation could technically be removed, but it's not
trivial (it requires keeping an internal running </description>
    <dc:creator>Fernando Perez</dc:creator>
    <dc:date>2008-09-04T04:30:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3886">
    <title>Re: sys.stderr</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3886</link>
    <description>Howdy,

On Wed, Sep 3, 2008 at 9:33 AM, JM Seitz &lt;jms&lt; at &gt;bughunter.ca&gt; wrote:

I'm afraid I have no embedding (in C++) experience so I won't be able
to help you out, but it would really be great if you could document
this process so we could include it in the ipython docs and examples
for the future.  This question does come up somewhat regularly...

Thanks!

f
</description>
    <dc:creator>Fernando Perez</dc:creator>
    <dc:date>2008-09-04T00:33:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3885">
    <title>Re: ipython 0.9 ipengine launch question</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3885</link>
    <description>One correction,

To have furl files that don't change each time you run the controller
you need to specify the ports to listen on using:

ipcontroller --engine-port=10111 --client-port=10112

Otherwise, the controller uses random port numbers each time (they
change).  Because the port numbers are in the furls, the furls then
change.  But, if you set the port numbers by hand, the furls will
remain the same each time you run ipcontroller:

$ ipcontroller --engine-port=10111 --client-port=10112
(test4)pcp025382pcs:security bgranger$ cat *.furl
pb://5zdgwqsnrtpifiz6hp23by3w6jyabflk&lt; at &gt;127.0.0.1:10111,129.65.215.183:10111/pdsoipnt6oxbf3frpdlw76i47he3vudn
pb://la7is75mkk4z62aqdmfynnd7cibo4ecx&lt; at &gt;127.0.0.1:10112,129.65.215.183:10112/pwkwqv5f7fw4qgaw56yqwba42fob4xhd
pb://la7is75mkk4z62aqdmfynnd7cibo4ecx&lt; at &gt;127.0.0.1:10112,129.65.215.183:10112/xdm5xaczv6yfgdomdufuluhu4uopzrbi

And a second time to see they don't change...

$ ipcontroller --engine-port=10111 --client-port=10112
(test4)pcp025382pcs:security bgranger$ cat *.furl</description>
    <dc:creator>Brian Granger</dc:creator>
    <dc:date>2008-09-03T23:23:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3884">
    <title>Re: ipython 0.9 ipengine launch question</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3884</link>
    <description>Brant,

I do want to try to understand what is going on here.


Yep, this is a bug in ipcluster.py.  I will work on fixing this today.


Wow, this is really wierd, especially because we don't really use
threads.  Hmmm.  Can you give more information?

Are you using threads in any way?
Can you produce cod that triggers this?
Which stderr buffer shows that EngineException?
Python version?
OS and platform?

Let's see if we can get to the bottom of this...

Brian


</description>
    <dc:creator>Brian Granger</dc:creator>
    <dc:date>2008-09-03T20:20:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3883">
    <title>sys.stderr</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3883</link>
    <description>So (as I mentioned in my previous post) I have IPython embedded into a
C++ app. That's working fine now, however, I need to be able to access
sys.stderr but instead of the original traceback that Python itself has
thrown I can only get:

ERROR - failed to write data to
stream:&lt;pyreadline.console.console.Console object at 0x036B6A70&gt;

So I am getting the exception that the IPython shell was handed but I
need to get the original sys.stderr exception. The shell is an
iplib.InteractiveShell instance.

TIA
</description>
    <dc:creator>JM Seitz</dc:creator>
    <dc:date>2008-09-03T16:33:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3882">
    <title>Re: Embedded IPython and -pylab</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3882</link>
    <description>On Wed, Sep 3, 2008 at 11:05 AM, Inigo Aldazabal Mensa
&lt;inigo_aldazabal&lt; at &gt;ehu.es&gt; wrote:


See how you can do it with tests/test_embed.py

</description>
    <dc:creator>Ville M. Vainio</dc:creator>
    <dc:date>2008-09-03T08:57:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3881">
    <title>Embedded IPython and -pylab</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3881</link>
    <description>Hi all,

The thing is, if I try to call IPython from a script with -pylab as the
argv, the script neither loads the pylab namespace nor it is in matplotlib
threaded mode. So that in


the -pylab seems to have no effect.



But then in this case I don't get the previous variable space so I can not
interact with it.

The idea of course is doing some number-crunching and at some point 
stopping and goint into IPython to make some plots, etc. in a non-blocking 
manner a la "IPython -pylab".

I found a couple of posts regarding this, but no clear answers about it. Is
it not possible to do it or I'm missing something here?

Thanks,

Inigo
</description>
    <dc:creator>Inigo Aldazabal Mensa</dc:creator>
    <dc:date>2008-09-03T08:05:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3880">
    <title>demo, classes and indentation</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3880</link>
    <description>_______________________________________________
IPython-user mailing list
IPython-user&lt; at &gt;scipy.org
http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
</description>
    <dc:creator>Stefan Schwarzburg</dc:creator>
    <dc:date>2008-09-03T06:33:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3879">
    <title>Re: autoreload 1 and aimport don't seem to work</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3879</link>
    <description>

Pauli Virtanen-3 wrote:

I made the change in ipy_autoreload.py but I still get the NameError as
before. aimport and then import work fine as you suggested. 

</description>
    <dc:creator>khosra</dc:creator>
    <dc:date>2008-08-30T21:18:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3878">
    <title>Re: autoreload 1 and aimport don't seem to work</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3878</link>
    <description>

[clip]
---------------------------------------------------------------------------

It's a bug (my bad, sorry!), incorrect use of __import__ in the 
autoreload extension. Instead of 

mod = __import__(modname)
        ip.to_user_ns({modname: mod})

it should say

__import__(modname)
ip.to_user_ns({modname: sys.modules[modname]})

in ipy_autoreload.py


You should still be able to do

aimport reload_test.reload_me
import reload_test.reload_me

and then hopefully works.

</description>
    <dc:creator>Pauli Virtanen</dc:creator>
    <dc:date>2008-08-30T21:02:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3877">
    <title>autoreload 1 and aimport don't seem to work</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3877</link>
    <description>
I am using 0.9.rc1 and have 'import ipy_autoreload' in ipy_user_conf.py. I
can get aimport to work only with modules in the current directory. I am
probably not understanding the documentation. What am I doing incorrectly?
First time I tried this feature.

I have the following setup:

$ ls reload_test 
__init__.py  reload_me.py

where __init__.py is blank and reload_me.py is one line:

change = 1

Then this is my ipython transcript:

In [1]: pwd
Out[1]: '/home/amir/python'

In [2]: autoreload 1

In [3]: aimport reload_test.reload_me

In [4]: aimport
Modules to reload:
reload_test.reload_me

Modules to skip:


In [5]: reload_test.reload_me   # didn't seem to load

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/amir/python/&lt;ipython console&gt; in &lt;module&gt;()

NameError: name 'reload_test' is not defined

In[6]: cd reload_test
/home/amir/python/reload_test

In[7]: aimport reload_me

In[8]: aimport 
Modul</description>
    <dc:creator>khosra</dc:creator>
    <dc:date>2008-08-30T20:53:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3876">
    <title>Any user of ipython -wthread over there?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3876</link>
    <description>_______________________________________________
IPython-user mailing list
IPython-user&lt; at &gt;scipy.org
http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
</description>
    <dc:creator>Laurent Dufrechou</dc:creator>
    <dc:date>2008-08-30T20:46:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3875">
    <title>Re: Debugging with IPython</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3875</link>
    <description>
What I do (Fernando taught me this a year ago) is that I insert some
invalid code to raise an exception where I want to debug the application,
then I run it with "%run my_file.py", and when the app tracebacks, I use
"%debug".

Gaël
</description>
    <dc:creator>Gael Varoquaux</dc:creator>
    <dc:date>2008-08-28T06:08:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3874">
    <title>Re: Debugging with IPython</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3874</link>
    <description>Message: 1
Date: Wed, 27 Aug 2008 18:12:29 -0400
From: Yang Zhang &lt;yanghatespam&lt; at &gt;gmail.com&gt;
Subject: [IPython-user] Debugging with IPython
To: ipython-user&lt; at &gt;scipy.org
Message-ID: &lt;48B5D14D.4000309&lt; at &gt;gmail.com&gt;
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I realize that IPython is a shell, and (at least AFAIK) not a debugger,
so I shouldn't expect to be able to use it as a replacement for pdb's
facilities for stepping through lines, navigating stack frames, etc.

A free, awesome replacement for pdb is WinPDB (dont be confused by the
name, it is a cross -platform debugger)
http://winpdb.org/, and you can still use Ipython to run your program
</description>
    <dc:creator>Tony Cappellini</dc:creator>
    <dc:date>2008-08-28T18:23:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.ipython.user/3873">
    <title>Re: Added .desktop files</title>
    <link>http://permalink.gmane.org/gmane.comp.python.ipython.user/3873</link>
    <description>
Great, thanks!

f
</description>
    <dc:creator>Fernando Perez</dc:creator>
    <dc:date>2008-08-28T18:13:55</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.python.ipython.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.ipython.user</link>
  </textinput>
</rdf:RDF>
