#14414: runsnake command broken
-------------------------------------+-------------------------------------
       Reporter:  nbruin             |        Owner:  tbd
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  performance        |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Frédéric Chapoton  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/ticket/14414                |  f2654aea5ade94a5f43d87dc3b83906c57054545
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by darij):

 I can't get runsnake to work either with or without this patch.
 {{{
 sage: runsnake("list(SymmetricGroup(3))")
 sage: Traceback (most recent call last):
   File "/usr/local/bin/runsnake", line 9, in <module>
     load_entry_point('RunSnakeRun==2.0.2b1', 'gui_scripts', 'runsnake')()
   File "/usr/local/lib/python2.7/dist-
 packages/RunSnakeRun-2.0.2b1-py2.7.egg/runsnakerun/runsnake.py", line 784,
 in main
     app = RunSnakeRunApp(0)
   File "/usr/lib/python2.7/dist-packages/wx-2.6-gtk2-unicode/wx/_core.py",
 line 7700, in __init__
     self._BootstrapApp()
   File "/usr/lib/python2.7/dist-packages/wx-2.6-gtk2-unicode/wx/_core.py",
 line 7352, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "/usr/local/lib/python2.7/dist-
 packages/RunSnakeRun-2.0.2b1-py2.7.egg/runsnakerun/runsnake.py", line 722,
 in OnInit
     frame = MainFrame( config_parser = load_config())
   File "/usr/local/lib/python2.7/dist-
 packages/RunSnakeRun-2.0.2b1-py2.7.egg/runsnakerun/runsnake.py", line 205,
 in __init__
     self.CreateControls(config_parser)
   File "/usr/local/lib/python2.7/dist-
 packages/RunSnakeRun-2.0.2b1-py2.7.egg/runsnakerun/runsnake.py", line 231,
 in CreateControls
     square_style = True,
   File "/usr/local/lib/python2.7/dist-
 packages/SquareMap-1.0.1-py2.7.egg/squaremap/squaremap.py", line 135, in
 __init__
     self.OnSize(None)
   File "/usr/local/lib/python2.7/dist-
 packages/SquareMap-1.0.1-py2.7.egg/squaremap/squaremap.py", line 226, in
 OnSize
     self.UpdateDrawing()
   File "/usr/local/lib/python2.7/dist-
 packages/SquareMap-1.0.1-py2.7.egg/squaremap/squaremap.py", line 230, in
 UpdateDrawing
     self.Draw(dc)
   File "/usr/local/lib/python2.7/dist-
 packages/SquareMap-1.0.1-py2.7.egg/squaremap/squaremap.py", line 236, in
 Draw
     brush = wx.Brush( self.BackgroundColour  )
 AttributeError: 'SquareMap' object has no attribute 'BackgroundColour'
 sage:
 }}}
 No window appears in reasonable time. Is this any related?

--
Ticket URL: <http://trac.sagemath.org/ticket/14414#comment:9>
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/d/optout.

Reply via email to