Opened 11 years ago
Closed 7 years ago
#9827 closed defect (fixed)
Intermittent doctest failure in sage/interfaces/psage.py
Reported by:  mpatel  Owned by:  was 

Priority:  major  Milestone:  sage6.4 
Component:  interfaces  Keywords:  
Cc:  Merged in:  
Authors:  Jeroen Demeyer  Reviewers:  Frédéric Chapoton 
Report Upstream:  N/A  Work issues:  
Branch:  019dda0 (Commits, GitHub, GitLab)  Commit:  019dda08c66a4fd4deea44ff5e87714ac2ba3575 
Dependencies:  Stopgaps: 
Description (last modified by )
This happens sometimes:
sage t long devel/sage/sage/interfaces/psage.py ********************************************************************** File "devel/sage/sage/interfaces/psage.py", line 37, in sage.interfaces.psage Failed example: w # long time, random output Exception raised: Traceback (most recent call last): File "/release/buildbot/sage/sage1/sage_upgrade_4.8/build/sage5.9.beta4/local/lib/python2.7/sitepackages/sage/doctest/forker.py", line 466, in _run self.execute(example, compiled, test.globs) File "/release/buildbot/sage/sage1/sage_upgrade_4.8/build/sage5.9.beta4/local/lib/python2.7/sitepackages/sage/doctest/forker.py", line 825, in execute exec compiled in globs File "<doctest sage.interfaces.psage[3]>", line 1, in <module> w # long time, random output File "/release/buildbot/sage/sage1/sage_upgrade_4.8/build/sage5.9.beta4/local/lib/python2.7/sitepackages/sage/misc/displayhook.py", line 201, in __call__ self.oldhook(obj) File "/release/buildbot/sage/sage1/sage_upgrade_4.8/build/sage5.9.beta4/local/lib/python2.7/sitepackages/sage/interfaces/interface.py", line 880, in __repr__ s = s.replace(self._name, self.__dict__['__custom_name']) KeyError: '__custom_name' **********************************************************************
See this reply (and possible followups) for batchtesting results for psage.py
.
Distantly related: #1991.
Attachments (1)
Change History (16)
comment:1 Changed 11 years ago by
comment:2 Changed 9 years ago by
Is this still relevant after #12415?
comment:3 Changed 9 years ago by
 Component changed from doctest to interfaces
 Owner changed from mvngu to was
I don't think this has to do with doctesting...
comment:4 Changed 9 years ago by
 Description modified (diff)
 Milestone set to sage5.10
comment:5 Changed 9 years ago by
 Description modified (diff)
Changed 9 years ago by
comment:6 Changed 9 years ago by
 Status changed from new to needs_review
comment:7 Changed 8 years ago by
 Milestone changed from sage5.11 to sage5.12
comment:8 Changed 8 years ago by
 Milestone changed from sage6.1 to sage6.2
comment:9 Changed 8 years ago by
 Milestone changed from sage6.2 to sage6.3
comment:10 Changed 7 years ago by
I too ran into intermittent doctest failures in #12061
comment:11 Changed 7 years ago by
 Milestone changed from sage6.3 to sage6.4
comment:12 Changed 7 years ago by
 Branch set to public/9827
 Commit set to 0c8ae85ed98466fb0fcde477d021c8d9f3b93581
New commits:
0c8ae85  trac #9827 simple fix

comment:13 Changed 7 years ago by
 Commit changed from 0c8ae85ed98466fb0fcde477d021c8d9f3b93581 to 019dda08c66a4fd4deea44ff5e87714ac2ba3575
Branch pushed to git repo; I updated commit sha1. New commits:
019dda0  trac #9827 typo

comment:14 Changed 7 years ago by
 Reviewers set to Frédéric Chapoton
 Status changed from needs_review to positive_review
Looks good to me.
comment:15 Changed 7 years ago by
 Branch changed from public/9827 to 019dda08c66a4fd4deea44ff5e87714ac2ba3575
 Resolution set to fixed
 Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
Near the top of
sage/interfaces/psage.py
is a possibly relevant note: