I am guessing that the pexpect upgrade is behind this particular problem.
`sage/interface/gap.py` will probably need to be inspected for the case
of gap3.

François

> On 28/12/2015, at 11:19, Anne Schilling <[email protected]> wrote:
> 
> Hi!
> 
> I upgraded to the newest development version of sage and I am now having 
> trouble with
> many of the packages I was using before (and now do not seem to work any 
> longer).
> 
> Most importantly, the following worked for me before and now raises an error:
> 
> sage: gap=Gap3('/Applications/gap3r4p4/bin/gap')
> sage: gap.RequirePackage('"specht"')
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
> <ipython-input-22-c539883f0214> in <module>()
> ----> 1 gap.RequirePackage('"specht"')
> 
> /Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc
>  in __call__(self, *args, **kwds)
>     605 
>     606     def __call__(self, *args, **kwds):
> --> 607         return self._parent.function_call(self._name, list(args), 
> kwds)
>     608 
>     609     def _sage_doc_(self):
> 
> /Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/gap.pyc 
> in function_call(self, function, args, kwds)
>     919             self.eval(marker)
>     920             res = self.eval(cmd)
> --> 921         if self.eval('IsIdenticalObj(last,__SAGE_LAST__)') != 'true':
>     922             return self.new('last2;')
>     923         else:
> 
> /Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/gap.pyc 
> in eval(self, x, newlines, strip, split_lines, **kwds)
>     567             if not input_line.endswith(';'):
>     568                 input_line += ';'
> --> 569         result = Expect.eval(self, input_line, **kwds)
>     570         if not newlines:
>     571             result = result.replace("\\\n","")
> 
> /Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc
>  in eval(self, code, strip, synchronize, locals, allow_use_file, split_lines, 
> **kwds)
>    1237                 elif split_lines:
>    1238                     return '\n'.join([self._eval_line(L, 
> allow_use_file=allow_use_file, **kwds)
> -> 1239                                         for L in code.split('\n') if 
> L != ''])
>    1240                 else:
>    1241                     return self._eval_line(code, 
> allow_use_file=allow_use_file, **kwds)
> 
> /Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/gap.pyc 
> in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed)
>     765                     return ''
>     766             else:
> --> 767                 raise RuntimeError(message)
>     768 
>     769         except KeyboardInterrupt:
> 
> RuntimeError: Gap3 produced error output
> Error, Variable: 'IsIdenticalObj' must have a value
> 
>    executing IsIdenticalObj(last,__SAGE_LAST__);
> 
> What do I need to do?
> 
> Also, I had many other packages installed and some are not yet in the new 
> format. How do I install them
> (since I really need them)?
> 
> Thanks!
> 
> Anne
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to