---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-25-e154ba128675> in <module>()
----> 1 get_ipython().magic(u'runfile "./codesage/test_cc_Buckling.sage"')
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in magic(self, arg_s)
2134 magic_name, _, magic_arg_s = arg_s.partition(' ')
2135 magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2136 return self.run_line_magic(magic_name, magic_arg_s)
2137
2138 #-------------------------------------------------------------------------
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in run_line_magic(self, magic_name, line)
2060 args.append(sys._getframe(stack_depth).f_locals)
2061 with self.builtin_trap:
-> 2062 result = fn(*args)
2063 return result
2064
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/sage_extension.pyc in runfile(self, s)
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/IPython/core/magic.pyc in <lambda>(f, *a, **k)
189 # but it's overkill for just that one bit of state.
190 def magic_deco(arg):
--> 191 call = lambda f, *a, **k: f(*a, **k)
192
193 if callable(arg):
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/sage_extension.pyc in runfile(self, s)
77 """
78 from sage.misc.preparser import load_wrap
---> 79 return self.shell.ex(load_wrap(s, attach=False))
80
81 @line_magic
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in ex(self, cmd)
2382 """Execute a normal python statement in user namespace."""
2383 with self.builtin_trap:
-> 2384 exec cmd in self.user_global_ns, self.user_ns
2385
2386 def ev(self, expr):
<string> in <module>()
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/preparser.pyc in load(filename, globals, attach)
1770 # Preparse in memory only for speed.
1771 exec_file_is(fpath)
-> 1772 exec preparse_file(open(fpath).read()) + "\n" in globals
1773 elif fpath.endswith('.spyx') or fpath.endswith('.pyx'):
1774 exec_file_is(fpath)
<string> in <module>()
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima_abstract.pyc in __str__(self)
1103 (x - 1)
1104 """
-> 1105 return self.display2d(onscreen=False)
1106
1107 def bool(self):
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima.pyc in display2d(self, onscreen)
1171 with gc_disabled():
1172 P._eval_line('display2d : true$')
-> 1173 s = P._eval_line('disp(%s)$'%
self.name(), reformat=False)
1174 P._eval_line('display2d : false$')
1175 s = s.strip('\r\n')
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, reformat, error_check, restart_if_needed)
786 out = self._before() # input echo + output prompt + output
787 if error_check:
--> 788 self._error_check(line, out)
789
790 if not reformat:
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima.pyc in _error_check(self, cmd, out)
931 m = r.search(out)
932 if not m is None:
--> 933 self._error_msg(cmd, out)
934
935 def _error_msg(self, cmd, out):
/home/rekha/Downloads/sage-5.12-linux-64bit-ubuntu_12.04.3_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima.pyc in _error_msg(self, cmd, out)
948 Principal Value
949 """
--> 950 raise TypeError, "Error executing code in Maxima\nCODE:\n\t%s\nMaxima ERROR:\n\t%s"%(cmd, out.replace('-- an error. To debug this try debugmode(true);',''))
951
952 ###########################################
TypeError: Error executing code in Maxima
CODE:
disp(sage4100)$
Maxima ERROR:
210 209
1.357013176692294e+132 a - 2.728661976950236e+136 a
208 207
+ 2.729852535847509e+140 a - 1.811676393036276e+144 a
206 205
+ 8.972551370931634e+147 a - 3.537228960106604e+151 a
204 203
+ 1.156219317109945e+155 a - 3.22307658391921e+158 a
202 201
+ 7.821646591268202e+161 a - 1.678615360674515e+165 a
200 199
+ 3.225621567887243e+168 a - 5.605808975519537e+171 a
198 197
+ 8.88420318079946e+174 a - 1.292911633300555e+178 a
196 195
+ 1.738021308910369e+181 a - 2.169136507846236e+184 a
194 193
+ 2.524566222730894e+187 a - 2.750695242508841e+190 a
192 191
+ 2.815445920088778e+193 a - 2.715383015780504e+196 a
190 189
+ 2.474494418338183e+199 a - 2.135934264177845e+202 a
188 187
+ 1.750284108210693e+205 a - 1.364375490700644e+208 a
186 185
+ 1.013614420376437e+211 a - 7.188971144340434e+213 a
184 183
+ 4.875262700925219e+216 a - 3.165892916392382e+219 a
182 181
+ 1.971260508868785e+222 a - 1.178371209597974e+225 a
180 179
+ 6.770387024960265e+227 a - 3.74289010998556e+230 a
178 177
+ 1.992971090614565e+233 a - 1.023070167833778e+236 a
176 175
+ 5.067631392277944e+238 a - 2.424159458466963e+241 a
174 173
+ 1.120763522660015e+244 a - 5.011686668969753e+246 a
172 171
+ 2.169069182012013e+249 a - 9.092185262699443e+251 a
170 169
+ 3.693507198820496e+254 a - 1.454928279603781e+257 a
168 167
+ 5.560567311996688e+259 a - 2.063013649018267e+262 a
166 165
+ 7.433779966320667e+264 a - 2.602856990191915e+267 a
164 163
+ 8.859766906996862e+269 a - 2.93301755781566e+272 a
162 161
+ 9.447297615410264e+274 a - 2.961917919907305e+277 a
160 159
+ 9.042220054434677e+279 a - 2.688874744962524e+282 a
158 157
+ 7.791291062533682e+284 a - 2.20056919553878e+287 a
156 155
+ 6.06016705431733e+289 a - 1.627756801135953e+292 a
154 153
+ 4.265556123901946e+294 a - 1.090846509369413e+297 a
152 151
+ 2.723134719573363e+299 a - 6.637477037610902e+301 a
Maxima encountered a Lisp error:
#<a ARITHMETIC-ERROR>
Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
Can anyone help me to solve this issue ? Is there any upper limit for polynomial degree, which is causing error ? here polynomial degree is 120.
Regards,
Rekha.