Hi,
If I create anew Python 2 notebook in Juypter and simply try to load the ROOT module (python 2 bindings built for ROOT 6.10.04) I get the following error (these do not appear when using python or ipython from the terminal):
import ROOT
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-1-b332e25ada1f> in <module>()
----> 1 import ROOT
/opt/root/6.10.04/lib/ROOT.pyc in <module>()
614 ip = get_ipython()
615 if hasattr(ip,"kernel"):
--> 616 import JupyROOT
617 import JsMVA
618
/opt/root/6.10.04/lib/ROOT.pyc in _importhook(name, *args, **kwds)
316 except Exception:
317 pass
--> 318 return _orig_ihook( name, *args, **kwds )
319
320 __builtin__.__import__ = _importhook
/opt/root/6.10.04/lib/JupyROOT/__init__.py in <module>()
3 if '__IPYTHON__' in __builtins__ and __IPYTHON__:
4 cppcompleter.load_ipython_extension(get_ipython())
----> 5 utils.iPythonize()
/opt/root/6.10.04/lib/JupyROOT/utils.py in iPythonize()
500 def iPythonize():
501 setStyle()
--> 502 loadMagicsAndCapturers()
503 declareProcessLineWrapper()
504 #enableCppHighlighting()
/opt/root/6.10.04/lib/JupyROOT/utils.py in loadMagicsAndCapturers()
473 for extName in extNames:
474 extMgr.load_extension(extName)
--> 475 captures.append(StreamCapture())
476 captures.append(CaptureDrawnPrimitives())
477
/opt/root/6.10.04/lib/JupyROOT/utils.py in __init__(self, ip)
241 self.errString = ""
242
--> 243 self.asyncCapturer = handlers.Runner(self.syncCapture)
244
245 self.isFirstPreExecute = True
/opt/root/6.10.04/lib/JupyROOT/handlers.py in __init__(self, function)
97 self.function = function
98 if platform != 'darwin':
---> 99 setrlimit(RLIMIT_STACK,(RLIM_INFINITY,RLIM_INFINITY))
100 self.thread = None
101
ValueError: current limit exceeds maximum limit
Any thoughts on a resolution would be appreciated.
Thanks