#12985: Possible future issues with ECL build with unicode enabled
------------------------------------------------------------------+---------
       Reporter:  pcpa                                            |         
Owner:  was            
           Type:  enhancement                                     |        
Status:  needs_info     
       Priority:  minor                                           |     
Milestone:  sage-5.3       
      Component:  interfaces                                      |    
Resolution:                 
       Keywords:                                                  |   Work 
issues:                 
Report Upstream:  Reported upstream. Developers deny it's a bug.  |     
Reviewers:  François Bissey
        Authors:  Paulo César Pereira de Andradet                 |     Merged 
in:                 
   Dependencies:                                                  |      
Stopgaps:                 
------------------------------------------------------------------+---------

Comment (by fbissey):

 It causes problem for me with
 {{{
 sage -t -long  -force_lib devel/sage-main/sage/calculus/calculus.py

  [?1034h#0: solve_rat_ineq(ineq=x # 5)
 #0: simplify_sum(expr='sum(q^k,k,0,inf))
 #1: simplify_sum(expr=a*'sum(q^k,k,0,inf))
 **********************************************************************
 File "/usr/share/sage/devel/sage-main/sage/calculus/calculus.py", line
 677:
     sage: f.nintegral(x,0,1,1e-14)
 Exception raised:
     Traceback (most recent call last):
       File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/usr/bin/sagedoctest.py", line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_3[3]>", line 1, in <module>
         f.nintegral(x,Integer(0),Integer(1),RealNumber('1e-14'))###line
 677:
     sage: f.nintegral(x,0,1,1e-14)
       File "expression.pyx", line 9073, in
 sage.symbolic.expression.Expression.nintegral
 (sage/symbolic/expression.cpp:38115)
       File "/usr/lib64/python2.7/site-packages/sage/calculus/calculus.py",
 line 752, in nintegral
         raise ValueError, "Maxima (via quadpack) cannot compute the
 integral"
     ValueError: Maxima (via quadpack) cannot compute the integral
 **********************************************************************
 1 items had failures:
    1 of  17 in __main__.example_3
 ***Test Failed*** 1 failures.
 }}}
 May be your maxima patch deals with that.
 If I use an ecl compiled without unicode and this patch at the same time
 we there are unresolved symbol because of the declaration
 {{{
 cl_object si_coerce_to_base_string(cl_object x)
 }}}
 in ecl.pxd. It won't be there if ecl is compiled without unicode. I may
 have to crosscheck that if that particular bit is nasty or not.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12985#comment:20>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to