Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Dima Pasechnik
Could you locate the python file this command is in? -- 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 grou

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Jori Mäntysalo
On Sun, 10 Dec 2017, Dima Pasechnik wrote: Could you locate the python file this command is in? $ fgrep 'import strf_secs' -R . ./local/lib/python2.7/site-packages/ldap/filter.py:from ldap.functions import strf_secs ./local/lib/python3.6/site-packages/python_ldap-3.0.0b1-py3.6-linux-x86_64.eg

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Dima Pasechnik
On my installation, thes files don't exist: $ ls local/lib/python2.7/site-packages/ldap/ __init__.py __init__.pyc mock.py mock.pyc server.py server.pyc Confusingly, pip also has a package called python-ldap; if I do ./sage --pip install python-ldap then I get that ldap/filter.py files indee

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Dima Pasechnik
On Sunday, December 10, 2017 at 11:17:35 AM UTC, Dima Pasechnik wrote: > > On my installation, thes files don't exist: > > $ ls local/lib/python2.7/site-packages/ldap/ > __init__.py __init__.pyc mock.py mock.pyc server.py server.pyc > > Confusingly, pip also has a package called python-ldap

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Nils Bruin
On Saturday, December 9, 2017 at 1:15:12 AM UTC-5, Jori Mäntysalo wrote: > > > It is for publishing notebooks to the world, not for sharing a notebook > within a group (or to a teacher). > > That's a problem that is solved in the jupyter world as well: https://nbviewer.jupyter.org/ If you want

[sage-devel] Re: Should the "Element = ..." trick require categories?

2017-12-10 Thread Travis Scrimshaw
My guess is so that one could define an _element_constructor_ at the category level. Although IMO, the possibility of that being meaningful is low considering you have to know something about the implementation of the associated element class in order to do this, which breaks the abstract-ness

[sage-devel] Re: Error Installing Sage 8.0 (gcc-7.2.0 won't install)

2017-12-10 Thread Michael Frey
I upgraded to Command Line Tools for Xcode V9.1 and Sage 8.1 now compiles. -- 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.

Re: [sage-devel] Re: Should the "Element = ..." trick require categories?

2017-12-10 Thread Jeroen Demeyer
On 2017-12-10 15:39, Travis Scrimshaw wrote: My guess is so that one could define an _element_constructor_ at the category level. I see. The problem is that the category comes after Parent in the MRO, right? So if Parent implements _element_constructor_, then the category cannot. -- You rec

[sage-devel] Sage 8.1 building Mac-app fails

2017-12-10 Thread Michael Frey
I am trying to build the sage 8.1 mac-app on macOS 10.13.2 with Xcode V9.2 and Command Line Tools for Xcode V9.1. I have been able to compile sage and run make ptests (all tests passed). When I try to build the Mac-app in sage-8.1/src/mac-app it crashes with a failure to build MainMenu.nib, se

[sage-devel] Re: Sage 8.1 building Mac-app fails

2017-12-10 Thread Dima Pasechnik
On Sunday, December 10, 2017 at 6:04:26 PM UTC, Michael Frey wrote: > > I am trying to build the sage 8.1 mac-app on macOS 10.13.2 with Xcode V9.2 > and Command Line Tools for Xcode V9.1. > This combination of tools looks really strange. Do you mean that there is no Command Line tools for 9.

[sage-devel] Re: Certificate of completion for Groebner Basis

2017-12-10 Thread David Brandfonbrener
Thanks! My bad for missing that in the documentation. On Friday, December 8, 2017 at 5:55:55 PM UTC-5, Dima Pasechnik wrote: > > > > On Friday, December 8, 2017 at 10:20:31 PM UTC, David Brandfonbrener wrote: >> >> When the Groebner basis is 1, is there a way to find the coefficients for >> a li

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Jori Mäntysalo
On Sun, 10 Dec 2017, Dima Pasechnik wrote: How do I reproduce your error? You need a working LDAP server for that. Maybe this works: https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ I'll continue with this tomorrow. -- Jori Mäntysalo

[sage-devel] Re: Sage 8.1 building Mac-app fails

2017-12-10 Thread Michael Frey
I double checked and the Xcode IDE and Xcode Command Line Tools version is 9.2 ( 9C40b). When I started the Xcode IED it wanted to install some files, after that the script to build the man app runs further, see below. I think it fails in trying to move the dmg. I will look at the Makefile to

Re: [sage-devel] Should the "Element = ..." trick require categories?

2017-12-10 Thread Nicolas M. Thiery
Hi Jeroen, On Sat, Dec 09, 2017 at 09:44:54AM +0100, Jeroen Demeyer wrote: > The "modern" way to define a Parent class is as follows: > > class MyParent(Parent): > Element = MyElement > def __init__(self): > Parent.__init__(self, category=MyCategory()) > > One thing which

[sage-devel] Re: Sage 8.1 building Mac-app fails

2017-12-10 Thread Michael Frey
It appears that diskimage still has the tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg file open. You can find this with "sudo lsof |fgrep tmp-sage-8.1". Killing disk image allows the "hdiutil convert -format UDBZ -o sage-8.1-OSX_10.13.2_x86_64.app.dmg tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg" comman

Re: [sage-devel] Should the "Element = ..." trick require categories?

2017-12-10 Thread Travis Scrimshaw
There are two things going on that I had thought were coupled together, but are actually not: 1 - The construction of the dynamic class element_class, which is currently done by Parent.__make_element_class__, which in turn indirectly calls Category._make_named_class via @lazy_attribute Category