Re: [sage-support] Only html output in Emacs with sage-view

2012-11-25 Thread Klaus Dohmen
Dear Ivan, there is another minor issue which you might consider: When starting sage-view on a fresh sage system, it looks for ~/.sage/temp, which does not exist, so one has to create it. There is however an existing ~/.sage/tmp directory. I suggest to replace 'temp' by 'tmp' in sage-mode. Best g

[sage-support] Re: Matplotlib: KeyError: 'ItalicAngle'

2012-11-25 Thread Dima Pasechnik
On 2012-11-25, v_2e wrote: > Hello! > The same problem appeared today with Sage-5.4.1 > Here is the error message: > > ## Start ## > Value error parsing header in AFM: ItalicAngle -9,9 as discussed on sage-devel, this is apparently caused by installing t1-cyrillic deb under cy

Re: [sage-support] Only html output in Emacs with sage-view

2012-11-25 Thread Ivan Andrus
Dear Klaus, You're right. But it also happens from a shell, so it's a Sage bug not a sage-mode bug. After evaluating pretty_print, then _ stops being updated. It looks like this is an old bug #9683 which has gotten no attention. I think I figured out the problem and how to solve it, but I do

[sage-support] Re: Ubuntu 10.04.4 LTS - "ERROR:root:code for hash md5 was not found." ( well known solution?)

2012-11-25 Thread Keshav Kini
Volker Braun writes: > I guess the build machine had ssl installed and Python hence picked > up the dependency. We should uninstall openssl-devel on the build > machines or make it clear that openssl is a dependency for the binary > package. +1 to uninstalling openssl-devel from the build machin

[sage-support] Re: Ubuntu 10.04.4 LTS - "ERROR:root:code for hash md5 was not found." ( well known solution?)

2012-11-25 Thread Keshav Kini
Kazimierz Kurz writes: > This is interesting because Sage 5.4 is not supposed to require > OpenSSL > at all, if I recall correctly. Exactly which binary did you > download? > > -Keshav > > > Hi! > This one: http://sage.mirror.garr.it/mirrors/sage/linux/32bit/ > index.html >

[sage-support] Re: Chrome Web Store and demo.sagenb.org

2012-11-25 Thread Harald Schilly
ok, i checked demo.sagenb.org for the last few days. i know it was running briefly, but never again in those last few days. any ideas about the actual problem? if it will not be resolved, i'll switch the chrome webstore link to sagenb.org permanently... (and users loose their data :( ) greetings

[sage-support] Re: Ubuntu 10.04.4 LTS - "ERROR:root:code for hash md5 was not found." ( well known solution?)

2012-11-25 Thread Kazimierz Kurz
> This is interesting because Sage 5.4 is not supposed to require OpenSSL > at all, if I recall correctly. Exactly which binary did you download? > > -Keshav > Hi! This one: http://sage.mirror.garr.it/mirrors/sage/linux/32bit/index.html *sage-5.4.1-linux-32bit-ubuntu_12.04.1_lts-i686-Linux.t

[sage-support] Re: Matplotlib: KeyError: 'ItalicAngle'

2012-11-25 Thread v_2e
Hello! The same problem appeared today with Sage-5.4.1 Here is the error message: ## Start ## Value error parsing header in AFM: ItalicAngle -9,9 Traceback (most recent call last): File "", line 1, in File "_sage_input_6.py", line 10, in exec compile(u'open("___code__

Re: [sage-support] Re: Intersection a cone with hyperplanes

2012-11-25 Thread Johannes
Thank you. that's exactly what I was looking for. bg, Johannes On 25.11.2012 14:56, Volker Braun wrote: > Construct cone and hyperplane: > > sage: C = Cone([(1,0),(0,1)]) > sage: H = Polyhedron(eqns=[(-2,1,1)]) > sage: H.Hrepresentation() > (An equation (1, 1) x - 2 == 0,) > > Compute the inte

[sage-support] Re: Intersection a cone with hyperplanes

2012-11-25 Thread Volker Braun
Construct cone and hyperplane: sage: C = Cone([(1,0),(0,1)]) sage: H = Polyhedron(eqns=[(-2,1,1)]) sage: H.Hrepresentation() (An equation (1, 1) x - 2 == 0,) Compute the intersection polyhedron: sage: P = H.intersection( C.polyhedron() ); P A 1-dimensional polyhedron in QQ^2 defined as the conv

[sage-support] Intersection a cone with hyperplanes

2012-11-25 Thread Johannes
Hi List, Is there a build-in-way to get the intersection of a given cone C with an given hyperplane h? In detail I have the following situation: C = Cone( [List of primitive generators] ) H_h = Hyperplane {x : \sum x_i = h}. C intersected with H_h will be a bounded polytope. If there's not such

[sage-support] Re: Ubuntu 10.04.4 LTS - "ERROR:root:code for hash md5 was not found." ( well known solution?)

2012-11-25 Thread Volker Braun
I guess the build machine had ssl installed and Python hence picked up the dependency. We should uninstall openssl-devel on the build machines or make it clear that openssl is a dependency for the binary package. Since the distro vendor is distributing openssl in this case there is no doubt that

Re: [sage-support] Notebook hangs on 'pi.n?'

2012-11-25 Thread Kannappan Sampath
FWIW, let me add that on my Sage 5.4.1, the problem could not be reproduced; the output took a little less than 10 seconds to appear. However, trying this on the Sagenb server did seem to take a long time... in fact, there was no output even after a reasonable (3 - 4 mins) of time. I think it is a

[sage-support] Notebook hangs on 'pi.n?'

2012-11-25 Thread Daniel Krenn
The worksheet [1] contains the command 'pi.n?'. Nothing else is in the worksheet. But Sage hangs up evaluating that line. Creating a new worksheet and inserting 'pi.n?' there does not lead to that behavior. So what is wrong with [1]? Daniel PS: I didn't create a trac-tricket for it, since it i