[sage-devel] Re: importing

2013-07-21 Thread Volker Braun
There is already an affine space class (as affine scheme). Whats wrong with using that as ambient space? sage: AffineSpace(2,QQ) Affine Space of dimension 2 over Rational Field Whats your plan with parent/element relations? It seems Hyperplane should be an element with HyperplaneArrangement the

[sage-devel] Re: importing

2013-07-21 Thread davidp
On Sunday, July 21, 2013 5:14:21 PM UTC-7, Volker Braun wrote: > > There is already an affine space class (as affine scheme). Whats wrong > with using that as ambient space? > > Thanks for pointing that out. I had chosen AffSpace for the name of the class I need initially because the name Affi

Re: [sage-devel] Trac server: positive review report broken

2013-07-21 Thread Jeroen Demeyer
On 07/21/2013 11:43 PM, R. Andrew Ohana wrote: This was reported upstream and is reported to be fixed. I'll see about pulling in the latest source and updating trac. Seems to work again now, thanks! -- You received this message because you are subscribed to the Google Groups "sage-devel" grou

Re: [sage-devel] Trac server: positive review report broken

2013-07-21 Thread Jeroen Demeyer
On 07/21/2013 11:14 PM, Jeroen Demeyer wrote: I must admit that I haven't read the whole thread about the new Trac, but it's very annoying that the "positive review" report is broken: http://trac.sagemath.org/sage_trac/report/40 ProgrammingError: column reference "id" is ambiguous LINE 9: ...RE

[sage-devel] Re: importing

2013-07-21 Thread davidp
Figured out my problem. I was defining a method for my HyperplaneArrangement class but forgot to include 'self' as an argument. Duh. Dave On Sunday, July 21, 2013 12:58:24 PM UTC-7, davidp wrote: > > I am working on a Sage package for hyperplane arrangements. In my file > hyperplane_arrang

Re: [sage-devel] Trac server: positive review report broken

2013-07-21 Thread R. Andrew Ohana
This was reported upstream and is reported to be fixed. I'll see about pulling in the latest source and updating trac. On Sun, Jul 21, 2013 at 2:35 PM, Jeroen Demeyer wrote: > On 07/21/2013 11:14 PM, Jeroen Demeyer wrote: > >> I must admit that I haven't read the whole thread about the new Trac,

[sage-devel] Re: importing

2013-07-21 Thread davidp
I have created three classes: AffineSpace, Hyperplane (inheriting from AffineSpace), and HyperplaneArrangement. The methods in HyperplaneArrangement that I have defined so far are (where 'a', below, is a hyperplane arrangement): a.ambient_space a.num_bounded_regions a.base_fie

Re: [sage-devel] Trac server: positive review report broken

2013-07-21 Thread R. Andrew Ohana
Ok, trac has been updated. Please let me know if you continue to experience this issue. On Sun, Jul 21, 2013 at 2:43 PM, R. Andrew Ohana wrote: > This was reported upstream and is reported to be fixed. I'll see about > pulling in the latest source and updating trac. > > > On Sun, Jul 21, 2013 at

[sage-devel] Re: importing

2013-07-21 Thread Volker Braun
"center" is not a function but a method of Polyhedron_base. I suggest you read up on object-oriented programming and Python if that that doesn't answer your question. I'm definitely interested in hyperplane arrangements, though. Do you have a particular data structure in mind or is your plan to

[sage-devel] Trac server: positive review report broken

2013-07-21 Thread Jeroen Demeyer
I must admit that I haven't read the whole thread about the new Trac, but it's very annoying that the "positive review" report is broken: http://trac.sagemath.org/sage_trac/report/40 ProgrammingError: column reference "id" is ambiguous LINE 9: ...RE ((COALESCE(t.status,'')='positive_review')) O

[sage-devel] importing

2013-07-21 Thread davidp
I am working on a Sage package for hyperplane arrangements. In my file hyperplane_arrangement.py, I would like to use the function 'center' from sage/geometry/polyhedron/basepy. (It finds the center of a polyhedron.) I have tried to import it with import from sage.geometry.polyhedron.base i

Re: [sage-devel] Re: New Trac Server

2013-07-21 Thread R. Andrew Ohana
Yup, this is again the issue of needing more space on the trac server. I cleared out some more stuff while we continue to wait to get some more disk space on the system. On Sun, Jul 21, 2013 at 7:41 AM, Travis Scrimshaw wrote: > Hey Andrew, >Somethings wrong with the new trac server: > > Ope

[sage-devel] Re: Trac ticket with a new file

2013-07-21 Thread Matthieu Deneufchâtel
Thank you for your help. Two remarks : Since I work with a clone, I have to be in the directory SAGE_DIRECTORY/devel/sage-test/. sage -hg diff doesn't show anything but the patch seems to contain the file I added. I uploaded my patch in trac so if anyone is interested, he can tell me if it works

[sage-devel] Re: Trac ticket with a new file

2013-07-21 Thread Frédéric Chapoton
Bonjour Matthieu, je vais essayer d'expliquer comment je fais. you can also work from a terminal, using "sage -hg" instead of "hg_sage" inside sage. You have to be in your SAGE_DIRECTORY/devel/sage-main/ first step: create a patch sage -hg qnew trac_14914_stuffle.patch second step: create or m

[sage-devel] Re: New Trac Server

2013-07-21 Thread Travis Scrimshaw
Hey Andrew, Somethings wrong with the new trac server: OperationalError: could not extend file "base/30560/30652": No space left on device HINT: Check free disk space. I get this by going to "view tickets" -> "tickets needing review". I also get an error message on the view tickets page in

[sage-devel] Trac ticket with a new file

2013-07-21 Thread Matthieu Deneufchâtel
I am trying to produce a patch with a new file (stuffle_algebra.py) following this tutorial: http://www.sagemath.org/doc/developer/walk_through.html#section-create-sandbox When I run the command hg_sage.diff(), I get a blank file; moreover, I can not save the commit message: when I answer Trac XX