Hello Thank you all --- agreed that in the long run it'd be good to have DragonFly support in psutil. It'll probably take a little time.
However, if the ipython problem persists I'll be back with more. Thanks again Peeter -- On Friday, November 18, 2016 at 5:13:04 PM UTC+2, Carlos Córdoba wrote: > > Hi, > > We're going to use psutil to do other things, for example to better detect > previous instances of Spyder: > > https://github.com/spyder-ide/spyder/pull/3659 > > So it's better to ask the psutil maintainer to support DragonFly BSD :-) > > > Cheers, > Carlos > > El 18/11/16 a las 05:32, Jitse Niesen escribió: > > psutil is only used to display CPU and memory usage in the status bar. If > getting psutil to work is not so easy, it may be easier in the short term > to patch Spyder so that it does not display memory usage and runs without > psutil. > > Jitse > > > On Thursday, 17 November 2016 21:25:54 UTC, peeter001 wrote: >> >> Hello >> >> Tried to upgrade to spyder 3.0 with pip but got stuck with psutil --- >> seems psutil does not support DragonFly out of box. I suppose I'd first >> need to get psutil working on DragonFly. . . >> >> (I checked with FreeBSD too; DragonFly follows FreeBSD applications very >> closely. On FreeBSD, spyder 2.3 and 3.0 run fine.) >> >> Thanks >> >> Peeter >> >> -- >> >> >> >> >> On Thursday, November 17, 2016 at 10:54:36 AM UTC+2, Jitse Niesen wrote: >>> >>> Hello, >>> >>> Is it possible to upgrade Spyder to 3.0 on DragonFlyBSD? Having no >>> experience with BSD I have no idea how difficult this is. The part of the >>> Spyder code for connecting to ipython has changed a lot between 2.3 and 3.0. >>> >>> Jitse >>> >>> >>> On Wednesday, 16 November 2016 14:21:41 UTC, peeter001 wrote: >>>> >>>> Hello >>>> >>>> On my system (DragonFlyBSD), spyder (2.3.7) cannot connect to the >>>> ipython kernel in order to start the ipython console. When spyder starts >>>> up, spyder's ipython console displays the message "Connecting to kernel. . >>>> ." and that's all: it will loop there forever. When quitting spyder, this >>>> error shows: >>>> >>>> --- >>>> Exception in thread Thread-2: >>>> Traceback (most recent call last): >>>> File "/usr/local/lib/python2.7/threading.py", line 801, in >>>> __bootstrap_inner >>>> self.run() >>>> File "/usr/local/lib/python2.7/threading.py", line 754, in run >>>> self.__target(*self.__args, **self.__kwargs) >>>> File "/usr/local/lib/python2.7/site-packages/spyderlib/spyder.py", >>>> line 2093, in start_open_files_server >>>> req, dummy = self.open_files_server.accept() >>>> File "/usr/local/lib/python2.7/socket.py", line 206, in accept >>>> sock, addr = self._sock.accept() >>>> File "/usr/local/lib/python2.7/socket.py", line 174, in _dummy >>>> raise error(EBADF, 'Bad file descriptor') >>>> error: [Errno 9] Bad file descriptor >>>> >>>> >>>> [1] Done spyder >>>> --- >>>> >>>> ipython alone runs fine on DragonFly (e.g. when started with 'ipython >>>> notebook'). >>>> >>>> I ran python2.7 unit tests that have 'thread' in their name, i.e. >>>> >>>> % ls -l /usr/local/lib/python2.7/test | grep thread >>>> % python -m test.regrtest test_threading >>>> etc >>>> >>>> and they all pass. The test_socket also passes when DragonFly is added >>>> to the conditional that checks the platform. The test_socketserver is >>>> skipped. >>>> >>>> I wonder if anybody has ideas about where to dig further or what tests >>>> could I run to find the error? >>>> >>>> Thanks, >>>> >>>> Peeter >>>> >>>> -- >>>> >>>> -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to spyderlib+...@googlegroups.com <javascript:>. > To post to this group, send email to spyd...@googlegroups.com > <javascript:>. > Visit this group at https://groups.google.com/group/spyderlib. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscr...@googlegroups.com. To post to this group, send email to spyderlib@googlegroups.com. Visit this group at https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.