Before more investigation could you reproduce the output of the
following command
$ sage -sh -c "which lie"
and see whether the following does start lie
$ sage -sh -c lie
Vincent
On 12/09/16 11:14, Christian Bär wrote:
In sage 7.2 the call lie(1+1) yields 2 as it should. In my sage 7.3 install
however I get "TypeError: unable to start LiE" even though the optinal LiE
package is installed. The same problem occurs in the SageMathCloud. Any
ideas?
The full output in sage 7.3 is:
sage: lie(1+1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1-a25266ea95a2> in <module>()
----> 1 lie(Integer(1)+Integer(1))
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc
in __call__(self, x, name)
244 return cls(self, x, name=name)
245 try:
--> 246 return self._coerce_from_special_method(x)
247 except TypeError:
248 raise
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc
in _coerce_from_special_method(self, x)
272 return (x.__getattribute__(s))(self)
273 except AttributeError:
--> 274 return self(x._interface_init_())
275
276 def _coerce_impl(self, x, use_special=True):
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc
in __call__(self, x, name)
242
243 if isinstance(x, six.string_types):
--> 244 return cls(self, x, name=name)
245 try:
246 return self._coerce_from_special_method(x)
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc
in __init__(self, parent, value, is_name, name)
1380 except (RuntimeError, ValueError) as x:
1381 self._session_number = -1
-> 1382 raise_(TypeError, x, sys.exc_info()[2])
1383 except BaseException:
1384 self._session_number = -1
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc
in __init__(self, parent, value, is_name, name)
1375 else:
1376 try:
-> 1377 self._name = parent._create(value, name=name)
1378 # Convert ValueError and RuntimeError to TypeError for
1379 # coercion to work properly.
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc
in _create(self, value, name)
432 def _create(self, value, name=None):
433 name = self._next_var_name() if name is None else name
--> 434 self.set(name, value)
435 return name
436
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc
in set(self, var, value)
689 """
690 cmd = '%s=%s'%(var,value)
--> 691 out = self.eval(cmd)
692 i = min( out.find('not defined'), out.find('\(in'),
out.find('Argument types') )
693 if i != -1:
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc
in eval(self, code, strip, **kwds)
671 '4'
672 """
--> 673 s = Expect.eval(self,code, strip=True, **kwds)
674 #return s.strip()
675 if len(s) > 0 and s.find("\n") != -1:
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc
in eval(self, code, strip, synchronize, locals, allow_use_file,
split_lines, **kwds)
1292 elif split_lines:
1293 return '\n'.join([self._eval_line(L,
allow_use_file=allow_use_file, **kwds)
-> 1294 for L in code.split('\n')
if L != ''])
1295 else:
1296 return self._eval_line(code,
allow_use_file=allow_use_file, **kwds)
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc
in _eval_line(self, line, allow_use_file, wait_for_prompt,
restart_if_needed)
656
657 """
--> 658 out = Expect._eval_line(self, line,
allow_use_file=allow_use_file, wait_for_prompt=wait_for_prompt)
659 #Check to see if an error has occurred
660 err = max( out.find("\n(in"), out.find('not defined'),
out.find('Argument types') )
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc
in _eval_line(self, line, allow_use_file, wait_for_prompt,
restart_if_needed)
903 try:
904 if self._expect is None:
--> 905 self._start()
906 E = self._expect
907 try:
/home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc
in _start(self, alt_message, block_during_init)
500 self._expect = None
501 self._session_number = BAD_SESSION
--> 502 raise RuntimeError("unable to start %s" % self.name())
503 self._expect.timeout = None
504
TypeError: unable to start LiE
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.