[sage-support] Groebner bases error?

2008-03-03 Thread David Joyner

Hi:
I'm wondering if the following possible error (in 2.10.3.rc0) is already known,
or if I'm just doing something stupid:


sage: R.a,b,c,d = PolynomialRing(QQ, 4)
sage: I = ideal(b^2-a*c, c^2-b*d, a*d-b*c)
sage: F = I.groebner_fan(); F
Groebner fan of the ideal:
Ideal (b^2 - a*c, c^2 - b*d, -b*c + a*d) of Multivariate Polynomial
Ring in a, b, c, d over Rational Field
sage: F.reduced_groebner_bases()

   File string, line 1
 Ideal (b**2 - a*c, c**2 - b*d, -b*c + a*d) of Multivariate
Polynomial Ring in a, b, c, d over Rational Field
 ^
type 'exceptions.SyntaxError': invalid syntax

sage: F.fvector()

   File string, line 1
 Ideal (b**2 - a*c, c**2 - b*d, -b*c + a*d) of Multivariate
Polynomial Ring in a, b, c, d over Rational Field
 ^
type 'exceptions.SyntaxError': invalid syntax

If this is indeed an error, should I make a new trac ticket or has it
already been
reported?

- David Joyner

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Groebner bases error?

2008-03-03 Thread Michael Abshoff

On Mon, Mar 3, 2008 at 12:18 PM, David Joyner [EMAIL PROTECTED] wrote:

Hi David,

  Hi:
  I'm wondering if the following possible error (in 2.10.3.rc0) is already 
 known,
  or if I'm just doing something stupid:


it is already known, but not fixed as far as I know. There is no track
ticket yet, but as rc1 will be out  in a couple hours I will open
tickets for all known failures.


  sage: R.a,b,c,d = PolynomialRing(QQ, 4)
  sage: I = ideal(b^2-a*c, c^2-b*d, a*d-b*c)
  sage: F = I.groebner_fan(); F
  Groebner fan of the ideal:
  Ideal (b^2 - a*c, c^2 - b*d, -b*c + a*d) of Multivariate Polynomial
  Ring in a, b, c, d over Rational Field
  sage: F.reduced_groebner_bases()
  
File string, line 1
  Ideal (b**2 - a*c, c**2 - b*d, -b*c + a*d) of Multivariate
  Polynomial Ring in a, b, c, d over Rational Field
  ^
  type 'exceptions.SyntaxError': invalid syntax

  sage: F.fvector()
  
File string, line 1
  Ideal (b**2 - a*c, c**2 - b*d, -b*c + a*d) of Multivariate
  Polynomial Ring in a, b, c, d over Rational Field
  ^
  type 'exceptions.SyntaxError': invalid syntax

  If this is indeed an error, should I make a new trac ticket or has it
  already been
  reported?

Nope, I will take care of the tickets shortly.

  - David Joyner

Cheers,

Michael

  


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] VMware image to use IDE disk type

2008-03-03 Thread anatoly techtonik

Current 2.10.2 VMware image seems to have SCSI virtual disk type. This
causes problems with other VM software, such as VirtualBox that
supports only IDE images. As it doesn't really matter which drive type
is used in VM, a little change in VMware images to use IDE allows to
expose these images to a greater base of users.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: VMware image to use IDE disk type

2008-03-03 Thread William Stein

On Mon, Mar 3, 2008 at 8:48 AM, anatoly techtonik [EMAIL PROTECTED] wrote:

  Current 2.10.2 VMware image seems to have SCSI virtual disk type. This
  causes problems with other VM software, such as VirtualBox that
  supports only IDE images. As it doesn't really matter which drive type
  is used in VM, a little change in VMware images to use IDE allows to
  expose these images to a greater base of users.

Could you create an IDE version of the VMware image?

 -- William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage installation Ubuntu 7.10 - extracting .tar error

2008-03-03 Thread William Stein

