← Back to team overview

commonsense team mailing list archive

[Bug 528354] Re: 1.0.2 (self built from tar) ==BOOM

 

I've removed some lines in window.py 
((line 71)) 
   """                                                                                                                        
        if not '--no-console' in sys.argv:                                                                                         
            from spyderlib.plugins.console import Console                                                                          
            self.console = Console(self, commands=[], namespace=self.__dict__)                                                     
            self.ui.tab_stack.addTab(self.console, "Console")                                                                      
            self.console.setVisible(True)                                                                                          
            self.console_font = QtGui.QFont("Monaco", 10)                                                                          
            self.console.shell.set_font(self.console_font)                                                                         
            self.console.shell.execute_command("cls")                                                                              
        """


and this seems to do the trick.

Also I have found some code I admire :

self.self = self

well...

-- 
1.0.2 (self built from tar) ==BOOM
https://bugs.launchpad.net/bugs/528354
You received this bug notification because you are a member of
Commonsense Computing, which is the registrant for Luminoso.

Status in Luminoso: New

Bug description:
I can run 1.0.2 fine from the .dmg file that you kindly provided on the last sync, but I want to mess about with the system (aren't users a pain!) so I extracted the .tar and tried building from that. 

I did 

$>python ./setup.py build
$>python ./setup.py install

then I tried to run_luminoso

$>python ./run_luminoso 

unfortunately I then got

  File "run_luminoso.py", line 41, in main
    window.setup()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Luminoso-1.0.2-py2.6.egg/luminoso/window.py", line 63, in setup
    from spyderlib.plugins.console import Console
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Luminoso-1.0.2-py2.6.egg/luminoso/lib/spyderlib/plugins/console.py", line 29, in <module>
    from spyderlib.widgets.interactiveshell import InteractiveShell
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Luminoso-1.0.2-py2.6.egg/luminoso/lib/spyderlib/widgets/interactiveshell.py", line 18, in <module>
    from IPython.deep_reload import reload
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ipython-0.9.1-py2.6.egg/IPython/__init__.py", line 58, in <module>
    __import__(name,glob,loc,[])
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ipython-0.9.1-py2.6.egg/IPython/ipstruct.py", line 22, in <module>
    from IPython.genutils import list2dict2
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ipython-0.9.1-py2.6.egg/IPython/genutils.py", line 120, in <module>
    import IPython.rlineimpl as readline
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ipython-0.9.1-py2.6.egg/IPython/rlineimpl.py", line 37, in <module>
    (status, result) = commands.getstatusoutput( "otool -L %s | grep libedit" % _rl.__file__ )
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/commands.py", line 56, in getstatusoutput
    text = pipe.read()
IOError: [Errno 4] Interrupted system call

Any clue why?





References