On Thu, Apr 18, 2019 at 7:35 AM Oliver Thiel <[email protected]> wrote: > > More information: > sage: k=0 > ....: for k in range(1,j-1,1): > ....: z=float(A[k][1]) > ....: s=s+z > ....: > print(k)------------------------------------------------------------------------ > An error occurred during signal handling. > This probably occurred because a *compiled* module has a bug > in it and is not properly wrapped with sig_on(), sig_off(). > Python will now terminate. > ------------------------------------------------------------------------ > this error occurs before i "enter" the command. Do not laugh about my simple > code, i am real new to sage. :-D > I assume your A is already defined, right? As well, I guess this code seems to mean to compute s as a sum of float(A[k][1]) but did you set s=0 to begin with? (you did set k=0, which makes no sense, as you immediately use k as a loop variable)
> > Am Mittwoch, 17. April 2019 10:07:45 UTC+2 schrieb Jeroen Demeyer: >> >> On 2019-04-17 09:32, Oliver Thiel wrote: >> > Hello, >> > >> > I absolutely dont know why but i am getting an error. >> >> What did you do? What happened *exactly*? >> >> See also https://www.chiark.greenend.org.uk/~sgtatham/bugs.html > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
