Re: [sage-devel] Re: asymptotic expansions in SageMath
On 2016-01-09 05:20, Karan Desai wrote: > I skimmed through the ticket and the docs quickly and it seems familiar > to me conceptually. As a new developer, I think working on this ticket > will give me a good tour through a small part of the source code. > I will read it all carefully, and will ask anything I do't understand. > I will be replying back on this thread within a day or two. If you want to contribute, maybe the tickets #19426 or #19576 are of interest (both are marked as "beginner"). http://trac.sagemath.org/ticket/19426 http://trac.sagemath.org/ticket/19576 -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: asymptotic expansions in SageMath
Hi Daniel, > If you want to contribute, maybe the tickets #19426 or #19576 are of > interest (both are marked as "beginner"). > > http://trac.sagemath.org/ticket/19426 > http://trac.sagemath.org/ticket/19576 > > Yes, I unfortunately found Assymptotic Expansions out of my scope right now, so I removed my response to avoid confusion. Though I will have a look upon these tickets. Thank you for the suggestion. I have made a trivial change regarding README of github already, it is ticket #19846, it needs review. Also, I haven't anywhere seen a development environment so unique and effective as Sage, involving trac tickets. I tried it for the first time with #19846 and it was a new and fresh experience for me ! I will try to do my best with the tickets. Karan. -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Missing file in src/build/cythonized/sage/structure/list_clone.c
Hi The sagemath-upstream-binary in the PPA which excludes most of the src folder, gives this error on startup: Rewriting paths for your new installation directory === This might take a few minutes but only has to be done once. patching /usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c Traceback (most recent call last): File "/usr/lib/sagemath/relocate-once.py", line 85, in p('src/build/cythonized/sage/structure/list_clone.c').substitute().save() File "/usr/lib/sagemath/relocate-once.py", line 70, in __call__ return FilePatch(self, filename) File "/usr/lib/sagemath/relocate-once.py", line 21, in __init__ self.st = os.stat(filename) OSError: [Errno 2] No such file or directory: '/usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c' ┌┐ │ SageMath Version 6.10, Release Date: 2015-12-18│ 0 jan@muizenberg:~$ Do I really need to ship this with a binary? (I get this from sagemath-upstream-binary-full which includes the src folder) 0 jan@muizenberg:/usr/lib/sagemath/src/build$du -hs cythonized/ 318Mcythonized/ Funny thing is, basic operations ad plotting work fine, whereas I thought if relocate-once.py failed sage would not be able to find any of it's libraries and just crash. Regards, Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^^ -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Missing file in src/build/cythonized/sage/structure/list_clone.c
On 2016-01-12 15:30, Jan Groenewald wrote: Hi The sagemath-upstream-binary in the PPA which excludes most of the src folder, gives this error on startup: Are you sure that you're not accidentally running the script twice? -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Missing file in src/build/cythonized/sage/structure/list_clone.c
Hi On 12 January 2016 at 16:44, Jeroen Demeyer wrote: > On 2016-01-12 15:30, Jan Groenewald wrote: > >> Hi >> >> The sagemath-upstream-binary in the PPA which excludes most of the src >> folder, gives this error on startup: >> > > Are you sure that you're not accidentally running the script twice? > > Yes, I'm sure, we get that traceback during running sage once as root in the postinst script. Then agani whenever starting sage. I do NOT get that when I have sagemath-upstream-binary-full installed (which includes the src folder). Regards, Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^^ -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Missing file in src/build/cythonized/sage/structure/list_clone.c
If you re-package the existing binary then you should * first move Sage to the final directory * then run relocate-once.py (or just start sage) * when successful, relocate-once.py deletes itself * then delete whatever you don't want to keep from the binary The relocate-once.py could easily have a commanline option to patch the paths to a different directory, right now its always the one where it currently resides. That probably would make distro packaging easier, feel free to send in a patch. On Tuesday, January 12, 2016 at 3:30:22 PM UTC+1, Jan Groenewald wrote: > > Hi > > The sagemath-upstream-binary in the PPA which excludes most of the src > folder, gives this error on startup: > > > Rewriting paths for your new installation directory > === > > This might take a few minutes but only has to be done once. > > patching /usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c > Traceback (most recent call last): > File "/usr/lib/sagemath/relocate-once.py", line 85, in > > p('src/build/cythonized/sage/structure/list_clone.c').substitute().save() > File "/usr/lib/sagemath/relocate-once.py", line 70, in __call__ > return FilePatch(self, filename) > File "/usr/lib/sagemath/relocate-once.py", line 21, in __init__ > self.st = os.stat(filename) > OSError: [Errno 2] No such file or directory: > '/usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c' > ┌┐ > │ SageMath Version 6.10, Release Date: 2015-12-18│ > > 0 jan@muizenberg:~$ > > Do I really need to ship this with a binary? > (I get this from sagemath-upstream-binary-full which includes the src > folder) > > 0 jan@muizenberg:/usr/lib/sagemath/src/build$du -hs cythonized/ > 318Mcythonized/ > > Funny thing is, basic operations ad plotting work fine, whereas I thought > if relocate-once.py failed sage would not be able to find any of it's > libraries and just crash. > > Regards, > Jan > > -- > .~. > /V\ Jan Groenewald > /( )\www.aims.ac.za > ^^-^^ > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Missing file in src/build/cythonized/sage/structure/list_clone.c
On Tuesday, January 12, 2016 at 3:30:22 PM UTC+1, Jan Groenewald wrote: > > Funny thing is, basic operations ad plotting work fine, whereas I thought > if relocate-once.py failed sage would not be able to find any of it's > libraries and just crash. > Thats because relocate-once.py partially worked until it encountered the file that you deleted; Depending on how far it got your install can be mostly OK. -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] please review Trac #19750
http://trac.sagemath.org/ticket/19750 -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] please review Trac #19750
and the more or less related http://trac.sagemath.org/ticket/17785 On 12/01/16 19:09, Volker Braun wrote: http://trac.sagemath.org/ticket/19750 -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] sagenb and pycrypto
I have 7.0.beta3 installed so at some point in going from 6.10 -> 7.0.x I had to make distclean && make However, in starting the notebook the warning from local/lib/python2.7/site-packages/Crypto/Util/number.py line 57 would appear: # You need libgmp v5 or later to get mpz_powm_sec. Warn if it's not available. if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC: _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning) Well gmp was not the issue. After rebuilding pycrypto I no longer have the warning. I can't display the warning since rebuilding pycrypto fixed things, but is there a missing dependency somewhere or did I just miss something? -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.