[sage-support] problem with installation ??

2010-08-04 Thread julien
Hello, I am completely new to Sage.. but I am so excited, it looks
like the ultimate tool !!!
Unfortunately, I have already big problems from the beginning...

I cannot just plot x^2 
here is the kind of error I get 

any ideas 
thnaks so much for your help !!
Julien


sage: plot(x^2,(x,300,500))
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (805, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (785, 0))

---
EOF   Traceback (most recent call
last)

/home/julien/.sage/ipython console in module()

/usr/lib/python2.5/site-packages/sage/plot/plot.pyc in __call__(self,
funcs, *args, **kwds)
   3564 del kwds['show']
   3565 if hasattr(funcs, 'plot'):
- 3566 G = funcs.plot(*args, **kwds)
   3567 # if we are using the generic plotting method
   3568 else:

/usr/lib/python2.5/site-packages/sage/calculus/calculus.pyc in
plot(self, *args, **kwds)
896 break
897
-- 898 F = self.simplify()
899 if isinstance(F, Symbolic_object):
900 if hasattr(F._obj, '__call__'):

/usr/lib/python2.5/site-packages/sage/calculus/calculus.pyc in
simplify(self)
   3224 return self._simp
   3225 except AttributeError:
- 3226 S =
evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
   3227 S._simp = None
   3228 self._simp = S

/usr/lib/python2.5/site-packages/sage/calculus/calculus.pyc in
evaled_symbolic_expression_from_maxima_string(x)
   8317 x^e + I + e^pi
   8318 
- 8319 return
symbolic_expression_from_maxima_string(maxima.eval(x))
   8320
   8321 def first_var(expr):

/usr/lib/python2.5/site-packages/sage/interfaces/expect.pyc in
eval(self, code, strip, synchronize, **kwds)
915 try:
916 with gc_disabled():
-- 917 return '\n'.join([self._eval_line(L, **kwds)
for L in code.split('\n') if L != ''])
918 except KeyboardInterrupt:
919 # DO NOT CATCH KeyboardInterrupt, as it is being
caught

/usr/lib/python2.5/site-packages/sage/interfaces/maxima.pyc in
_eval_line(self, line, allow_use_file, wait_for_prompt, reformat,
error_check)
559 return repr(a)
560 else:
-- 561 self._sendline(line)
562
563 if not wait_for_prompt:

/usr/lib/python2.5/site-packages/sage/interfaces/maxima.pyc in
_sendline(self, str)
430
431 def _sendline(self, str):
-- 432 self._sendstr(str)
433 os.write(self._expect.child_fd, os.linesep)
434

/usr/lib/python2.5/site-packages/sage/interfaces/maxima.pyc in
_sendstr(self, str)
435 def _sendstr(self, str):
436 if self._expect is None:
-- 437 self._start()
438 try:
439 os.write(self._expect.child_fd, str)

/usr/lib/python2.5/site-packages/sage/interfaces/maxima.pyc in
_start(self)
420
421 def _start(self):
-- 422 Expect._start(self)
423 self._eval_line('0;')
424

/usr/lib/python2.5/site-packages/sage/interfaces/expect.pyc in
_start(self, alt_message, block_during_init)
467 if block_during_init:
468 for X in self.__init_code:
-- 469 self.eval(X)
470 else:
471 for X in self.__init_code:

/usr/lib/python2.5/site-packages/sage/interfaces/expect.pyc in
eval(self, code, strip, synchronize, **kwds)
915 try:
916 with gc_disabled():
-- 917 return '\n'.join([self._eval_line(L, **kwds)
for L in code.split('\n') if L != ''])
918 except KeyboardInterrupt:
919 # DO NOT CATCH KeyboardInterrupt, as it is being
caught

/usr/lib/python2.5/site-packages/sage/interfaces/maxima.pyc in
_eval_line(self, line, allow_use_file, wait_for_prompt, reformat,
error_check)
564 return
565
-- 566 self._expect_expr(self._display_prompt)
567 self._expect_expr()
568 out = self._before()

/usr/lib/python2.5/site-packages/sage/interfaces/maxima.pyc in
_expect_expr(self, expr, timeout)
455 i = self._expect.expect(expr,timeout=timeout)
456 else:
-- 457 i = self._expect.expect(expr)
458 if i  0:
459 v = self._expect.before

/usr/lib/python2.5/site-packages/pexpect.pyc in expect(self, pattern,
timeout, searchwindowsize)
   1309
   1310 compiled_pattern_list =
self.compile_pattern_list(pattern)
- 1311 return self.expect_list(compiled_pattern_list,

[sage-support] Problem in Installation

2009-03-16 Thread Karthick

Hi,

i am a newbie to sage. i tried to install sage in my Fedora Linux
machine. I downloaded the binary files one for Fedora named  sage-3.4-
Fedora_release_9-i686-Linux.tar(1). As instructed i untar the file and
rename the folder as Sage and moved to that folder and typed the
command ./sage.  i got the Error as

ERROR: name 'sage_prompt' is not defined
---
LookupError   Traceback (most recent call
last)

/home/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/site-
packages/IPython/iplib.py in multiline_prefilter(self, line,
continue_prompt)

/home/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/site-
packages/IPython/iplib.py in _prefilter(self, line, continue_prompt)

/home/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/site-
packages/IPython/prefilter.py in __init__(self, line, continue_prompt)

/home/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/site-
packages/IPython/prefilter.py in splitUserInput(line, pattern)


Is am missing something which is very basically required?

Please Help..

PS: Python is not installed in my Machine.


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---