question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected Behavior after installation

See original GitHub issue

Describe the bug

So I just installed auto-sklearn (version 0.12.1) as specified on the installation page. Prior to that I installed SWIG (version 3.0.12). The installation process is working fine. However, when I want to test the library I get the following error:

To Reproduce

Steps to reproduce the behavior: $ wget https://automl.github.io/auto-sklearn/master/_downloads/650cd19a8dfee813a7d7fb5b90341ed3/example_classification.py $ python example_classification.py

Expected behavior

example output

Actual behavior, stacktrace or logfile

/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/pyparsing.py:3190: FutureWarning: Possible set intersection at position 3 self.re = re.compile(self.reString) /home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/pyparsing.py:3190: FutureWarning: Possible set intersection at position 3 self.re = re.compile(self.reString) /home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/pyparsing.py:3190: FutureWarning: Possible set intersection at position 3 self.re = re.compile(self.reString) /home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/pyparsing.py:3190: FutureWarning: Possible set intersection at position 3 self.re = re.compile(self.reString) Traceback (most recent call last): File “example_classification.py”, line 35, in <module> automl.fit(X_train, y_train, dataset_name=‘breast_cancer’) File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/estimators.py”, line 591, in fit [ERROR] [2021-01-23 22:07:46,677:Client-AutoML(1):breast_cancer] Dummy prediction failed with run state StatusType.CRASHED and additional output: {‘error’: ‘Result queue is empty’, ‘exit_status’: 0, ‘subprocess_stdout’: 'Exception handling in fit_predict_try_except_decorator: traceback: Traceback (most recent call last):\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/init.py”, line 32, in fit_predict_try_except_decorator\n return ta(queue=queue, **kwargs)\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/train_evaluator.py”, line 1079, in eval_holdout\n evaluator.fit_predict_and_loss(iterative=iterative)\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/train_evaluator.py”, line 611, in fit_predict_and_loss\n self.finish_up(\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/abstract_evaluator.py”, line 333, in finish_up\n self.queue.put(rval_dict)\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/multiprocessing/queues.py”, line 88, in put\n self._start_thread()\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/multiprocessing/queues.py”, line 173, in _start_thread\n self._thread.start()\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/threading.py”, line 852, in start\n _start_new_thread(self.bootstrap, ())\nRuntimeError: can't start new thread\n \nerror message: RuntimeError(“can't start new thread”)\n’, ‘subprocess_stderr’: ‘’, ‘exitcode’: 0, ‘configuration_origin’: ‘DUMMY’}. super().fit( File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/estimators.py”, line 356, in fit self.automl.fit(load_models=self._load_models, **kwargs) File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/automl.py”, line 1386, in fit return super().fit( File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/automl.py”, line 604, in fit self._do_dummy_prediction(datamanager, num_run) File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/automl.py”, line 423, in _do_dummy_prediction raise ValueError( ValueError: Dummy prediction failed with run state StatusType.CRASHED and additional output: {‘error’: ‘Result queue is empty’, ‘exit_status’: 0, ‘subprocess_stdout’: ‘Exception handling in fit_predict_try_except_decorator: traceback: Traceback (most recent call last):\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/init.py”, line 32, in fit_predict_try_except_decorator\n return ta(queue=queue, **kwargs)\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/train_evaluator.py”, line 1079, in eval_holdout\n evaluator.fit_predict_and_loss(iterative=iterative)\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/train_evaluator.py”, line 611, in fit_predict_and_loss\n self.finish_up(\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/site-packages/autosklearn/evaluation/abstract_evaluator.py”, line 333, in finish_up\n self.queue.put(rval_dict)\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/multiprocessing/queues.py”, line 88, in put\n self._start_thread()\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/multiprocessing/queues.py”, line 173, in _start_thread\n self._thread.start()\n File “/home/philipp/miniconda3/envs/AutoML/lib/python3.8/threading.py”, line 852, in start\n _start_new_thread(self._bootstrap, ())\nRuntimeError: can't start new thread\n \nerror message: RuntimeError(“can't start new thread”)\n’, ‘subprocess_stderr’: ‘’, ‘exitcode’: 0, ‘configuration_origin’: ‘DUMMY’}.

Please describe the expected behavior here. If there is a stacktrace, please paste it here. If there is no stacktrace printed, please upload the logfile which was stored in the tmp_folder AutoML(1):breast_cancer.log

Environment and installation:

Ubuntu 20.04.1 LTS Conda environment with python=3.8 Auto-sklearn version 0.12.1 SWIG version 3.0.12

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
wmbjocommented, Feb 25, 2021

I fixed error ‘Result queue is empty’ by upgrading to auto-sklearn 0.12.3 (originally on 0.12.1) sudo pip3 install auto-sklearn --upgrade

OS: MacOS Installation in a conda environment Python version : 3.8 Auto-sklearn version: 0.12.1

0reactions
github-actions[bot]commented, May 14, 2021

This issue has been automatically closed due to inactivity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] - Proxmox unexpected behavior after installation
It's always a problem if disks are left over from other installations. We "fixed" it already for LVM, if a VG called "pve"...
Read more >
Unexpected behavior occurs when you install SMART ...
Unexpected behavior occurs when you install SMART education software on a corrupted Microsoft .NET Framework. When you're installing SMART education ...
Read more >
Fix "You have been kicked due to unexpected client behavior ...
Are you getting a “You have been kicked due to unexpected client behavior ” error in Roblox? The error is also known as...
Read more >
Unexpected behavior of R after install on another EC2 instance
After EC2-specific setup, which included selecting Ubuntu 14.04 LTS as an operating system and some security setup, I installed R and RStudio Server...
Read more >
Troubleshoot unexpected behavior in specific user account
When you are logged in to a particular user account on a Macintosh computer or a computer running Windows 7 or later, an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found