[IPython-User] IPython-User Digest, Vol 109, Issue 10

Jeffrey Roberts jar1908@gmail....
Mon Nov 5 16:28:50 CST 2012


Re: Error creating a new IPython notebook

Matthias,

Exactly what I needed! Thank you!

Jeff


On Mon, Nov 5, 2012 at 2:39 PM, <ipython-user-request@scipy.org> wrote:

> Send IPython-User mailing list submissions to
>         ipython-user@scipy.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.scipy.org/mailman/listinfo/ipython-user
> or, via email, send a message with subject or body 'help' to
>         ipython-user-request@scipy.org
>
> You can reach the person managing the list at
>         ipython-user-owner@scipy.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of IPython-User digest..."
>
>
> Today's Topics:
>
>    1. Re: Slide mode from SciPy 2012 talk (David Warde-Farley)
>    2. Re: Slide mode from SciPy 2012 talk (David Warde-Farley)
>    3. Re: Slide mode from SciPy 2012 talk (Matthias BUSSONNIER)
>    4. Error creating a new IPython notebook (Jeffrey Roberts)
>    5. Re: Error creating a new IPython notebook (Matthias BUSSONNIER)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 5 Nov 2012 14:13:51 -0500
> From: David Warde-Farley <d.warde.farley@gmail.com>
> Subject: Re: [IPython-User] Slide mode from SciPy 2012 talk
> To: "Discussions about using IPython. http://ipython.org"
>         <ipython-user@scipy.org>
> Message-ID:
>         <CALc6Xo6mrSYprFB-v3wL=
> Z6kgrr_8+xfQ45OJiDqSfB3Mmk6vw@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Matthias,
>
> I've been playing with your slideshow_metadata branch (since I'm giving a
> tutorial on Saturday) and it is pretty usable already! Thanks a lot for
> this effort.
>
> I was wondering if there was a way to do one of two things:
>
> - clear the currently visible cells (so that the next cell starts at the
> top of the browser window), or, alternatively
> - scroll the browser as new cells appear
>
> Thanks,
>
> David
>
>
>
>
> On Tue, Sep 4, 2012 at 4:13 PM, Matthias BUSSONNIER <
> bussonniermatthias@gmail.com> wrote:
>
> >
> > Le 4 sept. 2012 ? 20:45, Andy Ray Terrel a ?crit :
> >
> > Hello,
> >
> > Fernando shows some really nice features in his scipy2012 talk [0]!
> > One that I can't seem to find is the slide mode.  At about 2:10 in the
> > video he clicks on a button that goes to full screen and then shows
> > the slide show mode when it iterates one cell at a time.  I see a
> > github issue about this topic and some details on the email lists but
> > I don't see anywhere that says how to get it or use it.  I would be
> > very grateful if someone could point me into the right direction on
> > getting this up and running.
> >
> > -- Andy
> >
> > [0] http://www.youtube.com/watch?v=iwVvqwLDsJo&feature=plcp
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
> >
> >
> > Fernando was running from a hackish branch I made the night before.
> > To be user friendly it needs a few change on the javascript size that are
> > not been merged yet.
> > And some UI for metadata that has to be written would be helpful to.
> >
> > You'll need pr #2127
> >
> > and this gist in one markdown cell of the notebook you which to have in
> > presentation mode.
> > https://gist.github.com/3097817
> >
> > New slide delimiters are #==== and <!--====--> anywhere in the cell
> >
> > It might need to be adapted now, and have some bugs.
> >
> > Depending on what you want to do with it and time you have I could help
> > you to have it up and running.
> >
> > You can of course speed up the chance of having it merged into master by
> > reviewing some PR,  or fix the issues of others PR whose authors are to
> > busy to do it.
> >
> > --
> > Matthias
> >
> >
> >
> >
> >
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/ipython-user/attachments/20121105/7e3936d0/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 5 Nov 2012 14:16:24 -0500
> From: David Warde-Farley <d.warde.farley@gmail.com>
> Subject: Re: [IPython-User] Slide mode from SciPy 2012 talk
> To: "Discussions about using IPython. http://ipython.org"
>         <ipython-user@scipy.org>
> Message-ID:
>         <
> CALc6Xo5eGC9N1stsKg80WMT7LA-GXHqKpg3AfQqQ5ebLs1rEEA@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hmm, nevermind. I assumed from your slide demo notebook that this wasn't
> possible given the current metadata, but I opened the toolbar and hit
> "slide start" and voila!
>
> Thanks again and sorry for the noise,
>
> David
>
>
> On Mon, Nov 5, 2012 at 2:13 PM, David Warde-Farley <
> d.warde.farley@gmail.com
> > wrote:
>
> > Hi Matthias,
> >
> > I've been playing with your slideshow_metadata branch (since I'm giving a
> > tutorial on Saturday) and it is pretty usable already! Thanks a lot for
> > this effort.
> >
> > I was wondering if there was a way to do one of two things:
> >
> > - clear the currently visible cells (so that the next cell starts at the
> > top of the browser window), or, alternatively
> > - scroll the browser as new cells appear
> >
> > Thanks,
> >
> > David
> >
> >
> >
> >
> >
> > On Tue, Sep 4, 2012 at 4:13 PM, Matthias BUSSONNIER <
> > bussonniermatthias@gmail.com> wrote:
> >
> >>
> >> Le 4 sept. 2012 ? 20:45, Andy Ray Terrel a ?crit :
> >>
> >> Hello,
> >>
> >> Fernando shows some really nice features in his scipy2012 talk [0]!
> >> One that I can't seem to find is the slide mode.  At about 2:10 in the
> >> video he clicks on a button that goes to full screen and then shows
> >> the slide show mode when it iterates one cell at a time.  I see a
> >> github issue about this topic and some details on the email lists but
> >> I don't see anywhere that says how to get it or use it.  I would be
> >> very grateful if someone could point me into the right direction on
> >> getting this up and running.
> >>
> >> -- Andy
> >>
> >> [0] http://www.youtube.com/watch?v=iwVvqwLDsJo&feature=plcp
> >> _______________________________________________
> >> IPython-User mailing list
> >> IPython-User@scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-user
> >>
> >>
> >> Fernando was running from a hackish branch I made the night before.
> >> To be user friendly it needs a few change on the javascript size that
> are
> >> not been merged yet.
> >> And some UI for metadata that has to be written would be helpful to.
> >>
> >> You'll need pr #2127
> >>
> >> and this gist in one markdown cell of the notebook you which to have in
> >> presentation mode.
> >> https://gist.github.com/3097817
> >>
> >> New slide delimiters are #==== and <!--====--> anywhere in the cell
> >>
> >> It might need to be adapted now, and have some bugs.
> >>
> >> Depending on what you want to do with it and time you have I could help
> >> you to have it up and running.
> >>
> >> You can of course speed up the chance of having it merged into master by
> >> reviewing some PR,  or fix the issues of others PR whose authors are to
> >> busy to do it.
> >>
> >> --
> >> Matthias
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> IPython-User mailing list
> >> IPython-User@scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-user
> >>
> >>
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/ipython-user/attachments/20121105/5a0c5e18/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Mon, 5 Nov 2012 21:21:06 +0100
> From: Matthias BUSSONNIER <bussonniermatthias@gmail.com>
> Subject: Re: [IPython-User] Slide mode from SciPy 2012 talk
> To: "Discussions about using IPython. http://ipython.org"
>         <ipython-user@scipy.org>
> Message-ID: <3BCA19EF-482E-46E5-85B9-AB431B183335@gmail.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> Le 5 nov. 2012 ? 20:16, David Warde-Farley a ?crit :
>
> > Hmm, nevermind. I assumed from your slide demo notebook that this wasn't
> possible given the current metadata, but I opened the toolbar and hit
> "slide start" and voila!
> >
> > Thanks again and sorry for the noise,
> >
> > David
>
> No problem, if you need some tweak, don't hesitate to ask.
>
> Thanks for the feedback.
> --
> Matthias
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 5 Nov 2012 14:29:15 -0700
> From: Jeffrey Roberts <jar1908@gmail.com>
> Subject: [IPython-User] Error creating a new IPython notebook
> To: ipython-user@scipy.org
> Message-ID:
>         <
> CAMHG8ZSG2wtTrPz28knyp9u8_mcsch8WSGYnZc0KuFrJ1DE4bA@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I am a Python newbie who is excited about using IPython notebook but can't
> seem to get it installed properly. I downloaded and installed EPD Free 7.3.
> I've worked through a couple of examples in West McKinney's book "Python
> for Data Analysis" so I know that IPython works via the console.
>
> At the command prompt, I typed ipython notebook --pylab=inline. A notebook
> tab appears in my browser (I'm using the latest version of Firefox in
> Windows Vista, also tried it on my laptop in Windows 7). When I click
> "Create Notebook" I get "500: Internal Server Error."  The error message
> that appears in the command prompt is copied below.
>
> Thanks for any advice on how to get ipython notebook set up.
>
> Jeff
>
>
>
> C:\>ipython notebook --pylab=inline
> [NotebookApp] Using existing profile dir:
> u'C:\\Users\\Jeff\\.ipython\\profile_d
> efault'
> [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888
> [NotebookApp] Use Control-C to stop this server and shut down all kernels.
> ERROR:root:Uncaught exception GET /new (127.0.0.1)
> HTTPRequest(protocol='http', host='127.0.0.1:8888', method='GET',
> uri='/new', ve
> rsion='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Connection':
> 'keep-a
> live', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip,
> deflate',
> 'Referer': 'http://127.0.0.1:8888/', 'Host': '127.0.0.1:8888', 'Accept':
> 'text/h
> tml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent':
> 'Mozil
> la/5.0 (Windows NT 6.0; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0'})
> Traceback (most recent call last):
>   File "C:\Python27\lib\site-packages\tornado\web.py", line 988, in
> _execute
>     getattr(self, self.request.method.lower())(*args, **kwargs)
>   File "C:\Python27\lib\site-packages\tornado\web.py", line 1739, in
> wrapper
>     return method(self, *args, **kwargs)
>   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\handlers.py
> ", line 245, in get
>     notebook_id = nbm.new_notebook()
>   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\notebookman
> ager.py", line 253, in new_notebook
>     with open(path,'w') as f:
> IOError: [Errno 13] Permission denied: u'C:\\Untitled0.ipynb'
> ERROR:root:500 GET /new (127.0.0.1) 8.00ms
> ERROR:root:Uncaught exception GET /new (127.0.0.1)
> HTTPRequest(protocol='http', host='127.0.0.1:8888', method='GET',
> uri='/new', ve
> rsion='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Connection':
> 'keep-a
> live', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip,
> deflate',
> 'Referer': 'http://127.0.0.1:8888/', 'Host': '127.0.0.1:8888', 'Accept':
> 'text/h
> tml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent':
> 'Mozil
> la/5.0 (Windows NT 6.0; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0'})
> Traceback (most recent call last):
>   File "C:\Python27\lib\site-packages\tornado\web.py", line 988, in
> _execute
>     getattr(self, self.request.method.lower())(*args, **kwargs)
>   File "C:\Python27\lib\site-packages\tornado\web.py", line 1739, in
> wrapper
>     return method(self, *args, **kwargs)
>   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\handlers.py
> ", line 245, in get
>     notebook_id = nbm.new_notebook()
>   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\notebookman
> ager.py", line 253, in new_notebook
>     with open(path,'w') as f:
> IOError: [Errno 13] Permission denied: u'C:\\Untitled0.ipynb'
> ERROR:root:500 GET /new (127.0.0.1) 5.00ms
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/ipython-user/attachments/20121105/196eaaa7/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Mon, 5 Nov 2012 22:44:13 +0100
> From: Matthias BUSSONNIER <bussonniermatthias@gmail.com>
> Subject: Re: [IPython-User] Error creating a new IPython notebook
> To: "Discussions about using IPython. http://ipython.org"
>         <ipython-user@scipy.org>
> Message-ID: <90941FEF-8CDD-46B6-8720-F39103CD5F52@gmail.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> Le 5 nov. 2012 ? 22:29, Jeffrey Roberts a ?crit :
>
> > Hello,
> >
> > I am a Python newbie who is excited about using IPython notebook but
> can't seem to get it installed properly. I downloaded and installed EPD
> Free 7.3. I've worked through a couple of examples in West McKinney's book
> "Python for Data Analysis" so I know that IPython works via the console.
> >
> > At the command prompt, I typed ipython notebook --pylab=inline. A
> notebook tab appears in my browser (I'm using the latest version of Firefox
> in Windows Vista, also tried it on my laptop in Windows 7). When I click
> "Create Notebook" I get "500: Internal Server Error."  The error message
> that appears in the command prompt is copied below.
> >
> > Thanks for any advice on how to get ipython notebook set up.
>
> Hi Jeff,
>
> I'm neither a windows nor EPD User, But it seem that you don't have
> permission to write on C:\ directly.
>
> I suggest you start the notebook with the
> --notebook-dir=\your\favorite\path\where\you\can\write.
> (maybe with leading C:\ and maybe double \ I'm not quite sure for windows)
> It should accept new notebook creation then.
>
> Eventually, you can `cd` into the directory where you want to start the
> notebook, the default directory should be the current one, I don't know if
> EPD have change the default.
>
> You can of course use --notebook-dir=... to start the notebook in one of
> the example directory (e.g.  [ipython-dir]/docs/examples/notebook)
> and you can also set it permanently in your profile.
>
> Hope this help, keep us posted of your progress.
> --
> Matthias
>
>
>
>
> >
> > Jeff
> >
> >
> >
> > C:\>ipython notebook --pylab=inline
> > [NotebookApp] Using existing profile dir:
> u'C:\\Users\\Jeff\\.ipython\\profile_d
> > efault'
> > [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888
> > [NotebookApp] Use Control-C to stop this server and shut down all
> kernels.
> > ERROR:root:Uncaught exception GET /new (127.0.0.1)
> > HTTPRequest(protocol='http', host='127.0.0.1:8888', method='GET',
> uri='/new', ve
> > rsion='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Connection':
> 'keep-a
> > live', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip,
> deflate',
> > 'Referer': 'http://127.0.0.1:8888/', 'Host': '127.0.0.1:8888',
> 'Accept': 'text/h
> > tml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
> 'User-Agent': 'Mozil
> > la/5.0 (Windows NT 6.0; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0'})
> > Traceback (most recent call last):
> >   File "C:\Python27\lib\site-packages\tornado\web.py", line 988, in
> _execute
> >     getattr(self, self.request.method.lower())(*args, **kwargs)
> >   File "C:\Python27\lib\site-packages\tornado\web.py", line 1739, in
> wrapper
> >     return method(self, *args, **kwargs)
> >   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\handlers.py
> > ", line 245, in get
> >     notebook_id = nbm.new_notebook()
> >   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\notebookman
> > ager.py", line 253, in new_notebook
> >     with open(path,'w') as f:
> > IOError: [Errno 13] Permission denied: u'C:\\Untitled0.ipynb'
> > ERROR:root:500 GET /new (127.0.0.1) 8.00ms
> > ERROR:root:Uncaught exception GET /new (127.0.0.1)
> > HTTPRequest(protocol='http', host='127.0.0.1:8888', method='GET',
> uri='/new', ve
> > rsion='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Connection':
> 'keep-a
> > live', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip,
> deflate',
> > 'Referer': 'http://127.0.0.1:8888/', 'Host': '127.0.0.1:8888',
> 'Accept': 'text/h
> > tml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
> 'User-Agent': 'Mozil
> > la/5.0 (Windows NT 6.0; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0'})
> > Traceback (most recent call last):
> >   File "C:\Python27\lib\site-packages\tornado\web.py", line 988, in
> _execute
> >     getattr(self, self.request.method.lower())(*args, **kwargs)
> >   File "C:\Python27\lib\site-packages\tornado\web.py", line 1739, in
> wrapper
> >     return method(self, *args, **kwargs)
> >   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\handlers.py
> > ", line 245, in get
> >     notebook_id = nbm.new_notebook()
> >   File
> "C:\Python27\lib\site-packages\IPython\frontend\html\notebook\notebookman
> > ager.py", line 253, in new_notebook
> >     with open(path,'w') as f:
> > IOError: [Errno 13] Permission denied: u'C:\\Untitled0.ipynb'
> > ERROR:root:500 GET /new (127.0.0.1) 5.00ms
> >
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
>
> ------------------------------
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
> End of IPython-User Digest, Vol 109, Issue 10
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121105/819fd397/attachment-0001.html 


More information about the IPython-User mailing list