#5806: Sage 3.4.1.rc3: failing test "devel/sage/sage/misc/sagedoc.py"
---------------------+------------------------------------------------------
Reporter: jsp | Owner: cwitty
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.0.1
Component: misc | Keywords:
---------------------+------------------------------------------------------
Comment(by ddrake):
Replying to [comment:18 mpatel]:
> For the "ring" and "fetch" failures, the general issue seems to be how
the doctesting framework interacts with pipes.
I think this is correct. In fact, I think the problem is with pipes and
sage-grep (and its companion sage-grepdoc). Those processes never seem to
finish; I could insert "tee" commands and see that they were outputting
what you would expect, but never quitting, so the pipe remained open, and
the doctests hung.
I'm attaching a patch against 4.0.alpha0 which avoids the use of sage-grep
and sage-grepdoc and directly issues a "{{{find ... -exec grep ... }}}"
command. It also switches to using the subprocess module. This should fix
the problems with {{{search_src}}} and friends.
The patch also fixes a small bug in {{{search_src}}} when displaying the
results in the notebook -- it now sends a correct string of search terms
to {{{format_search_as_html}}}.
I tested the patch on an amd64 Ubuntu system and a 32-bit Fedora 10
system. It may not work in OS X since the "find" command there sometimes
behaves strangely when it encounters symlinks. We may need to fiddle with
that command.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5806#comment:19>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---