CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2018-10-19-tracebacks.sagewsOpen in CoCalc

Examples for support purposes...

def f(n):
1/0
print n

f(10)

Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1188, in execute flags=compile_flags) in namespace, locals File "", line 1, in <module> File "", line 2, in f File "sage/rings/integer.pyx", line 1925, in sage.rings.integer.Integer.__div__ (build/cythonized/sage/rings/integer.c:13285) raise ZeroDivisionError("rational division by zero") ZeroDivisionError: rational division by zero