Thanks Carlos, I can confirm that it's now working for me. -Dave
On Aug 15, 4:53 pm, Carlos Córdoba <[email protected]> wrote: > Dave, I've added of couple of commits that should fix the problem. Could > you test again with the latest tip and tell me if it's working for you? > > El 10/08/12 05:00, Dave Hirschfeld escribió: > > > > > > > > > On Friday, August 10, 2012 10:52:39 AM UTC+1, Dave Hirschfeld wrote: > > > When trying to connect to an existing kernel I get the following > > error in the Internal Console: > > > >>> Traceback (most recent call last): > > File > > "C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", line > > 659, in new_client > > self.register_client(cf, kernel_widget_id, client_name) > > File > > "C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", line > > 730, in register_client > > kernel = self.main.extconsole.shellwidgets[-1] > > IndexError: list index out of range > > > No IPython console opens up after the error. > > > -Dave > > > If I already have another IPython Kernel/Console open I get a slightly > > different error in the internal console and a couple of message boxes. > > The console error is given below and the message box screen grabs are > > attached. > > > >>> Traceback (most recent call last): > > File "C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", > > line 582, in refresh_plugin > > Traceback (most recent call last): > > File "C:\dev\code\spyderlib\spyderlib\plugins\__init__.py", line > > 201, in visibility_changed > > self.refresh_plugin() #XXX Is it a good idea? > > File "C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", > > line 582, in refresh_plugin > > self.main.extconsole.tabwidget.setCurrentIndex(idx) > > TypeError: QTabWidget.setCurrentIndex(int): argument 1 has unexpected > > type 'NoneType' > > self.main.extconsole.tabwidget.setCurrentIndex(idx) > > TypeError: QTabWidget.setCurrentIndex(int): argument 1 has unexpected > > type 'NoneType' > > Traceback (most recent call last): > > File "C:\dev\code\spyderlib\spyderlib\plugins\__init__.py", line > > 201, in visibility_changed > > Traceback (most recent call last): > > File "C:\dev\code\spyderlib\spyderlib\plugins\__init__.py", line > > 201, in visibility_changed > > self.refresh_plugin() #XXX Is it a good idea? > > File "C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", > > line 582, in refresh_plugin > > self.main.extconsole.tabwidget.setCurrentIndex(idx) > > TypeError: QTabWidget.setCurrentIndex(int): argument 1 has unexpected > > type 'NoneType' > > self.refresh_plugin() #XXX Is it a good idea? > > File "C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", > > line 582, in refresh_plugin > > self.main.extconsole.tabwidget.setCurrentIndex(idx) > > TypeError: QTabWidget.setCurrentIndex(int): argument 1 has unexpected > > type 'NoneType' > > > -Dave > > > -- > > You received this message because you are subscribed to the Google > > Groups "spyder" group. > > To view this discussion on the web visit > >https://groups.google.com/d/msg/spyderlib/-/VPRXg58eX8kJ. > > 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/spyderlib?hl=en. -- You received this message because you are subscribed to the Google Groups "spyder" 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/spyderlib?hl=en.
