Fwd: The xrdui exited by it self

19 views
Skip to first unread message

Jianming Bai

unread,
Nov 18, 2017, 2:30:42 PM11/18/17
to xpd-...@googlegroups.com

---------- Forwarded message ----------
From: Jianming Bai <jmba...@gmail.com>
Date: Sat, Nov 18, 2017 at 2:21 PM
Subject: The xrdui exited by it self
To: Timothy Liu <chbra...@gmail.com>


when we restarted xpdui, we got this: please help
In [18]:                                                                                                                          
Traceback (most recent call last):
  File "/home/xf28id1/conda_envs/17Q3-dev/bin/ipython", line 6, in <module>
    sys.exit(IPython.start_ipython())
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/IPython/__init__.py", line 125, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/IPython/terminal/ipapp.py", line 356, in start
    self.shell.mainloop()
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 480, in mainloop
    self.interact()
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 463, in interact
    code = self.prompt_for_code()
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 376, in prompt_for_code
    pre_run=self.pre_prompt, reset_current_buffer=True)
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/prompt_toolkit/interface.py", line 415, in run
    self.eventloop.run(self.input, self.create_eventloop_callbacks())
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/prompt_toolkit/eventloop/posix.py", line 103, in run
    self._inputhook_context.call_inputhook(ready)
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/prompt_toolkit/eventloop/inputhook.py", line 71, in call_inputhook
    threading.Thread(target=thread).start()
  File "/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/threading.py", line 846, in start
    _start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread

If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipyth...@python.org

You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    %config Application.verbose_crash=True

^[[38;1Rxf28id1@xf28id1-ws2:~$ ;1R
bash: syntax error near unexpected token `;'
xf28id1@xf28id1-ws2:~$ xpdui
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 13:51:32)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.

IPython profile: collection
Using matplotlib backend: Qt5Agg
Loading metadata history from /home/xf28id1/.config/bluesky/bluesky_history.db
pthread_create error Resource temporarily unavailable
pthread_create error Resource temporarily unavailable
errlogInit failed


Chia-Hao Liu

unread,
Nov 18, 2017, 2:53:52 PM11/18/17
to xpd-...@googlegroups.com
From the error log, it seems this error is purely from ipython, program doesn't even hit the xpd-stack software yet.
Are you running any application in the background? Since in the last error, Ipython complains " RuntimeError: can't start new thread"

Also, does this error persist when you try xpdui again?

On Saturday, November 18, 2017 at 2:30:42 PM UTC-5, Jianming Bai wrote:

Chia-Hao Liu

unread,
Nov 18, 2017, 3:22:52 PM11/18/17
to xpd-...@googlegroups.com
This error was resolved after killing the xpdAn analysis pipeline.

With working with Jianming remotely, we also confirmed there is more than 20G memory left on the workstation at that moment,
The exact reason of this error is still unknown but we will looking in it.

cc: Chris

Christopher Wright

unread,
Dec 21, 2017, 12:14:48 PM12/21/17
to xpd-users
This was caused by the thread pool not being closed, fixed in upstream scikit-beam which is now installed at XPD.
Reply all
Reply to author
Forward
0 new messages