[sage-devel] Re: jupyterlab on sage 10.2

2024-03-22 Thread Jan Groenewald
FWIW, this is working again on 10.3

On Tue, 27 Feb 2024 at 22:41, Jan Groenewald 
wrote:

> Hi
>
> sage 10.2 on Debian 12, and
> sage -i jupyterlab
>
> sage --notebook=jupyterlab
>
> launches, and the logo displays and animates, and then stops. I can't get
> further. Any ideas?
>
> This was working in sage 10.1.
>
> Regards,
> Jan
>

-- 
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/CAAg%3Dp_3CmK8pZa2zg2C7jDkNP0N00sBUwNoWBRtLNafNeTAwgQ%40mail.gmail.com.


[sage-devel] jupyterlab on sage 10.2

2024-02-27 Thread Jan Groenewald
Hi

sage 10.2 on Debian 12, and
sage -i jupyterlab

sage --notebook=jupyterlab

launches, and the logo displays and animates, and then stops. I can't get
further. Any ideas?

This was working in sage 10.1.

Regards,
Jan

-- 
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/CAAg%3Dp_1eYsYAHsZF_6fYNnGOQqLrzoCSROyakXz%3DiQ3KMWd8gw%40mail.gmail.com.


Re: [sage-devel] Re: Got error messages when installing sagemath on Ubuntu

2023-01-03 Thread Jan Groenewald
Hi

On Wed, 4 Jan 2023 at 03:03, Matthias Koeppe 
wrote:

> Just ignore the ones that persist and continue with "make build"
>

Is this (repeated printing of "you need to sudo apt install") able to be
fixed? It trips up many of our students as well.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_25sZiTmO-B3N889CdD0CoH9z1j_qO%2BmL6KiVyLYs1GJw%40mail.gmail.com.


Re: [sage-devel] Re: containment in a set different from containment in a set - help needed

2022-12-04 Thread Jan Groenewald
Hi

On Mon, 5 Dec 2022 at 09:38, Nils Bruin  wrote:

> On Sunday, 4 December 2022 at 23:15:35 UTC-8 axio...@yahoo.de wrote:
>
>> I accidentally opened a new ticket https://trac.sagemath.org/ticket/34824,
>> which is essentially ready for review.  There is another problem, which I
>> do not understand, which may be dealt with in the same ticket, if it is
>> easy:
>>
>> sage: P = ParkingFunctions(4)
>> sage: B = P([1, 2, 3, 4, 5, 6])
>> sage: B.parent()
>> Parking functions of size 4
>> sage: B in P
>> False
>>
>> I think P.__contains__ contains the answer to that one:
>
> sage: len(B) == P.n
> False
>
> I suppose B shouldn't be allowed to have P as a parent anyway? This just
> looks like shoddy programming -- it looks like you should give
> ParkingFunctions a thorough review before trusting what they produce, and
> ideally fix the issues you find for the benefit of people who come after
> you.
>

Note sage 9.2 (debian package) gives an error (sage 9.7 does not):

0 jan@jan-desktop:~$sage
┌┐
│ SageMath version 9.2, Release Date: 2020-10-24 │
│ Using Python 3.9.2. Type "help()" for help.│
└┘
sage: P = ParkingFunctions(4)
: B = P([1, 2, 3, 4, 5, 6])
:
---
ValueErrorTraceback (most recent call last)
 in 
  1 P = ParkingFunctions(Integer(4))
> 2 B = P([Integer(1), Integer(2), Integer(3), Integer(4), Integer(5),
Integer(6)])

/usr/lib/python3/dist-packages/sage/combinat/combinat.py in __call__(self,
x)
   1737 return self._element_constructor_(x)
   1738 else:
-> 1739 raise ValueError("%s not in %s" % (x, self))
   1740
   1741 Element = CombinatorialObject # mostly for backward
compatibility

ValueError: [1, 2, 3, 4, 5, 6] not in Parking functions of size 4
sage:

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_2FrAAiB7U9yE5YNGumyS1rLkL6xHsFq_OvaG61v3tFAQ%40mail.gmail.com.


Re: [sage-devel] Error building sage-9.7 in macOS Monterey with package giac-1.9.0.15p0

2022-09-29 Thread Jan Groenewald
Hi

On Thu, 29 Sept 2022 at 17:38, Sette Diop  wrote:

> Hi:
>
> I am building sage-9.7 on macOS 12.6 (Monterey) and run through this error:
>
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
>
> package: giac-1.9.0.15p0
> last build time: Sep 29 10:49
> log file:/Applications/sage/logs/pkgs/giac-1.9.0.15p0.log
> build directory:
> /Applications/sage/local/var/tmp/sage/build/giac-1.9.0.15p0
>
> The log file is attached.
>
> In the log it seems to me that the error comes from the installation of
> pari. But Homebrew says that pari 2.15.0 was previously successfully
> installed.
>

I think you forgot the attachment?

Regards,
Jan

-- 
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/CAAg%3Dp_2hHg1O-k-r4qy%2BSjmHxebFW_ETqSyKO%2B_jNkE0kDGV%3DA%40mail.gmail.com.


Re: [sage-devel] Re: incremental migration to github? [prompted by FUNDING issues!!!] + general flakiness of trac

2022-09-16 Thread Jan Groenewald
Dear Karmakar,

On Fri, 16 Sept 2022 at 09:36, Karmakar Subroto 
wrote:

> I don't want this email more..please removed me from your mailing
> schedule.
>

At the bottom of each email it says:

 --
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
.*

Can you do that please?

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_0gA0pEj_0QDvj--NgdkWY2TqLub86wbW8bBy7wPBM02Q%40mail.gmail.com.


Re: [sage-devel] Re: incremental migration to github? [prompted by FUNDING issues!!!] + general flakiness of trac

2022-09-11 Thread Jan Groenewald
Hi

On Sat, 10 Sept 2022 at 21:32, Matthias Koeppe 
wrote:

> A draft of the Trac-to-GitHub transition guide is now available at:
> https://github.com/sagemath/sage/wiki/migration-from-trac-to-Git**b
>
> Please let me know what's missing or unclear.
>

Thank you for editing that!

The wiki page is titled gitl**b but the content is about github only, not
gitlab:

* How would a gitlab workflow work better or worse than github? Especially
the CI/Actions. Even if the preferred workflow is possible to implement in
either platform, their preferred philosophy will impact future features.

>From my previous post, as I don't feel qualified to evaluate this:

"""
 I don't know how accurate the below articles are, but found them
intersting to read. Would be interested in
comments from anyone who knows where they are inaccurate:
https://kinsta.com/blog/gitlab-vs-github/#gitlab-vs-github-key-differences
https://www.zdnet.com/article/github-vs-gitlab-the-key-differences/
https://www.incredibuild.com/blog/gitlab-vs-github-comparison (Flow and CI
sections)
https://radixweb.com/blog/github-vs-gitlab#difference
I can't tell which workflow is better for sagemath. Remember feature parity
betweenm them will also change every few months!

Also see what they say about themselves/each other:
https://about.gitlab.com/devops-tools/github-vs-gitlab/
https://resources.github.com/devops/tools/compare/
"""

Also the point that GL offers free private repos... if that is
necessary/useful.

Is someone able to update the wiki with equivalent guide-to-new-workflow
for gitlab so they can be compared? Is that necessary or not?

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_0WMA0Q6P0Y2j0-024JxhnnAoATfStXf0ejYx8BisrFqA%40mail.gmail.com.


Re: [sage-devel] Re: incremental migration to github? [prompted by FUNDING issues!!!] + general flakiness of trac

2022-09-10 Thread Jan Groenewald
:34:16 PM UTC-7 Travis Scrimshaw
>> wrote:
>> >>>
>> >>> I really dislike Github's decentralized approach with PR and having
>> to have separate clones of the repo within each user. My understanding is
>> if two people have different fixes, then they individually submit PRs that
>> are not explicitly linked with each other, much less with a specific bug
>> report issue.
>> >>
>> >>
>> >> In the PR you would include a comment such as "Fixes #1234", which
>> links it to an Issue (bug report).
>> >
>> >
>> > and this Issue will then automatically get a comment/mention linking to
>> the PR, no manual intervention in the Issue is needed.
>> >
>> >
>> >> Yes, there can be multiple competing PRs in order solve one ticket.
>> Better than edit wars on a Trac ticket.
>> >>
>> >>
>> >> --
>> >> 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/2548301a-19d8-4ab5-ab1c-84f3fdcf5bbcn%40googlegroups.com
>> .
>> >
>> > --
>> > 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/CAAWYfq3rdAfkj%3DkDLJa0TxMPxLHz4O2_stffO8F-PyiGsO0ZqQ%40mail.gmail.com
>> .
>>
>> --
>> 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/CAGEwAAkYpD4fh%3D_QvuwmZoRSgrF6AgUeg1WWvbXMhX-DJ5hanA%40mail.gmail.com
>> .
>>
> --
> 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/CAKQMtir03oQsrdJb06_%2Bi4cdVDtxAdZ8pszcbw3C0juqi87mXA%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-devel/CAKQMtir03oQsrdJb06_%2Bi4cdVDtxAdZ8pszcbw3C0juqi87mXA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_2KD6ZDiY9VKD7RDzNNne%2B5WLg0Cqt7VMyRDvVepyWS7Q%40mail.gmail.com.


Re: [sage-devel] Re: Trac no longer seems to push to sagetrac-mirror

2022-09-02 Thread Jan Groenewald
Hi

Does someone know whether it is safe to run this manually, as the git user,
on the trac server, to test pushing?

root@trac:/srv/git/repositories/sage.git# cat
broken_hooks_02-sagetracmirror
#!/usr/bin/env bash
git push --mirror sagetracmirror

I am not comfortable with the trac/git side of things on the server (only
with the postfix/certbot/ubuntu packaging stuff).

Regards,
Jan

On Fri, 2 Sept 2022 at 07:52, Frédéric Chapoton 
wrote:

> You are very welcome to help. Something has been broken in trac, and
> nobody understands how to fix that correctly. Trac is currently running in 
> *survival
> mode*. I do intend to try fix that, but it's not my job and few people
> proposed to help, but many complained.
> I do think that this is repairable and there is not urgent need to move to
> gitlab. It would be good to get help from Erik M Bray, but he has not
> answered my last mail.
> F
>
> Le vendredi 2 septembre 2022 à 07:22:51 UTC+2, Matthias Koeppe a écrit :
>
>> Hence nothing has run on GH Actions for 2 days
>> https://github.com/sagemath/sagetrac-mirror/actions
>>
>> Is this being worked on?
>>
> --
> 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/b40f9d0a-c72a-4243-96d3-3a0d660b872an%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/b40f9d0a-c72a-4243-96d3-3a0d660b872an%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_2Z465ZfHjTXX12D---SgLXoAAtu67Kkjea4Q0O%2B1KLEA%40mail.gmail.com.


Re: [sage-devel] trac.sagemath.org unreachable

2022-08-31 Thread Jan Groenewald
Hi

On Wed, 31 Aug 2022 at 23:05, Kwankyu Lee  wrote:

> On Thursday, September 1, 2022 at 1:00:23 AM UTC+9 j...@aims.ac.za wrote:
>
>> Or into gitlab, which we can host ourselves,
>>
>>  https://github.com/tracboat/tracboat
>>
>> (I have no experience with tracboat)
>>
>
> Whether we upgrade trac or migrate to other platform, the process should
> be gradual so  that we run an experimental new server along with the
> present trac server, sharing the (copied) database, for some (or long) time.
>
> If we upgrade trac, the process could be 1.1 -> 1.2 -> 1.3 -> 1.4.
>

The current version is 1.1.6. the packaged version for the new server is
1,.2, It seems even numbers are stable but the next and latest packaged
version on debian/ubuntu is 1.5.3; 1.5+ is python3.

Trac upgrade guide is 1.0 -> 1.2 -> 1.4
https://trac.edgewall.org/wiki/TracUpgrade

Maybe the OS package upgrades support 1.2 -> 1.5.3.

I am going to look at 1.1.6 -> 1.2 packaged version on a trac-test copy of
the VM but I must say the gitolite error put me off a bit, even if it is
just disabling sshkeys.py for a bit. Then Frederic found other problems in
ticket_branch.py/pygit2.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_0z6CwVcr3Yf%2BUEEisuRnjC7vYvm2aRvRVypPDNxF2DOw%40mail.gmail.com.


Re: [sage-devel] Trac SSH key change

2022-08-31 Thread Jan Groenewald
For what it is worth, this seems to be when/why the host keys changed:

root@trac:~# grep -B1 \ google-compute-engine$ /var/log/apt/history.log
Start-Date: 2022-08-28  *11:13:16*
Commandline: apt install google-compute-engine
root@trac:~# journalctl |grep Instance\ ID
Aug 28 *11:13:18* trac google_guest_agent[30286]: Instance ID changed,
running first-boot actions
root@trac:~# ls -l /etc/ssh/ssh_host_ecdsa_key*
-rw--- 1 root root 227 Aug 28 *11:13* /etc/ssh/ssh_host_ecdsa_key
-rw-r--r-- 1 root root 171 Aug 28 11:13 /etc/ssh/ssh_host_ecdsa_key.pub

I installed google-compute-engine after the OS upgrade because:
root@trac:~# apt-cache show google-compute-engine|grep Replace
Replaces: gce-cloud-config, gce-compute-image-packages (<< 20191115),
gce-daemon, gce-startup-scripts

