#15120: Fix doctest doctests in git layout.
-------------------------------------------+----------------------------
Reporter: robertwb | Owner:
Type: bug | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: Doctests | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: u/robertwb/ticket/15120 | Commit:
Dependencies: | Stopgaps:
-------------------------------------------+----------------------------
Comment (by SimonKing):
I am working on my desktop because my laptop is broken. Question, Robert:
While trying to use the dev scripts, I found a bug. Namely: I forgot to
set up my git (e.g., I didn't store e-mail and real name). This should
result in an error being raised. However, I get this traceback:
{{{
[git] git config user.name
Traceback (most recent call last):
File "/mnt/local/king/SAGE/GIT/sage/src/bin/sage-dev", line 330, in
<module>
parser.run()
File "/mnt/local/king/SAGE/GIT/sage/src/bin/sage-dev", line 322, in run
method(*args,**kwds)
File "/mnt/local/king/SAGE/GIT/sage/local/lib/python2.7/site-
packages/sage/dev/sagedev_wrapper.py", line 140, in wrapped
return f(*args, **kwargs)
File "/mnt/local/king/SAGE/GIT/sage/local/lib/python2.7/site-
packages/sage/dev/sagedev.py", line 518, in switch_ticket
branch = self._new_local_branch_for_ticket(ticket)
File "/mnt/local/king/SAGE/GIT/sage/local/lib/python2.7/site-
packages/sage/dev...
...
File "/mnt/local/king/SAGE/GIT/sage/local/lib/python2.7/site-
packages/sage/dev/git_interface.py", line 358, in _check_user_email
self._UI.normal("No real name has been set for git. This name shows up
as the author for any commits you contribute to sage.")
AttributeError: 'CmdLineInterface' object has no attribute 'normal'
}}}
Is this bug already tracked/known to the sage-git people? I think I am
currently not really able to create a ticket properly, with a slow
internet connection and no usable laptop.
--
Ticket URL: <http://trac.sagemath.org/ticket/15120#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.