Dear all,
Wanting to work again on ticket #15790
<http://trac.sagemath.org/ticket/15790>, I've checked out the
corresponding branch but I am unable to compile: "sage -br" crashes.
Attached is the crash report.
What is the right way to make it compile again?
Thanks!
Bruno
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
***************************************************************************
IPython post-mortem report
{'commit_hash': '00199fb',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path':
'/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/IPython',
'ipython_version': '2.1.0',
'os_name': 'posix',
'platform': 'Linux-3.13.0-37-generic-x86_64-with-debian-jessie-sid',
'sys_executable': '/home/bgrenet/Software/sage-dev/local/bin/python',
'sys_platform': 'linux2',
'sys_version': '2.7.8 (default, Sep 9 2014, 18:31:00) \n[GCC 4.8.2]'}
***************************************************************************
***************************************************************************
Crash traceback:
---------------------------------------------------------------------------
ImportError Python 2.7.8: /home/bgrenet/Software/sage-dev/local/bin/python
Fri Dec 12 22:09:29 2014
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/bgrenet/Software/sage-dev/src/bin/sage-ipython in <module>()
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 """
4 Sage IPython startup script.
5 """
6 from sage.repl.interpreter import SageTerminalApp
7
8 # installs the extra readline commands before the IPython
initialization begins.
9 from sage.repl.readline_extra_commands import *
10
11 app = SageTerminalApp.instance()
---> 12 app.initialize()
global app.initialize = <bound method SageTerminalApp.initialize of
<sage.repl.interpreter.SageTerminalApp object at 0x7fa16c86e4d0>>
13 app.start()
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/IPython/terminal/ipapp.pyc
in initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None)
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/IPython/config/application.pyc
in catch_config_error(method=<function initialize>,
app=<sage.repl.interpreter.SageTerminalApp object>, *args=(None,), **kwargs={})
77
78
#-----------------------------------------------------------------------------
79 # Application class
80
#-----------------------------------------------------------------------------
81
82 @decorator
83 def catch_config_error(method, app, *args, **kwargs):
84 """Method decorator for catching invalid config
(Trait/ArgumentErrors) during init.
85
86 On a TraitError (generally caused by bad config), this will print
the trait's
87 message, and exit the app.
88
89 For use on init methods, to prevent invoking excepthook on invalid
input.
90 """
91 try:
---> 92 return method(app, *args, **kwargs)
method = <function initialize at 0x7fa16c855a28>
app = <sage.repl.interpreter.SageTerminalApp object at 0x7fa16c86e4d0>
args = (None,)
kwargs = {}
93 except (TraitError, ArgumentError) as e:
94 app.print_help()
95 app.log.fatal("Bad config encountered during initialization:")
96 app.log.fatal(str(e))
97 app.log.debug("Config at the time: %s", app.config)
98 app.exit(1)
99
100
101 class ApplicationError(Exception):
102 pass
103
104 class LevelFormatter(logging.Formatter):
105 """Formatter with additional `highlevel` record
106
107 This field is empty if log level is less than highlevel_limit,
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/IPython/terminal/ipapp.pyc
in initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None)
317
318 @catch_config_error
319 def initialize(self, argv=None):
320 """Do actions after construct, but before starting the app."""
321 super(TerminalIPythonApp, self).initialize(argv)
322 if self.subapp is not None:
323 # don't bother initializing further, starting subapp
324 return
325 if not self.ignore_old_config:
326 check_for_old_config(self.ipython_dir)
327 # print self.extra_args
328 if self.extra_args and not self.something_to_run:
329 self.file_to_run = self.extra_args[0]
330 self.init_path()
331 # create the shell
--> 332 self.init_shell()
self.init_shell = <bound method SageTerminalApp.init_shell of
<sage.repl.interpreter.SageTerminalApp object at 0x7fa16c86e4d0>>
333 # and draw the banner
334 self.init_banner()
335 # Now a variety of things that happen after the banner is
printed.
336 self.init_gui_pylab()
337 self.init_extensions()
338 self.init_code()
339
340 def init_shell(self):
341 """initialize the InteractiveShell instance"""
342 # Create an InteractiveShell instance.
343 # shell.display_banner should always be False for the terminal
344 # based app, because we call shell.show_banner() by hand below
345 # so the banner shows *before* all extension loading stuff.
346 self.shell = TerminalInteractiveShell.instance(parent=self,
347 display_banner=False,
profile_dir=self.profile_dir,
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/repl/interpreter.pyc
in init_shell(self=<sage.repl.interpreter.SageTerminalApp object>)
526 sage: app.shell
527 <sage.repl.interpreter.SageInteractiveShell object at 0x...>
528 """
529 # Shell initialization
530 self.shell = SageInteractiveShell.instance(config=self.config,
531 display_banner=False,
profile_dir=self.profile_dir,
532 ipython_dir=self.ipython_dir)
533 self.shell.configurables.append(self)
534 self.shell.has_sage_extensions = SAGE_EXTENSION in
self.extensions
535
536 if self.shell.has_sage_extensions:
537 self.extensions.remove(SAGE_EXTENSION)
538
539 # load sage extension here to get a crash if
540 # something is wrong with the sage library
--> 541 self.shell.extension_manager.load_extension(SAGE_EXTENSION)
self.shell.extension_manager.load_extension = <bound method
ExtensionManager.load_extension of <IPython.core.extensions.ExtensionManager
object at 0x7fa16b4dc310>>
global SAGE_EXTENSION = 'sage'
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/IPython/core/extensions.pyc
in load_extension(self=<IPython.core.extensions.ExtensionManager object>,
module_str='sage')
85
86 Returns the string "already loaded" if the extension is already
loaded,
87 "no load function" if the module doesn't have a
load_ipython_extension
88 function, or None if it succeeded.
89 """
90 if module_str in self.loaded:
91 return "already loaded"
92
93 from IPython.utils.syspathcontext import prepended_to_syspath
94
95 with self.shell.builtin_trap:
96 if module_str not in sys.modules:
97 with prepended_to_syspath(self.ipython_extension_dir):
98 __import__(module_str)
99 mod = sys.modules[module_str]
--> 100 if self._call_load_ipython_extension(mod):
self._call_load_ipython_extension = <bound method
ExtensionManager._call_load_ipython_extension of
<IPython.core.extensions.ExtensionManager object at 0x7fa16b4dc310>>
mod = <module 'sage' from
'/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/__init__.pyc'>
101 self.loaded.add(module_str)
102 else:
103 return "no load function"
104
105 def unload_extension(self, module_str):
106 """Unload an IPython extension by its module name.
107
108 This function looks up the extension's name in ``sys.modules``
and
109 simply calls ``mod.unload_ipython_extension(self)``.
110
111 Returns the string "no unload function" if the extension
doesn't define
112 a function to unload itself, "not loaded" if the extension
isn't loaded,
113 otherwise None.
114 """
115 if module_str not in self.loaded:
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/IPython/core/extensions.pyc
in _call_load_ipython_extension(self=<IPython.core.extensions.ExtensionManager
object>, mod=<module 'sage' from
'/home/bgrenet/Software/sage...l/lib/python2.7/site-packages/sage/__init__.pyc'>)
132 """
133 from IPython.utils.syspathcontext import prepended_to_syspath
134
135 if (module_str in self.loaded) and (module_str in sys.modules):
136 self.unload_extension(module_str)
137 mod = sys.modules[module_str]
138 with prepended_to_syspath(self.ipython_extension_dir):
139 reload(mod)
140 if self._call_load_ipython_extension(mod):
141 self.loaded.add(module_str)
142 else:
143 self.load_extension(module_str)
144
145 def _call_load_ipython_extension(self, mod):
146 if hasattr(mod, 'load_ipython_extension'):
--> 147 mod.load_ipython_extension(self.shell)
mod.load_ipython_extension = <function load_ipython_extension at
0x7fa16c86a410>
self.shell = <sage.repl.interpreter.SageInteractiveShell object at
0x7fa16bf47b90>
148 return True
149
150 def _call_unload_ipython_extension(self, mod):
151 if hasattr(mod, 'unload_ipython_extension'):
152 mod.unload_ipython_extension(self.shell)
153 return True
154
155 def install_extension(self, url, filename=None):
156 """Download and install an IPython extension.
157
158 If filename is given, the file will be so named (inside the
extension
159 directory). Otherwise, the name from the URL will be used. The
file must
160 have a .py or .zip extension; otherwise, a ValueError will be
raised.
161
162 Returns the full path to the installed file.
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/repl/ipython_extension.pyc
in wrapper(*args=(<sage.repl.interpreter.SageInteractiveShell object>,),
**kwargs={})
416 ....: if work:
417 ....: return 'foo worked'
418 ....: raise RuntimeError("foo didn't work")
419 sage: foo(False)
420 Traceback (most recent call last):
421 ...
422 RuntimeError: foo didn't work
423 sage: foo(True)
424 'foo worked'
425 sage: foo(False)
426 sage: foo(True)
427 """
428 @wraps(func)
429 def wrapper(*args, **kwargs):
430 if not wrapper.has_run:
--> 431 result = func(*args, **kwargs)
result = undefined
global func = undefined
args = (<sage.repl.interpreter.SageInteractiveShell object at
0x7fa16bf47b90>,)
kwargs = {}
432 wrapper.has_run = True
433 return result
434 wrapper.has_run = False
435 return wrapper
436
437
438 @run_once
439 def load_ipython_extension(ip):
440 """
441 Load the extension in IPython.
442 """
443 # this modifies ip
444 SageCustomizations(shell=ip)
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/repl/ipython_extension.pyc
in load_ipython_extension(ip=<sage.repl.interpreter.SageInteractiveShell
object>)
429 def wrapper(*args, **kwargs):
430 if not wrapper.has_run:
431 result = func(*args, **kwargs)
432 wrapper.has_run = True
433 return result
434 wrapper.has_run = False
435 return wrapper
436
437
438 @run_once
439 def load_ipython_extension(ip):
440 """
441 Load the extension in IPython.
442 """
443 # this modifies ip
--> 444 SageCustomizations(shell=ip)
global SageCustomizations = <class
'sage.repl.ipython_extension.SageCustomizations'>
global shell = undefined
ip = <sage.repl.interpreter.SageInteractiveShell object at
0x7fa16bf47b90>
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/repl/ipython_extension.pyc
in __init__(self=<sage.repl.ipython_extension.SageCustomizations object>,
shell=<sage.repl.interpreter.SageInteractiveShell object>)
299 self.shell.register_magics(self.auto_magics)
300
301 import sage.misc.displayhook as displayhook
302 self.shell.display_formatter.formatters['text/plain'] = (
303 displayhook.SagePlainTextFormatter(config=shell.config))
304
305 import sage.misc.edit_module as edit_module
306 self.shell.set_hook('editor', edit_module.edit_devel)
307
308 self.init_inspector()
309 self.init_line_transforms()
310
311 import inputhook
312 inputhook.install()
313
--> 314 import sage.all # until sage's import hell is fixed
sage.all = undefined
315
316 self.shell.verbose_quit = True
317 self.set_quit_hook()
318
319 self.register_interface_magics()
320
321 if SAGE_IMPORTALL == 'yes':
322 self.init_environment()
323
324
325 def register_interface_magics(self):
326 """
327 Register magics for each of the Sage interfaces
328 """
329 from sage.misc.superseded import deprecation
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/all.py
in <module>()
84 from sage.ext.c_lib import AlarmInterrupt, SignalError
85
86 import sage.misc.lazy_import
87 from sage.misc.all import * # takes a while
88 from sage.repl.all import *
89
90 from sage.misc.sh import sh
91
92 from sage.libs.all import *
93 from sage.doctest.all import *
94 try:
95 from sage.dev.all import *
96 except ImportError:
97 pass # dev scripts are disabled
98
---> 99 from sage.rings.all import *
global sage.rings.all = undefined
100 from sage.matrix.all import *
101
102 # This must come before Calculus -- it initializes the Pynac library.
103 import sage.symbolic.pynac
104
105 from sage.modules.all import *
106 from sage.monoids.all import *
107 from sage.algebras.all import *
108 from sage.modular.all import *
109 from sage.schemes.all import *
110 from sage.graphs.all import *
111 from sage.groups.all import *
112 from sage.databases.all import *
113 from sage.structure.all import *
114 from sage.categories.all import *
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/rings/all.pyc
in <module>()
53
54 # Rational numbers
55 from rational_field import RationalField, QQ
56 from rational import Rational
57 Rationals = RationalField
58
59 # Integers modulo n.
60 from sage.rings.finite_rings.integer_mod_ring import IntegerModRing,
Zmod
61 from sage.rings.finite_rings.integer_mod import IntegerMod, Mod, mod
62 Integers = IntegerModRing
63
64 # Finite fields
65 from finite_rings.all import *
66
67 # Number field
---> 68 from number_field.all import *
global number_field.all = undefined
69
70 # Function field
71 from function_field.all import *
72
73 # p-adic field
74 from padics.all import *
75 from padics.padic_printing import _printer_defaults as padic_printing
76
77 # Semirings
78 from semirings.all import *
79
80 # Real numbers
81 from real_mpfr import (RealField, RR,
82 create_RealNumber as RealNumber) # this is
used by the preparser to wrap real literals -- very important.
83 Reals = RealField
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/rings/number_field/all.py
in <module>()
1 from number_field import (NumberField, NumberFieldTower,
CyclotomicField, QuadraticField,
2 is_fundamental_discriminant)
3 from number_field_element import NumberFieldElement
4
5 from order import EquationOrder
6
----> 7 from totallyreal import enumerate_totallyreal_fields_prim
global totallyreal = undefined
global enumerate_totallyreal_fields_prim = undefined
8 from totallyreal_data import hermite_constant
9 from totallyreal_rel import enumerate_totallyreal_fields_all,
enumerate_totallyreal_fields_rel
10
11 from unit_group import UnitGroup
/home/bgrenet/Software/sage-dev/totallyreal_data.pxd in init
sage.rings.number_field.totallyreal
(build/cythonized/sage/rings/number_field/totallyreal.c:7906)()
/home/bgrenet/Software/sage-dev/totallyreal_data.pyx in init
sage.rings.number_field.totallyreal_data
(build/cythonized/sage/rings/number_field/totallyreal_data.c:9186)()
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring_constructor.pyc
in PolynomialRing(base_ring=Integer Ring, arg1='x', arg2=None, sparse=False,
order='degrevlex', names=None, name='x', var_array=None, implementation=None)
450 arg2 = [str(x) for x in arg2]
451 if isinstance(arg2, (int, long, Integer)):
452 # 3. PolynomialRing(base_ring, names, n, order='degrevlex'):
453 if not isinstance(arg1, (list, tuple, str)):
454 raise TypeError("You *must* specify the names of the
variables.")
455 n = int(arg2)
456 names = arg1
457 R = _multi_variate(base_ring, names, n, sparse, order,
implementation)
458
459 elif isinstance(arg1, str) or (isinstance(arg1, (list,tuple)) and
len(arg1) == 1):
460 if not ',' in arg1:
461 # 1. PolynomialRing(base_ring, name, sparse=False):
462 if not arg2 is None:
463 raise TypeError("if second arguments is a string with
no commas, then there must be no other non-optional arguments")
464 name = arg1
--> 465 R = _single_variate(base_ring, name, sparse, implementation)
R = None
global _single_variate = <function _single_variate at 0x7fa170349d70>
base_ring = Integer Ring
name = 'x'
sparse = False
implementation = None
466 else:
467 # 2-4. PolynomialRing(base_ring, names, order='degrevlex'):
468 if not arg2 is None:
469 raise TypeError("invalid input to PolynomialRing
function; please see the docstring for that function")
470 names = arg1.split(',')
471 n = len(names)
472 R = _multi_variate(base_ring, names, n, sparse, order,
implementation)
473 elif isinstance(arg1, (list, tuple)):
474 # PolynomialRing(base_ring, names (list or tuple),
order='degrevlex'):
475 names = arg1
476 n = len(names)
477 R = _multi_variate(base_ring, names, n, sparse, order,
implementation)
478
479 if arg1 is None and arg2 is None:
480 raise TypeError("you *must* specify the indeterminates (as not
None).")
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring_constructor.pyc
in _single_variate(base_ring=Integer Ring, name=('x',), sparse=False,
implementation=None)
524 R =
m.PolynomialRing_dense_padic_field_capped_relative(base_ring, name)
525
526 elif isinstance(base_ring,
padic_base_leaves.pAdicRingCappedRelative):
527 R =
m.PolynomialRing_dense_padic_ring_capped_relative(base_ring, name)
528
529 elif isinstance(base_ring,
padic_base_leaves.pAdicRingCappedAbsolute):
530 R =
m.PolynomialRing_dense_padic_ring_capped_absolute(base_ring, name)
531
532 elif isinstance(base_ring, padic_base_leaves.pAdicRingFixedMod):
533 R = m.PolynomialRing_dense_padic_ring_fixed_mod(base_ring,
name)
534
535 elif base_ring.is_field(proof = False):
536 R = m.PolynomialRing_field(base_ring, name, sparse)
537
538 elif base_ring.is_integral_domain(proof = False):
--> 539 R = m.PolynomialRing_integral_domain(base_ring, name,
sparse, implementation)
R = None
m.PolynomialRing_integral_domain = <class
'sage.rings.polynomial.polynomial_ring.PolynomialRing_integral_domain'>
base_ring = Integer Ring
name = ('x',)
sparse = False
implementation = None
540 else:
541 R = m.PolynomialRing_commutative(base_ring, name, sparse)
542 else:
543 R = m.PolynomialRing_general(base_ring, name, sparse)
544
545 if hasattr(R, '_implementation_names'):
546 for name in R._implementation_names:
547 real_key = key[0:3] + (name,)
548 _save_in_cache(real_key, R)
549 else:
550 _save_in_cache(key, R)
551 return R
552
553 def _multi_variate(base_ring, names, n, sparse, order, implementation):
554 # if not sparse:
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.pyc
in __init__(self=Univariate Polynomial Ring in x over Integer Ring,
base_ring=Integer Ring, name=('x',), sparse=False, implementation=None,
element_class=<type
'sage.rings.polynomial.polynomial_integer_dense_flint.Polynomial_integer_dense_flint'>)
1440 if is_IntegerRing(base_ring) and not sparse:
1441 if implementation == 'NTL':
1442 from
sage.rings.polynomial.polynomial_integer_dense_ntl \
1443 import Polynomial_integer_dense_ntl
1444 element_class = Polynomial_integer_dense_ntl
1445 self._implementation_names = ('NTL',)
1446 self._implementation_repr = ' (using NTL)'
1447 elif implementation == 'FLINT' or implementation is
None:
1448 from
sage.rings.polynomial.polynomial_integer_dense_flint \
1449 import Polynomial_integer_dense_flint
1450 element_class = Polynomial_integer_dense_flint
1451 self._implementation_names = (None, 'FLINT')
1452 else:
1453 raise ValueError("Unknown implementation %s for
ZZ[x]"%implementation)
1454 PolynomialRing_commutative.__init__(self, base_ring, name=name,
-> 1455 sparse=sparse, element_class=element_class)
sparse = False
element_class = <type
'sage.rings.polynomial.polynomial_integer_dense_flint.Polynomial_integer_dense_flint'>
1456
1457 def _repr_(self):
1458 """
1459 TESTS::
1460
1461 sage: from sage.rings.polynomial.polynomial_ring import
PolynomialRing_integral_domain as PRing
1462 sage: R = PRing(ZZ, 'x', implementation='NTL'); R
1463 Univariate Polynomial Ring in x over Integer Ring (using
NTL)
1464 """
1465 s = PolynomialRing_commutative._repr_(self)
1466 return s + self._implementation_repr
1467
1468
1469 class PolynomialRing_field(PolynomialRing_integral_domain,
1470 PolynomialRing_singular_repr,
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.pyc
in __init__(self=Univariate Polynomial Ring in x over Integer Ring,
base_ring=Integer Ring, name=('x',), sparse=False, element_class=<type
'sage.rings.polynomial.polynomial_integer_dense_flint.Polynomial_integer_dense_flint'>,
category=Join of Category of unique factorization domains...ry of commutative
algebras over euclidean domains)
1360 if max_degree is not None and of_degree is None:
1361 return self._monics_max( max_degree )
1362 raise ValueError("you should pass exactly one of of_degree and
max_degree")
1363
1364 class PolynomialRing_commutative(PolynomialRing_general,
commutative_algebra.CommutativeAlgebra):
1365 """
1366 Univariate polynomial ring over a commutative ring.
1367 """
1368 def __init__(self, base_ring, name=None, sparse=False,
element_class=None, category=None):
1369 if base_ring not in _CommutativeRings:
1370 raise TypeError("Base ring %s must be a commutative
ring."%repr(base_ring))
1371 # We trust that, if a category is given, that it is useful.
1372 if category is None:
1373 category =
polynomial_default_category(base_ring.category(),False)
1374 PolynomialRing_general.__init__(self, base_ring, name=name,
-> 1375 sparse=sparse, element_class=element_class,
category=category)
sparse = False
element_class = <type
'sage.rings.polynomial.polynomial_integer_dense_flint.Polynomial_integer_dense_flint'>
category = Join of Category of unique factorization domains and
Category of commutative algebras over euclidean domains
1376
1377 def quotient_by_principal_ideal(self, f, names=None):
1378 """
1379 Return the quotient of this polynomial ring by the principal
1380 ideal (generated by) `f`.
1381
1382 INPUT:
1383
1384 - ``f`` - either a polynomial in ``self``, or a principal
1385 ideal of ``self``.
1386
1387 EXAMPLES::
1388
1389 sage: R.<x> = QQ[]
1390 sage: I = (x^2-1)*R
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.pyc
in __init__(self=Univariate Polynomial Ring in x over Integer Ring,
base_ring=Integer Ring, name=('x',), sparse=False, element_class=<type
'sage.rings.polynomial.polynomial_integer_dense_flint.Polynomial_integer_dense_flint'>,
category=Join of Category of unique factorization domains...ry of commutative
algebras over euclidean domains)
281 self._has_singular = False
282 # Algebra.__init__ also calls __init_extra__ of
Algebras(...).parent_class, which
283 # tries to provide a conversion from the base ring, if it does
not exist.
284 # This is for algebras that only do the generic stuff in their
initialisation.
285 # But the attribute _no_generic_basering_coercion prevents that
from happening,
286 # since we want to use PolynomialBaseringInjection.
287 sage.algebras.algebra.Algebra.__init__(self, base_ring,
names=name, normalize=True, category=category)
288 self.__generator = self._polynomial_class(self, [0,1],
is_gen=True)
289 self._populate_coercion_lists_(
290 #coerce_list = [base_inject],
291 #convert_list = [list, base_inject],
292 convert_method_name = '_polynomial_')
293 if is_PolynomialRing(base_ring):
294 self._Karatsuba_threshold = 0
295 else:
--> 296 from sage.matrix.matrix_space import is_MatrixSpace
global sage.matrix.matrix_space = undefined
is_MatrixSpace = undefined
297 if is_MatrixSpace(base_ring):
298 self._Karatsuba_threshold = 0
299 else:
300 self._Karatsuba_threshold = 8
301
302 def __reduce__(self):
303 import sage.rings.polynomial.polynomial_ring_constructor
304 return
(sage.rings.polynomial.polynomial_ring_constructor.PolynomialRing,
305 (self.base_ring(), self.variable_name(), None,
self.is_sparse()))
306
307
308 def _element_constructor_(self, x=None, check=True, is_gen = False,
construct=False, **kwds):
309 r"""
310 Convert ``x`` into this univariate polynomial ring,
311 possibly non-canonically.
/home/bgrenet/Software/sage-dev/local/lib/python2.7/site-packages/sage/matrix/matrix_space.pyc
in <module>()
33 import matrix
34 import matrix_generic_dense
35 import matrix_generic_sparse
36
37 import matrix_modn_sparse
38
39 import matrix_mod2_dense
40 import matrix_mod2e_dense
41
42 import matrix_integer_dense
43 import matrix_integer_sparse
44
45 import matrix_rational_dense
46 import matrix_rational_sparse
47
---> 48 import matrix_mpolynomial_dense
global matrix_mpolynomial_dense = undefined
49
50 #import padics.matrix_padic_capped_relative_dense
51
52 ## import matrix_cyclo_dense
53 ## import matrix_cyclo_sparse
54
55
56 # Sage imports
57 from sage.misc.superseded import deprecation
58 import sage.structure.coerce
59 import sage.structure.parent_gens as parent_gens
60 from sage.structure.unique_representation import UniqueRepresentation
61 from sage.rings.all import ZZ
62 import sage.rings.ring as ring
63 import sage.rings.rational_field as rational_field
ImportError: /home/bgrenet/Software/sage-dev/local/lib/libsingular.so:
undefined symbol: fmpz_poly_mul
***************************************************************************
History of session input:
*** Last line of input (may not be in above history):
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.