public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] When do I need to rebuild sage?
@ 2012-06-06 14:37 Thomas Kahle
  2012-06-06 19:38 ` Francois Bissey
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Kahle @ 2012-06-06 14:37 UTC (permalink / raw
  To: Gentoo Science

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

Hi,

My sage installation from a week ago is already broken.  What is wrong?
Is this a 'revdep-rebuild' type of problem?

sage: P[1].plot()
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)


RuntimeError: module compiled against API version 6 but this version of numpy is 4
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (1008, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (273, 0))

---------------------------------------------------------------------------



-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] When do I need to rebuild sage?
  2012-06-06 14:37 [gentoo-science] When do I need to rebuild sage? Thomas Kahle
@ 2012-06-06 19:38 ` Francois Bissey
  2012-06-06 21:43   ` Francois Bissey
  0 siblings, 1 reply; 4+ messages in thread
From: Francois Bissey @ 2012-06-06 19:38 UTC (permalink / raw
  To: gentoo-science

On Wed, 06 Jun 2012 16:37:01 Thomas Kahle wrote:
> Hi,
> 
> My sage installation from a week ago is already broken.  What is wrong?
> Is this a 'revdep-rebuild' type of problem?
> 
> sage: P[1].plot()
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
> 
> 
> RuntimeError: module compiled against API version 6 but this version of
> numpy is 4 ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (1008, 0))
> 
> ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (273, 0))
> 
> ---------------------------------------------------------------------------

I am guessing matplotlib was originally compiled with numpy-1.6.x
and then you downgraded numpy without rebuilding matplotlib or scipy.

Francois



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] When do I need to rebuild sage?
  2012-06-06 19:38 ` Francois Bissey
@ 2012-06-06 21:43   ` Francois Bissey
  2012-06-07  7:48     ` Thomas Kahle
  0 siblings, 1 reply; 4+ messages in thread
From: Francois Bissey @ 2012-06-06 21:43 UTC (permalink / raw
  To: gentoo-science

I should have added, just rebuild matplotlib.

Francois who will brave the snow shortly.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] When do I need to rebuild sage?
  2012-06-06 21:43   ` Francois Bissey
@ 2012-06-07  7:48     ` Thomas Kahle
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Kahle @ 2012-06-07  7:48 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

On 09:43 Thu 07 Jun 2012, Francois Bissey wrote:
> I should have added, just rebuild matplotlib.

Thanks Francois, that did it..  I wonder if one could make a revdep-rebuild
like script that finds these things automatically?

> Francois who will brave the snow shortly.

Thomas who braves humidity of mediterranean late spring.

-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-07  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 14:37 [gentoo-science] When do I need to rebuild sage? Thomas Kahle
2012-06-06 19:38 ` Francois Bissey
2012-06-06 21:43   ` Francois Bissey
2012-06-07  7:48     ` Thomas Kahle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox