Re: [sage-support] The results of some integration test.

2013-09-08 Thread Burcin Erocal
On Sat, 7 Sep 2013 15:25:26 +0300
Georgi Guninski  wrote:


> btw, I get:
> 'sage.rings.complex_interval.ComplexIntervalFieldElement' object has
> no attribute 'cot'
> 
> when trying your |check| on this:
> 
> -arctan(cot(pi*x))/pi + 1/2 #fractional part of x

This is now #15179:

http://trac.sagemath.org/ticket/15179


Cheers,
Burcin

-- 
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-support] Sage crashed after installing IPython

2013-09-08 Thread William Stein
On Sun, Sep 8, 2013 at 7:56 AM, Jose Guzman  wrote:
> On 08/09/13 16:09, William Stein wrote:
>>
>> On Sun, Sep 8, 2013 at 6:54 AM, Jose Guzman  wrote:
>>>
>>> I've just installed Sage from sources and it crashed. I'm not sure if
>>> this
>>> may be an issue, but I've just  installed IPython from sources as user
>>> too.
>>>
>>> Attached you can find the crash report as suggested by the message
>>>
>>> Thanks in advance
>>>
>>
>> Sage -- as shipped -- is not compatible with IPython 1.0.0, which
>> makes some significant API changes.
>>
>> See http://trac.sagemath.org/ticket/14713
>>
>> and apply this patch to the SAGE_ROOT/devel/sage/  hg repo:
>>
>>   http://wstein.org/home/wstein/tmp/trac-14713.patch
>>
>
> It worked like a charm! Thanks a lot!

Yes, and there are (I assume) some significant stability and bug-fix
improvements in IPython 1.0.0.  That's why I switched to using it by
default in https://cloud.sagemath.com.  And big thanks to Jason Grout,
who I think actually wrote the code in that patch.

>
>
> Jose
>
> --
> Jose Guzman
> http://www.ist.ac.at/~jguzman/
>
> --
> 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-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/groups/opt_out.



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

-- 
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-support] Sage crashed after installing IPython

2013-09-08 Thread Jose Guzman

On 08/09/13 16:09, William Stein wrote:

On Sun, Sep 8, 2013 at 6:54 AM, Jose Guzman  wrote:

I've just installed Sage from sources and it crashed. I'm not sure if this
may be an issue, but I've just  installed IPython from sources as user too.

Attached you can find the crash report as suggested by the message

Thanks in advance



Sage -- as shipped -- is not compatible with IPython 1.0.0, which
makes some significant API changes.

See http://trac.sagemath.org/ticket/14713

and apply this patch to the SAGE_ROOT/devel/sage/  hg repo:

  http://wstein.org/home/wstein/tmp/trac-14713.patch



It worked like a charm! Thanks a lot!

Jose

--
Jose Guzman
http://www.ist.ac.at/~jguzman/

--
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-support] Sage crashed after installing IPython

2013-09-08 Thread Volker Braun
The problem is that the OP has a different IPython version installed in 
~/.local, and Sage picks up part of that. It would be nice to figure out a 
way to exclude stuff from ~/.local in Sage but right now this will always 
cause conflicts.

The ipython_dir = ipython-0.12 is correct, Sage switches the ipython dir 
name whenever there are incompatible changes. There were no incompatible 
changes ipython-0.12 -> ipython-0.13 so we still use the ipython-0.12 
directory name.

-- 
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-support] Sage crashed after installing IPython

2013-09-08 Thread William Stein
On Sun, Sep 8, 2013 at 6:54 AM, Jose Guzman  wrote:
> I've just installed Sage from sources and it crashed. I'm not sure if this
> may be an issue, but I've just  installed IPython from sources as user too.
>
> Attached you can find the crash report as suggested by the message
>
> Thanks in advance
>

Sage -- as shipped -- is not compatible with IPython 1.0.0, which
makes some significant API changes.

See http://trac.sagemath.org/ticket/14713

and apply this patch to the SAGE_ROOT/devel/sage/  hg repo:

 http://wstein.org/home/wstein/tmp/trac-14713.patch

> Jose
> --
> Jose Guzman
> http://www.ist.ac.at/~jguzman/
>
> --
> 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-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/groups/opt_out.



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

-- 
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-support] Sage crashed after installing IPython

2013-09-08 Thread Jan Groenewald
Hi

Why does it say near the top

 'ipython_version': '1.0.0',

and then later

   self.ipython_dir = u'/home/jguzman/.sage/ipython-0.12'

Or is the folder name not important, just a leftover from before? My
sage 5.11 has ipython 0.13.
Perhaps the initialisation files are not backwards compatible; I think
I recall ipython standalone

prompting me about such an config file upgrade at some point. If you
try with a fresh .sage or
fresh .sage/ipython* does it still crash?