(Wasn't expecting a host key change though, my apologies)

Regards,
Jan

On Tue, 30 Aug 2022 at 12:18, Jan Groenewald  wrote:

> Hi
>
> The new key fingerprints are:
>
> root@trac:/etc/ssh# for i in dsa ecdsa ed25519 rsa;do ssh-keygen -lf
> ssh_host_${i}_key.pub;done
> 1024 SHA256:OcDDAITkg6PYce8VfnQJDPU+c84Uv2oy5wghE28XZD4 root@trac (DSA)
> 256 SHA256:*29lzUeszegCYCnVMOJ+Ts/**IlCwojLuf03NnVoLlONEs* root@trac
> (ECDSA)
> 256 SHA256:hWfFCmt2bNQNjHupWnvu2iuvBeCMjqD2osowXpRPwMs root@trac (ED25519)
> 2048 SHA256:S9jrXdoHRX6eTb8DdctCoOy6DSqSRKm43Zn5u0zeRCg root@trac (RSA)
>
> Regards,
> Jan
>
> On Tue, 30 Aug 2022 at 11:43, Dima Pasechnik  wrote:
>
>>
>>
>> On Tue, 30 Aug 2022, 10:41 Antoine Leudière, 
>> wrote:
>>
>>> Hi,
>>>
>>> It seems the Trac SSH server key has changed; got this message after
>>> attempting
>>> `git push`:
>>>
>>> ```
>>> @@@
>>> @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
>>> @@@
>>> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
>>> Someone could be eavesdropping on you right now (man-in-the-middle
>>> attack)!
>>> It is also possible that a host key has just been changed.
>>> The fingerprint for the ECDSA key sent by the remote host is
>>> SHA256:...
>>> Please contact your system administrator.
>>> Add correct host key in myhome/.ssh/known_hosts to get rid of this
>>> message.
>>> Offending ECDSA key in myhome/.ssh/known_hosts:34
>>>   remove with:
>>>   ssh-keygen -f "myhome/.ssh/known_hosts" -R "trac.sagemath.org"
>>> Host key for trac.sagemath.org has changed and you have requested
>>> strict checking.
>>> Host key verification failed.
>>> fatal: Could not read from remote repository.
>>>
>>> Please make sure you have the correct access rights
>>> and the repository exists.
>>> ```
>>>
>>> Can you confirm that this is normal, and that I can proceed? Is this
>>> related to
>>> https://groups.google.com/u/1/g/sage-devel/c/iHgyTYbNOn0 ?
>>>
>>
>> yes, it is expected. The upgrade caused a change in host keys.
>>
>>
>>
>>>
>>> Regards,
>>> Antoine Leudière
>>>
>>> --
>>> 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/13479c23-6f18-4e8b-900d-24422acbaae6n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/sage-devel/13479c23-6f18-4e8b-900d-24422acbaae6n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CAAWYfq3AkhQwG_Y6WZnHEq-Mnf2w2iMwQrt54x0nhhQazbGsMQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/sage-devel/CAAWYfq3AkhQwG_Y6WZnHEq-Mnf2w2iMwQrt54x0nhhQazbGsMQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_1p6Rj0NKYgSkwAoCnhG6o9jguXwWz5coYJm6PF_8rAuw%40mail.gmail.com.


Re: [sage-devel] trac.sagemath.org unreachable

2022-08-31 Thread Jan Groenewald
Hi



On Wed, 31 Aug 2022 at 16:28, Dima Pasechnik  wrote:

> On Wed, Aug 31, 2022 at 3:14 PM Kwankyu Lee  wrote:
> >
> >
> >
> > On Wednesday, August 31, 2022 at 10:56:56 PM UTC+9 dim...@gmail.com
> wrote
> >>
> >> Trac is a timesink.
> >> Time spent on looking for fixes for it is time lost, that's for sure.
> >
> >
> > The trac project seems not well maintained, according to its website.
>
> this is only 10% of the probem - the real one is that we are many
> versions behind its current 1.4, with various custom
> hacks nobody knows about any more. And an attempt to update did not
> seem to work.
>
> By the way, I'm currently looking at a way to import trac wiki,
> something we use quite a bit, into GitHub.
>

Or into gitlab, which we can host ourselves,

 https://github.com/tracboat/tracboat

(I have no experience with tracboat)

regards,
Jan



> >
> > We may need to plan migration while trac is still breathing...
> >
> > --
> > 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/e135af15-faf7-4df4-9883-b6784734207bn%40googlegroups.com
> .
>
> --
> 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/CAAWYfq0TXX-1%3D8xQezVGfkcVtm4wUUHyX%3D8BKKUFGYZecXOmBg%40mail.gmail.com
> .
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_1F%2B1e_fcwLuckvW66HtGRua0LRYWYb2NQGhoXTS8rRcg%40mail.gmail.com.


Re: [sage-devel] Re: trac.sagemath.org unreachable

2022-08-31 Thread Jan Groenewald
sts:14
>>>>   remove with:
>>>>   ssh-keygen -f "/home/charpent/.ssh/known_hosts" -R "trac.sagemath.org
>>>> "
>>>> Host key for trac.sagemath.org has changed and you have requested
>>>> strict checking.
>>>> Host key verification failed.
>>>> fatal: Impossible de lire le dépôt distant.
>>>>
>>>> Veuillez vérifier que vous avez les droits d'accès
>>>> et que le dépôt existe.
>>>> ```
>>>>
>>>> Removing the old SSH key cleared git access.
>>>>
>>>>
>>>> Le mercredi 31 août 2022 à 08:45:29 UTC+2, Emmanuel Charpentier a
>>>> écrit :
>>>>
>>>>> This morning (Aug 31, 2022, 8:43), any attempt to reach `
>>>>> trac.sagemath.org` ends up displayong a Python trace :
>>>>>
>>>>> ```
>>>>> Traceback (most recent call last): File
>>>>> "/usr/local/lib/python2.7/dist-packages/trac/web/api.py", line 602, in
>>>>> send_error data, 'text/html') File
>>>>> "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1104, in
>>>>> render_template template = self.load_template(filename, method=method) 
>>>>> File
>>>>> "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1053, in
>>>>> load_template self.get_all_templates_dirs(), auto_reload=self.auto_reload,
>>>>> File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 
>>>>> 758,
>>>>> in get_all_templates_dirs for provider in self.template_providers: File
>>>>> "/usr/local/lib/python2.7/dist-packages/trac/core.py", line 82, in
>>>>> extensions components = [component.compmgr[cls] for cls in classes] File
>>>>> "/usr/local/lib/python2.7/dist-packages/trac/core.py", line 208, in
>>>>> __getitem__ component = cls(self) File
>>>>> "/usr/local/lib/python2.7/dist-packages/trac/core.py", line 144, in
>>>>> __call__ self.__init__() File
>>>>> "/usr/local/lib/python2.7/dist-packages/sage_trac/sshkeys.py", line 195, 
>>>>> in
>>>>> __init__ self._init_gitolite_admin() File
>>>>> "/usr/local/lib/python2.7/dist-packages/sage_trac/sshkeys.py", line 66, in
>>>>> wrapper ret = inner_wrapper(self, *args, **kwargs) File
>>>>> "/usr/local/lib/python2.7/dist-packages/fasteners/lock.py", line 302, in
>>>>> wrapper return f(self, *args, **kwargs) File
>>>>> "/usr/local/lib/python2.7/dist-packages/sage_trac/sshkeys.py", line 52, in
>>>>> inner_method return method(self, *args, **kwargs) File
>>>>> "/usr/local/lib/python2.7/dist-packages/sage_trac/sshkeys.py", line 226, 
>>>>> in
>>>>> _init_gitolite_admin self._update_gitolite_admin() File
>>>>> "/usr/local/lib/python2.7/dist-packages/sage_trac/sshkeys.py", line 287, 
>>>>> in
>>>>> _update_gitolite_admin 'repository'.format(out)) TracError: Error updating
>>>>> the gitolite-admin repository: Host key verification failed. fatal: Could
>>>>> not read from remote repository. Please make sure you have the correct
>>>>> access rights and the repository exists. ; you may have to manually clean
>>>>> up or re-clone the repository
>>>>> ```
>>>>>
>>>>> Any idea ?
>>>>>
>>>>> --
> 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/72e04322-519c-4e1b-a217-bd002a8b85acn%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/72e04322-519c-4e1b-a217-bd002a8b85acn%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_0jEupd%3Dqi974T6fjJDh4hXM_ZYV37fR1fJL1x68%3DE1eA%40mail.gmail.com.


Re: [sage-devel] Trac SSH key change

2022-08-30 Thread Jan Groenewald
Hi

The new key fingerprints are:

root@trac:/etc/ssh# for i in dsa ecdsa ed25519 rsa;do ssh-keygen -lf
ssh_host_${i}_key.pub;done
1024 SHA256:OcDDAITkg6PYce8VfnQJDPU+c84Uv2oy5wghE28XZD4 root@trac (DSA)
256 SHA256:*29lzUeszegCYCnVMOJ+Ts/**IlCwojLuf03NnVoLlONEs* root@trac (ECDSA)
256 SHA256:hWfFCmt2bNQNjHupWnvu2iuvBeCMjqD2osowXpRPwMs root@trac (ED25519)
2048 SHA256:S9jrXdoHRX6eTb8DdctCoOy6DSqSRKm43Zn5u0zeRCg root@trac (RSA)

Regards,
Jan

On Tue, 30 Aug 2022 at 11:43, Dima Pasechnik  wrote:

>
>
> On Tue, 30 Aug 2022, 10:41 Antoine Leudière, 
> wrote:
>
>> Hi,
>>
>> It seems the Trac SSH server key has changed; got this message after
>> attempting
>> `git push`:
>>
>> ```
>> @@@
>> @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
>> @@@
>> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
>> Someone could be eavesdropping on you right now (man-in-the-middle
>> attack)!
>> It is also possible that a host key has just been changed.
>> The fingerprint for the ECDSA key sent by the remote host is
>> SHA256:...
>> Please contact your system administrator.
>> Add correct host key in myhome/.ssh/known_hosts to get rid of this
>> message.
>> Offending ECDSA key in myhome/.ssh/known_hosts:34
>>   remove with:
>>   ssh-keygen -f "myhome/.ssh/known_hosts" -R "trac.sagemath.org"
>> Host key for trac.sagemath.org has changed and you have requested strict
>> checking.
>> Host key verification failed.
>> fatal: Could not read from remote repository.
>>
>> Please make sure you have the correct access rights
>> and the repository exists.
>> ```
>>
>> Can you confirm that this is normal, and that I can proceed? Is this
>> related to
>> https://groups.google.com/u/1/g/sage-devel/c/iHgyTYbNOn0 ?
>>
>
> yes, it is expected. The upgrade caused a change in host keys.
>
>
>
>>
>> Regards,
>> Antoine Leudière
>>
>> --
>> 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/13479c23-6f18-4e8b-900d-24422acbaae6n%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-devel/13479c23-6f18-4e8b-900d-24422acbaae6n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CAAWYfq3AkhQwG_Y6WZnHEq-Mnf2w2iMwQrt54x0nhhQazbGsMQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-devel/CAAWYfq3AkhQwG_Y6WZnHEq-Mnf2w2iMwQrt54x0nhhQazbGsMQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_1NWHcgpkQ9KWGfUJ8ePwH0CYkJ36r2wnXK6HQ3SnEA9g%40mail.gmail.com.


Re: [sage-devel] Re: 32768

2022-01-18 Thread Jan Groenewald
Hi

I was interested in African universities and supporting 32 bit until about
2-3 years ago.

It is less than 1% of (science) students' laptops now, in my experience.
And all institutional machines are 64bit.

Regards,
Jan




On Tue, 18 Jan 2022 at 21:19, Thierry 
wrote:

> Hi,
>
> On Tue, Jan 18, 2022 at 08:37:52AM -0800, William Stein wrote:
> [...]
> >
> >
> > Amazing.  Does anybody reading this use 32-bit Linux?
>
> Not using on a daily basis, but in in october 2021, i built a Sage
> Debian Live 32 bit because Nicolas was going to teach Sage in Burkina
> Faso (and i was teaching Sage in Algeria a couple of weeks later), and
> to be honest, cygwin is too slow to be used during such a tutorial. The
> image can still be downloaded at:
>
>
> https://lipn.univ-paris13.fr/~monteil/hebergement/bobo/2021-10-16-sage_9.4-debian_bullseye-live_20210407.img
> sha256sum
> <https://lipn.univ-paris13.fr/~monteil/hebergement/bobo/2021-10-16-sage_9.4-debian_bullseye-live_20210407.imgsha256sum>
> : 7b6b9c6bc57bfd177286d20e7878e456aec67cda398d88bf3a43f291badbeaf9
>
> Such Sage binaries are built within a qemu VM.
>
> Note that not all optional packages are installed (some failed to
> build), and some doctests are failing, which is why i did not release it
> (and because i still want to fix some things in the SDL itself). But it
> still contains most of Sage.
>
> What seems clear to me is that, as i stopped to release SDL for a while,
> the number of 32bit issues increased (by lack of pressure), also, most
> upstream projects seem not test fo 32bit architecture anymore.
>
> Apparently, there was at least one student with a 32bit laptop in
> Burkina Faso, none in Algeria. The next SDL will be 64bit, though we
> could continue to use my qemu machinery to build and test for 32bit
> arcitecture.
>
> Ciao,
> Thierry
>
> --
> 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/20220118191939.GA2005%40metelu.net
> .
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_2pAonURDzD_MDffDbXfX042-AgR0-vUMgX6_T%2B%2BfaKfg%40mail.gmail.com.


Re: [sage-devel] ask.sagemath.org down ?

2021-12-28 Thread Jan Groenewald
Down for me too (from South Africa and from Germany)

On Tue, 28 Dec 2021 at 16:04, Emmanuel Charpentier <
emanuel.charpent...@gmail.com> wrote:

> About  Dec 28, 2021 15:00 CET ask.sagemath.org doesn't answer. ISTR that
> it runs on some computer at Université Paris Sud.
>
> Can someone check me on this ?
>
> --
> 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/e6e9c6a0-7358-496a-b0b5-6fc3b21cca58n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/e6e9c6a0-7358-496a-b0b5-6fc3b21cca58n%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
  .~.
  /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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_3r5LkEPs6evp3nx642WOkqaAjNU9V6ir6N-khAyimtxQ%40mail.gmail.com.


Re: [sage-devel] problem building maxima

2021-05-15 Thread Jan Groenewald
Hi

On Fri, 14 May 2021 at 15:05, Dima Pasechnik  wrote:

> Thanks. Indeed, libffi is alive and well:
>
> ...
> checking for ffi_closure_alloc in -lffi... yes
> checking ffi/ffi.h usability... no
> checking ffi/ffi.h presence... no
> checking for ffi/ffi.h... no
> checking ffi.h usability... yes
> checking ffi.h presence... yes
> checking for ffi.h... yes
> checking whether we can use the existing libffi library ... yes
>

Something else is also going on:

0 jan@debian:/tmp$nl ecl-21.2.1.log |grep ffi|grep "checking whet"
   102 checking whether we can use the existing libffi library ... yes
  4732 checking whether we can use the existing libffi library ... no
0 jan@debian:/tmp$nl ecl-21.2.1.log |grep onfiguring
36 Configuring ecl-21.2.1
  4666 Configuring ecl-21.2.1
  4733 configure: Configuring included libffi library:
0 jan@debian:/tmp$nl ecl-21.2.1.log |grep Apr
12 Linux fermat 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC
2021 x86_64 x86_64 x86_64 GNU/Linux
  4642 Linux fermat 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC
2021 x86_64 x86_64 x86_64 GNU/Linux
0 jan@debian:/tmp$

Why does it look like it was building it twice, with different results?

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAOAPrp92D%2B4tTS8jUrU_BzAzAN_Hx%2BJKgDrxh_hFqB14OYEX7w%40mail.gmail.com.


Re: [sage-devel] problem building maxima

2021-05-14 Thread Jan Groenewald
Hi

On Fri, 14 May 2021 at 13:12, Dima Pasechnik  wrote:

> On Fri, May 14, 2021 at 11:53 AM Dima Pasechnik  wrote:
> >
> > On Fri, May 14, 2021 at 11:21 AM Jan Groenewald  wrote:
> > >
> > > Hi
> > >
> > > On Fri, 14 May 2021 at 11:26, François Bissey 
> wrote:
> > >>
> > >> It looks like maxima.fas has not been built. Last time I saw that
> happen
> > >> in sage-on-gentoo was because the patch to build it was missing.
> > >> Not sure how it could happen on your setup, the log needs further
> inspection.
> > >>
> > >> > On 14/05/2021, at 21:18, John Cremona 
> wrote:
> > >> >
> > >> > I have been installing sage-9.3 from the tarball on a few ubuntu
> > >> > machines, just doing ./configure and then make.  On one machine
> > >> > running ubuntu 20.04.02 LTS maxima fails to build.  I have attached
> > >> > the log files.
> > >> >
> > >> > This is a machine on which I tried a few weeks ago to help the build
> > >> > process by installing as many of the dependencies as possible.  My
> > >> > experience so far has been that this has caused so many things to go
> > >> > wrong that I prefer the old way -- build everything -- since that
> just
> > >> > takes more computer time, while the new way (so far) uses a lot more
> > >> > of my time.
> > >
> > >
> > > config.log:
> > > ## Checking whether SageMath should install SPKG libffi... ##
> > > ## --- ##
> > > configure:24887: checking for LIBFFI
> > > configure:24894: $PKG_CONFIG --exists --print-errors "libffi"
> > > configure:24897: $? = 0
> > > configure:24911: $PKG_CONFIG --exists --print-errors "libffi"
> > > configure:24914: $? = 0
> > > configure:25100: result: yes
> > > configure:25108: will use system package and not install SPKG libffi
> > >
> > > maxima log:
> > > Condition of type: SIMPLE-ERROR
> > > Error code 1 when executing
> > > (EXT:RUN-PROGRAM "gcc" ("-o" "binary-ecl/maxima-package.fas"
> "-L/usr/local/sage/sage-9.3/local/lib/" "/tmp/eclinit8GQbdq.o"
> "binary-ecl/maxima-package.o"
> "-Wl,--rpath,/usr/local/sage/sage-9.3/local/lib/" "-shared"
> "-Wl,-rpath-link,/usr/local/sage/sage-9.3/local/lib"
> "-L/usr/local/sage/sage-9.3/local/lib"
> "-Wl,-rpath,/usr/local/sage/sage-9.3/local/lib"
> "-Wl,-rpath-link,/usr/local/sage/sage-9.3/local/lib"
> "-L/usr/local/sage/sage-9.3/local/lib"
> "-Wl,-rpath,/usr/local/sage/sage-9.3/local/lib" "-lecl" "-lgmp" "-lgc"
> ...)):
> > > /usr/bin/ld: cannot find -lffi
> > > collect2: error: ld returned 1 exit status
> > > Available restarts:
> > >
> > > 1. (CONTINUE) Continues anyway.
> > > 2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
> > >
> > > Broken at DO-COMPILE-ECL.
> > >  File:
> #P"/usr/local/sage/sage-9.3/local/var/tmp/sage/build/maxima-5.44.0/src/src/maxima.system"
> (Position #1601)
> > >
> > >
> > >
> > > Do you perhaps need to sudo apt install libffi-dev?
> >
> >
> > One way I can explain this is a broken system-wide install of libffi-dev
> > I don't know how this can be achieved, other than having multiple
> > system-wide copies of libffi,
> > or stuff manually removed.
> >
> > The other possibility is that the linker is told not to look for
> > system-wide libffi - can this be achieved with -L and -Wl,-rpath ?
> >
> > On the other hand, it's a bug in maxima, which does not try to check
> > for presense of libffi, just assumes it's there.
>
> oops, I meant to say, it's a bug in ECL, as this failing call to gcc
> is emitted by ECL.
>

Why did SageMath say this? Was it checking for runtime libffi or headers?

config.log:
## Checking whether SageMath should install SPKG libffi... ##
## --- ##
configure:24887: checking for LIBFFI
configure:24894: $PKG_CONFIG --exists --print-errors "libffi"
configure:24897: $? = 0
configure:24911: $PKG_CONFIG --exists --print-errors "libffi"
configure:24914: $? = 0
configure:25100: result: yes
*configure:25108: will use system package and not install SPKG libffi*

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_3J7QyF7yTjYY3ecPz5U5uA6E2bw_iBiHYcXw4b0siBEA%40mail.gmail.com.


Re: [sage-devel] problem building maxima

2021-05-14 Thread Jan Groenewald
Hi

On Fri, 14 May 2021 at 11:26, François Bissey  wrote:

> It looks like maxima.fas has not been built. Last time I saw that happen
> in sage-on-gentoo was because the patch to build it was missing.
> Not sure how it could happen on your setup, the log needs further
> inspection.
>
> > On 14/05/2021, at 21:18, John Cremona  wrote:
> >
> > I have been installing sage-9.3 from the tarball on a few ubuntu
> > machines, just doing ./configure and then make.  On one machine
> > running ubuntu 20.04.02 LTS maxima fails to build.  I have attached
> > the log files.
> >
> > This is a machine on which I tried a few weeks ago to help the build
> > process by installing as many of the dependencies as possible.  My
> > experience so far has been that this has caused so many things to go
> > wrong that I prefer the old way -- build everything -- since that just
> > takes more computer time, while the new way (so far) uses a lot more
> > of my time.
>

config.log:
## Checking whether SageMath should install SPKG libffi... ##
## --- ##
configure:24887: checking for LIBFFI
configure:24894: $PKG_CONFIG --exists --print-errors "libffi"
configure:24897: $? = 0
configure:24911: $PKG_CONFIG --exists --print-errors "libffi"
configure:24914: $? = 0
configure:25100: result: yes
*configure:25108: will use system package and not install SPKG libffi*

maxima log:
Condition of type: SIMPLE-ERROR
Error code 1 when executing
(EXT:RUN-PROGRAM "gcc" ("-o" "binary-ecl/maxima-package.fas"
"-L/usr/local/sage/sage-9.3/local/lib/" "/tmp/eclinit8GQbdq.o"
"binary-ecl/maxima-package.o"
"-Wl,--rpath,/usr/local/sage/sage-9.3/local/lib/" "-shared"
"-Wl,-rpath-link,/usr/local/sage/sage-9.3/local/lib"
"-L/usr/local/sage/sage-9.3/local/lib"
"-Wl,-rpath,/usr/local/sage/sage-9.3/local/lib"
"-Wl,-rpath-link,/usr/local/sage/sage-9.3/local/lib"
"-L/usr/local/sage/sage-9.3/local/lib"
"-Wl,-rpath,/usr/local/sage/sage-9.3/local/lib" "-lecl" "-lgmp" "-lgc"
...)):
*/usr/bin/ld: cannot find -lffi*
collect2: error: ld returned 1 exit status
Available restarts:

1. (CONTINUE) Continues anyway.
2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at DO-COMPILE-ECL.
 File:
#P"/usr/local/sage/sage-9.3/local/var/tmp/sage/build/maxima-5.44.0/src/src/maxima.system"
(Position #1601)



Do you perhaps need to sudo apt install libffi-dev?
It is listed as a dependency here:
https://doc.sagemath.org/html/en/installation/source.html

(also see https://bugzilla.redhat.com/show_bug.cgi?id=837102 from 2012)

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_33NMuyuZ_zQn8%2B3oQjDhR%3DCAMAcausjD7TYoi_x9EoXQ%40mail.gmail.com.


Re: [sage-devel] Sage on Windows

2020-12-16 Thread Jan Groenewald
Correct output will follow when she figures out how to run coreinfo -- it
just opens a terminal and closes quickly.
That is not the right output.

On Wed, 16 Dec 2020 at 16:30, Dima Pasechnik  wrote:

> Jan mentioned Celeron N3060, but this is Xeon W3520, a rather different
> CPU.
>
> On Wed, Dec 16, 2020 at 1:07 PM Malala Rakotondrasoa <
> malalarh...@gmail.com> wrote:
>
>> Hi! This is the output after I run coreinfo
>>
>> On Wednesday, December 16, 2020 at 2:59:14 PM UTC+3 dim...@gmail.com
>> wrote:
>>
>>> On Wed, Dec 16, 2020 at 11:36 AM Jan Groenewald  wrote:
>>>
>>>> Hi
>>>>
>>>> On Wed, 16 Dec 2020 at 11:26, Dima Pasechnik  wrote:
>>>>
>>>>> it looks as if the hardware does not understand a command.
>>>>> Ask them about the CPU type of the machine.
>>>>>
>>>>
>>>> Intel Celeron N3060 1.6GHZ
>>>>
>>>
>>> that's one of these low-end CPUs from 2016 that are reported to have
>>> this kind of issue.
>>> Can you ask them to download and run coreinfo utility from
>>>
>>> https://docs.microsoft.com/en-us/sysinternals/downloads/coreinfo
>>>
>>> without parameters - and post the output here.
>>>
>>> E.g. one possibility is that popcnt instruction is not supported.
>>>
>>>
>>>
>>>> 4GB RAM
>>>> 64bit Windows 10 version 1803
>>>>
>>>> Regards,
>>>> Jan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> On Wed, Dec 16, 2020 at 9:22 AM Jan Groenewald 
>>>>> wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I have a student who is in another country, with Windows 10, whom I
>>>>>> sent this link to install sage:
>>>>>>
>>>>>> https://sagemath.mirror.ac.za/win/SageMath-9.2-Installer-v0.6.1.exe
>>>>>>
>>>>>> She has these errors on any computation:
>>>>>>
>>>>>> [image: saegmath-jupyter.jpeg]
>>>>>> Google translate says:
>>>>>> Kernel being restarted
>>>>>> The kernel seems to crash It will restart automatically
>>>>>>
>>>>>> and the terminal screenshot:
>>>>>> [image: windows-kernel.jpeg]
>>>>>> I can probably get teamviewer access to investigate further but I am
>>>>>> not familiar with windows or sage on windows.
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> 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+...@googlegroups.com.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_0w7RtW7%3DDSoYREpqa-y1YnLS3CkKEAqe3vH-MvL%3DmzfQ%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_0w7RtW7%3DDSoYREpqa-y1YnLS3CkKEAqe3vH-MvL%3DmzfQ%40mail.gmail.com?utm_medium=email_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>>> 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+...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq318FzwkfMgv5NYH%3DJouMV1dcjsJawj4Y-rturnSOEx5Q%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/sage-devel/CAAWYfq318FzwkfMgv5NYH%3DJouMV1dcjsJawj4Y-rturnSOEx5Q%40mail.gmail.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>>
>>>>
>>>> --
>>>>   .~.
>>>>   /V\ Jan Groenewald
>>>>  /( )\www.aims.ac.za
>>>>  ^^-^^
>>>>

Re: [sage-devel] Re: Should Sage fiddle with .sage file permissions?

2020-01-27 Thread Jan Groenewald
Hi

On Mon, 27 Jan 2020 at 20:57, John H Palmieri 
wrote:

>
>
> On Monday, January 27, 2020 at 9:59:04 AM UTC-8, Matthias Koeppe wrote:
>>
>> On Monday, January 27, 2020 at 9:34:41 AM UTC-5, Marc Mezzarobba wrote:
>>>
>>>
>>> I just noticed that Sage unconditionally changes the permissions of the
>>> DOT_SAGE directory to rwx--- even after the user manually modified them
>>> (sage/misc/misc.py, l. 92ff). It seems to me however that there are
>>> perfectly valid reasons to share one's .sage with other users. Worse,
>>> Sage crashes if the attempt to set the permissions fails (try chattr +i
>>> ~/.sage).
>>
>>
>> In my opinion, it should set these permissions when it creates the
>> DOT_SAGE directory
>> for the first time (similar to how permissions of files like
>> ~/.python_history or ~/.bash_history are set), but not adjust them if the
>> directory already exists. It would be appropriate to write out a warning
>> though if they are more permissive than rwx--.
>>
>> Matthias
>>
>
> As noted in the cited part of misc.py, people might also have concerns
> about their Sage command history. I like the warning idea. It would make
> more sense to me to have a function which checks whether DOT_SAGE exists,
> creates it and sets permissions if it doesn't, checks permissions and
> prints a warning if it exists with bad permissions, is silent otherwise.
> Then run this function when Sage starts up. That seems better than having
> code executed at the top-level of misc.py.
>

Yes, though our students who start sage by clicking an icon, will never
read the warning in the terminal. Would be nice if the warning showed in
Jupyter as well.

Or maybe keep fixing the permissions unless an enviroment variable is set,
e..g SAGE_ALLOW_INSECURE_DOTSAGE.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_3KPwoF3UCG5B%3DFVr69xds3DCn3hLPA4urwN%2B%3D2uicxYA%40mail.gmail.com.


Re: [sage-devel] sage 8.9 crash on older CPU

2019-10-02 Thread Jan Groenewald
Hi

On Tue, 1 Oct 2019 at 11:50, François Bissey  wrote:

> Have you used “SAGE_FAT_BINARY=yes”? it is the only way to make a somewhat
> portable
> binary that doesn’t have the problem you describe.
>

Yes, that works, thanks, I actually just forgot that this time.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_2zGr-4%3DB-aWgAYu7j%3D3BQdM_uC2%2BvSBzRLVVVhA7UDmg%40mail.gmail.com.


[sage-devel] sage 8.9 crash on older CPU

2019-10-01 Thread Jan Groenewald
Hi

I have compiled sage 8.9 on a KVM used as a master image for a computer lab.
The CPU is presented as model name  : Intel Xeon E3-12xx v2 (Ivy Bridge)

Imaging is using systemimager based on rsync.

On the newer lab machines with Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
the sage copied to the lab machines works fine.

On the older lab machines with Intel(R) Core(TM)2 Duo CPU E8400  @
3.00GHz
there is a crash as attached.

Is there a flag I can set at compile time to compile for the older CPUs by
disabling use of some instruction not available on the older CPUs, which is
what I suspect is happening?

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_1Z_MuZ2r%2Bihgq9BQAhPntVuFboW58xE75rLigm0oYS%3Dg%40mail.gmail.com.
***

IPython post-mortem report

{'commit_hash': u'033ab93c7',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': '/srv/sage-8.9/local/lib/python2.7/site-packages/IPython',
 'ipython_version': '5.8.0',
 'os_name': 'posix',
 'platform': 'Linux-4.19.0-6-amd64-x86_64-with-debian-buster',
 'sys_executable': '/srv/sage-8.9/local/bin/python2',
 'sys_platform': 'linux2',
 'sys_version': '2.7.15 (default, Sep 30 2019, 12:04:00) \n[GCC 8.3.0]'}

***



***

Crash traceback:

---
---
SignalError  Python 2.7.15: /srv/sage-8.9/local/bin/python2
   Tue Oct  1 11:28:58 2019
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/srv/sage-8.9/src/bin/sage-ipython in ()
  1 #!/usr/bin/env sage-python23
  2 # -*- coding: utf-8 -*-
  3 """
  4 Sage IPython startup script.
  5 """
  6 
  7 # Display startup banner. Do this before anything else to give the user
  8 # early feedback that Sage is starting.
  9 from sage.misc.banner import banner
 10 banner()
 11 
 12 from sage.repl.interpreter import SageTerminalApp
 13 
 14 app = SageTerminalApp.instance()
---> 15 app.initialize()
global app.initialize = >
 16 app.start()


 in initialize(self=, argv=None)

/srv/sage-8.9/local/lib/python2.7/site-packages/traitlets/config/application.pyc
 in catch_config_error(method=, 
app=, *args=(None,), **kwargs={})
 72 TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR = False
 73 else:
 74 raise ValueError("Unsupported value for environment variable: 
'TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR' is set to '%s' which is none of 
 {'0', '1', 'false', 'true', ''}."% _envvar )
 75 
 76 
 77 @decorator
 78 def catch_config_error(method, app, *args, **kwargs):
 79 """Method decorator for catching invalid config 
(Trait/ArgumentErrors) during init.
 80 
 81 On a TraitError (generally caused by bad config), this will print 
the trait's
 82 message, and exit the app.
 83 
 84 For use on init methods, to prevent invoking excepthook on invalid 
input.
 85 """
 86 try:
---> 87 return method(app, *args, **kwargs)
method = 
app = 
args = (None,)
kwargs = {}
 88 except (TraitError, ArgumentError) as e:
 89 app.print_help()
 90 app.log.fatal("Bad config encountered during initialization:")
 91 app.log.fatal(str(e))
 92 app.log.debug("Config at the time: %s", app.config)
 93 app.exit(1)
 94 
 95 
 96 class ApplicationError(Exception):
 97 pass
 98 
 99 
100 class LevelFormatter(logging.Formatter):
101 """Formatter with additional `highlevel` record
102 

/srv/sage-8.9/local/lib/python2.7/site-packages/IPython/terminal/ipapp.pyc in 
initialize(self=, argv=None)
301 
302 return super(TerminalIPythonApp, self).parse_command_line(argv)
303 
304 @catch_config_error
305 def initialize(self, argv=None):
306 """Do actions after construct, but before starting the app."""
307 super(TerminalIPythonApp, self).initialize(argv)
308  

Re: [sage-devel] Re: Fail to build openblas -- sage 8.8 on debian 9

2019-07-03 Thread Jan Groenewald
Hi

On Wed, 3 Jul 2019 at 13:28, Volker Braun  wrote:

> Works on the buildbot. The log looks hardware specific. Which cpu is this?
>

This is a kvm-qemu virtual machine with CPU set to "Hypervisor default"

0 root@muizenberg:~#grep odel /proc/cpuinfo
model   : 6
model name  : QEMU Virtual CPU version 2.5+

(updated the trac issue as well)

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_0Wgx6S68be25DLqODRwT_dcQf6t_xePTA7nx5Ux6tHbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Installation Issue

2019-05-15 Thread Jan Groenewald
Hi

Try installing glibc-devel package first.

Regards,
Jan

On Wed, 15 May 2019 at 09:36, Sahana Das  wrote:

> Hi,
>
>   I'm trying to install sagemath in my CentOS desktop form the Source Code 
> *sage-8.7.tar.gz.
> *After extracting the .tar file and running "make" command it showed some
> errors. I'm attaching the log file.
> <http://mirrors.ustc.edu.cn/sagemath/src/sage-8.7.tar.gz>
>   Could anyone please help me with fixing this? Is it because of CentOS,
> if so is there any other way to install in CentOS system?
>
> OS using: CentOS 6.9 ; GNOME: 2.28.2
> Python version: 2.7.16 (Installed from Anaconda)
>
> Many thanks,
>   Sahana
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/90029d05-bd61-43dd-b365-505e41b28f9f%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/90029d05-bd61-43dd-b365-505e41b28f9f%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
  .~.
  /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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAg%3Dp_2AKjQTtRxJenD3miyWyDD17TaAP5_9pNV7zM6V%2BikOMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Build error

2019-01-20 Thread Jan Groenewald
Hi

On Sun, 20 Jan 2019 at 12:25, Dima Pasechnik  wrote:

>
> E.g. on a debian system you'd do
>
> sudo apt-get install binutils gcc g++ gfortran make m4 perl tar \git openssl 
> libssl-dev
>
> (I think it's actually outdated, you should add yasm,
> libcurl4-openssl-dev, lzma-dev, xz to this list of packages)
>

xz-utils instead of xz?

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] Re: Delaying 8.5 or fast-tracking 8.6?

2018-12-20 Thread Jan Groenewald
Hi

Seeing as the freezes are coming up on the buster side,
https://release.debian.org/buster/freeze_policy.html ,
I have added two (amd64 and i386) buster buildbots.
(I mailed Volker and his ssh keys are added.)

Regards,
Jan



On Thu, 20 Dec 2018 at 11:17, E. Madison Bray  wrote:

> On Thu, Dec 20, 2018 at 10:10 AM Jeroen Demeyer 
> wrote:
> >
> > On 2018-12-20 00:12, Dima Pasechnik wrote:
> > > How about trying to get this into 8.5? (or perhaps 8.5.1?)
> >
> > Rushing GAP 4.10 in Sage 8.5 doesn't sound like a good idea to me.
> > Ideally, it should be sufficiently tested in betas.
>
> Depends on what you mean by "rushing".  More "release candidates" can
> be made, which are effectively no different from "testing in betas".
> I agree it needs to be tested more before it can be considered truly
> "done", but either that's going to happen in additional 8.5 "release
> candidates" or 8.6 "betas".  Personally I don't care either way as
> long as it gets done quickly as possible.  But it seems like a waste
> of time to make two minor-version number releases in quick succession.
>
>
> (This is an example of why I believe there needs to be more community
> involvement and communication in planning releases at regular
> intervals instead of just "moving forward" according to some seemingly
> arbitrary plan.)
>
> --
> 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.
>


-- 
  .~.
  /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] sage installation

2018-12-18 Thread Jan Groenewald
tory '/home/m/sage-8.4'
>>
>> Makefile:13: recipe for target 'all' failed
>>
>> make: *** [all] Error 2
>>
>>
>>
>> Le mar. 18 déc. 2018 à 11:36, E. Madison Bray  a
>> écrit :
>>
>> On Mon, Dec 17, 2018 at 8:11 PM Mathieu Roux  wrote:
>>
>> Good evening,
>>
>>
>> I am trying to install sage on my computer.
>>
>> I am using Linux Mint Cinnamon.
>>
>> I wrote
>>
>> sudo apt-get install sagemath
>>
>> et
>>
>> sudo apt-get install sagemath-jupyter
>>
>> with no errors.
>>
>> But then, when i try/usr/bin/sage, i get
>>
>>
>> ┌┐
>>
>> │ SageMath version 8.1, Release Date: 2017-12-07 │
>>
>> │ Type "notebook()" for the browser-based notebook interface.│
>>
>> │ Type "help()" for help.│
>>
>> └┘
>>
>> Traceback (most recent call last):
>>
>>   File "/usr/share/sagemath/bin/sage-ipython", line 7, in 
>>
>> from sage.repl.interpreter import SageTerminalApp
>>
>> ModuleNotFoundError: No module named 'sage'
>>
>> Try running just
>>
>>
>> $ sage -python -c 'import sys; print(sys.path)'
>>
>>
>> I bet something is messed up about your python path (or the package
>>
>> itself is broken somehow).
>>
>>
>> --
>>
>> 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.
>>
>> --
>>
>> 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.
>>
>> --
>>
>> 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.
>>
>> --
>>
>> 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.
>>
>>
>> --
>> 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.
>>
>> --
>> 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.
>>
> --
> 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.
>


-- 
  .~.
  /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] Re: embedding sage in c or c++

2018-09-29 Thread Jan Groenewald
Hi

I missed the rest of this thread, but...

On Sat, 29 Sep 2018 at 13:24,  wrote:

>
> Our Sage version is 8.2. We are getting this error.
>
> abc@Math-Sans:~/Downloads/SageMath$ sage --python
>

Use

./sage --python

where the ./ indicates the sage command is in that folder you are located
in.

For convenience, you can make sage an alias with

echo '/home/abc/Downloads/SageMath/sage' | tee -a /home/abc/.bashrc ;
source /home/abc/.bashrc

You can then just type sage in any 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.


Re: [sage-devel] installation fortran

2018-08-20 Thread Jan Groenewald
Hi Mathieu

Try sudo apt install sagemath-jupyter

Regards,
Jan




On Mon, 20 Aug 2018 at 14:48, Mathieu Roux  wrote:

> h in fact yes
> sudo apt-get install sage
> installed sage on my laptop! thanks
>
> But when i try sage -n, it does not work.
>
> ┌┐
> │ SageMath version 8.1, Release Date: 2017-12-07 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘
> Please wait while the SageNB export server starts...
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/dist-packages/sage/repl/ipython_kernel/install.py",
> line 275, in have_prerequisites
> from notebook.notebookapp import NotebookApp
> ImportError: No module named notebook.notebookapp
>
> The Jupyter notebook requires ssl, even if you do not use
> https. Install the openssl development packages in your system and
> then rebuild Python (sage -f python2).
>
>
>
>
> But when i launch sage first, and then launch notebook() in the sage
> console, it works!
>
> 2018-08-19 20:25 GMT+02:00 Timo Kaufmann :
>
>> Is sage not included in ubuntus repos? Alternatively if it is a hardware
>> detection problem you could try building with SAGE_FAT_BINARY=1 or, as a
>> bit of self promotion, install sage through nix.
>>
>>
>> Am Sonntag, 19. August 2018 20:06:55 UTC+2 schrieb Mathieu Roux:
>>>
>>> aie aie aie
>>>
>>> but i have just installed my new linux, after formating hard disk... I
>>> took last version of linux mint cinnamon.
>>>
>>> What can i do? Is there a new solution but building sage from sources?
>>>
>>>
>>>
>>> Le 19/08/2018 à 19:53, Dima Pasechnik a écrit :
>>> > system's ecl is not used by Sage, so this is not relevant whether it
>>> is installed by apt, or not.
>>> >
>>> > but segfault at the end of ecl's log is not nice at all. Something is
>>> broken in the toolchain, the hardware is not recognised correctly...
>>> >
>>>
>>> --
>> 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.
>>
>
> --
> 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.
>


-- 
  .~.
  /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] GNU/Linux debian sid/testing: "Error building Sage" 8.3 from git

2018-08-14 Thread Jan Groenewald
Hi

On Tue, 14 Aug 2018 at 16:44, 'Julien Puydt' via sage-devel <
sage-devel@googlegroups.com> wrote:

> I have no clue what "testing/sid" might be... since as far as I know
> "sid==unstable"
>

Testing is usually about 10-20 days behind unstable ("sid").

Testing will also become the new stable, so uses "buster" already.
If your sources.list has "buster", you will become stable; if it has
"testing" you will continue ahead of buster once it becomes stable.

In any case testing/sid is not something, but testing and sid are very
close.

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] Sage Installation

2018-08-01 Thread Jan Groenewald
Hi

Just a guess, but...
Try remove /Applications/sage-8.2/upstream/setuptools-38.2.4.zip and then
try build again.

Regards,
Jan


On Wed, 1 Aug 2018 at 15:02, Sachi Hashimoto 
wrote:

> Hi Erik,
>
> Thanks for taking a look! Unfortunately that didn't work--it still won't
> build setuptools38.2.4.p0
>
> Any other ideas?
>
> Best,
> Sachi
>
> On Wed, Aug 1, 2018 at 8:13 AM, Erik Bray  wrote:
>
>> It seems to be having some problems related to your PYTHONPATH
>> environment variable, which really should not be set at all.
>>
>> Try running
>>
>> $ unset PYTHONPATH
>>
>> and then build again.
>> On Wed, Aug 1, 2018 at 12:22 AM  wrote:
>> >
>> > Hello,
>> >
>> > I am trying to install sage from source, and I ran into an error.
>> >
>> > I am running mac OS version 10.13.4. I'm attaching the log file, it
>> failed to build
>> >
>> > * package: setuptools-38.2.4.p0
>> >
>> > and told me to post / email here. How should I proceed?
>> >
>> > Best,
>> > Sachi
>> >
>> > --
>> > 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.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "sage-devel" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/sage-devel/RtdwwUm2enE/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>>
>
> --
> 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.
>


-- 
  .~.
  /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] Integrating SageMath into existing Python install / Python compiling error

2018-04-14 Thread Jan Groenewald
On 14 April 2018 at 18:33, Samuel Lelievre <samuel.lelie...@gmail.com>
wrote:

> Sat 2018-04-14 09:29:47 UTC, Thierry:
> >
> > On Fri, Apr 13, 2018 at 03:02:24PM +0200, Erik Bray wrote:
> > [...]
> > > There was an official Debian package for Sage that was mostly working,
> > > but there hasn't been regular-enough maintenance on it to keep it
> > > working, something some of us are hoping to fix sometime...
> >
> > You might have missed a part of the history: there *is* a Debian package
> > for Sage, now in stable, see
> >
> > https://packages.debian.org/stretch/sagemath
>
> One can install the Debian-packaged SageMath with
>
>  apt install sagemath-jupyter
>
> ...not sure why it is not simply
>
> apt install sagemath
>



> I think the package sagemath is the shell only, no notebooks.
>

-- 
  .~.
  /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] Use system R with sage?

2017-10-20 Thread Jan Groenewald
On 20 October 2017 at 18:27, Dima Pasechnik <dimp...@gmail.com> wrote:

> That is what I said a couple of times too.
>
> In particular, IMHO most R users use an IDE called R-studio, so for them
> the Sage's one is not very useful.
>
>
True, but I wouldn't rule out a growing market share for jupyter notebooks
for R just yet.

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] Re: ecm failed to build

2017-09-21 Thread Jan Groenewald
Hi

On 21 September 2017 at 09:21, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> This is possibly gcc 6.2 related: ​https://mail.coreboot.org/
> pipermail/coreboot/2016-December/082739.html
>
> And a possible solution is Build GMP --with-pic, (only) if GCC defaults
> to -pie (preferred solution from reading the rest of above thread to the
> end).
>
export CFLAGS="--with-pic"; ./sage -f mpir; make # failed to build

export CFLAGS="-fPIC"; ./sage -f mpir; make # completed build (well many
packages (see attached) except doc-html eventually failed to build with
OSError: [Errno 12] Cannot allocate memory in a 4G Virtual Machine.

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.
-rw--- 1 jan sysadm7351 Sep 21 13:20 alabaster-0.7.8.p0.log
-rw--- 1 jan sysadm2295 Sep 21 13:24 appnope-0.1.0.p0.log
-rw--- 1 jan sysadm  622384 Sep 21 10:38 arb-2.8.1.p1.log
-rw--- 1 jan sysadm  146606 Sep 21 13:20 babel-2.3.4.p0.log
-rw--- 1 jan sysadm4980 Sep 21 13:22 backports_abc-0.5.log
-rw--- 1 jan sysadm6596 Sep 21 13:24 
backports_shutil_get_terminal_size-1.0.0.p1.log
-rw--- 1 jan sysadm6192 Sep 21 13:22 
backports_ssl_match_hostname-3.5.0.1.p0.log
-rw--- 1 jan sysadm   90878 Sep 21 11:32 cddlib-094g.p1.log
-rw--- 1 jan sysadm6442 Sep 21 13:22 certifi-2016.2.28.p0.log
-rw--- 1 jan sysadm6172 Sep 21 13:44 configparser-3.5.0.log
-rw--- 1 jan sysadm2288 Sep 21 13:43 conway_polynomials-0.5.log
-rw--- 1 jan sysadm5000 Sep 21 13:42 cycler-0.10.0.p0.log
-rw--- 1 jan sysadm   61904 Sep 21 10:44 cypari-1.0.0.log
-rw--- 1 jan sysadm   29310 Sep 21 10:43 cysignals-1.6.4.log
-rw--- 1 jan sysadm9063 Sep 21 13:42 dateutil-2.5.3.log
-rw--- 1 jan sysadm4927 Sep 21 11:04 decorator-4.0.6.p0.log
-rw--- 1 jan sysadm   66754 Sep 21 11:04 docutils-0.13.1.log
-rw--- 1 jan sysadm 1808027 Sep 21 10:47 ecl-16.1.2.p4.log
-rw--- 1 jan sysadm  532831 Sep 21 10:55 eclib-20170330.log
-rw--- 1 jan sysadm  334481 Sep 21 10:55 ecm-7.0.4.p0.log
-rw--- 1 jan sysadm4947 Sep 21 13:44 entrypoints-0.2.2.log
-rw--- 1 jan sysadm5795 Sep 21 11:04 enum34-1.1.6.log
-rw--- 1 jan sysadm   98759 Sep 21 11:14 fflas_ffpack-2.2.2.p0.log
-rw--- 1 jan sysadm   38907 Sep 21 13:21 flask-0.10.1.p0.log
-rw--- 1 jan sysadm9327 Sep 21 13:21 flask_autoindex-0.6.p0.log
-rw--- 1 jan sysadm6497 Sep 21 13:21 flask_babel-0.9.p0.log
-rw--- 1 jan sysadm5176 Sep 21 13:21 flask_oldsessions-0.10.p0.log
-rw--- 1 jan sysadm6140 Sep 21 13:21 flask_openid-1.2.5.p0.log
-rw--- 1 jan sysadm  205773 Sep 21 13:21 flask_silk-0.2.p0.log
-rw--- 1 jan sysadm 1920873 Sep 21 10:36 flint-2.5.2.p1.log
-rw--- 1 jan sysadm  124624 Sep 21 10:56 freetype-2.6.3.log
-rw--- 1 jan sysadm6815 Sep 21 13:44 functools32-3.2.3-2.p0.log
-rw--- 1 jan sysadm   85111 Sep 21 13:21 future-0.15.2.p0.log
-rw--- 1 jan sysadm   22931 Sep 21 11:06 gap-4.8.6.p3.log
-rw--- 1 jan sysadm  169655 Sep 21 12:19 giac-1.2.3.47.p0.log
-rw--- 1 jan sysadm  100662 Sep 21 10:57 givaro-4.0.2.p0.log
-rw--- 1 jan sysadm  153409 Sep 21 10:58 glpk-4.60.p0.log
-rw--- 1 jan sysadm  519685 Sep 21 11:03 gsl-2.3.log
-rw--- 1 jan sysadm2492 Sep 21 10:56 iconv-1.14.log
-rw--- 1 jan sysadm5208 Sep 21 13:20 imagesize-0.7.1.p0.log
-rw--- 1 jan sysadm   25876 Sep 21 11:03 iml-1.0.4p1.p1.log
-rw--- 1 jan sysadm   21841 Sep 21 13:43 ipykernel-4.5.2.log
-rw--- 1 jan sysadm  102974 Sep 21 13:24 ipython-5.1.0.log
-rw--- 1 jan sysadm   12050 Sep 21 11:04 ipython_genutils-0.1.0.p0.log
-rw--- 1 jan sysadm   15175 Sep 21 13:45 ipywidgets-6.0.0.log
-rw--- 1 jan sysadm5169 Sep 21 13:21 itsdangerous-0.24.p0.log
-rw--- 1 jan sysadm   11928 Sep 21 11:04 jinja2-2.8.p0.log
-rw--- 1 jan sysadm2773 Sep 21 13:44 jmol-14.6.1_2016.07.11.p0.log
-rw--- 1 jan sysadm   11014 Sep 21 13:44 jsonschema-2.5.1.p0.log
-rw--- 1 jan sysadm   18060 Sep 21 13:43 jupyter_client-4.4.0.log
-rw--- 1 jan sysadm   19185 Sep 21 11:04 jupyter_core-4.3.0.log
-rw--- 1 jan sysadm   12920 Sep 21 11:04 lcalc-1.23.p15.log
-rw--- 1 jan sysadm   47811 Sep 21 11:10 libfplll-5.1.0.p0.log
-rw--- 1 jan sysadm   66211 Sep 21 11:07 libgap-4.8.6.log
-rw--- 1 jan sysadm   67020 Sep 21 10:56 libgd-2.1.1.1.p0.log
-rw--- 1 jan sysadm   86734 Sep 21 11:16 linbox-1.4.2.p1.log
-rw--- 1 jan sysadm   19194 Sep 21 11

Re: [sage-devel] Re: ecm failed to build

2017-09-21 Thread Jan Groenewald
Hi

This is possibly gcc 6.2 related: ​
https://mail.coreboot.org/pipermail/coreboot/2016-December/082739.html

And a possible solution is Build GMP --with-pic, (only) if GCC defaults to
-pie (preferred solution from reading the rest of above thread to the end).
Regards,
Jan




On 21 September 2017 at 08:54, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
>
>
> On 20 September 2017 at 13:32, Dima Pasechnik <dimp...@gmail.com> wrote:
>
>>
>>
>> On Wednesday, September 20, 2017 at 8:19:48 AM UTC+1, Jan Groenewald
>> wrote:
>>>
>>> Hi
>>>
>>> On 20 September 2017 at 08:56, Jan Groenewald <j...@aims.ac.za> wrote:
>>>
>>>> Hi
>>>>
>>>> On 19 September 2017 at 19:25, Dima Pasechnik <dim...@gmail.com> wrote:
>>>>
>>>> Probably your gmp or mpir was not built correctly:
>>>>> Indeed:
>>>>>
>>>>> /usr/bin/ld: /srv/sage-8.0/local/lib/libgmp.a(fat_entry.o): relocation 
>>>>> R_X86_64_32S against symbol `__gmpn_cpuvec' can not be used when making a 
>>>>> shared object; recompile with -fPIC
>>>>>
>>>>>
>>>> mpir log attached. There is no gmp log.
>>>>
>>> /bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4"
>> gcc -c -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo fat_entry
>> | sed 's/_$//'`   -m64 -O2  -g   -I. -I..  `test -f 'fat_entry.asm' || echo
>> './'`fat_entry.asm
>>
>> libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H
>> -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry -m64 -O2 -g -I. -I..
>> fat_entry.asm  -fPIC -DPIC -o .libs/fat_entry.o
>> m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_fat_entry -DPIC
>> fat_entry.asm >tmp-fat_entry.s
>>  gcc -c -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry
>> -m64 -O2 -g -I. -I.. tmp-fat_entry.s -fPIC -DPIC -o .libs/fat_entry.o
>>
>> libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H
>> -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry -m64 -O2 -g -I. -I..
>> fat_entry.asm -o fat_entry.o >/dev/null 2>&1
>>
>> these are lines in the log corresponding to compiling fat_entry.o, and it
>> looks to me as if the last line does not
>> say -fPIC anywhere. No idea whether this is the cause of the problem...
>>
>
> I do see there is a trac issue already: https://trac.sagemath.org/
> ticket/23519
>
>
>
>>
>>
>>>
>>>> This persists with SAGE_FAT_BINARY=no and rerunning make as well.
>>>>
>>>> This occurs inside a libvirt/qemu virtual machine.
>>>> Someone else posted this error related to docker in July:
>>>> https://groups.google.com/d/msg/sage-devel/Jl071EqambM/yr4_RvjbBQAJ
>>>>
>>>
>>> Just like that previous poster (in docker), if inside my VM I do:
>>>
>>> cd upstream; tar xf ecm*; cd ecm*; ./configure; make
>>>
>>
>> but this is against another libgmp, I presume.
>>
>
> Yes, must be the debian libgmp, it was not in a sage shell.
>
> Regards,
> Jan
>
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
>



-- 
  .~.
  /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] Re: ecm failed to build

2017-09-21 Thread Jan Groenewald
Hi



On 20 September 2017 at 13:32, Dima Pasechnik <dimp...@gmail.com> wrote:

>
>
> On Wednesday, September 20, 2017 at 8:19:48 AM UTC+1, Jan Groenewald wrote:
>>
>> Hi
>>
>> On 20 September 2017 at 08:56, Jan Groenewald <j...@aims.ac.za> wrote:
>>
>>> Hi
>>>
>>> On 19 September 2017 at 19:25, Dima Pasechnik <dim...@gmail.com> wrote:
>>>
>>> Probably your gmp or mpir was not built correctly:
>>>> Indeed:
>>>>
>>>> /usr/bin/ld: /srv/sage-8.0/local/lib/libgmp.a(fat_entry.o): relocation 
>>>> R_X86_64_32S against symbol `__gmpn_cpuvec' can not be used when making a 
>>>> shared object; recompile with -fPIC
>>>>
>>>>
>>> mpir log attached. There is no gmp log.
>>>
>> /bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc
> -c -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo fat_entry |
> sed 's/_$//'`   -m64 -O2  -g   -I. -I..  `test -f 'fat_entry.asm' || echo
> './'`fat_entry.asm
>
> libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry -m64 -O2 -g -I. -I..
> fat_entry.asm  -fPIC -DPIC -o .libs/fat_entry.o
> m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_fat_entry -DPIC
> fat_entry.asm >tmp-fat_entry.s
>  gcc -c -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry -m64
> -O2 -g -I. -I.. tmp-fat_entry.s -fPIC -DPIC -o .libs/fat_entry.o
>
> libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry -m64 -O2 -g -I. -I..
> fat_entry.asm -o fat_entry.o >/dev/null 2>&1
>
> these are lines in the log corresponding to compiling fat_entry.o, and it
> looks to me as if the last line does not
> say -fPIC anywhere. No idea whether this is the cause of the problem...
>

I do see there is a trac issue already:
https://trac.sagemath.org/ticket/23519



>
>
>>
>>> This persists with SAGE_FAT_BINARY=no and rerunning make as well.
>>>
>>> This occurs inside a libvirt/qemu virtual machine.
>>> Someone else posted this error related to docker in July:
>>> https://groups.google.com/d/msg/sage-devel/Jl071EqambM/yr4_RvjbBQAJ
>>>
>>
>> Just like that previous poster (in docker), if inside my VM I do:
>>
>> cd upstream; tar xf ecm*; cd ecm*; ./configure; make
>>
>
> but this is against another libgmp, I presume.
>

Yes, must be the debian libgmp, it was not in a sage shell.

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: How to configure default mathjax rendering method in jupyter notebook

2017-09-20 Thread Jan Groenewald
Hi

On 19 September 2017 at 12:12, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> I am running the debian 9 packaged sagemath-common and sagemath-jupyter.
> This gives a jupyter notebook which can open sage-7.4 worksheets.
>
> LaTeX is rendering horribly by default: short ugly integral signs shorter
> than the expression that follows, and broken square root signs, amongst
> other.
>
> It can be fixed by on each formula, each time you open the notebook, right
> click, math settings. Math Renderer, change HTML-CSS to Common HTML or SVG.
>
> How can this setting be made permanent? (For oneself or many users across
> a campus.)
>
> Mathjax is loaded from libjs-mathjax, a locally installed package, not
> from the internet. However editing 
> /usr/share/javascript/mathjax.config/default./js
> does not help either:
>
> 0 root@jan-desktop:/usr/share/javascript/mathjax/config#grep input/TeX
> default.js
>   //  input/TeX
>   jax: ["input/TeX", "output/SVG"], # default was output/HTML-CSS
>
> Any idea?
>
> Regards,
> Jan
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
>


This will be configurable in future versions of jupyter (not the version on
debian stable) in ~/.jupyter via mathjax_config.

For now had to move aside the following file and instead create a symlink
/usr/share/javascript/mathjax/config/TeX-AMS_HTML-full.js to my preferred
config instead.

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: [Debian-science-sagemath] A question about SageMath on Debian and MathJax

2017-09-20 Thread Jan Groenewald
Hi

On 20 September 2017 at 11:21, Ximin Luo <infini...@debian.org> wrote:

> Jan Groenewald:
> > Hi
> >
> > On 19 September 2017 at 21:18, Jan Groenewald <j...@aims.ac.za> wrote:
> >
> >> Thanks
> >>
> >> On 19 September 2017 at 21:08, Ximin Luo <infini...@debian.org> wrote:
> >>
> >>> Samuel Lelièvre:
> >>>> Dear debian-science-sagemath,
> >>>>
> >>>> There is a question on sage-devel about SageMath
> >>>> on Debian and MathJax:
> >>>>
> >>>> https://groups.google.com/d/topic/sage-devel/sL_iYHfFB2M/discussion
> >>>>
> >>>> Could anyone on this list answer it?
> >>>>
> >>>
> >>> Hi, (I think) the default is actually controlled by Jupyter Notebook
> and
> >>> not SageMath. You can hack it locally by editing:
> >>>
> >>> /usr/lib/python2.7/dist-packages/notebook/templates/notebook.html
> >>>
> >>> I believe you just need to change, near the top:
> >>>
> >>> {{mathjax_url}}?config=TeX-AMS_HTML-full
> >>> to:
> >>> {{mathjax_url}}?config=TeX-AMS_SVG-full
> >>>
> >>> Afterwards, restart the notebook server. You might also need to clear
> >>> your cookies / local storage if you've specifically overridden that
> setting
> >>> for particular formulas.
> >>>
> >>> I'm not sure the best way we could make this configurable across your
> >>> whole campus, but perhaps it's best to open an issue and discuss it
> with
> >>> the Jupyter Notebook people.
> >>>
> >>>
> >> Yes, seems to work! Discuss where with jupyter notebook people?  Seems
> irc
> >> and gitter is quiet. On github itself?
> >>
>
> Yes I meant on Github. But actually in the latest version of that file
> they have replaced the hardcoded config with a {{mathjax_config}}:
> https://github.com/jupyter/notebook/blob/master/notebook/
> templates/notebook.html#L8
>
> According to this https://jupyter-notebook.readthedocs.io/en/latest/
> config.html the user can set it in ~/.jupyter/jupyter_notebook_config.py
> NotebookApp.mathjax_config = 'TeX-AMS-MML_HTMLorMML-full,Safe'
>
> (This version is not packaged yet for Debian, but hopefully soon.)
>
> > Okay not sure from user feedback. Will have to check in person tomorrow.
> > whether it is working.
> >
>
> Did they reset their cookies / local storage? I'm not sure of the easiest
> way to selectively do that, but ctrl-shift-delete in Chrome and Firefox
> will get rid of a whole chunk of stuff.
>

Yes, I completely removed ~/.mozilla, it still does not work to edit
/usr/lib/python2.7/dist-packages/notebook/templates/notebook.html.
Maybe {{mathjax_url}} is not set and so that if statement is never entered?

Anyway, this worked for now, it seems. I will deploy this:

cd /usr/share/javascript/mathjax/config
mv TeX-AMS_HTML-full.js{,.orig}
ln -s TeX-AMS_CHTML-full.js tex-AIMS_HTML-full.js

so I get a symlink to use Common HTML instead of HTML-CSS:

root@muizenberg:/usr/share/javascript/mathjax/config#ls -l
TeX-AMS_HTML-full.js
lrwxrwxrwx 1 root root 21 Sep 20 12:16 TeX-AMS_HTML-full.js ->
TeX-AMS_CHTML-full.js

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] Re: ecm failed to build

2017-09-20 Thread Jan Groenewald
Hi

On 20 September 2017 at 08:56, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> On 19 September 2017 at 19:25, Dima Pasechnik <dimp...@gmail.com> wrote:
>
> Probably your gmp or mpir was not built correctly:
>> Indeed:
>>
>> /usr/bin/ld: /srv/sage-8.0/local/lib/libgmp.a(fat_entry.o): relocation 
>> R_X86_64_32S against symbol `__gmpn_cpuvec' can not be used when making a 
>> shared object; recompile with -fPIC
>>
>>
> mpir log attached. There is no gmp log.
>
> This persists with SAGE_FAT_BINARY=no and rerunning make as well.
>
> This occurs inside a libvirt/qemu virtual machine.
> Someone else posted this error related to docker in July:
> https://groups.google.com/d/msg/sage-devel/Jl071EqambM/yr4_RvjbBQAJ
>

Just like that previous poster (in docker), if inside my VM I do:

cd upstream; tar xf ecm*; cd ecm*; ./configure; make

then the build succeeds.

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] Re: ecm failed to build

2017-09-20 Thread Jan Groenewald
Hi

On 19 September 2017 at 19:25, Dima Pasechnik <dimp...@gmail.com> wrote:

Probably your gmp or mpir was not built correctly:
> Indeed:
>
> /usr/bin/ld: /srv/sage-8.0/local/lib/libgmp.a(fat_entry.o): relocation 
> R_X86_64_32S against symbol `__gmpn_cpuvec' can not be used when making a 
> shared object; recompile with -fPIC
>
>
mpir log attached. There is no gmp log.

This persists with SAGE_FAT_BINARY=no and rerunning make as well.

This occurs inside a libvirt/qemu virtual machine.
Someone else posted this error related to docker in July:
https://groups.google.com/d/msg/sage-devel/Jl071EqambM/yr4_RvjbBQAJ

When I build on the host OS, also Debian 9 it compiles OK.

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.


mpir-3.0.0.p0.log.xz
Description: application/xz


[sage-devel] Re: [Debian-science-sagemath] A question about SageMath on Debian and MathJax

2017-09-19 Thread Jan Groenewald
Hi

On 19 September 2017 at 21:18, Jan Groenewald <j...@aims.ac.za> wrote:

> Thanks
>
> On 19 September 2017 at 21:08, Ximin Luo <infini...@debian.org> wrote:
>
>> Samuel Lelièvre:
>> > Dear debian-science-sagemath,
>> >
>> > There is a question on sage-devel about SageMath
>> > on Debian and MathJax:
>> >
>> > https://groups.google.com/d/topic/sage-devel/sL_iYHfFB2M/discussion
>> >
>> > Could anyone on this list answer it?
>> >
>>
>> Hi, (I think) the default is actually controlled by Jupyter Notebook and
>> not SageMath. You can hack it locally by editing:
>>
>> /usr/lib/python2.7/dist-packages/notebook/templates/notebook.html
>>
>> I believe you just need to change, near the top:
>>
>> {{mathjax_url}}?config=TeX-AMS_HTML-full
>> to:
>> {{mathjax_url}}?config=TeX-AMS_SVG-full
>>
>> Afterwards, restart the notebook server. You might also need to clear
>> your cookies / local storage if you've specifically overridden that setting
>> for particular formulas.
>>
>> I'm not sure the best way we could make this configurable across your
>> whole campus, but perhaps it's best to open an issue and discuss it with
>> the Jupyter Notebook people.
>>
>>
> Yes, seems to work! Discuss where with jupyter notebook people?  Seems irc
> and gitter is quiet. On github itself?
>
>
Okay not sure from user feedback. Will have to check in person tomorrow.
whether it is working.

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: [Debian-science-sagemath] A question about SageMath on Debian and MathJax

2017-09-19 Thread Jan Groenewald
Thanks

On 19 September 2017 at 21:08, Ximin Luo <infini...@debian.org> wrote:

> Samuel Lelièvre:
> > Dear debian-science-sagemath,
> >
> > There is a question on sage-devel about SageMath
> > on Debian and MathJax:
> >
> > https://groups.google.com/d/topic/sage-devel/sL_iYHfFB2M/discussion
> >
> > Could anyone on this list answer it?
> >
>
> Hi, (I think) the default is actually controlled by Jupyter Notebook and
> not SageMath. You can hack it locally by editing:
>
> /usr/lib/python2.7/dist-packages/notebook/templates/notebook.html
>
> I believe you just need to change, near the top:
>
> {{mathjax_url}}?config=TeX-AMS_HTML-full
> to:
> {{mathjax_url}}?config=TeX-AMS_SVG-full
>
> Afterwards, restart the notebook server. You might also need to clear your
> cookies / local storage if you've specifically overridden that setting for
> particular formulas.
>
> I'm not sure the best way we could make this configurable across your
> whole campus, but perhaps it's best to open an issue and discuss it with
> the Jupyter Notebook people.
>
>
Yes, seems to work! Discuss where with jupyter notebook people?  Seems irc
and gitter is quiet. On github itself?

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] How to configure default mathjax rendering method in jupyter notebook

2017-09-19 Thread Jan Groenewald
Hi

I am running the debian 9 packaged sagemath-common and sagemath-jupyter.
This gives a jupyter notebook which can open sage-7.4 worksheets.

LaTeX is rendering horribly by default: short ugly integral signs shorter
than the expression that follows, and broken square root signs, amongst
other.

It can be fixed by on each formula, each time you open the notebook, right
click, math settings. Math Renderer, change HTML-CSS to Common HTML or SVG.

How can this setting be made permanent? (For oneself or many users across a
campus.)

Mathjax is loaded from libjs-mathjax, a locally installed package, not from
the internet. However editing
/usr/share/javascript/mathjax.config/default./js does not help either:

0 root@jan-desktop:/usr/share/javascript/mathjax/config#grep input/TeX
default.js
  //  input/TeX
  jax: ["input/TeX", "output/SVG"], # default was output/HTML-CSS

Any idea?

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] Re: [sage-support] For info ?

2017-09-02 Thread Jan Groenewald
Hi

On 2 September 2017 at 18:12, Vincent Delecroix <20100.delecr...@gmail.com>
wrote:

> More precisely, the sagemath package is available on zesty (17.04)
>
> https://packages.ubuntu.com/zesty/sagemath
>
> I also don't see the point of keeping the ppa updated. It would be more
> confusing than helpful. One thing that needs to be done is to update the
> documentation on the SageMath website sagemath.org
>
>
We'd like to see sagemath in debian in backports. A PPA in Ubuntu could
serve the same purpose.

More important, no more need for a monolithic binary repackage of sagemath
for Ubuntu. That was a temporary workaround to get automatic updates via
apt.
A new PPA should inherit from backports, not just the simple binary blob of
files repackage I did of the sagemath binary tarball release.

sagemath is now properly modularised in debian, and sage8.0 is in
experimental.

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: [sage-support] For info ?

2017-09-02 Thread Jan Groenewald
Hi

Since sage is now in debian, the PPA is unlikely to be updated often, if at
all.
On a new ubuntu, sage is inherited from Debian. If someone is interested in
maintaining that feel free to contact me off-list.

Regards,
Jan

On 2 September 2017 at 17:17, HG <henri.gir...@gmail.com> wrote:

> I would like to know when sage -8.0 will be in ppa AIMS ?
> best
>
> --
> 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 sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-supp...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
  .~.
  /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: mozilla-firefox not found; notebook does not open browser

2017-08-23 Thread Jan Groenewald
Hi

On 23 August 2017 at 15:22, Jan Groenewald <j...@aims.ac.za> wrote:

> /srv/sage-8.0/local/bin/sage-native-execute: 6:
> /srv/sage-8.0/local/bin/sage-native-execute: mozilla-firefox: not found
>


The sage7.4 from debian repositories does the same, using xdg-open


0 jan@jan-desktop:/srv/sage-8.0$sage
┌┐
│ SageMath version 7.4, Release Date: 2016-10-18 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
└┘
sage:
sage:
sage:
sage:
sage:
sage:
sage:
sage: notebook()
The notebook files are stored in: sage_notebook.sagenb
┌┐
││
│ Open your web browser to http://localhost:8080 │
││
└┘
Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny
"sage_notebook.sagenb/twistedconf.tac"
/usr/lib/python2.7/dist-packages/sagenb/flask_version/base.py:10:
ExtDeprecationWarning: Importing flask.ext.autoindex is deprecated, use
flask_autoindex instead.
  from flask.ext.autoindex import AutoIndex
/usr/lib/python2.7/dist-packages/flask_autoindex/__init__.py:18:
ExtDeprecationWarning: Importing flask.ext.silk is deprecated, use
flask_silk instead.
  from flask.ext.silk import Silk
/usr/lib/python2.7/dist-packages/sagenb/flask_version/base.py:13:
ExtDeprecationWarning: Importing flask.ext.openid is deprecated, use
flask_openid instead.
  from flask.ext.openid import OpenID
2017-08-23T15:25:03+0200 [-] Loading sage_notebook.sagenb/twistedconf.tac...
2017-08-23T15:25:06+0200 [-] Loaded.
2017-08-23T15:25:06+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info]
twistd 16.6.0 (/usr/bin/python 2.7.13) starting up.
2017-08-23T15:25:06+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info]
reactor class: twisted.internet.epollreactor.EPollReactor.
2017-08-23T15:25:06+0200 [-] QuietSite starting on 8080
2017-08-23T15:25:06+0200 [__builtin__.QuietSite#info] Starting factory
<__builtin__.QuietSite instance at 0x7f92a2e89a70>
/usr/bin/xdg-open: 771: /usr/bin/xdg-open: mozilla-firefox: not found
/usr/bin/xdg-open: 771: /usr/bin/xdg-open: mozilla-firefox: not found
xdg-open: no method available for opening '
http://localhost:8080/?startup_token=5f9453a93231bce1c979789e49209fd4'



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] mozilla-firefox not found; notebook does not open browser

2017-08-23 Thread Jan Groenewald
Hi

There is no command mozilla-firefox on Debian 9, so the notebook does not
automatically open in a browser:

0 jan@jan-desktop:/srv/sage-8.0$./sage
┌┐
│ SageMath version 8.0, Release Date: 2017-07-21 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
└┘
sage: notebook()
('The notebook files are stored in:', 'sage_notebook.sagenb')
Removing stale pidfile sage_notebook.sagenb/sagenb.pid
┌┐
││
│ Open your web browser to http://localhost:8080 │
││
└┘
Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny
"sage_notebook.sagenb/twistedconf.tac"
/srv/sage-8.0/local/lib/python2.7/site-packages/Crypto/Util/number.py:57:
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using
libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to
avoid timing attack vulnerability.", PowmInsecureWarning)
2017-08-23T15:19:29+0200 [-] Loading sage_notebook.sagenb/twistedconf.tac...
2017-08-23T15:19:32+0200 [-] Loaded.
2017-08-23T15:19:32+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info]
twistd 16.3.0 (/srv/sage-8.0/local/bin/python 2.7.13) starting up.
2017-08-23T15:19:32+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info]
reactor class: twisted.internet.epollreactor.EPollReactor.
2017-08-23T15:19:32+0200 [-] QuietSite starting on 8080
2017-08-23T15:19:32+0200 [__builtin__.QuietSite#info] Starting factory
<__builtin__.QuietSite instance at 0x7faeadd3afc8>
/srv/sage-8.0/local/bin/sage-native-execute: 6:
/srv/sage-8.0/local/bin/sage-native-execute: mozilla-firefox: not found

On debian /etc/alternatives/x-ww-browser points to the default browser.

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] unable to install any package

2017-08-02 Thread Jan Groenewald
Hi

On 2 August 2017 at 03:55, Jia-Rui Fei <jr...@ncts.ntu.edu.tw> wrote:

> Dear group members,
>
> I am new to sage. I just installed the sage 8.0 last week with the
> virtualbox. I run it on a Windows 8 system from my laptop.
>
> Unfortunately I am unable to install any additional package (from the
> command line: sage -i [packagename]). It always came back the same error
> messages. Here are a few screenshots when I tried to install the package
> Frobby. Can anyone help me out? It is greatly appreciated.
>

Better to attach a (text format) log file or cut and paste relevant lines,
so readers don't have to open images.

Your one screenshot says "Temporary failure in name resolution" which
indicates a networking error on your side.
Maybe test with ping sagepad.org

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] Desktop entry spec

2017-03-14 Thread Jan Groenewald
Hi

A desktop icon is very useful on campus environments where sagemath
notebook is used in courses on Linux boxes.

https://trac.sagemath.org/ticket/22599

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: Sagemath PPA

2017-02-05 Thread Jan Groenewald
Hi

Thanks. I've just uploaded 7.5.1 to https://launchpad.net/~aims/+
archive/ubuntu/sagemath-dev/+packages

Note it is the sagemath-dev repo not the sagemath repo. Would you be
willing to test it?

Regards,
Jan

On 4 February 2017 at 21:07, Antonio Valdés Morales  wrote:

> Dear Jan,
> First of all, let me thank you for the Sagemath PPA. I think I've used it
> from its very beginning and it has been a very nice improvement for Ubuntu
> users.
>
> I've seen that you have uploaded the 7.5.1~aimsppa5 version of the
> package. However, none of my computers upgrade their current 7.3 version to
> 7.5.1. I am using Ubuntu 16.04. Not sure if this is due to some issue
> with AIMS PPA or, more probably, it is just my bad.
>
> Best regards,
> Antonio Valdés
>
>
>

-- 
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: Singular error on startup

2017-01-22 Thread Jan Groenewald
Hi

On 22 January 2017 at 13:56, Dima Pasechnik <dimp...@gmail.com> wrote:

>
>
> On Sunday, January 22, 2017 at 8:18:55 AM UTC, Jan Groenewald wrote:
>>
>> Hi
>>
>> I've repackaged sage 7.5.1 binary for 14.04 for the PPA, and get this on
>> startup:
>>
>> 0 jan@muizenberg:~$sage
>> ┌┐
>> │ SageMath version 7.5.1, Release Date: 2017-01-15   │
>> │ Type "notebook()" for the browser-based notebook interface.│
>> │ Type "help()" for help.│
>> └┘
>>
>>
>> // ** Could not find dynamic library: p_Procs_FieldIndep.so (path )
>>
>
> do you have such a file in SAGE_ROOT/local/libexec/singular/MOD/   ?
> Either you don't, and then indeed it's a problem, or you do, and then
> whatever mechanics used to load it is broken somehow...
>

I don't

0 root@muizenberg:~#ls /usr/lib/sagemath/local/libexec/

maxima

I am having a closer look at the debian packaging now. To have a smaller
package, we split out the src tree and so manually list files in the
debian/install file. This breaks almost every update.

Luckily sage (7.4) is in debian testing now, which will soon be stable.

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] Singular error on startup

2017-01-22 Thread Jan Groenewald
Hi

I've repackaged sage 7.5.1 binary for 14.04 for the PPA, and get this on
startup:

0 jan@muizenberg:~$sage
┌┐
│ SageMath version 7.5.1, Release Date: 2017-01-15   │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
└┘


// ** Could not find dynamic library: p_Procs_FieldIndep.so (path )
// ** Singular will work properly, but much slower.
// ** See the INSTALL section in the Singular manual for details.
sage:


Any idea?

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: [sage-notebook] Re: Proposal: move SageNB back to Sage

2016-11-23 Thread Jan Groenewald
Hi

On 23 November 2016 at 22:59, William Stein <wst...@gmail.com> wrote:

> On Wed, Nov 23, 2016 at 12:11 PM, Jan Groenewald <j...@aims.ac.za> wrote:
> >
> > Hi
> >
> > On 23 November 2016 at 22:05, Dima Pasechnik <dimp...@gmail.com> wrote:
> >>
> >>
> >> I understand that opinions on usability of https://github.com/sagemath/
> sagenb/tree/newui
> >> diverge.  (and with the breakneck speed javascript
> >> frameworks are developed, one may ask whether something written in 2012
> is still a great idea)
> >>
> >> You ask why sagenb is not developed further.
> >> 1) the sagenb's design is really dated, and jupyter notebook seems a
> better (and much better
> >> supported) alternative.
> >> 2) Another actively developed alternative is SMCs notebook, which can
> be run
> >> locally.
> >
> >
> > In Africa we have connectivity and power issues, which requires a local
> notebook.
>
>
> SMC **can be run locally**:
>
> 1. Install docker.
>
> 2. Type this (all one line)
>
> docker run --name=smc -v ~/smc:/projects -p 80:80 -p 443:443
> sagemathinc/sagemathcloud
>
> Now you're running SMC locally (visit http://localhost).  See
>https://github.com/sagemathinc/smc/blob/master/src/dev/docker/README.md
>
>
>
We don't want to install docker. We want to install a debian package.

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: [sage-notebook] Re: Proposal: move SageNB back to Sage

2016-11-23 Thread Jan Groenewald
Hi

On 23 November 2016 at 22:05, Dima Pasechnik <dimp...@gmail.com> wrote:

>
> I understand that opinions on usability of https://github.com/
> sagemath/sagenb/tree/newui
> diverge.  (and with the breakneck speed javascript
> frameworks are developed, one may ask whether something written in 2012 is
> still a great idea)
>
> You ask why sagenb is not developed further.
> 1) the sagenb's design is really dated, and jupyter notebook seems a
> better (and much better
> supported) alternative.
> 2) Another actively developed alternative is SMCs notebook, which can be
> run
> locally.
>

In Africa we have connectivity and power issues, which requires a local
notebook.

Would jupyter be a possible replacement for sagenb if sagenb is
discontinued from active development?  Is it already on a stand-alone
sagemath install?

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] Re: run doctests of a single function

2016-11-16 Thread Jan Groenewald
Hi

On 16 November 2016 at 14:35, Simon King <simon.k...@uni-jena.de> wrote:

> Hi Franco,
>
> On 2016-11-15, Franco Saliola <sali...@gmail.com> wrote:
> > I'm wondering whether there is a way to run the doctests of a single
> > function.
>
> Would indeed be nice to have. And thank you for pointing out
> run_doctests() --- I haven't been aware of it.
>

Looks like you could manually do this

https://stackoverflow.com/questions/10080157/python-is-it-possible-to-only-test-specific-functions-with-doctest-in-a-module

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] Cannot run sage in postinst

2016-10-23 Thread Jan Groenewald
Hi

I'm preparing the PPA for sage 7.4. In the postinst script I run sage once
as root to set hardcoded paths (which may have been replaced by
replocate-once.py??).

It fails to run under apt or dpkg --configure with

/usr/lib/sagemath/local/lib/python2.7/site-packages/prompt_toolkit/terminal/vt100_input.pyc
in __init__(self=, fileno=0)
--> 409 self.attrs_before = termios.tcgetattr(fileno)
error: (25, 'Inappropriate ioctl for device')

But I can run sage in a terminal. Is it safe to remove 'running sage once
as root to set hardcoded paths' from the postinst?

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] waterfall

2016-10-03 Thread Jan Groenewald
Hi

http://build.sagemath.org/release/waterfall

gives me

No Such Resource

File not found.


Has the link changed to http://build.sagemath.org/#/waterfall ? A software
update?


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] Re: crash after compiling sagemanifolds sage 7.3 (ppa aims)

2016-09-24 Thread Jan Groenewald
Hi

OK, requesting copy to stable PPA on launchpad.

Regards,
Jan

On 24 September 2016 at 11:06, Eric Gourgoulhon <egourgoul...@gmail.com>
wrote:

> Hi,
>
> I confirm that the new package sagemath-upstream-binary-full, taken from
> the PPA aims/sagemath-dev works well: SageManifolds could be installed in
> it without any trouble and its test suite is passed.
>
> Thanks a lot Jan !
>
> Best regards,
>
> Eric.
>
> --
> 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.
>



-- 
  .~.
  /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] Re: crash after compiling sagemanifolds sage 7.3 (ppa aims)

2016-09-23 Thread Jan Groenewald
Successfully Built but not published yet
https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+packages

On 23 September 2016 at 20:33, henri.gir...@gmail.com <
henri.gir...@gmail.com> wrote:

> Ok I wait a little and try again
>
> Le 23/09/2016 à 20:19, Jan Groenewald a écrit :
>
> Thanks, that was the second time. Third time also failed at 10 minutes
> without buildlog.
> launchpad does that sometimes but ususally 1 (or 2)  retries are enough.
> 4th retry is now showing a buildlog, and busy building, and is at 33
> minutes, give it 30 more or so.
>
> Regards,
> Jan
>
> On 23 September 2016 at 18:42, henri.gir...@gmail.com <
> henri.gir...@gmail.com> wrote:
>
>> I just had a look apparently it failed ?
>>
>> Le 23/09/2016 à 17:11, Jan Groenewald a écrit :
>>
>> Hi
>>
>> If everything debian-builds OK, there will be a package here in a few
>> hours in the dev PPA:
>> https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+packages
>> <https://launchpad.net/%7Eaims/+archive/ubuntu/sagemath-dev/+packages>
>>
>> Watch the build https://launchpad.net/~aims/+a
>> rchive/ubuntu/sagemath-dev/+build/10947743
>> <https://launchpad.net/%7Eaims/+archive/ubuntu/sagemath-dev/+build/10947743>
>> which take s about an hour. If successful, publishing that in the PPA
>> could take anything
>> from 5 minute to 5 hours, depending on how busy launchpad is.
>>
>> Please send me feedback before I copy to the stable PPA. I can't test
>> that this even opens the notebook now.
>>
>> Regards,
>> Jan
>>
>> On 23 September 2016 at 16:32, Eric Gourgoulhon <egourgoul...@gmail.com>
>> wrote:
>>
>>> Hi Jan,
>>>
>>> Thanks for your prompt and detailed answer, and for your efforts in
>>> offering this PPA to the community.
>>>
>>> Best regards,
>>>
>>> Eric.
>>>
>>> Le vendredi 23 septembre 2016 15:49:07 UTC+2, Jan Groenewald a écrit :
>>>>
>>>> Hi
>>>>
>>>> On 23 September 2016 at 15:46, Jan Groenewald <j...@aims.ac.za> wrote:
>>>>
>>>>> were told to redistribute modified copies we must 1) remove all Ubuntu
>>>>> branding and rebuild *all*
>>>>>
>>>>
>>>>
>>>> .. binaries, or 2) sign a license to redistribute to African
>>>> universities only (how gracious) and they would then not be able to
>>>> redistribute freely.
>>>>
>>>> (Sorry, accidentally cut some text).
>>>>
>>>> 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.
>>>
>>
>>
>>
>> --
>>   .~.
>>   /V\ Jan Groenewald
>>  /( )\www.aims.ac.za
>>  ^^-^^
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "sage-devel" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/sage-devel/z1XQDRt-OFs/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>>
>>
>> --
>> 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.
>>
>
>
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
> --
>

Re: [sage-devel] Re: crash after compiling sagemanifolds sage 7.3 (ppa aims)

2016-09-23 Thread Jan Groenewald
Thanks, that was the second time. Third time also failed at 10 minutes
without buildlog.
launchpad does that sometimes but ususally 1 (or 2)  retries are enough.
4th retry is now showing a buildlog, and busy building, and is at 33
minutes, give it 30 more or so.

Regards,
Jan

On 23 September 2016 at 18:42, henri.gir...@gmail.com <
henri.gir...@gmail.com> wrote:

> I just had a look apparently it failed ?
>
> Le 23/09/2016 à 17:11, Jan Groenewald a écrit :
>
> Hi
>
> If everything debian-builds OK, there will be a package here in a few
> hours in the dev PPA:
> https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+packages
> <https://launchpad.net/%7Eaims/+archive/ubuntu/sagemath-dev/+packages>
>
> Watch the build https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+
> build/10947743
> <https://launchpad.net/%7Eaims/+archive/ubuntu/sagemath-dev/+build/10947743>
> which take s about an hour. If successful, publishing that in the PPA
> could take anything
> from 5 minute to 5 hours, depending on how busy launchpad is.
>
> Please send me feedback before I copy to the stable PPA. I can't test that
> this even opens the notebook now.
>
> Regards,
> Jan
>
> On 23 September 2016 at 16:32, Eric Gourgoulhon <egourgoul...@gmail.com>
> wrote:
>
>> Hi Jan,
>>
>> Thanks for your prompt and detailed answer, and for your efforts in
>> offering this PPA to the community.
>>
>> Best regards,
>>
>> Eric.
>>
>> Le vendredi 23 septembre 2016 15:49:07 UTC+2, Jan Groenewald a écrit :
>>>
>>> Hi
>>>
>>> On 23 September 2016 at 15:46, Jan Groenewald <j...@aims.ac.za> wrote:
>>>
>>>> were told to redistribute modified copies we must 1) remove all Ubuntu
>>>> branding and rebuild *all*
>>>>
>>>
>>>
>>> .. binaries, or 2) sign a license to redistribute to African
>>> universities only (how gracious) and they would then not be able to
>>> redistribute freely.
>>>
>>> (Sorry, accidentally cut some text).
>>>
>>> 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.
>>
>
>
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/sage-devel/z1XQDRt-OFs/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>
>
> --
> 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.
>



-- 
  .~.
  /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] Re: crash after compiling sagemanifolds sage 7.3 (ppa aims)

2016-09-23 Thread Jan Groenewald
Hi

If everything debian-builds OK, there will be a package here in a few hours
in the dev PPA:
https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+packages
<https://launchpad.net/%7Eaims/+archive/ubuntu/sagemath-dev/+packages>

Watch the build
https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+build/10947743
which take s about an hour. If successful, publishing that in the PPA could
take anything
from 5 minute to 5 hours, depending on how busy launchpad is.

Please send me feedback before I copy to the stable PPA. I can't test that
this even opens the notebook now.

Regards,
Jan

On 23 September 2016 at 16:32, Eric Gourgoulhon <egourgoul...@gmail.com>
wrote:

> Hi Jan,
>
> Thanks for your prompt and detailed answer, and for your efforts in
> offering this PPA to the community.
>
> Best regards,
>
> Eric.
>
> Le vendredi 23 septembre 2016 15:49:07 UTC+2, Jan Groenewald a écrit :
>>
>> Hi
>>
>> On 23 September 2016 at 15:46, Jan Groenewald <j...@aims.ac.za> wrote:
>>
>>> were told to redistribute modified copies we must 1) remove all Ubuntu
>>> branding and rebuild *all*
>>>
>>
>>
>> .. binaries, or 2) sign a license to redistribute to African universities
>> only (how gracious) and they would then not be able to redistribute freely.
>>
>> (Sorry, accidentally cut some text).
>>
>> 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.
>



-- 
  .~.
  /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] Re: crash after compiling sagemanifolds sage 7.3 (ppa aims)

2016-09-23 Thread Jan Groenewald
Hi

On 23 September 2016 at 15:46, Jan Groenewald <j...@aims.ac.za> wrote:

> were told to redistribute modified copies we must 1) remove all Ubuntu
> branding and rebuild *all*
>


.. binaries, or 2) sign a license to redistribute to African universities
only (how gracious) and they would then not be able to redistribute freely.

(Sorry, accidentally cut some text).

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] Re: crash after compiling sagemanifolds sage 7.3 (ppa aims)

2016-09-23 Thread Jan Groenewald
Hi

Thanks, Eric. The PPA for 16.04 is indeed the 14.04 binary in the PPA
copied forward. Let me look at what (time) it takes to upload the proper
16.04 binary.

In principle, I can continue to maintain and increase automation of this,
but time might become an issue. We have a customized Ubuntu called
aims-desktop that we redistribute, and first created the PPA for that. I
know it is used much more widely. For redistribution we contacted
Canonical's legal department after their IP policy was in the news, and
were told to redistribute modified copies we must 1) remove all Ubuntu
branding and rebuild *all*  So in future our incentive to spend time on
this might reduce.

Of course it is still not recommended to run sage -b as root and even less
so in the PPA. The PPA was always viewed as a temporary solution while
people are working on properly debianizing sage, a hard and multi-year
project, which will no doubt leave Debian/Ubuntu with a outdated sage.

Still we want to support knowledgable people doing this out of necessity
while sage-in-debian is not ready.

Regards,
Jan

On 23 September 2016 at 15:14, Eric Gourgoulhon <egourgoul...@gmail.com>
wrote:

> PS (to aishen): while this problem is fixed, you may consider installing
> in your home directory SageMath 7.3 from the file
> sage-7.3-Ubuntu_16.04-x86_64.tar.bz2 downloaded from
> http://www.sagemath.org/download-linux.html.
> Installing SageManifolds in such a version has been tested successfully.
>
>
> --
> 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.
>



-- 
  .~.
  /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] Fwd: SageMath packaging status update

2016-08-09 Thread Jan Groenewald
Might of interest to some here.  Please join the mailing list if you can
help.

-- Forwarded message --
From: Tobias Hansen <than...@debian.org>
Date: 10 August 2016 at 01:17
Subject: SageMath packaging status update
To: "debian-scie...@lists.debian.org" <debian-scie...@lists.debian.org>


Hi Debian Science,

I thought I'd give you an update about the packaging of SageMath in Debian.

Since the last update we have improved our methods quite a bit. We now
have a mini-dinstall (our own little APT repository) which allows us to
always have a set of packages available that makes it possible to build
SageMath. We have an up-to-date SageMath (7.3) that can be built using
Debian packages to fulfill most dependencies. One can run the test
suite, but we didn't create an installable package yet.

We are currently working on packaging the last small dependencies and
making the tests pass. Help is always welcome, it would be awesome if we
could manage to ship SageMath in Stretch. More details can be found on
the Wiki page [1].

Since today we also have our own mailing list to discuss issues
regarding SageMath packaging. [2]

Best,
Tobias

[1] https://wiki.debian.org/DebianScience/Sage
[2] https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath




-- 
  .~.
  /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] So...who are the Singular experts?

2016-07-28 Thread Jan Groenewald
Hi



On 28 July 2016 at 16:32, Erik Bray <erik.m.b...@gmail.com> wrote:

> ...and in particular, are any omalloc experts watching this list?
>
> I ask because my current issue in the Cygwin port of Sage is a
> segfault that's occurring in Singular during a routine memory
> deallocation of GMP integers.
>
> I'm working on getting a Singular compiled without omalloc to see if
> that makes any difference.  In the meantime I just thought I'd reach
> out to see what expertise I have to draw on in the community.
>
> Thanks,
> Erik
>
>
You can also ask here :
https://mail.mathematik.uni-kl.de/mailman/listinfo/singular
who might redirect you to a contact person or one of the singular
developers.

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] Developer map not showing pins on developer locations

2016-07-28 Thread Jan Groenewald
Hi

http://www.sagemath.org/development-map.html

Map contains no pins... should there be a contributors.xml file in this
folder?
https://github.com/sagemath/website/blob/master/src/res
from
https://github.com/sagemath/website/blob/master/src/res/devmap2.js

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] Re: sage infrastructure at UW

2016-06-07 Thread Jan Groenewald
On 7 June 2016 at 18:54, Volker Braun  wrote:

> I can probably set you up if you send me your private key.


private key or public key?

Regards,
Jan

-- 
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: Error starting sage for Ubuntu 16.04-x86_64 binary package

2016-03-30 Thread Jan Groenewald
Hi

On 30 March 2016 at 14:53, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:

> On 2016-03-30 14:49, Eugene E. wrote:
>
>> The default version of Python in Arch Linux is 3, but I was under the
>> impression that the Sage brings a python version of its own, no?
>>
>
> Maybe it doesn't use that to run relocate-once.py
>
>
 root@sageppa01:~/sage-auto# head -1 relocate-once.py
#!/usr/bin/env python

Maybe that should be python2 instead, or us ethe sage python...

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: Teaching in Cape Town

2016-03-01 Thread Jan Groenewald
Dear all,

On 11 January 2013 at 09:50, Jan Groenewald <j...@aims.ac.za> wrote:

> Dear All,
>
> Course Proposals for the 2013-14 Masters at AIMS, Cape Town are now open.
> Courses in Sage or in mathematical topics using Sage for computer exercises
> are welcome:
> http://www.aims.ac.za/en/apply/structured-masters-course-proposals
>
> More about AIMS:
> http://www.nature.com/news/education-africa-s-counting-house-1.11757
>
> Regards,
> Jan
>

Course proposals for a course on Experimental Mathematics using Sage, or a
mathematical course introducing Sage to beginners on a topic of your
choice, are now open for the AIMS centres in South Africa, Senegal, Ghana,
Cameroon, Tanzania, and Rwanda:
http://www.aims.ac.za/en/apply/structured-masters-course-proposals

Please contact me off-list for more information. Past AIMS lecturers from
this community are particularly encouraged to apply again or to recommend
colleagues :)

A report of a related course on Python+SciPy which usually runs before the
Sage course, to give you an idea of what it is like teaching at AIMS:
http://software-carpentry.org/blog/2013/09/scientific-computing-at-aims.html

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] Re: For whoever cares about undergrads (or wants to help William earn more money)

2016-02-16 Thread Jan Groenewald
+1

On 16 February 2016 at 19:37, kcrisman <kcris...@gmail.com> wrote:

> Hi.  This is a fascinating discussion, but I probably just burnt out my
> eyeballs from observing the flames (and yes, I am 100% aware it can get
> much, much worse).  Clearly this has gone well beyond a technical
> sage-devel discussion, so I hope that everyone who is still involved can
> take a friendly suggestion (*) and move this to sage-flame, where it is
> welcome.  I hope that some resolution can be found there, though I am
> doubtful... but anyway I think the time has come, eh?
>
> Thanks,
> - kcrisman
>
> (*) Not a mandate, not a command, not anything.  Just a suggestion which I
> hope is reasonable and which I hope will happen.
>
> --
> 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.
>



-- 
  .~.
  /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: recent woes with relocation of SageMath installation directory

2016-02-05 Thread Jan Groenewald
A fixed version (you can run sagemath-upstream-binary without the -full) is
now busy copying from the dev PPA to the stable PPA.

7.0~aimsppa1~qa201602060140061

Regards,
Jan

On 3 February 2016 at 17:46, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> TL;DR install sagemath-upstream-binary-full for a fix. The error in 6.9 is
> harmless as only one unimportant file is missing.
>
>
>
> The development PPA now has a working sagemath-upstream-binary-full 7.0
> with no error at all.
> https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev
> When it runs the relocate-once.py after install, it takes (quite) a while
> to patch and then prints message:
>
> ...
> patching
> /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/ext/pselect.so
> patching /usr/lib/sagemath/local/lib/libstdc++.so.6.0.20
> * AIMS PPA: relocate-once.py finished running. Ignore above Exception
> ┌┐
> │ SageMath Version 7.0, Release Date: 2016-01-19 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘
> sage: Exiting Sage (CPU time 0m0.02s, Wall time 0m0.10s).
> Setting up sagemath-upstream-binary-full (7.0~aimsppa1~qa201602031255151)
> ...
> 0 root@muizenberg:~#
>
> Even though there is no exception; I added that warning before putting
> this out. This is because I added one missing file to
> sagemath-binary-upstream ($SAGE_ROOT/builId/make/Makefile). This version
> will be uploaded to the stable PPA in a week or two depending on feedback.
>
> The smaller bandwidth-saving and disk-saving sagemath-upstream-binary 7.0
> (no -full in the name) is also there (basically excluding most of the
> $SAGE_ROOT/src folder), but will still give the error:
>
> OSError: [Errno 2] No such file or directory:
> '/usr/lib/sagemath/src/build/cythonized/sage/structure/list_clone.c'
>
> After that the debian/postinst will then try to run sage once, then stop,
> as not nearly enough paths were patched. Even removing relocate-once.py is
> not enough:
>
> ┌┐
> │ SageMath Version 7.0, Release Date: 2016-01-19 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘
>
> ERROR:  The Sage installation tree has moved
>
> from
> /mnt/highperf/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
>   to /usr/lib/sagemath
>
> This is not supported, and Sage will not work. To install Sage from a
> binary package:
>
> 1. Open the .tar.bz2 archive (or .dmg on OSX)
>
> 2. Move the SageMath folder/app to where you want it to be. You can
>also rename the directory now.
>
> 3. Start sage for the first time. This will then automatically patch
>paths in binaries.
>
> After starting Sage for the first time you cannot change the
> installation any more. To install Sage elsewhere, start over from the
> binary package. Or recompile Sage from scratch in the new location
> ("make distclean && make")
>
> dpkg: error processing package sagemath-upstream-binary (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  sagemath-upstream-binary
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> root@alice-laptop:~#
> root@alice-laptop:~# ls /usr/lib/sagemath/
> COPYING.txt  README.txt  VERSION.txt  build  local  relocate-once.py
> sage  src
> root@alice-laptop:~# rm /usr/lib/sagemath/relocate-once.py
> root@alice-laptop:~# sage
> ┌┐
> │ SageMath Version 7.0, Release Date: 2016-01-19 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘
>
> ERROR:  The Sage installation tree has moved
>
> from
> /mnt/highperf/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
>   to /usr/lib/sagemath
>
> This is not supported, and Sage will not work. To install Sage from a
> binary package:
>
> 1. Open the .tar.bz2 archive (or .dmg on OSX)
>
> 2. Move the SageMath folder/app to where you want it to be. You

Re: [sage-devel] Re: hardcoded paths [Was: [sage-support] after a long compiling time i got this]

2016-02-04 Thread Jan Groenewald
Hi

On 4 February 2016 at 14:30, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:

> On 2016-02-04 13:02, Jan Groenewald wrote:
>
>> Does it matter for the PPA? Isn't that installed in a fixed location
>> anyway?
>>
>>
>> Yes, changes to this it is what broke the PPA since 6.9.
>>
> Sorry, I didn't understand to what you answered "yes". Is the PPA
> installed in a fixed location? If so, *you* should run the relocation
> script when creating the PPA. I think that would solve the problems with
> the PPA.
>

Yes, changes to sage's patching of files broke the part of the PPA.

Yes, we now plan to run relocation before rather than after creating
uploading to the PPA since I yesterday submitted a patch to give it a
destination folder as a command line argument. It was not possible before.
We will not need to move it again after that.

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: [sage-release] Re: recent woes with relocation of SageMath installation directory

2016-02-04 Thread Jan Groenewald
Hi

On 4 February 2016 at 12:20, HG <henri.gir...@gmail.com> wrote:

> Following the ppa sage link, I tried to install sage-7, it works fine.
> Time for patching, but no problem.
> I use two version of sagemath the ppa and developer one (which I compile)
> and after I compile sagemanifolds (which I can't do at the moment with the
> ppa because it's installed system-wide).
> Thanks for this good work
> Henri
>

If you run sagemath-upstream-binary-full it is technically possible to run
sage manifolds. We had this deployed on campus last week. But you have to
reinstall it after every upgrade. It is bad because:

1) you should not compile as root. There is a past bug where compiling some
package would delete a system file [1]
<http://trac.sagemath.org/ticket/9551>. Malicious code could hose or
rootkit your system. We plan in future to have the sage tree owned by a
sagemath user, which will alleviate that (only) if people remember to
change to that user before customizing / adding optional packages and
rebuilding.

2) bad practice since dpkg (or your distro package manager) is supposed to
manage the system files, but it is technically possible.

It will not work with sagemath-upstream-binary (without -full) since the
SAGE_ROOT/src folder is missing and many files you need for rebuilding sage.

I will try to release a 7.0.1 (rather than waiting for 7.1) which also
fixes the smaller sagemath-upstream-binary in the PPAs. Note 7.0 is now in
the stable PPA for 14.04.

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: hardcoded paths [Was: [sage-support] after a long compiling time i got this]

2016-02-04 Thread Jan Groenewald
Hi

On 4 February 2016 at 13:42, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:

> On 2016-02-04 12:32, Jan Groenewald wrote:
>
>> Is there any plan to support this in future?
>>
> I don't think so. This used to be semi-supported in the past (before Sage
> 7.0), but it is too difficult to do correctly.
>

I'm under the impression almost all software works relocatable, and only
start off hardcoded due to time pressure, but then get fixed.
Is it difficult because of legacy code?

Does it matter for the PPA? Isn't that installed in a fixed location anyway?


Yes, changes to this it is what broke the PPA since 6.9. I didn't catch it
between dev and stable because I run the -full version.

My head explodes that sage patches binaries after compilation to fix
hardcoded paths.

If I google "hardcoded paths" then there are mainly results about how to
fix having hardcoded paths.
I don't know which parts of Sage or packages in Sage do not support
prefixes. It seems bizarre.
Are there just not enough people working on the build side of Sage? Does
most of the sub-packages not support
prefixes?

Regards,
Jan






>
>
> --
> 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 sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-supp...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
  .~.
  /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] [Bug] Sage 7.0 from the PPA fails to install

2016-02-04 Thread Jan Groenewald
Hi

This should be fixed by 7.0.1 or 7.1.

In the meantime use the larger version

sudo apt-get install sagemath-upstream-binary-full

Regards,
Jan

On 4 February 2016 at 11:28, Marcin M. <marmistrz...@gmail.com> wrote:

> The log follows:
>
> $ sudo apt-get install sagemath-upstream-binary
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Recommended packages:
>>   gfortran dvipng texlive
>> The following NEW packages will be installed:
>>   sagemath-upstream-binary
>> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 0 B/510 MB of archives.
>> After this operation, 3477 MB of additional disk space will be used.
>> Selecting previously unselected package sagemath-upstream-binary.
>> (Reading database ... 303545 files and directories currently installed.)
>> Preparing to unpack
>> .../sagemath-upstream-binary_7.0~aimsppa1~qa201602031255151_amd64.deb ...
>> Unpacking sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
>> Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
>> Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
>> Processing triggers for mime-support (3.54ubuntu1.1) ...
>> Setting up sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
>> Running Sage once as root to set paths
>>
>> 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/rings/real_arb.c
>> Traceback (most recent call last):
>>   File "/usr/lib/sagemath/relocate-once.py", line 85, in 
>> p('src/build/cythonized/sage/rings/real_arb.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/rings/real_arb.c'
>> ┌┐
>> │ SageMath Version 7.0, Release Date: 2016-01-19 │
>> │ Type "notebook()" for the browser-based notebook interface.│
>> │ Type "help()" for help.│
>> └┘
>>
>> ERROR:  The Sage installation tree has moved
>>
>> from
>> /mnt/highperf/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
>>   to /usr/lib/sagemath
>>
>> This is not supported, and Sage will not work. To install Sage from a
>> binary package:
>>
>> 1. Open the .tar.bz2 archive (or .dmg on OSX)
>>
>> 2. Move the SageMath folder/app to where you want it to be. You can
>>also rename the directory now.
>>
>> 3. Start sage for the first time. This will then automatically patch
>>paths in binaries.
>>
>> After starting Sage for the first time you cannot change the
>> installation any more. To install Sage elsewhere, start over from the
>> binary package. Or recompile Sage from scratch in the new location
>> ("make distclean && make")
>>
>> dpkg: error processing package sagemath-upstream-binary (--configure):
>>  subprocess installed post-installation script returned error exit status
>> 1
>> Errors were encountered while processing:
>>  sagemath-upstream-binary
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>>
> --
> 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.
>



-- 
  .~.
  /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] Re: hardcoded paths [Was: [sage-support] after a long compiling time i got this]

2016-02-04 Thread Jan Groenewald
Hi

On 4 February 2016 at 23:04, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> On 4 February 2016 at 22:58, Volker Braun <vbraun.n...@gmail.com> wrote:
>
>> On Thursday, February 4, 2016 at 9:45:49 PM UTC+1, Jan Groenewald wrote:
>>>
>>> Most software go ./configure --prefix=path; make; make install
>>> and installs to elsewhere with known paths for shared libraries, or
>>> relative paths for in-package libraries and you can move the tree.
>>>
>>
>> The above command will install *absolute paths* for libraries not in
>> standard locations.
>>
>> The actual use is also more complicated, distribution generally try to
>> use "make DESTDIR=/stagingpath install" to package files without installing
>> them in the prefix.
>>
>> If the package buildsystem does not support this, distributions often
>> fall back to post-link binary modifications as well (e.g. using patchelf)
>>
>> Conda (which is probably the closest to what Sage is trying to do, namely
>> distribute a pre-compiled python stack that can be installed anywhere in
>> the home directory) is doing exactly what Sage is now doing.
>>
>
So it seems (with difficulty) Conda patches binaries as well:

http://conda.pydata.org/docs/building/meta-yaml.html#relocatable

To make them use relative paths...?

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] Re: hardcoded paths [Was: [sage-support] after a long compiling time i got this]

2016-02-04 Thread Jan Groenewald
Hi

On 4 February 2016 at 22:58, Volker Braun <vbraun.n...@gmail.com> wrote:

> On Thursday, February 4, 2016 at 9:45:49 PM UTC+1, Jan Groenewald wrote:
>>
>> Most software go ./configure --prefix=path; make; make install
>> and installs to elsewhere with known paths for shared libraries, or
>> relative paths for in-package libraries and you can move the tree.
>>
>
> The above command will install *absolute paths* for libraries not in
> standard locations.
>
> The actual use is also more complicated, distribution generally try to use
> "make DESTDIR=/stagingpath install" to package files without installing
> them in the prefix.
>
> If the package buildsystem does not support this, distributions often fall
> back to post-link binary modifications as well (e.g. using patchelf)
>
> Conda (which is probably the closest to what Sage is trying to do, namely
> distribute a pre-compiled python stack that can be installed anywhere in
> the home directory) is doing exactly what Sage is now doing.
>

OK, so Sage is trying to make something you can install anywhere in the
homedir (like on a laptop for a single user) not a system-wide install via
a package manager (like in a computer lab with low personal disk space
quotas; or laptop users with inexperience with self-compile skills)? And
places like sagemathcloud or sage servers for multiple users all compile in
place?

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] Re: hardcoded paths [Was: [sage-support] after a long compiling time i got this]

2016-02-04 Thread Jan Groenewald
Hi

On 4 February 2016 at 14:23, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:

> Relocating Sage is like relocating /usr to /otherpath/usr in your favorite
> Linux distro. I bet things will break down completely.
>

I thought it would be more like moving / since it was completely
self-contained.

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] Re: hardcoded paths [Was: [sage-support] after a long compiling time i got this]

2016-02-04 Thread Jan Groenewald
Hi

On 4 February 2016 at 15:04, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:

> On 2016-02-04 13:58, Jan Groenewald wrote:
>
>> I thought it would be more like moving / since it was completely
>> self-contained.
>>
> It doesn't matter: I'm sure that moving / will break everything too.
>
> I also agree with Volker that most software is *not* meant to be
> relocatable. I wonder why you think the opposite.


OK, I'll retract that, perhaps I was thinking of software "trees",
including all shared libs and so on.

But can I say most binaries should not have hard-coded paths patched just
after compilation?

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] Re: hardcoded paths [Was: [sage-support] after a long compiling time i got this]

2016-02-04 Thread Jan Groenewald
Hi

Thanks for taking the time to help me learn.


On 4 February 2016 at 16:15, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:

> On 2016-02-04 15:09, Jan Groenewald wrote:
>
>> But can I say most binaries should not have hard-coded paths patched
>> just after compilation?
>>
> You are right, but only because "most binaries" are compiled with the
> correct path in the first place. You have that option with Sage: if you
> compile everything in the destination directory to begin with, everything
> will work fine.
>

Most developer and science software are compiled in place.

Nothing on my Debian, Ubuntu, Fedora, Redhat, etc. systems are compiled in
place.  The files are put there by a package manager.

I can't move a binary but I can move a package.

0 jan@kontiki:~$cp /usr/lib/firefox/firefox .; ./firefox # <-- one binary
without libs
Could not find the Mozilla runtime.
255 jan@kontiki:~$rm firefox
0 jan@kontiki:~$cp -R /usr/lib/firefox .; ./firefox/firefox # folder with
interdependent libraries and relative paths
0 jan@kontiki:~$# worked!
0 jan@kontiki:~$

Most software go ./configure --prefix=path; make; make install

and installs to elsewhere with known paths for shared libraries, or
relative paths for in-package libraries and you can move the tree.

Does sage not ever hope to get to that (despite me not knowing the build
process and non-trivial work involved in this?

The binary patching is a second option if you don't want hardcoded paths in
> the binary you download.


hardcoded absolutenot relative (to SAGE_ROOT) paths??

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: recent woes with relocation of SageMath installation directory

2016-02-03 Thread Jan Groenewald
full
sudo mv /etc/apt/sources.list.d/aims-sagemath-dev-trusty.list{,.disabled}

Notes:

The plan is (probably) for 7.1 is to move the relocate-once.py out of the
first run of sage during debian/postinst, and to do it in our autobuild.sh
before it runs dpkg-buildpackage to prepare the source package for upload
to the PPA. This way we can keep both the larger and smaller versions.

If you are going to do the unwise and unsupported thing of compiling
optional packages as root on dpkg-owned directory, you will need the -full
package. We plan to change the user owning the files so that even if we
break debsums we don't have to compile as root to customize a PPA install.

I have no idea where to start, but perhaps there should be a ticket to make
sage relocatable? Patching paths in binaries after compilation blows my
mind.

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: [sage-release] Re: recent woes with relocation of SageMath installation directory

2016-02-02 Thread Jan Groenewald
Hi

Yes, that is the Ubuntu PPA. The installation is mostly working despite
that error message.
(We have it running on campus while courses are using sage for the last 3
weeks.)

I'm waiting to see a use case that warrants reverting, despite the lack of
confidence that this message inspires.

Regards,
Jan

On 2 February 2016 at 22:50, Volker Braun <vbraun.n...@gmail.com> wrote:

> Is this the Ubuntu PPA? I think thats not working right now. Whoever is
> maintaining it (Jan?) should probably revert it until its fixed.
>
>
>
> On Tuesday, February 2, 2016 at 6:16:08 PM UTC+1, Samuel Lelievre wrote:
>>
>> Dear sage-support (cc: sage-release, sage-devel)
>> (please reply on sage-support only)
>>
>> I received the following question after announcing
>> Sage 7.0 on sage-announce.
>>
>> This is one of many such questions I am reading on
>> various lists and sites recently.
>>
>> Something needs to be more clearly documented,
>> or refactored.
>>
>> Can someone answer this question by replying to
>> this post on sage-support?
>>
>> Thanks!
>> Samuel
>>
>> -- Forwarded message --
>> Date: Mon, 1 Feb 2016 23:32:31 -0600
>> To: Samuel Lelievre <samuel@gmail.com>
>> Subject: Installing upgraded SageMath
>>
>> I tried installing sagemath-upstream-binary on my Ubuntu Trusty Tahr
>> system and saw this:
>>
>> 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'
>>
>> Any idea what is up?
>>
>> Dale Amon
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-release+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-rele...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-release.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
  .~.
  /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] Re: Missing file in src/build/cythonized/sage/structure/list_clone.c

2016-01-22 Thread Jan Groenewald
Hi

Yes, I am getting some queries directly to me as well (as PPA maintainer).
The SAGE_ROOT/relocate-once.py is becoming less compatible with
dpkg-buildpackage, which wants to manage the files, and not have them
changed after installation.

We're thinking of a new simpler package, which contains the tarball, and
has a script to untar it.

We're still discussing the various options around this. Our criteria are:

1) prompts for updates in the distro package management system (gets our
alumni body to actually update)
2) ease of install. In fact we pre-install it for most of our users via a
Ubuntu derivative
3) save bandwidth and disk space (we'll have to drop the smaller version
now and include the  whole tarball with the SAGE_ROOT/src folder)
4) have a local to each laptop version (not a cloud server or campus
server) for situations with both bandwidth and electricity interruptions

So far this error does not inspire confidence, but this PPA 6.10 is
deployed on our campus where people are using sage in teaching and I have
not had to revert to 6.9.

Regards,
Jan







On 22 January 2016 at 16:51, Richard Kandarian <kandima...@gmail.com> wrote:

>
>
> On Tuesday, January 12, 2016 at 10:15:00 AM UTC-7, Volker Braun wrote:
>>
>> 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.
>>
>> Same thing happened to me after new install on Ubuntu 14.04. I'm a brand
> new user and this is not inspiring or confidence building. Tempted to
> uninstall and try the next on the list. Got the error during install and I
> get it every startup and sage crashed the first time I tried to start it.
>
> :(
>
> --
> 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.
>



-- 
  .~.
  /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] Missing file in src/build/cythonized/sage/structure/list_clone.c

2016-01-12 Thread Jan Groenewald
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

2016-01-12 Thread Jan Groenewald
Hi

On 12 January 2016 at 16:44, Jeroen Demeyer <jdeme...@cage.ugent.be> 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: update of sagemath ppa

2016-01-05 Thread Jan Groenewald
Hi Wilfried

We are busy working on it; due to some filename and layout changes in sage
this has been delayed a bit.

We have a dev PPA where we test sage (and it currently contains a broken
sage!).
https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+packages

I expect to have a working sage in the dev PPA by the end of the week, and
to deploy it in our computer labs for 2-3 days before copying to the stable
PPA.
I might let you know when I have a working sage in the dev PPA. If you
enable both the stable and unstable PPA, you can get updates, and revert to
a working version with, for example

sudo apt-get install sagemath-upstream-binary=6.9 # will of course use some
bandwidth.

(or if you run sagemath-upstream-binary-full then add the -full; the -full
has the German documentation; the smaller package is missing most of the
src folder except the en and fr documentation; the -full adds all other
files back).

Hmm, I seem to have uploaded a version that works, (to dev PPA) though if
you have minimal and full installed you have to install full first. So I
will try a bit more to fix that.

Regards,
Jan



On 5 January 2016 at 12:18, Wilfried Hortschitz <
wilfried.hortsch...@donau-uni.ac.at> wrote:

> Dear Jan Groenewald,
>
> I have seen that you are one of the package-maintainers for the sagemath
> ppa. Since I am waiting hard for the new sagemath 6.10 which resolves a but
> regarding plotting with matplotlib in jupyter notebook, I want to ask If
> you can trigger the update process for the ppa.
>
> Many thanks in advance,
> BR,
> Wilfried
>
>
> --
> Wilfried Hortschitz
> Danube University Krems
> Center for Integrated Sensor Systems
> Viktor Kaplan Strasse 2 Tel./Fax: +43 2622 23420-25/-99
> A-2700 Wiener Neustadt, Austria     http://www.donau-uni.ac.at/ciss




-- 
  .~.
  /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] Re: sagemath 6.9 Ubuntu PPA: Error typesetting mathematics

2015-11-07 Thread Jan Groenewald
Hi Samuel,

Yes, as far as I know a purge and then an install will work. Please let me
know.

Regards,
Jan

On 7 November 2015 at 20:31, Samuel Lelievre <samuel.lelie...@gmail.com>
wrote:

> Thanks! the suggested steps fixed the MathJax problem for the PPA
> install at our department.
>
> Other computer rooms at our university (outside our department,
> and with a different maintainer) also have SageMath 6.6 installed.
> Would you recommend to first uninstall 6.6 there, and then install 6.9,
> to avoid the MathJax problem?
>
> Best,
> Samuel
>
>
> 2015-11-06 19:30:18 UTC+1, Jan Groenewald:
>>
>> A new install from the PPA will work. It is unfortunately some upgrades
>> since 6.6 that don't. Maybe we can add a sage-fix-mathjax.sh script. Or do
>> it in postinst. I think we did for a while.
>>
>> Regards,
>> Jan
>>
>> On 6 November 2015 at 19:32, Ding Pan <pandea...@gmail.com> wrote:
>>
>> Thanks Jan!
>>> Replacing mathjax fixed the problem.
>>> Hope there will be a fix in PPA too.
>>>
>>> Ding
>>>
>>> On Monday, November 2, 2015 at 12:55:27 PM UTC-6, Jan Groenewald wrote:
>>>>
>>>> Hi
>>>>
>>>> This might be a leftover error from a previous version when mathjax
>>>> moved. Please try
>>>>
>>>> sudo -i
>>>> cd
>>>> /usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/data/
>>>> rm -rf mathjax
>>>> ln -s ../../../../../../share/mathjax/
>>>>
>>>> Or inspect first whether that symlink is there already?
>>>>
>>>> If it is actually a PPA error (I doubt it, I think we fixed in 6.6) we
>>>> will look at uploading a fix.
>>>>
>>>> Regards,
>>>> Jan
>>>>
>>>> --
> 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 http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
  .~.
  /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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: sagemath 6.9 Ubuntu PPA: Error typesetting mathematics

2015-11-06 Thread Jan Groenewald
A new install from the PPA will work. It is unfortunately some upgrades
since 6.6 that don't. Maybe we can add a sage-fix-mathjax.sh script. Or do
it in postinst. I think we did for a while.

Regards,
Jan

On 6 November 2015 at 19:32, Ding Pan <pandean.r...@gmail.com> wrote:

> Thanks Jan!
> Replacing mathjax fixed the problem.
> Hope there will be a fix in PPA too.
>
> Ding
>
> On Monday, November 2, 2015 at 12:55:27 PM UTC-6, Jan Groenewald wrote:
>>
>> Hi
>>
>> This might be a leftover error from a previous versio nwhen mathjax
>> moved. Please try
>>
>> sudo -i
>> cd
>> /usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/data/
>> rm -rf mathjax
>> ln -s ../../../../../../share/mathjax/
>>
>> Or inspect first whether that symlink is there already?
>>
>> If it is actually a PPA error (I doubt it, I think we fixed in 6.6) we
>> will look at uploading a fix.
>>
>> Regards,
>> Jan
>>
>> On 2 November 2015 at 20:22, Samuel Lelièvre <samuel@gmail.com>
>> wrote:
>>
>>> Follow-up: When I launch the Jupyter notebook, I get this warning:
>>>
>>> """
>>> Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'
>>>
>>> Math/LaTeX rendering will be disabled.
>>>
>>> If you have administrative access to the notebook server and a working
>>> internet connection, you can install a local copy of MathJax for
>>> offline use with the following command on the server at a Python or
>>> Jupyter prompt:
>>>
>>> >>> from Jupyter.external import mathjax; mathjax.install_mathjax()
>>>
>>> This will try to install MathJax into the Jupyter source directory.
>>>
>>> If Jupyter is installed to a location that requires administrative
>>> privileges to write, you will need to make this call as an
>>> administrator, via 'sudo'.
>>>
>>> When you start the notebook server, you can instruct it to disable
>>> MathJax support altogether:
>>>
>>> $ ipython notebook --no-mathjax
>>>
>>> which will prevent this dialog from appearing.
>>> """
>>>
>>>
>>>
>>> 2015-11-02 19:21 GMT+01:00 Samuel Lelièvre <samuel@gmail.com>:
>>> > Hi,
>>> >
>>> > On the "SageMath 6.9" Ubuntu PPA, installed in the computer rooms
>>> > in my department, I started Sage, then typed
>>> >
>>> > sage: notebook()
>>> >
>>> > to get the Sage Notebook. I open a new worksheet and type
>>> >
>>> >     7*7
>>> >
>>> > and shift-enter to evaluate. I get the following output:
>>> >
>>> > Error typesetting mathematics
>>> > 49
>>> >
>>> > Actually, every output starts by "Error typesetting mathematics",
>>> > including graphic output.
>>> >
>>> > It looks very similar to what happened with the "SageMath 6.6"
>>> > Ubuntu PPA:
>>> > https://groups.google.com/d/topic/sage-devel/nESRhwQ0wSU/discussion
>>> >
>>> > Does it point to some problem with the MathJax install?
>>> > Are you planning to release a fixed SageMath 6.9 PPA?
>>> >
>>> > Best,
>>> > Samuel
>>>
>>
>>
>>
>> --
>>   .~.
>>   /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 http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
  .~.
  /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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: sagemath 6.9 Ubuntu PPA: Error typesetting mathematics

2015-11-02 Thread Jan Groenewald
Hi

This might be a leftover error from a previous versio nwhen mathjax moved.
Please try

sudo -i
cd
/usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/data/
rm -rf mathjax
ln -s ../../../../../../share/mathjax/

Or inspect first whether that symlink is there already?

If it is actually a PPA error (I doubt it, I think we fixed in 6.6) we will
look at uploading a fix.

Regards,
Jan

On 2 November 2015 at 20:22, Samuel Lelièvre <samuel.lelie...@gmail.com>
wrote:

> Follow-up: When I launch the Jupyter notebook, I get this warning:
>
> """
> Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'
>
> Math/LaTeX rendering will be disabled.
>
> If you have administrative access to the notebook server and a working
> internet connection, you can install a local copy of MathJax for
> offline use with the following command on the server at a Python or
> Jupyter prompt:
>
> >>> from Jupyter.external import mathjax; mathjax.install_mathjax()
>
> This will try to install MathJax into the Jupyter source directory.
>
> If Jupyter is installed to a location that requires administrative
> privileges to write, you will need to make this call as an
> administrator, via 'sudo'.
>
> When you start the notebook server, you can instruct it to disable
> MathJax support altogether:
>
> $ ipython notebook --no-mathjax
>
> which will prevent this dialog from appearing.
> """
>
>
>
> 2015-11-02 19:21 GMT+01:00 Samuel Lelièvre <samuel.lelie...@gmail.com>:
> > Hi,
> >
> > On the "SageMath 6.9" Ubuntu PPA, installed in the computer rooms
> > in my department, I started Sage, then typed
> >
> > sage: notebook()
> >
> > to get the Sage Notebook. I open a new worksheet and type
> >
> > 7*7
> >
> > and shift-enter to evaluate. I get the following output:
> >
> > Error typesetting mathematics
> > 49
> >
> > Actually, every output starts by "Error typesetting mathematics",
> > including graphic output.
> >
> > It looks very similar to what happened with the "SageMath 6.6"
> > Ubuntu PPA:
> > https://groups.google.com/d/topic/sage-devel/nESRhwQ0wSU/discussion
> >
> > Does it point to some problem with the MathJax install?
> > Are you planning to release a fixed SageMath 6.9 PPA?
> >
> > Best,
> > Samuel
>



-- 
  .~.
  /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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Sage on OS X: El Capitan

2015-10-21 Thread Jan Groenewald
Hi

On 21 October 2015 at 20:59, William Stein <wst...@gmail.com> wrote:

> Hi,
>
> I'm curious.  Is *anybody* reading this actually actively working on
> (or planning to work on) making it Sage runs on the current version of
> OS X ("El Capitan")?
>
> With the last OS X version, Sage got ported to work on it by me buying
> Andrew Ohana [1] a nice laptop running on OS X on the condition that
> he port Sage to work on it.   Of course, he's really a Linux user and
> prefers linux, but he did what had to be done.  One of the previous
> ports of Sage to work on a newer version of OS X was an epically
> difficult month of pain by Craig Citro, who was my postdoc at the
> time.
>
> My impression is that (1) getting Sage to work on this most recent
> version of OS X will be much, much harder than ever before, and (2)
> nobody is working on it. I've pretty much never seen a port of
> Sage magically "just happen" to a new version of OS X.
>
> Final question, if it's never going to happen without money say, how
> much would I have to rustle up in donations to pay somebody to be able
> to have the time to focus on this?  Is there anybody who would want to
> do this?
>
> - 21% of visitors to sagemath.org in the last month were using OS X
> (of those at least 20% were using El Capitan).
>
> -16% use Linux.
>
> - 50% use Windows.
>
>
And the rest? Android? IOS?

Sorry, no idea on the main question about OS X.

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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] SSL

2015-09-30 Thread Jan Groenewald
Hi

I cannot figure out why the buildslave binary cannot import ssl when
Thierry's binary and from-source-build can import ssl:

1 jan@muizenberg:/srv/sysadm/t$echo import ssl | ./sage-6.8/sage -q
#from-source
sage: sage:
Exiting Sage (CPU time 0m0.03s, Wall time 0m0.08s).
0 jan@muizenberg:/srv/sysadm/t$echo import ssl |
./thierry-sage-6.8-x86_64-Linux/sage -q #Thierry
sage: sage:
Exiting Sage (CPU time 0m0.03s, Wall time 0m0.10s).
0 jan@muizenberg:/srv/sysadm/t$echo import ssl |
./hetzner-sage-6.8-x86_64-Linux/sage -q #Buildslave binary
sage:
---
ImportError   Traceback (most recent call last)
 in ()
> 1 import ssl

/srv/sysadm/t/hetzner-sage-6.8-x86_64-Linux/local/lib/python/ssl.py in
()
 95 from contextlib import closing
 96
---> 97 import _ssl # if we can't import it, let the error
propagate
 98
 99 from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO,
OPENSSL_VERSION

ImportError: No module named _ssl
sage:
Exiting Sage (CPU time 0m0.17s, Wall time 0m0.24s).
0 jan@muizenberg:/srv/sysadm/t$

This is why the PPA package cannot import ssl, it is based on the
buildslave binary.

Any ideas?

Regards,
Jan

On 29 September 2015 at 15:21, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> On 29 September 2015 at 12:21, Jan Groenewald <j...@aims.ac.za> wrote:
>
>> Hi
>>
>> On 23 September 2015 at 19:20, Thierry <sage-googlesu...@lma.metelu.net>
>> wrote:
>>
>>> Hi,
>>>
>>>
>>> On Wed, Sep 23, 2015 at 06:56:41PM +0200, Jan Groenewald wrote:
>>> [...]
>>> > Basic question: What does it take to enable SSL? Do those commands
>>> work on
>>> > 1) source build
>>>
>>> On Debian/Ubuntu just install 'libssl-dev' before building, and 'openssl'
>>> before running.
>>>
>>
>> Building from source now to test this later.
>>
>
>
> From-Source is worst, same as the binaries: needs sage -pip install
> pyopenssl, but even that look ssuccessful and then the notebook still does
> not see it!
>
>
>
> 0 jan@muizenberg:/srv/sysadm/t/sage-6.8$./sage
> ┌┐
> │ SageMath Version 6.8, Release Date: 2015-07-26 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘
> sage: notebook(secure=True)
> ---
> RuntimeError  Traceback (most recent call last)
>  in ()
> > 1 notebook(secure=True)
>
> /srv/sysadm/t/sage-6.8/src/sage/misc/lazy_import.pyx in
> sage.misc.lazy_import.LazyImport.__call__
> (/srv/sysadm/t/sage-6.8/src/build/cythonized/sage/misc/lazy_import.c:3457)()
> 381 True
> 382 """
> --> 383 return self._get_object()(*args, **kwds)
> 384
> 385 def __repr__(self):
>
> /srv/sysadm/t/sage-6.8/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/notebook/notebook_object.py
> in __call__(self, *args, **kwds)
> 237 """
> 238 def __call__(self, *args, **kwds):
> --> 239 return self.notebook(*args, **kwds)
> 240
> 241 notebook = run_notebook.notebook_run
>
> /srv/sysadm/t/sage-6.8/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/notebook/run_notebook.py
> in notebook_run(self, directory, port, interface, port_tries, secure,
> reset, accounts, openid, server_pool, ulimit, timeout, doc_timeout, upload,
> automatic_login, start_path, fork, quiet, server, profile, subnets,
> require_login, open_viewer, address)
> 474 import OpenSSL
> 475 except ImportError:
> --> 476 raise RuntimeError("HTTPS cannot be used without
> pyOpenSSL"
> 477 " installed. See the Sage README for more
> information.")
> 478
>
> RuntimeError: HTTPS cannot be used without pyOpenSSL installed. See the
> Sage README for more information.
> sage:
> Exiting Sage (CPU time 0m0.65s, Wall time 0m11.54s).
> 0 jan@muizenberg:/srv/sysadm/t/sage-6.8$./sage -pip install pyopenssl
> You are using pip version 6.1.1, however version 7.1.2 is available.
> You should consider upgrading via the 'pip install --upgrade pip' command.
> Collecting pyopenssl
>   Using cached pyOpenSSL-0.15.1-py2.py3-none-any.whl
> Requirement already satisfied (use --upgrade to upgrade): six>=1.

Re: [sage-devel] SSL

2015-09-30 Thread Jan Groenewald
Thanks, adding libssl-dev to all the buildslaves now.

Regards,
Jan


On 30 September 2015 at 09:43, Volker Braun <vbraun.n...@gmail.com> wrote:

> When the buildslave compiled Python it didn't have openssl-devel, so the
> Python ssl module was not built.
>
>
>
> On Wednesday, September 30, 2015 at 9:25:02 AM UTC+2, Jan Groenewald wrote:
>
>> Hi
>>
>> I cannot figure out why the buildslave binary cannot import ssl when
>> Thierry's binary and from-source-build can import ssl:
>>
>> 1 jan@muizenberg:/srv/sysadm/t$echo import ssl | ./sage-6.8/sage -q
>> #from-source
>> sage: sage:
>> Exiting Sage (CPU time 0m0.03s, Wall time 0m0.08s).
>> 0 jan@muizenberg:/srv/sysadm/t$echo import ssl |
>> ./thierry-sage-6.8-x86_64-Linux/sage -q #Thierry
>> sage: sage:
>> Exiting Sage (CPU time 0m0.03s, Wall time 0m0.10s).
>> 0 jan@muizenberg:/srv/sysadm/t$echo import ssl |
>> ./hetzner-sage-6.8-x86_64-Linux/sage -q #Buildslave binary
>> sage:
>> ---
>> ImportError   Traceback (most recent call
>> last)
>>  in ()
>> > 1 import ssl
>>
>> /srv/sysadm/t/hetzner-sage-6.8-x86_64-Linux/local/lib/python/ssl.py in
>> ()
>>  95 from contextlib import closing
>>  96
>> ---> 97 import _ssl # if we can't import it, let the error
>> propagate
>>  98
>>  99 from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO,
>> OPENSSL_VERSION
>>
>> ImportError: No module named _ssl
>> sage:
>> Exiting Sage (CPU time 0m0.17s, Wall time 0m0.24s).
>> 0 jan@muizenberg:/srv/sysadm/t$
>>
>> This is why the PPA package cannot import ssl, it is based on the
>> buildslave binary.
>>
>> Any ideas?
>>
>> Regards,
>> Jan
>>
>> On 29 September 2015 at 15:21, Jan Groenewald <j...@aims.ac.za> wrote:
>>
>>> Hi
>>>
>>> On 29 September 2015 at 12:21, Jan Groenewald <j...@aims.ac.za> wrote:
>>>
>>>> Hi
>>>>
>>>>
>>>> On 23 September 2015 at 19:20, Thierry <sage-goo...@lma.metelu.net>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>> On Wed, Sep 23, 2015 at 06:56:41PM +0200, Jan Groenewald wrote:
>>>>> [...]
>>>>> > Basic question: What does it take to enable SSL? Do those commands
>>>>> work on
>>>>> > 1) source build
>>>>>
>>>>> On Debian/Ubuntu just install 'libssl-dev' before building, and
>>>>> 'openssl'
>>>>> before running.
>>>>>
>>>>
>>>> Building from source now to test this later.
>>>>
>>>
>>>
>>> From-Source is worst, same as the binaries: needs sage -pip install
>>> pyopenssl, but even that look ssuccessful and then the notebook still does
>>> not see it!
>>>
>>>
>>>
>>> 0 jan@muizenberg:/srv/sysadm/t/sage-6.8$./sage
>>> ┌┐
>>> │ SageMath Version 6.8, Release Date: 2015-07-26 │
>>> │ Type "notebook()" for the browser-based notebook interface.│
>>> │ Type "help()" for help.│
>>> └┘
>>> sage: notebook(secure=True)
>>>
>>> ---
>>> RuntimeError  Traceback (most recent call
>>> last)
>>>  in ()
>>> > 1 notebook(secure=True)
>>>
>>> /srv/sysadm/t/sage-6.8/src/sage/misc/lazy_import.pyx in
>>> sage.misc.lazy_import.LazyImport.__call__
>>> (/srv/sysadm/t/sage-6.8/src/build/cythonized/sage/misc/lazy_import.c:3457)()
>>> 381 True
>>> 382 """
>>> --> 383 return self._get_object()(*args, **kwds)
>>> 384
>>> 385 def __repr__(self):
>>>
>>> /srv/sysadm/t/sage-6.8/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/notebook/notebook_object.py
>>> in __call__(self, *args, **kwds)
>>> 237 """
>>> 238 def __call__(self, *args, **kwds):
>>> --> 239 return self.notebook(*args, **kwds)
>>> 240
>>>

Re: [sage-devel] SSL

2015-09-30 Thread Jan Groenewald
OK done, so from sage 6.9 the PPA sagemath debs will support SSL as well.

Regards,
Jan

On 30 September 2015 at 11:01, Jan Groenewald <j...@aims.ac.za> wrote:

> Thanks, adding libssl-dev to all the buildslaves now.
>
> Regards,
> Jan
>
>
> On 30 September 2015 at 09:43, Volker Braun <vbraun.n...@gmail.com> wrote:
>
>> When the buildslave compiled Python it didn't have openssl-devel, so the
>> Python ssl module was not built.
>>
>>
>>
>> On Wednesday, September 30, 2015 at 9:25:02 AM UTC+2, Jan Groenewald
>> wrote:
>>
>>> Hi
>>>
>>> I cannot figure out why the buildslave binary cannot import ssl when
>>> Thierry's binary and from-source-build can import ssl:
>>>
>>> 1 jan@muizenberg:/srv/sysadm/t$echo import ssl | ./sage-6.8/sage -q
>>> #from-source
>>> sage: sage:
>>> Exiting Sage (CPU time 0m0.03s, Wall time 0m0.08s).
>>> 0 jan@muizenberg:/srv/sysadm/t$echo import ssl |
>>> ./thierry-sage-6.8-x86_64-Linux/sage -q #Thierry
>>> sage: sage:
>>> Exiting Sage (CPU time 0m0.03s, Wall time 0m0.10s).
>>> 0 jan@muizenberg:/srv/sysadm/t$echo import ssl |
>>> ./hetzner-sage-6.8-x86_64-Linux/sage -q #Buildslave binary
>>> sage:
>>> ---
>>> ImportError   Traceback (most recent call
>>> last)
>>>  in ()
>>> > 1 import ssl
>>>
>>> /srv/sysadm/t/hetzner-sage-6.8-x86_64-Linux/local/lib/python/ssl.py in
>>> ()
>>>  95 from contextlib import closing
>>>  96
>>> ---> 97 import _ssl # if we can't import it, let the error
>>> propagate
>>>  98
>>>  99 from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO,
>>> OPENSSL_VERSION
>>>
>>> ImportError: No module named _ssl
>>> sage:
>>> Exiting Sage (CPU time 0m0.17s, Wall time 0m0.24s).
>>> 0 jan@muizenberg:/srv/sysadm/t$
>>>
>>> This is why the PPA package cannot import ssl, it is based on the
>>> buildslave binary.
>>>
>>> Any ideas?
>>>
>>> Regards,
>>> Jan
>>>
>>> On 29 September 2015 at 15:21, Jan Groenewald <j...@aims.ac.za> wrote:
>>>
>>>> Hi
>>>>
>>>> On 29 September 2015 at 12:21, Jan Groenewald <j...@aims.ac.za> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>>
>>>>> On 23 September 2015 at 19:20, Thierry <sage-goo...@lma.metelu.net>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>>
>>>>>> On Wed, Sep 23, 2015 at 06:56:41PM +0200, Jan Groenewald wrote:
>>>>>> [...]
>>>>>> > Basic question: What does it take to enable SSL? Do those commands
>>>>>> work on
>>>>>> > 1) source build
>>>>>>
>>>>>> On Debian/Ubuntu just install 'libssl-dev' before building, and
>>>>>> 'openssl'
>>>>>> before running.
>>>>>>
>>>>>
>>>>> Building from source now to test this later.
>>>>>
>>>>
>>>>
>>>> From-Source is worst, same as the binaries: needs sage -pip install
>>>> pyopenssl, but even that look ssuccessful and then the notebook still does
>>>> not see it!
>>>>
>>>>
>>>>
>>>> 0 jan@muizenberg:/srv/sysadm/t/sage-6.8$./sage
>>>> ┌┐
>>>> │ SageMath Version 6.8, Release Date: 2015-07-26 │
>>>> │ Type "notebook()" for the browser-based notebook interface.│
>>>> │ Type "help()" for help.│
>>>> └┘
>>>> sage: notebook(secure=True)
>>>>
>>>> ---
>>>> RuntimeError  Traceback (most recent call
>>>> last)
>>>>  in ()
>>>> > 1 notebook(secure=True)
>>>>
>>>> /srv/sysadm/t/sage-6.8/src/sage/misc/lazy_import.pyx in
>>>> sage.misc.lazy_import.LazyImport.__call__
>>>> (/srv/sysadm/t/sage-6.8/src/build/cythonized/sage/misc/lazy_imp

Re: [sage-devel] SSL

2015-09-29 Thread Jan Groenewald
Hi

On 29 September 2015 at 12:21, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> On 23 September 2015 at 19:20, Thierry <sage-googlesu...@lma.metelu.net>
> wrote:
>
>> Hi,
>>
>>
>> On Wed, Sep 23, 2015 at 06:56:41PM +0200, Jan Groenewald wrote:
>> [...]
>> > Basic question: What does it take to enable SSL? Do those commands work
>> on
>> > 1) source build
>>
>> On Debian/Ubuntu just install 'libssl-dev' before building, and 'openssl'
>> before running.
>>
>
> Building from source now to test this later.
>


From-Source is worst, same as the binaries: needs sage -pip install
pyopenssl, but even that look ssuccessful and then the notebook still does
not see it!



0 jan@muizenberg:/srv/sysadm/t/sage-6.8$./sage
┌┐
│ SageMath Version 6.8, Release Date: 2015-07-26 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
└┘
sage: notebook(secure=True)
---
RuntimeError  Traceback (most recent call last)
 in ()
> 1 notebook(secure=True)

/srv/sysadm/t/sage-6.8/src/sage/misc/lazy_import.pyx in
sage.misc.lazy_import.LazyImport.__call__
(/srv/sysadm/t/sage-6.8/src/build/cythonized/sage/misc/lazy_import.c:3457)()
381 True
382 """
--> 383 return self._get_object()(*args, **kwds)
384
385 def __repr__(self):

/srv/sysadm/t/sage-6.8/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/notebook/notebook_object.py
in __call__(self, *args, **kwds)
237 """
238 def __call__(self, *args, **kwds):
--> 239 return self.notebook(*args, **kwds)
240
241 notebook = run_notebook.notebook_run

/srv/sysadm/t/sage-6.8/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/notebook/run_notebook.py
in notebook_run(self, directory, port, interface, port_tries, secure,
reset, accounts, openid, server_pool, ulimit, timeout, doc_timeout, upload,
automatic_login, start_path, fork, quiet, server, profile, subnets,
require_login, open_viewer, address)
474 import OpenSSL
475 except ImportError:
--> 476 raise RuntimeError("HTTPS cannot be used without
pyOpenSSL"
477 " installed. See the Sage README for more
information.")
478

RuntimeError: HTTPS cannot be used without pyOpenSSL installed. See the
Sage README for more information.
sage:
Exiting Sage (CPU time 0m0.65s, Wall time 0m11.54s).
0 jan@muizenberg:/srv/sysadm/t/sage-6.8$./sage -pip install pyopenssl
You are using pip version 6.1.1, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pyopenssl
  Using cached pyOpenSSL-0.15.1-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in
./local/lib/python2.7/site-packages/six-1.9.0-py2.7.egg (from pyopenssl)
Collecting cryptography>=0.7 (from pyopenssl)
  Using cached cryptography-1.0.2.tar.gz
Collecting idna>=2.0 (from cryptography>=0.7->pyopenssl)
  Using cached idna-2.0-py2.py3-none-any.whl
Collecting pyasn1>=0.1.8 (from cryptography>=0.7->pyopenssl)
  Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in
./local/lib/python2.7/site-packages/setuptools-12.4-py2.7.egg (from
cryptography>=0.7->pyopenssl)
Collecting enum34 (from cryptography>=0.7->pyopenssl)
  Using cached enum34-1.0.4.tar.gz
Collecting ipaddress (from cryptography>=0.7->pyopenssl)
  Using cached ipaddress-1.0.14-py27-none-any.whl
Collecting cffi>=1.1.0 (from cryptography>=0.7->pyopenssl)
  Using cached cffi-1.2.1.tar.gz
Collecting pycparser (from cffi>=1.1.0->cryptography>=0.7->pyopenssl)
  Using cached pycparser-2.14.tar.gz
Installing collected packages: idna, pyasn1, enum34, ipaddress, pycparser,
cffi, cryptography, pyopenssl
  Running setup.py install for enum34
  Running setup.py install for pycparser
  Running setup.py install for cffi
  Running setup.py install for cryptography
Successfully installed cffi-1.2.1 cryptography-1.0.2 enum34-1.0.4 idna-2.0
ipaddress-1.0.14 pyasn1-0.1.9 pycparser-2.14 pyopenssl-0.15.1
0 jan@muizenberg:/srv/sysadm/t/sage-6.8$sage
┌┐
│ SageMath Version 6.8, Release Date: 2015-07-26 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.

Re: [sage-devel] SSL

2015-09-29 Thread Jan Groenewald
Hi

On 23 September 2015 at 19:20, Thierry <sage-googlesu...@lma.metelu.net>
wrote:

> Hi,
>
>
> On Wed, Sep 23, 2015 at 06:56:41PM +0200, Jan Groenewald wrote:
> [...]
> > Basic question: What does it take to enable SSL? Do those commands work
> on
> > 1) source build
>
> On Debian/Ubuntu just install 'libssl-dev' before building, and 'openssl'
> before running.
>

Building from source now to test this later.



>
> > 2) binary (LTS)
>
> Sage is compiled with ssl support, so just install 'openssl' before
> running.
>
>
Not out of the box. But with pyopenssl. This is from your binary:

0 jan@muizenberg:/srv/sysadm/t/thierry-sage-6.8-x86_64-Linux$./sage
┌┐
│ SageMath Version 6.8, Release Date: 2015-07-26 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
└┘
The Sage installation tree has moved
from /opt/sagemath_tmonteil-ubuntu-trusty-64/sage-6.8
  to /srv/sysadm/t/thierry-sage-6.8-x86_64-Linux
Updating various hardcoded paths...
(Please wait at most a few minutes.)
DO NOT INTERRUPT THIS.
notebookDone updating
paths.
sage:   sage:
sage:
sage: notebook(secure=True)
---
RuntimeError  Traceback (most recent call last)
 in ()
> 1 notebook(secure=True)

/srv/sysadm/t/sage-6.8-x86_64-Linux/src/sage/misc/lazy_import.pyx in
sage.misc.lazy_import.LazyImport.__call__
(/opt/sagemath_tmonteil-ubuntu-trusty-64/sage-6.8/src/build/cythonized/sage/misc/lazy_import.c:3457)()
381 True
382 """
--> 383 return self._get_object()(*args, **kwds)
384
385 def __repr__(self):

/srv/sysadm/t/sage-6.8-x86_64-Linux/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/notebook/notebook_object.py
in __call__(self, *args, **kwds)
237 """
238 def __call__(self, *args, **kwds):
--> 239 return self.notebook(*args, **kwds)
240
241 notebook = run_notebook.notebook_run

/srv/sysadm/t/sage-6.8-x86_64-Linux/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/notebook/run_notebook.py
in notebook_run(self, directory, port, interface, port_tries, secure,
reset, accounts, openid, server_pool, ulimit, timeout, doc_timeout, upload,
automatic_login, start_path, fork, quiet, server, profile, subnets,
require_login, open_viewer, address)
474 import OpenSSL
475 except ImportError:
--> 476 raise RuntimeError("HTTPS cannot be used without
pyOpenSSL"
477 " installed. See the Sage README for more
information.")
478

RuntimeError: HTTPS cannot be used without pyOpenSSL installed. See the
Sage README for more information.
sage:
0 jan@muizenberg:/srv/sysadm/t/thierry-sage-6.8-x86_64-Linux$*./sage -pip
install pyopenssl*
You are using pip version 6.1.1, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pyopenssl
  Downloading pyOpenSSL-0.15.1-py2.py3-none-any.whl (102kB)
100% || 106kB 168kB/s
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in
./local/lib/python2.7/site-packages/six-1.9.0-py2.7.egg (from pyopenssl)
Collecting cryptography>=0.7 (from pyopenssl)
  Downloading cryptography-1.0.2.tar.gz (332kB)
100% || 335kB 610kB/s
Collecting idna>=2.0 (from cryptography>=0.7->pyopenssl)
  Downloading idna-2.0-py2.py3-none-any.whl (61kB)
100% || 61kB 1.9MB/s
Collecting pyasn1>=0.1.8 (from cryptography>=0.7->pyopenssl)
  Downloading pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in
./local/lib/python2.7/site-packages/setuptools-12.4-py2.7.egg (from
cryptography>=0.7->pyopenssl)
Collecting enum34 (from cryptography>=0.7->pyopenssl)
  Downloading enum34-1.0.4.tar.gz
Collecting ipaddress (from cryptography>=0.7->pyopenssl)
  Downloading ipaddress-1.0.14-py27-none-any.whl
Collecting cffi>=1.1.0 (from cryptography>=0.7->pyopenssl)
  Downloading cffi-1.2.1.tar.gz (335kB)
100% || 335kB 658kB/s
Collecting pycparser (from cffi>=1.1.0->cryptography>=0.7->pyopenssl)
  Downloading pycparser-2.14.tar.gz (223kB)
100% || 225kB 880kB/s
Installing collected packages: idna, pyasn1, enum34, ipaddress, pycparser,
cffi, cryptography, pyopenssl
  Running setup.py install for enum34
  Running setup.py install for pycparser
  Run

[sage-devel] SSL

2015-09-23 Thread Jan Groenewald
Hi

I'm not sure. Can we move this thread to sage-devel and ask there?

This was more about getting at least a working PPA out. I will follow on
sage-devel though.

Basic question: What does it take to enable SSL? Do those commands work on
1) source build
2) binary (LTS)
3) PPA

Regards,
Jan

On 23 September 2015 at 18:53, Henri Girard <henri.gir...@gmail.com> wrote:

> You said it could be easy to integrate ssl can you tell me how to do ?
> sage - f python works in your version but while trying to run it, it
> doesn't work and I alway get ssl missing.
> But if you haven't time don't worry I still can use ubuntu version. Just
> to see if it would work and integrate ssl
>
>
>
> Le 23/09/2015 18:43, Jan Groenewald a écrit :
>
> Hi
>
> What is Sage 6.8 LTS?
>
> Regards,
> Jan
>
> On 23 September 2015 at 18:42, Henri Girard <henri.gir...@gmail.com>
> wrote:
>
>> I noticed something : Your version compile python sage -f python
>> sage 6.8 LTS failed sage -f python
>> Now I will try make and see if it works
>> Regards
>> Henri
>>
>>
>> Le 23/09/2015 17:43, Jan Groenewald a écrit :
>>
>> The same working package is now uploading to the stable PPA. It is
>> already in the dev PPA. We will probably next week turn on weekly
>> autouploads to the dev PPA. And then release whenever there is a new sage
>> and it is ready, to the stable PPA.
>>
>> Regards,
>> Jan
>>
>> On 23 September 2015 at 17:41, Jan Groenewald < <j...@aims.ac.za>
>> j...@aims.ac.za> wrote:
>>
>>> Hi
>>>
>>> I think that it now works because our latest PPA package includes all
>>> the build/bin folder in /usr/lib/sagemath.
>>> Then when you have libssl-dev installed and do sudo sage -f python it is
>>> installed with ssl. I'm guessing though.
>>>
>>> Regards,
>>> Jan
>>>
>>> On 23 September 2015 at 17:00, Henri Girard < <henri.gir...@gmail.com>
>>> henri.gir...@gmail.com> wrote:
>>>
>>>> In fact we must obtain (sagemanifolds and I... maybe more...(I guess
>>>> but i don't want to speak in name of Eric) the following : sage
>>>> --notebook=ipython so we have access to sage kernel.
>>>> With the following link you sent to me it works. Apparently ssl is
>>>> inside or at least it doesn't ask for !
>>>>   I too installed all the libs you mentioned. But no way to get the deb
>>>> working (pity but not dramatic), I have to install it by hand sudo mv sage
>>>> /usr/share/sage and sudo ln -s /usr/share/sage/sage /usr/bin/sage (before
>>>> delete sage in bin sudo rm /usr/bin/sage), but that's not ubuntu original
>>>> installation : /usr/lib/sagemath (but it's helping me when something get
>>>> wrong like at the moment !), so I have two sage installed in different
>>>> location and when there is a problem I connect to the working version.
>>>> Anticipating a little wily seems to have problems with dir path python
>>>> but I might be working properly when ready.
>>>> Anyway thanks for your great job. For me it's not too annoying and I
>>>> don't want to give you more work than necessary, it's a only a whish that
>>>> maybe others can have. I am not qualified enaugh to tell you what's the
>>>> problem with ssl (In my opinion it's more a problem of right or directory
>>>> than ssl as I have put all lib ?)
>>>> Kind regards
>>>> Henri
>>>>
>>>>
>>>>
>>>> Le 23/09/2015 11:42, Jan Groenewald a écrit :
>>>>
>>>> Hi
>>>>
>>>> On 23 September 2015 at 10:40, Henri Girard < <henri.gir...@gmail.com>
>>>> henri.gir...@gmail.com> wrote:
>>>>
>>>>> I just test it, ssl is always lacking
>>>>> But I am not sure this is the reason because libssl-dev is installed.
>>>>> Why not put in deb the sage-6.8 LTS, I installed it and it works
>>>>> (that's just a suggestion, but sorry if it's a bad idea ?)
>>>>> Before I could compile sage but now I got errors that's why I like
>>>>> your deb and it's automatically updated.
>>>>>
>>>>
>>>> I think due to other problems on many platforms the ssl is disabled by
>>>> default in the Sage binaries.  Other sage developers are more qualified to
>>>> discuss that and answer that.
>>>>
>>>> What is the "sage 6.8 LTS"?  Do you mean include something other th

[sage-devel] Re: SSL

2015-09-23 Thread Jan Groenewald
When replying, please exclude sage-release.

Regards,
Jan

On 23 September 2015 at 18:56, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> I'm not sure. Can we move this thread to sage-devel and ask there?
>
> This was more about getting at least a working PPA out. I will follow on
> sage-devel though.
>
> Basic question: What does it take to enable SSL? Do those commands work on
> 1) source build
> 2) binary (LTS)
> 3) PPA
>
> Regards,
> Jan
>
> On 23 September 2015 at 18:53, Henri Girard <henri.gir...@gmail.com>
> wrote:
>
>> You said it could be easy to integrate ssl can you tell me how to do ?
>> sage - f python works in your version but while trying to run it, it
>> doesn't work and I alway get ssl missing.
>> But if you haven't time don't worry I still can use ubuntu version. Just
>> to see if it would work and integrate ssl
>>
>>
>>
>> Le 23/09/2015 18:43, Jan Groenewald a écrit :
>>
>> Hi
>>
>> What is Sage 6.8 LTS?
>>
>> Regards,
>> Jan
>>
>> On 23 September 2015 at 18:42, Henri Girard <henri.gir...@gmail.com>
>> wrote:
>>
>>> I noticed something : Your version compile python sage -f python
>>> sage 6.8 LTS failed sage -f python
>>> Now I will try make and see if it works
>>> Regards
>>> Henri
>>>
>>>
>>> Le 23/09/2015 17:43, Jan Groenewald a écrit :
>>>
>>> The same working package is now uploading to the stable PPA. It is
>>> already in the dev PPA. We will probably next week turn on weekly
>>> autouploads to the dev PPA. And then release whenever there is a new sage
>>> and it is ready, to the stable PPA.
>>>
>>> Regards,
>>> Jan
>>>
>>> On 23 September 2015 at 17:41, Jan Groenewald < <j...@aims.ac.za>
>>> j...@aims.ac.za> wrote:
>>>
>>>> Hi
>>>>
>>>> I think that it now works because our latest PPA package includes all
>>>> the build/bin folder in /usr/lib/sagemath.
>>>> Then when you have libssl-dev installed and do sudo sage -f python it
>>>> is installed with ssl. I'm guessing though.
>>>>
>>>> Regards,
>>>> Jan
>>>>
>>>> On 23 September 2015 at 17:00, Henri Girard < <henri.gir...@gmail.com>
>>>> henri.gir...@gmail.com> wrote:
>>>>
>>>>> In fact we must obtain (sagemanifolds and I... maybe more...(I guess
>>>>> but i don't want to speak in name of Eric) the following : sage
>>>>> --notebook=ipython so we have access to sage kernel.
>>>>> With the following link you sent to me it works. Apparently ssl is
>>>>> inside or at least it doesn't ask for !
>>>>>   I too installed all the libs you mentioned. But no way to get the
>>>>> deb working (pity but not dramatic), I have to install it by hand sudo mv
>>>>> sage /usr/share/sage and sudo ln -s /usr/share/sage/sage /usr/bin/sage
>>>>> (before delete sage in bin sudo rm /usr/bin/sage), but that's not ubuntu
>>>>> original installation : /usr/lib/sagemath (but it's helping me when
>>>>> something get wrong like at the moment !), so I have two sage installed in
>>>>> different location and when there is a problem I connect to the working
>>>>> version.
>>>>> Anticipating a little wily seems to have problems with dir path python
>>>>> but I might be working properly when ready.
>>>>> Anyway thanks for your great job. For me it's not too annoying and I
>>>>> don't want to give you more work than necessary, it's a only a whish that
>>>>> maybe others can have. I am not qualified enaugh to tell you what's the
>>>>> problem with ssl (In my opinion it's more a problem of right or directory
>>>>> than ssl as I have put all lib ?)
>>>>> Kind regards
>>>>> Henri
>>>>>
>>>>>
>>>>>
>>>>> Le 23/09/2015 11:42, Jan Groenewald a écrit :
>>>>>
>>>>> Hi
>>>>>
>>>>> On 23 September 2015 at 10:40, Henri Girard < <henri.gir...@gmail.com>
>>>>> henri.gir...@gmail.com> wrote:
>>>>>
>>>>>> I just test it, ssl is always lacking
>>>>>> But I am not sure this is the reason because libssl-dev is installed.
>>>>>> Why not put in deb the sage-6.8 LTS, I installed it and it works
>>>>

Re: [sage-devel] Re: *.math.washington.edu hardware resources

2015-09-16 Thread Jan Groenewald
Hi William,

Please add me too.

We'd be happy to help with what we already do: buildslaves for
Debian/Ubuntu, PPA autobuild, perhaps some of this can be migrated onto
those servers. We're most comfortable working on Debian/Ubuntu with LXC.

Regards,
Jan

On 15 September 2015 at 21:22, William Stein  wrote:

> Hi,
>
> I've created a SageMathCloud project that we can use for organization.
> I've added everybody in "the team" to that:
>
>
> https://cloud.sagemath.com/projects/f125ea34-9817-4715-b879-e26e0c7fcb7c/files/
>
> I've also made a folder "public"
>
>
> https://cloud.sagemath.com/projects/f125ea34-9817-4715-b879-e26e0c7fcb7c/files/public/
>
> which is public to the world.
>
> Anyway, this will be a good place to record schedules, have chat,
> layout the topology of the system, record security stuff and
> decisions, etc.
>
>  -- William
>
> On Tue, Sep 15, 2015 at 11:55 AM, William Stein  wrote:
> > Hi Everybody,
> >
> > I think the current Sage UW cluster team is:
> >
> >- William Stein
> >- Andrey Novoseltsev
> >- Dima Pasechnik
> >- Vincent Delecroix
> >- Thierry
> >- Samuel Lelievre
> >- Harald Schilly
> >- Andrew Ohana  (minimal availability -- but wants to discuss)
> >
> > I think that's pretty good actually.   To be in the team you have to
> > volunteer to help out regularly for **the next year**.  In exchange
> > you get to help out, get admin on everything, and together we'll
> > decide on what to do.
> >
> > Every option is on the table to start.
> >
> > There were some proposals above already about how to set things up.
> > I propose that we come up with ideas and get ideas from the community,
> > but that we together have final say on what to actually do, since
> > we'll be doing all the work.  We can vote/argue, but if there is major
> > contention or a tie, I'll decide things somehow.
> >
> > Our goal (and the legally agreed upon thing with my university) is to
> > support (a) sage developers, and (b) research mathematicians.
> >
> > Regarding hardware, there was no budget when I first sent this email,
> > but now there is a small budget due to a much-appreciated (!) donation
> > from a Sage developer.  So, e.g., buying another full rack is an
> > option.
> >
> >  -- William
> >
> >
> > On Tue, Sep 15, 2015 at 11:44 AM, Harald Schilly 
> wrote:
> >> I'm not an expert with configuring a cluster, but I've read good things
> >> about "Ansible". Do we have any ansible "experts" among us? I think,
> this
> >> tool is a good fit because it describes "goals" and it's extensible with
> >> custom modules (written in Python). My uneducated feeling is that we
> should
> >> really look  into it …
> >>
> >> -- harald
> >>
> >>
> >> On Mon, Sep 14, 2015 at 10:13 PM, William Stein 
> wrote:
> >>>
> >>> On Mon, Sep 14, 2015 at 1:10 PM, Volker Braun 
> >>> wrote:
> >>> > I went to a talk by the TravisCI CEO a while ago and one advice that
> >>> > struck
> >>> > a chord was: If you have to log into your server you are doing it
> wrong.
> >>> > Its
> >>> > of course OK for a one-off machine to debug / play around with, but
> it
> >>> > just
> >>> > makes administration a time sink. Its better to just erase an
> instance
> >>> > and
> >>> > recreate it from your orchestration tool. Solves the problem of
> >>> > documenting
> >>> > *what* you changed as a side effect.
> >>> >
> >>> > On that note, why not openstack / openshift / kubernetes / ...? Of
> >>> > course
> >>> > you can create and manage kvm images and/or containers by hand, but
> why
> >>> > reinvent the wheel.
> >>>
> >>> Let's start fresh!  I'm open to any an all ideas for how to setup the
> >>> cluster, and *greatly* appreciated your suggestions.
> >>>
> >>>  -- William
> >>>
> >>>
> >>>
> >>> >
> >>> > --
> >>> > --
> >>> > You received this message because you are subscribed to the Google
> >>> > Groups "sage.math users" group.
> >>> > To post to this group, send email to sagemath-us...@googlegroups.com
> >>> > To unsubscribe from this group, send email to
> >>> > sagemath-users+unsubscr...@googlegroups.com
> >>> > For more options, visit this group at
> >>> > http://groups.google.com/group/sagemath-users
> >>> >
> >>> > ---
> >>> > You received this message because you are subscribed to the Google
> >>> > Groups
> >>> > "sage.math users" group.
> >>> > To unsubscribe from this group and stop receiving emails from it,
> send
> >>> > an
> >>> > email to sagemath-users+unsubscr...@googlegroups.com.
> >>> >
> >>> > For more options, visit https://groups.google.com/d/optout.
> >>>
> >>>
> >>>
> >>> --
> >>> William (http://wstein.org)
> >>
> >>
> >>
> >>
> >> --
> >> Harald Schilly -- SageMath, Inc.
> >> https://cloud.sagemath.com
> >> Please sign up for a $7/month SageMathCloud membership.
> >> Goto Billing tab in Account -> Credit Card -> Add a subscription
> >
> >
> >
> > --
> > William (http://wstein.org)
>
>
>
> --

Re: [sage-devel] Re: *.math.washington.edu hardware resources

2015-09-16 Thread Jan Groenewald
Hi

On 16 September 2015 at 16:20, William Stein <wst...@gmail.com> wrote:

> Hi,
>
> There's starting to be some initial work in
>
>
> https://cloud.sagemath.com/projects/f125ea34-9817-4715-b879-e26e0c7fcb7c/files/public/
>
> Who on the list of people below has experience with managing a
> nontrivial hardware cluster and wants to share how they do it?   Jan
> Groenewald, maybe you can say more?
>

We're getting quite comfortable on Ubuntu or Debian running LXC containers.
We're in progress of replacing backup scripts with backuppc, and we're
interested
to move to ansible (or another) as soon as we have time. If everyone else
here is more of a
mathematician / programmer than sysadm, then yes, 13 years ago I moved from
math
to sysadm, and that is our focus.

I must confess our availability is not good at all, and a main goal for us
would be to move
buildslaves and PPA autobuild LXC containers (and their backups) from our
Hetzner.de
to some of these machines, to free up CPU for our institution. Our total
hardware is less
than you are talking about here. We'd be more than happy to continue to
maintain and to
document those, and over time might become more available for other tasks,
and we're
certainly interested in following. It would be a doable task to make
available containers
for anyone who wanted to maintain a container buildslave for any other
Linux distro.
Perhaps one host could be dedicated for that?

We'd also be very interested in learning from any implemented cluster
architecture, configuration
management, and have some very minimal use of ansible.

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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   >