On Mon, Mar 3, 2008 at 1:01 PM, Chris S. [EMAIL PROTECTED] wrote:

  I am trying to install sage 2.10.2 on Ubuntu 7.10. I have tried both
  installation from a precompiled binary and from source. Each led to an
  error (below). I also tried installing sage 2.10.1 from source which
  had the same error as version 2.10.2:

  First, installing a precompiled binary:

  [EMAIL PROTECTED]:~$ tar zxvf 
 /media/hda2/sage-2.10.2-linux-32bit-ubuntu-i686-
  Linux.tar.gz

  (lots of output)
  ...
  sage-2.10.2-linux-32bit-ubuntu-i686-Linux/local/lib/libz.so
  sage-2.10.2-linux-32bit-ubuntu-i686-Linux/local/lib/libm4ri.so
  sage-2.10.2-linux-32bit-ubuntu-i686-Linux/local/lib/libntl.so
  tar: Skipping to next header

  gzip: stdin: invalid compressed data--crc error

  gzip: stdin: invalid compressed data--length error
  tar: Child returned status 1
  tar: Error exit delayed from previous errors


This means that your download was corrupted.   A prerequisite
for installing Sage is that you can download files without them
being corrupted.

 -- William


  // at this point I renamed the directory to Sage
  [EMAIL PROTECTED]:~$ cd Sage
  [EMAIL PROTECTED]:~/Sage$ ./sage
  --
  | SAGE Version 2.10.2, Release Date: 2008-02-22  |
  | Type notebook() for the GUI, and license() for information.|
  --
  Could not find platform independent libraries prefix
  Could not find platform dependent libraries exec_prefix
  Consider setting $PYTHONHOME to prefix[:exec_prefix]
  'import site' failed; use -v for traceback
  Traceback (most recent call last):
   File /home/a/Sage/local/bin/sage-location, line 3, in module
 import os
  ImportError: No module named os
  Could not find platform independent libraries prefix
  Could not find platform dependent libraries exec_prefix
  Consider setting $PYTHONHOME to prefix[:exec_prefix]
  'import site' failed; use -v for traceback
  Traceback (most recent call last):
   File /home/a/Sage/local/bin/sage-cleaner, line 21, in module
 import os, shutil, sys, time, socket
  ImportError: No module named os
  Could not find platform independent libraries prefix
  Could not find platform dependent libraries exec_prefix
  Consider setting $PYTHONHOME to prefix[:exec_prefix]
  'import site' failed; use -v for traceback
  Traceback (most recent call last):
   File /home/a/Sage/local/bin/sage-ipython, line 10, in module
 import IPython
  ImportError: No module named IPython



  __

  Next I tried installing from source, first downloading the source code
  then extracting the tar file:

  [EMAIL PROTECTED]:~$ tar xvf /media/hda2/sage-2.10.2.tar
  sage-2.10.2/
  sage-2.10.2/makefile
  sage-2.10.2/COPYING.txt
  sage-2.10.2/HISTORY.txt
  sage-2.10.2/README.txt
  sage-2.10.2/sage-README-osx.txt
  sage-2.10.2/example.sage
  sage-2.10.2/sage
  sage-2.10.2/spkg/
  sage-2.10.2/spkg/standard/
  sage-2.10.2/spkg/standard/README.txt
  sage-2.10.2/spkg/standard/deps
  sage-2.10.2/spkg/standard/libdist_filelist
  sage-2.10.2/spkg/standard/newest_version
  sage-2.10.2/spkg/standard/atlas-3.8.p11.spkg
  sage-2.10.2/spkg/standard/blas-20070724.spkg
  sage-2.10.2/spkg/standard/cddlib-094b.p1.spkg
  sage-2.10.2/spkg/standard/clisp-2.41.p12.spkg
  sage-2.10.2/spkg/standard/conway_polynomials-0.2.spkg
  sage-2.10.2/spkg/standard/cvxopt-0.9.p5.spkg
  sage-2.10.2/spkg/standard/cython-0.9.6.12.spkg
  sage-2.10.2/spkg/standard/doc-2.10.2.spkg
  tar: Skipping to next header
  tar: Error exit delayed from previous errors


  The same output occurred when extracting sage 2.10.1

  




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage installation Ubuntu 7.10 - extracting .tar error

