[sage-support] Re: hg_sage.commit error

2007-11-12 Thread mabshoff



On Nov 12, 4:11 pm, David Joyner [EMAIL PROTECTED] wrote:
 Hi:

Hello David,


 I am trying to create a patch for the permgp bug Carlo H reported
 last week. In 2.8.12, I
 (1) created a clone and added a few lines to permgp.py
 that seemed to fix the problem.
 (2) ran sage -b (no problems)
 (3) sage -t path/permgp.py (all tests passed)
 (4) typed export EDITOR=emacs, then started sage and typed:

 sage: hg_sage.commit()
 cd /home/wdj/sagestuff/sage-2.8.7.rc1/devel/sage  hg diff  | less
 cd /home/wdj/sagestuff/sage-2.8.7.rc1/devel/sage  hg commit
 emacs: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol:
 FT_Library_SetLcdFilter
 transaction abort!
 rollback completed
 abort: edit failed: emacs exited with status 127

The problem is that emacs cannot be started due to library issues:
LD_LIBRARY_PATH is set to include SAGE_LOCAL/lib, consequently some
system libraries aren't linked, but the Sage version which can produce
and doesd produce problems like the one you experince. That issue is
described in trac ticket #975, but in your particular case even the
work-around described there doesn't work.

One way to fix this in your particular case is to write a small script
that does export LD_LIBRARY_PATH= before starting emacs. Let me know
if you need some more info on that and I will send you some example
script.


 I also tried this with another editor (kate) with the same error.
 However, when I set export EDITOR=vi, everything worked fine.

 This is using ubuntu 7.10, 64 bit. Should I create a trac ticket for this
 or am I doing something wrong?


Nope, :)

 - 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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Does the Sage Python installation interfere with a current Python?

2007-11-12 Thread LouP

(I posted this on the discussion forum.  I don't know which one is the
right one to ask this on. Apologies if this is not the appropriate
forum.)

I am interested in trying Sage and have a question about the Python
that comes with the Sage installation.  If this is not the proper
forum for this question, would someone please point me to one?
Thanks.

I currently use Python 2.4 and I am in the middle of a project that I
don't want interrupted by dealing with a new installation and any
problems that might come up (not uncommon).  Does the Sage
installation 'step on' or replace or in any way interfere with a
currently installed Python and its site packages (e.g. NumPy)?  I
would hope that it can be done independently of the current
installation.

I use a Mac Book Pro and a Mac Pro, OS X 10.4.

Thanks for any answers or pointers.

-- Lou Pecora
US Naval Research Lab
Washington, DC


--~--~-~--~~~---~--~~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Does the Sage Python installation interfere with a current Python?

2007-11-12 Thread Mike Hansen

Hello Lou,

All of Sage's Python stuff exists independently of the system-wide
Python and shouldn't have any effect on it.  In particular, if the
$SAGE_ROOT directory is something like /Applications/sage, then Sage's
Python will live under /Applications/sage/local.

--Mike

--~--~-~--~~~---~--~~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] problems with sage-vmware-2.8.12.zip

2007-11-12 Thread rdl

Hi,
I've got extremely happy when I've found out about this cool project,
it was time that some powerful 'mathematica-like' open source package
would see the light  :-)

I've installed successfully SAGE on my linux machine in no time but
now I'm trying to install it on windows for my students and I'm in
deep trouble:

1. I can't unzip correctly sage-vmware-2.8.12.zip since when
Ubuntu.vmdk it reaches 2147483 Kb the unzipping stops claiming that
there's no more space on the HDD  (yes, I checked and there's plenty
of space on it  :-)
I tried with both unzip under linux and the m$ unzipper under winblow$
getting the very same negative results  :-(

2. if I nevertheless try to run sage via vmware with the slightly
shortened version of Ubuntu.vmdk then the vmware player complains
about the size of it, claiming that it's bigger than 2Gb and that it
does not like this at all.

It is only me that found this odd behavior? Any hint would be very
welcome!
Thanks,
 Roberto


--~--~-~--~~~---~--~~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: problems with sage-vmware-2.8.12.zip

2007-11-12 Thread mabshoff



On Nov 12, 7:40 pm, rdl [EMAIL PROTECTED] wrote:
 Hi,

Hello Roberto,

 I've got extremely happy when I've found out about this cool project,
 it was time that some powerful 'mathematica-like' open source package
 would see the light  :-)


:)

 I've installed successfully SAGE on my linux machine in no time but
 now I'm trying to install it on windows for my students and I'm in
 deep trouble:

 1. I can't unzip correctly sage-vmware-2.8.12.zip since when
 Ubuntu.vmdk it reaches 2147483 Kb the unzipping stops claiming that
 there's no more space on the HDD  (yes, I checked and there's plenty
 of space on it  :-)
 I tried with both unzip under linux and the m$ unzipper under winblow$
 getting the very same negative results  :-(


You should try 7zip (which is open source) or a trial edition of
Winzip. Another, more likely possibility is that you have a FAT32
formatted drive which can limit file size to 2GB.

 2. if I nevertheless try to run sage via vmware with the slightly
 shortened version of Ubuntu.vmdk then the vmware player complains
 about the size of it, claiming that it's bigger than 2Gb and that it
 does not like this at all.


That is no surprise, after all the are bits of the image missing.

 It is only me that found this odd behavior? Any hint would be very
 welcome!

I might be that you have a corrupted download, also. I would be great
if William could post some md5sum, sha sums of the images.

Cheers,

Michael

 Thanks,
  Roberto


--~--~-~--~~~---~--~~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: problems with sage-vmware-2.8.12.zip

2007-11-12 Thread William Stein

On Nov 12, 2007 8:48 PM, mabshoff
[EMAIL PROTECTED] wrote:
 You should try 7zip (which is open source) or a trial edition of
 Winzip. Another, more likely possibility is that you have a FAT32
 formatted drive which can limit file size to 2GB.

That is the problem, as the file is 2.2GB.

-rw--- 1 sage sage 2.2G 2007-11-07 09:52 Ubuntu.vmdk

I think it's supposed to be easy (and sometimes very desirable)
to convert a filesystem in Windows from FAT32 to NTFS.  This
will make the filesystem journaled, which means the person won't
see the checking the file system blue screen whenever Windows
crashes and reboots.

That said -- vmware has an option to split virtual disks into files
that are all  2GB.  I will definitely fix the vmware machine when
i get back to Seattle to only include files that are  2GB. However,
this will have to wait about a week.

Anyway, many thanks for reporting this problem!


  2. if I nevertheless try to run sage via vmware with the slightly
  shortened version of Ubuntu.vmdk then the vmware player complains
  about the size of it, claiming that it's bigger than 2Gb and that it
  does not like this at all.
 

 That is no surprise, after all the are bits of the image missing.

  It is only me that found this odd behavior? Any hint would be very
  welcome!

 I might be that you have a corrupted download, also. I would be great
 if William could post some md5sum, sha sums of the images.

 Cheers,

 Michael


  Thanks,
   Roberto


 




-- 
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---