[IPython-User] Self-contained Mac app distribution for IPython Notebook

epi massimodisasha@gmail....
Tue Mar 12 18:24:21 CDT 2013


testing the app bundle, i got errors truing to run system commands :

In [23]:

In [22]:

In [21]:

ExceptionPexpect                          Traceback (most recent call last)
<ipython-input-21-b9614390ce83> in <module>()
----> 1 get_ipython().system(u'ls')

/Users/epi/Desktop/IPython Notebook.app/Contents/Resources/virtualenv/lib/python2.7/site-packages/IPython/core/interactiveshell.py in system_piped(self, cmd)
   2185         # a non-None value would trigger :func:`sys.displayhook` calls.
   2186         # Instead, we store the exit_code in user_ns.
-> 2187         self.user_ns['_exit_code'] = system(self.var_expand(cmd, depth=1))
   2189     def system_raw(self, cmd):

/Users/epi/Desktop/IPython Notebook.app/Contents/Resources/virtualenv/lib/python2.7/site-packages/IPython/utils/_process_posix.py in system(self, cmd)
    151             #child = pexpect.spawn(pcmd, searchwindowsize=1)
    152             if hasattr(pexpect, 'spawnb'):
--> 153                 child = pexpect.spawnb(self.sh, args=['-c', cmd]) # Pexpect-U
    154             else:
    155                 child = pexpect.spawn(self.sh, args=['-c', cmd])  # Vanilla Pexpect

/Users/epi/Desktop/IPython Notebook.app/Contents/Resources/virtualenv/lib/python2.7/site-packages/IPython/external/pexpect/_pexpect.py in __init__(self, command, args, timeout, maxread, searchwindowsize, logfile, cwd, env)
    454             self.name = '<pexpect factory incomplete>'
    455         else:
--> 456             self._spawn (command, args)
    458     def __del__(self):

/Users/epi/Desktop/IPython Notebook.app/Contents/Resources/virtualenv/lib/python2.7/site-packages/IPython/external/pexpect/_pexpect.py in _spawn(self, command, args)
    554                 self.pid, self.child_fd = pty.fork()
    555             except OSError, e:
--> 556                 raise ExceptionPexpect('Error! pty.fork() failed: ' + str(e))
    557         else: # Use internal __fork_pty
    558             self.pid, self.child_fd = self.__fork_pty()

ExceptionPexpect: Error! pty.fork() failed: out of pty devices

PS, i'm tring to build the bundle using Xcode but i got some errors  (missed sparkle framework and code signature error)
i'd love to have it compiled here locally and spend some time on it (i like that project and will make mac users happy)
can i ask you support to fix the build, perhaps off list ?

Il giorno 11/mar/2013, alle ore 15:36, Marc Liyanage <marc@entropy.ch> ha scritto:

> I'm working on a new self-contained Mac app that runs the IPython notebook server and connects a WebKit view to it on launch, for a double-clickable experience. It embeds a virtualenv with some popular extension modules.
> It would be nice to get this ready for PyCon at the end of this week, so I'm looking for some testing and feedback. There's a binary linked to from this page:
>    https://github.com/liyanage/ipython-notebook#readme
> It requires OS X 10.8.
> _______________________________________________
> 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/20130312/5f24e7fe/attachment-0001.html 

More information about the IPython-User mailing list