Skip to content

AttributeError: 'NoneType' object has no attribute 'path' #1149

Closed
@lamres

Description

@lamres

Hi.

Describe the bug

I get this error:
Exception ignored in: <function AutoML.__del__ at 0x7fc570a90430> Traceback (most recent call last): File "/opt/anaconda3/lib/python3.8/site-packages/autosklearn/automl.py", line 1564, in __del__ File "/opt/anaconda3/lib/python3.8/site-packages/autosklearn/util/backend.py", line 155, in delete_directories File "/opt/anaconda3/lib/python3.8/site-packages/autosklearn/util/backend.py", line 108, in temporary_directory AttributeError: 'NoneType' object has no attribute 'path'

To Reproduce

Steps to reproduce the behavior:

  1. Load the model from a pickle.
  2. Make a prediction. The prediction is ok.
  3. This error occurs in the end of code.

Installation

Python 3.8 on MacOS, the version of the auto-sklearn is 0.12.6

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions