Unfortunately that is a different sandbox error. Is there one that happens exactly at the moment you try the ls command? The process name in this one is "mdworker", which is unrelated. Is there one with a process name of either "python" or "IPython Notebook"?
Regarding Sparkle, you should have gotten that as part of the git clone, but it is a submodule, so you have to initialize the submodule after the clone:
git clone https://github.com/liyanage/ipython-notebook.git
cd ipython-notebook
git submodule update --init
Thanks for the "make -j" extension, I was planning to add that. I know the build of the virtualenv takes a very long time.
On Mar 13, 2013, at 7:04 AM, epi <massimodisasha@gmail.com> wrote:
> Thanks Marc,
>> drug'n'drop a directory on the dock icon / or adding it in the preference wrks fine,
> i can "cd" into it but "ls" is still giving the sandbox error i attached [0] the console log
>> i got it building, i had to add sparkle.framework and change the code sign preference.
> i added this line in the build truing to speed it up :
>> ncpu=$(sysctl hw.ncpu | awk '{print $2}')
> ...
> ...
> make -j $ncpu install
>> [0] http://epi.whoi.edu/esr/55156>>> Il giorno 12/mar/2013, alle ore 19:32, Marc Liyanage <marc@entropy.ch> ha scritto:
>>>>> Hi,
>>>> the app runs sandboxed, and I suspect there's an issue with that. Please check in your Console.app if there is a "sandbox violation" message. If there is, there should be a paperclip icon at the right end of that log line. If you click that you should get a sandbox violation report with a stack trace. E-mail me that and I'll take a look.
>>>> There are likely quite a few restrictions put on the code because it runs in the sandbox. I haven't had any issues with the examples I tried, but you definitely need to explicitly give it file system access to locations that your code wants to access. You can do that in the Preferences or just drop folders onto the app's dock icon.
>>>> About the build, send me the build failure messages and I'll see if it's something I recognize, but unfortunately I don't have time to support you with getting the project built, you are definitely on your own there. There are quite a few dependencies (such as the fortran compiler) and most of it is automated with the build scripts, but it's by no means bullet proof or easily buildable.
>>>>>>>>>>>> On Mar 12, 2013, at 4:24 PM, epi <massimodisasha@gmail.com> wrote:
>>>>> Marc,
>>>>>> testing the app bundle, i got errors truing to run system commands :
>>>>>>>>> In [23]:
>>>>>> cd
>>> /Users/epi/Library/Containers/ch.entropy.ipython-notebook/Data
>>> In [22]:
>>>>>> pwd
>>> Out[22]:
>>> u'/Users/epi/Library/Containers/ch.entropy.ipython-notebook/Data'
>>> In [21]:
>>>>>> !ls
>>> ---------------------------------------------------------------------------
>>> 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))
>>> 2188
>>> 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)
>>> 457
>>> 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>>>>>> _______________________________________________
>>> 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>> _______________________________________________
> 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/20130313/45305e2b/attachment-0001.html