[sage-devel] Re: sage-10

2023-05-22 Thread Girard Henri

ubuntu version mantic 23.10

But at least I have no more the problem of running an ipynb which failed 
because not finding the link to a file which is still  not working with 
sage-9.5 the ubuntu version !




Le 22/05/2023 à 13:36, Henri Girard a écrit :

Hi,

Last version rcxx was compiled without any problems, but sometimes i 
got this problem with giac:


Any help, I use ubuntu +1 23.10 but it does work on my ssd ubuntu 
23.10 and I said last version did work (here I am on wsl windows 11) ,


thanks

Henri

[giac-1.9.0.15p0] /home/pi/sage/local/var/tmp/sage/build/giac-1.9.0.15p0
[giac-1.9.0.15p0] Finished installing giac-1.9.0.15p0
make[2]: *** [Makefile:2812: all-build] Error 2
make[2]: Leaving directory '/home/pi/sage/build/make'

real    33m40.770s
user    102m10.003s
sys 7m38.178s
***
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):

* package: fplll-5.4.4
  last build time: May 22 12:29
  log file:    /home/pi/sage/logs/pkgs/fplll-5.4.4.log
  build directory: /home/pi/sage/local/var/tmp/sage/build/fplll-5.4.4

It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.

make[1]: *** [Makefile:40: all-build] Error 1
make[1]: Leaving directory '/home/pi/sage'
make: *** [Makefile:16: build] Error 2




--
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/5ccd4671-d76a-bbd8-f93f-1f1b03215380%40gmail.com.


[sage-devel] sagemath 10.0.rc3

2023-05-16 Thread Girard Henri

Hi,

It does work with ubuntu sagemath 9.5, but failed with compiled version, 
any help ?


best

Henri

Doing solve_tour.ipynb  :solve(x^2-x-1 == 0, x)

---
RuntimeError   Traceback (most recent call last)
CellIn [2], line 1
> 1  solve(x**Integer(2)-x-Integer(1)==Integer(0),x)

File~/sage/src/sage/symbolic/relation.py:1068, insolve(f, *args, **kwds)
1063  raise  TypeError("The first argument to solve() should be a "
1064  "symbolic expression or a list of symbolic "
1065  "expressions.")
1067  if  isinstance(f, Expression):# f is a single expression
-> 1068  return  
_solve_expression(f,x,explicit_solutions,multiplicities,to_poly_solve,solution_dict,algorithm,domain)
1070  if  not  isinstance(f, (list,tuple)):
1071  raise  TypeError("The first argument must be a symbolic expression or a list of symbolic 
expressions.")


File~/sage/src/sage/symbolic/relation.py:1332, in_solve_expression(f, x, explicit_solutions, multiplicities, 
to_poly_solve, solution_dict, algorithm, domain)

1329  return  _giac_solver(f, x, solution_dict)
1331  # from here on, maxima is used for solution
-> 1332  m=  ex._maxima_()
1333  P=  m.parent()
1334  if  explicit_solutions:

File~/sage/src/sage/symbolic/expression.pyx:1233, 
insage.symbolic.expression.Expression._maxima_()
1231  # Maybe not such a great idea because the "default" interface is 
another one
1232  from sage.calculus.calculus import maxima
-> 1233  return super()._interface_(maxima)
1234  else:
1235  return super()._interface_(session)

File~/sage/src/sage/structure/sage_object.pyx:686, 
insage.structure.sage_object.SageObject._interface_()
684  except (KeyError, ValueError):
685  pass
--> 686  nm = I.name()
687  init_func = getattr(self, '_%s_init_' % nm, None)
688  if init_func is not None:

File~/sage/src/sage/misc/lazy_import.pyx:372, 
insage.misc.lazy_import.LazyImport.__getattr__()
370  True
371  """
--> 372  return getattr(self.get_object(), attr)
373  
374  # We need to wrap all the slot methods, as they are not forwarded


File~/sage/src/sage/misc/lazy_import.pyx:225, 
insage.misc.lazy_import.LazyImport.get_object()
223  if likely(self._object is not None):
224  return self._object
--> 225  return self._get_object()
226  
227  cpdef _get_object(self):


File~/sage/src/sage/misc/lazy_import.pyx:261, 
insage.misc.lazy_import.LazyImport._get_object()
259  
260  try:

--> 261  self._object = getattr(__import__(self._module, {}, {}, 
[self._name]), self._name)
262  except ImportError as e:
263  if self._feature:

File~/sage/src/sage/interfaces/maxima_lib.py:135
133  ecl_eval("(require 'maxima \"{}\")".format(MAXIMA_FAS))
134  else:
--> 135  ecl_eval("(require 'maxima)")
136  ecl_eval("(in-package :maxima)")
137  ecl_eval("(setq $nolabels t))")

File~/sage/src/sage/libs/ecl.pyx:1350, insage.libs.ecl.ecl_eval()
1348  
1349  #convenience routine to more easily evaluate strings

-> 1350  cpdef EclObject ecl_eval(str s):
1351  r"""
1352  Read and evaluate string in Lisp and return the result

File~/sage/src/sage/libs/ecl.pyx:1373, insage.libs.ecl.ecl_eval()
1371  """
1372  cdef cl_object o
-> 1373  o=ecl_safe_eval(python_to_ecl(s, True))
1374  return ecl_wrap(o)
1375  


File~/sage/src/sage/libs/ecl.pyx:321, insage.libs.ecl.ecl_safe_eval()
319  raise KeyboardInterrupt("ECL says: {}".format(message))
320  else:
--> 321  raise RuntimeError("ECL says: {}".format(message))
322  else:
323  return ret

RuntimeError: ECL says: Module error: Don't know how to REQUIRE MAXIMA.

--
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/9a57bb00-5a72-ae4e-deff-dc6a253fe340%40gmail.com.


solve_tour.ipynb
Description: application/ipynb