Hi, this should have happened to other people, but I can't find some other post on this one. I'm not sure which update exactly caused the bug, since I didn't use weave since Sage 3.something. All I can say is, that weave doesn't work at all in Sage 4.1 and 4.11 (64 bit) under Mac OS X 10.5.8 on my MacBook Pro Unibody rev. A. It used to work fine before.
Weave doesn't even try to compile anything anymore it just produces a KeyError: >>> from scipy import weave >>> weave.inline("""printf("hello");""") File "<stdin>", line 1, in <module> File "/Users/felix/Documents/uni/Promotion/sagenotebooks/ critical_control/worksheets/admin/43/code/27.py", line 7, in <module> weave.inline("""printf("hello");""") File "", line 1, in <module> File "/Applications/sage/local/lib/python2.6/site-packages/scipy/ weave/inline_tools.py", line 321, in inline results = attempt_function_call(code,local_dict,global_dict) File "/Applications/sage/local/lib/python2.6/site-packages/scipy/ weave/inline_tools.py", line 389, in attempt_function_call function_list = function_catalog.get_functions(code,module_dir) File "/Applications/sage/local/lib/python2.6/site-packages/scipy/ weave/catalog.py", line 612, in get_functions function_list = self.get_cataloged_functions(code) File "/Applications/sage/local/lib/python2.6/site-packages/scipy/ weave/catalog.py", line 526, in get_cataloged_functions if cat is not None and code in cat: File "/Applications/sage/local/lib/python/shelve.py", line 110, in __contains__ return key in self.dict File "/Applications/sage/local/lib/python2.6/site-packages/scipy/io/ dumbdbm_patched.py", line 73, in __getitem__ pos, siz = self._index[key] # may raise KeyError KeyError: 0 Also weave.test() fails: Running unit tests for scipy.weave Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/felix/Documents/uni/Promotion/sagenotebooks/ critical_control/worksheets/admin/43/code/29.py", line 7, in <module> weave.test() File "", line 1, in <module> File "/Applications/sage/local/lib/python2.6/site-packages/numpy/ testing/nosetester.py", line 242, in test self._show_system_info() File "/Applications/sage/local/lib/python2.6/site-packages/numpy/ testing/nosetester.py", line 149, in _show_system_info nose = import_nose() File "/Applications/sage/local/lib/python2.6/site-packages/numpy/ testing/nosetester.py", line 49, in import_nose raise ImportError(msg) ImportError: Need nose >= 0.10.0 for tests - see http://somethingaboutorange.com/mrl/projects/nose Any help on this issue would be very appreciated. - Felix --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---