2008-03-03 Thread Carlo Hamalainen

On Mon, Mar 3, 2008 at 8:01 PM, Chris S. [EMAIL PROTECTED] wrote:
  gzip: stdin: invalid compressed data--crc error

  gzip: stdin: invalid compressed data--length error
  tar: Child returned status 1
  tar: Error exit delayed from previous errors

As William said, you didn't get the full file. If your connection is a
bit flaky then wget is better than Firefox/IE/etc:

$ wget -c 
http://sagemath.org/SAGEbin/linux/32bit/sage-2.10.2-linux-32bit-ubuntu-i686-Linux.tar.gz

The -c means continue so you can stop and restart the download.

Cheers,

-- 
Carlo Hamalainen
http://carlo-hamalainen.net

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Groebner bases error?

2008-03-03 Thread Marshall Hampton

Isn't this the same problem as 2358?  Same source probably.

-M.Hampton

On Mar 3, 6:04 am, Michael Abshoff [EMAIL PROTECTED]
wrote:
 On Mon, Mar 3, 2008 at 12:18 PM, David Joyner [EMAIL PROTECTED] wrote:

 Hi David,

   Hi:
   I'm wondering if the following possible error (in 2.10.3.rc0) is already 
  known,
   or if I'm just doing something stupid:

 it is already known, but not fixed as far as I know. There is no track
 ticket yet, but as rc1 will be out  in a couple hours I will open
 tickets for all known failures.





   sage: R.a,b,c,d = PolynomialRing(QQ, 4)
   sage: I = ideal(b^2-a*c, c^2-b*d, a*d-b*c)
   sage: F = I.groebner_fan(); F
   Groebner fan of the ideal:
   Ideal (b^2 - a*c, c^2 - b*d, -b*c + a*d) of Multivariate Polynomial
   Ring in a, b, c, d over Rational Field
   sage: F.reduced_groebner_bases()
   
 File string, line 1
   Ideal (b**2 - a*c, c**2 - b*d, -b*c + a*d) of Multivariate
   Polynomial Ring in a, b, c, d over Rational Field
   ^
   type 'exceptions.SyntaxError': invalid syntax

   sage: F.fvector()
   
 File string, line 1
   Ideal (b**2 - a*c, c**2 - b*d, -b*c + a*d) of Multivariate
   Polynomial Ring in a, b, c, d over Rational Field
   ^
   type 'exceptions.SyntaxError': invalid syntax

   If this is indeed an error, should I make a new trac ticket or has it
   already been
   reported?

 Nope, I will take care of the tickets shortly.

   - David Joyner

 Cheers,

 Michael


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Groebner bases error?

2008-03-03 Thread [EMAIL PROTECTED]



On Mar 4, 1:12 am, Marshall Hampton [EMAIL PROTECTED] wrote:
 Isn't this the same problem as 2358?  Same source probably.

 -M.Hampton

Hi Marshall,

it is either tightly related or the same issue. So far no one seems to
have taken a serious stab at this [AFAIK].

Cheers,

Michael

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Vector fields and Quivers

2008-03-03 Thread Jason Grout

Hector Villafuerte wrote:
 Hi,
 I would like to plot the gradient (i.e. vector field) of functions
 such as  f(x,y) = exp(-(x^2 + y^2)); in this case:
 grad(f(x,y)) = vector([ -2*x*exp(-(x^2 + y^2)), -2*y*exp(-(x^2 + y^2)) ])
 
 Initially I tried with plot_vector_field, but as of now it just takes
 two functions of one variable. For my second attempt I used
 matplotlib, as indicated below (also, see attached plots).
 
 So my question: is there a SAGEly way to plot this type of vector fields?
 Thanks in advance!

There is now!  It turned out to be a pretty simple fix to 
plot_vector_field; see http://trac.sagemath.org/sage_trac/ticket/2381

Here's an example:


 sage: x,y=var('x y')
 sage: f(x,y) = exp(-(x^2+y^2))
 sage: grad_f = [diff(f,var) for var in (x,y)]
 sage: plot_vector_field(grad_f, (-2,2), (-2,2))

Thanks,

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---