Regards,

Jan





On 8 September 2013 15:54, Jose Guzman  wrote:

> I've just installed Sage from sources and it crashed. I'm not sure if this
> may be an issue, but I've just  installed IPython from sources as user too.
>
> Attached you can find the crash report as suggested by the message
>
> Thanks in advance
>
> Jose
> --
> Jose Guzman
> http://www.ist.ac.at/~jguzman/
>
> --
> 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+unsubscribe@**googlegroups.com
> .
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at 
> http://groups.google.com/**group/sage-support
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>



-- 
  .~.
  /V\ Jan Groenewald
 /( )\www.aims.ac.za
 ^^-^^

-- 
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-support] Sage crashed after installing IPython

2013-09-08 Thread Jose Guzman
I've just installed Sage from sources and it crashed. I'm not sure if 
this may be an issue, but I've just  installed IPython from sources as 
user too.


Attached you can find the crash report as suggested by the message

Thanks in advance

Jose
--
Jose Guzman
http://www.ist.ac.at/~jguzman/

--
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.
***

IPython post-mortem report

{'codename': 'An Afternoon Hack',
 'commit_hash': '02da31c',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': '/home/jguzman/.local/lib/python2.7/site-packages/IPython',
 'ipython_version': '1.0.0',
 'os_name': 'posix',
 'platform': 'Linux-3.2.0-36-generic-x86_64-with-debian-wheezy-sid',
 'sys_executable': '/home/jguzman/sage-5.11/local/bin/python',
 'sys_platform': 'linux2',
 'sys_version': '2.7.5 (default, Aug 26 2013, 12:55:34) \n[GCC 4.6.3]'}

***



***

Crash traceback:

---
TypeErrorPython 2.7.5: /home/jguzman/sage-5.11/local/bin/python
   Sun Sep  8 15:49:08 2013
A problem occured executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/home/jguzman/sage-5.11/local/bin/sage-ipython in ()
  2 # -*- coding: utf-8 -*-
  3 """
  4 Sage IPython startup script.
  5 """
  6 from sage.misc.interpreter import SageTerminalApp
  7 
  8 # installs the extra readline commands before the IPython 
initialization begins.
  9 from sage.misc.readline_extra_commands import *
 10 
 11 # Make sure we're using the Sage profile if one isn't specified.
 12 import sys
 13 if '--profile' not in sys.argv:
 14 sys.argv.extend(['--profile', 'sage'])
 15 
 16 app = SageTerminalApp.instance()
---> 17 app.initialize()
global app.initialize = >
 18 app.start()

/home/jguzman/.local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.pyc
 in initialize(self=, argv=None)

/home/jguzman/.local/lib/python2.7/site-packages/IPython/config/application.pyc 
in catch_config_error(method=, 
app=, *args=(None,), **kwargs={})
 74 
 75 
#-
 76 # Application class
 77 
#-
 78 
 79 @decorator
 80 def catch_config_error(method, app, *args, **kwargs):
 81 """Method decorator for catching invalid config 
(Trait/ArgumentErrors) during init.
 82 
 83 On a TraitError (generally caused by bad config), this will print 
the trait's
 84 message, and exit the app.
 85 
 86 For use on init methods, to prevent invoking excepthook on invalid 
input.
 87 """
 88 try:
---> 89 return method(app, *args, **kwargs)
method = 
app = 
args = (None,)
kwargs = {}
 90 except (TraitError, ArgumentError) as e:
 91 app.print_help()
 92 app.log.fatal("Bad config encountered during initialization:")
 93 app.log.fatal(str(e))
 94 app.log.debug("Config at the time: %s", app.config)
 95 app.exit(1)
 96 
 97 
 98 class ApplicationError(Exception):
 99 pass
100 
101 class LevelFormatter(logging.Formatter):
102 """Formatter with additional `highlevel` record
103 
104 This field is empty if log level is less than highlevel_limit,

/home/jguzman/.local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.pyc
 in initialize(self=, argv=None)
309 
310 @catch_config_error
311 def initialize(self, argv=None):
312 """Do actions after construct, but before starting the app."""
313 super(TerminalIPythonApp, self).initialize(argv)
314 if self.subapp is not None:
315 # don't bother initializing further, starting subapp
316 return
317 if not self.ignore_old_config:
318 check_for_old_config(self.ipython_dir)
319 # print self.extra_args
320 if self.extra_args and not self.something_to_run:
321 self.file_to_run = self.extra_args[0]
322 self.init_path()
323 

[sage-support] Re: Trouble saving graphics

2013-09-08 Thread Nathann Cohen


> I have opened http://trac.sagemath.org/ticket/15173 to track this. 
>

http://trac.sagemath.org/ticket/15116

Nathann 

-- 
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-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.