ountered errors among users and solutions to each.Error initializing rest store

Typically, the error presents itself as:

RuntimeError: Error initializing rest store with URL 'http://127.0.0.1:8237': HTTPConnectionPool(host='127.0.0.1', port=8237): Max retries exceeded with url: /api/v1/login (Caused by

NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9abb198550>: Failed to establish a new connection: [Errno 61] Connection refused'))

If you restarted your machine after deploying ZenML then you have to run zenml up again after each restart. Local ZenML deployments don't survive machine restarts.

Column 'step_configuration' cannot be null

sqlalchemy.exc.IntegrityError: (pymysql.err.IntegrityError) (1048, "Column 'step_configuration' cannot be null")

This happens when a step configuration is too long. We changed the limit from 4K to 65K chars, but it could still happen if you have excessively long strings in your config.

'NoneType' object has no attribute 'name'

This is also a common error you might encounter when you do not have the necessary stack components registered on the stack. For example:

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮

│ /home/dnth/Documents/zenml-projects/nba-pipeline/run_pipeline.py:24 in <module>                  │

│                                                                                                  │

│    21 │   reference_data_splitter,                                                               │

│    22 │   TrainingSplitConfig,                                                                   │

│    23 )                                                                                          │

│ ❱  24 from steps.trainer import random_forest_trainer                                            │

│    25 from steps.encoder import encode_columns_and_clean                                         │