On Tue, Oct 09, 2012 at 06:58:11AM -0700, Andrew Mathas wrote: > Your two patches: > * trac_10963-more_functorial_constructions-nt.patch > * trac_12895-subcategory-methods-nt.patch > both seem to break the 5.3 queue. I haven't checked 5.4-rc1.
Are you sure? I haven't changed those in a while, and the patches apply smoothly for me. Hi Nicolas, I just updated again and checked and I'm still finding that these patches are breaking sage. All patches in the 5.3 and 5.4.rc1 queues *apply*cleanly, however, for me sage won't run after these patches are applied. Specifically, if I move the queue to trac_12895-subcategory-methods-nt.patch then sage will not compile. See below for what happens under 5.4.rc1 with "sage -br". Sage does compile correctly before this patch, so #12895 appears to be causing the problem. Last night, working from the bottom of the queue up, I found that the problems started with the patch trac_10963-more_functorial_constructions-nt.patch. Much the same thing happens with 5.3. If I try guarding these two patches then trac_8678-module_morphisms-nt.patch won't apply, and after this many more of your patches don't apply either, so guarding does not really fix the problem. Since no one else has said anything perhaps it is just me but I don't think that I have done anything usual here... Cheers, Andrew -- MacAndrew-518-(sage-5.4.rc1)-combinat: qpush applying trac_12895-subcategory-methods-nt.patch patching file sage/categories/realizations.py Hunk #3 succeeded at 173 with fuzz 1 (offset -38 lines). now at: trac_12895-subcategory-methods-nt.patch MacAndrew-519-(sage-5.4.rc1)-combinat: sage -br ---------------------------------------------------------- sage: Building and installing modified Sage library files. Installing c_lib /usr/local/src/sage/sage-5.4.rc1/devel/sage/c_lib scons: `install' is up to date. Updating Cython code.... Building modified file sage/categories/category_singleton.pyx. Building modified file sage/misc/c3.pyx. Executing 2 commands (using 1 thread) python `which cython` --old-style-globals --embed-positions --directive cdivision=True,autotestdict=False,fast_getattr=True -I/usr/local/src/sage/sage-5.4.rc1/devel/sage-combinat -o sage/categories/category_singleton.c sage/categories/category_singleton.pyx sage/categories/category_singleton.pyx --> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages//sage/categories/category_singleton.pyx python `which cython` --old-style-globals --embed-positions --directive cdivision=True,autotestdict=False,fast_getattr=True -I/usr/local/src/sage/sage-5.4.rc1/devel/sage-combinat -o sage/misc/c3.c sage/misc/c3.pyx sage/misc/c3.pyx --> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages//sage/misc/c3.pyx Time to execute 2 commands: 0.786401033401 seconds Finished compiling Cython code (time = 1.22077488899 seconds) running install running build running build_py copying sage/categories/algebra_functor.py -> build/lib.macosx-10.7-x86_64-2.7/sage/categories copying sage/categories/bimodules.py -> build/lib.macosx-10.7-x86_64-2.7/sage/categories copying sage/categories/category.py -> build/lib.macosx-10.7-x86_64-2.7/sage/categories copying sage/categories/category_types.py -> build/lib.macosx-10.7-x86_64-2.7/sage/categories copying sage/categories/covariant_functorial_construction.py -> build/lib.macosx-10.7-x86_64-2.7/sage/categories copying sage/categories/finite_fields.py -> build/lib.macosx-10.7-x86_64-2.7/sage/categories copying sage/categories/realizations.py -> build/lib.macosx-10.7-x86_64-2.7/sage/categories running build_ext building 'sage.categories.category_singleton' extension building 'sage.misc.c3' extension Executing 2 commands (using 1 thread) gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/src/sage/sage-5.4.rc1/local/include -I/usr/local/src/sage/sage-5.4.rc1/local/include/csage -I/usr/local/src/sage/sage-5.4.rc1/devel/sage/sage/ext -I/usr/local/src/sage/sage-5.4.rc1/local/include/python2.7 -c sage/categories/category_singleton.c -o build/temp.macosx-10.7-x86_64-2.7/sage/categories/category_singleton.o -w gcc -bundle -undefined dynamic_lookup -L/usr/local/src/sage/sage-5.4.rc1/local/lib build/temp.macosx-10.7-x86_64-2.7/sage/categories/category_singleton.o -L/usr/local/src/sage/sage-5.4.rc1/local/lib -lcsage -lstdc++ -lntl -o build/lib.macosx-10.7-x86_64-2.7/sage/categories/category_singleton.so gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/src/sage/sage-5.4.rc1/local/include -I/usr/local/src/sage/sage-5.4.rc1/local/include/csage -I/usr/local/src/sage/sage-5.4.rc1/devel/sage/sage/ext -I/usr/local/src/sage/sage-5.4.rc1/local/include/python2.7 -c sage/misc/c3.c -o build/temp.macosx-10.7-x86_64-2.7/sage/misc/c3.o -w gcc -bundle -undefined dynamic_lookup -L/usr/local/src/sage/sage-5.4.rc1/local/lib build/temp.macosx-10.7-x86_64-2.7/sage/misc/c3.o -L/usr/local/src/sage/sage-5.4.rc1/local/lib -lcsage -lstdc++ -lntl -o build/lib.macosx-10.7-x86_64-2.7/sage/misc/c3.so Time to execute 2 commands: 1.40112900734 seconds Total time spent compiling C/C++ extensions: 1.45703911781 seconds. running install_lib copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/algebra_functor.py -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/bimodules.py -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/category.py -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/category_singleton.so -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/category_types.py -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/covariant_functorial_construction.py -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/finite_fields.py -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/categories/realizations.py -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories copying build/lib.macosx-10.7-x86_64-2.7/sage/misc/c3.so -> /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc byte-compiling /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/algebra_functor.py to algebra_functor.pyc byte-compiling /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/bimodules.py to bimodules.pyc byte-compiling /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category.py to category.pyc byte-compiling /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category_types.py to category_types.pyc byte-compiling /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/covariant_functorial_construction.py to covariant_functorial_construction.pyc byte-compiling /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/finite_fields.py to finite_fields.pyc byte-compiling /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/realizations.py to realizations.pyc running install_egg_info Removing /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage-0.0.0-py2.7.egg-info Writing /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage-0.0.0-py2.7.egg-info ---------------------------------------------------------------------- | Sage Version 5.4.rc1, Release Date: 2012-10-05 | | Type "notebook()" for the browser-based notebook interface. | | Type "help()" for help. | ---------------------------------------------------------------------- ********************************************************************** * * * Warning: this is a prerelease version, and it may be unstable. * * * ********************************************************************** 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', (507, 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', (684, 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', (507, 0)) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/IPython/ipmaker.pyc in force_import(modname, force_reload) 61 reload(sys.modules[modname]) 62 else: ---> 63 __import__(modname) 64 65 /usr/local/src/sage/sage-5.4.rc1/local/bin/ipy_profile_sage.py in <module>() 5 preparser(True) 6 ----> 7 import sage.all_cmdline 8 sage.all_cmdline._init_cmdline(globals()) 9 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/all_cmdline.py in <module>() 12 try: 13 ---> 14 from sage.all import * 15 from sage.calculus.predefined import x 16 preparser(on=True) /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/all.py in <module>() 64 from time import sleep 65 ---> 66 from sage.misc.all import * # takes a while 67 68 from sage.misc.sh import sh /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/all.py in <module>() 79 from func_persist import func_persist 80 ---> 81 from functional import (additive_order, 82 sqrt as numerical_sqrt, 83 base_ring, /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/functional.py in <module>() 30 31 import sage.misc.latex ---> 32 import sage.interfaces.expect 33 import sage.interfaces.mathematica 34 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/interfaces/expect.py in <module>() 59 import pexpect 60 from pexpect import ExceptionPexpect ---> 61 from sage.interfaces.interface import Interface, InterfaceElement, InterfaceFunction, InterfaceFunctionElement, AsciiArtString 62 63 from sage.structure.sage_object import SageObject /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/interfaces/interface.py in <module>() 40 41 from sage.structure.sage_object import SageObject ---> 42 from sage.structure.parent_base import ParentWithBase 43 from sage.structure.element import RingElement 44 /usr/local/src/sage/sage-5.4.rc1/devel/sage-combinat/sage/combinat/parent_base.pyx in init sage.structure.parent_base (sage/structure/parent_base.c:1882)() ----> 1 2 3 4 5 /usr/local/src/sage/sage-5.4.rc1/devel/sage-combinat/sage/combinat/parent_old.pyx in init sage.structure.parent_old (sage/structure/parent_old.c:7628)() ----> 1 2 3 4 5 /usr/local/src/sage/sage-5.4.rc1/devel/sage-combinat/sage/combinat/parent.pyx in init sage.structure.parent (sage/structure/parent.c:23637)() 189 190 --> 191 192 193 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/classcall_metaclass.so in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__ (sage/misc/classcall_metaclass.c:946)() 277 278 --> 279 280 281 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category_singleton.so in sage.categories.category_singleton.Category_singleton.__classcall__ (sage/categories/category_singleton.c:1616)() 309 310 --> 311 312 313 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category.pyc in __classcall__(cls, *args, **options) 447 if isinstance(cls, DynamicMetaclass): 448 cls = cls.__base__ --> 449 return super(Category, cls).__classcall__(cls, *args, **options) 450 451 def __init__(self, s=None): /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/cachefunc.so in sage.misc.cachefunc.WeakCachedFunction.__call__ (sage/misc/cachefunc.c:5099)() 913 914 --> 915 916 917 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/structure/unique_representation.pyc in __classcall__(cls, *args, **options) 464 True 465 """ --> 466 instance = typecall(cls, *args, **options) 467 assert isinstance( instance, cls ) 468 if instance.__class__.__reduce__ == UniqueRepresentation.__reduce__: /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/classcall_metaclass.so in sage.misc.classcall_metaclass.typecall (sage/misc/classcall_metaclass.c:1305)() 465 466 --> 467 468 469 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category.pyc in __init__(self, s) 479 raise TypeError, "Argument string must be a string." 480 self.__class__ = dynamic_class("%s_with_category"%self.__class__.__name__, --> 481 (self.__class__, self.subcategory_class, ), 482 cache = False, reduction = None, 483 doccls=self.__class__) /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/lazy_attribute.pyc in __get__(self, a, cls) 533 except KeyError: 534 pass --> 535 result = self.f(a) 536 if result is NotImplemented: 537 # Workaround: we make sure that cls is the class /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category.pyc in subcategory_class(self) 1213 """ 1214 return self._make_named_class('subcategory_class', 'SubcategoryMethods', -> 1215 cache=False, picklable=False) 1216 1217 @lazy_attribute /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category.pyc in _make_named_class(self, name, method_provider, cache, picklable) 1164 # and point the documentation to it 1165 doccls = method_provider_cls -> 1166 self._super_categories 1167 if picklable: 1168 reduction = (getattr, (self, name)) /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/lazy_attribute.pyc in __get__(self, a, cls) 533 except KeyError: 534 pass --> 535 result = self.f(a) 536 if result is NotImplemented: 537 # Workaround: we make sure that cls is the class /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category.pyc in _super_categories(self) 1006 [Category of rngs, Category of semirings] 1007 """ -> 1008 return self.super_categories() 1009 1010 def _test_category_graph(self, **options): /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/sets_cat.pyc in super_categories(self) 170 [Category of sets with partial maps] 171 """ --> 172 return [SetsWithPartialMaps()] 173 174 def _call_(self, X, enumerated_set_if_possible = False): /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/misc/classcall_metaclass.so in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__ (sage/misc/classcall_metaclass.c:946)() 277 278 --> 279 280 281 /usr/local/src/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/sage/categories/category_singleton.so in sage.categories.category_singleton.Category_singleton.__classcall__ (sage/categories/category_singleton.c:1640)() 311 312 --> 313 314 315 AttributeError: type object 'SetsWithPartialMaps' has no attribute '_set_classcall' Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. sage: -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/sage-combinat-devel/-/0EbxjKTrtmQJ. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.