Skip to content

wrong error message when frictionless[excel] is not installed #1756

@jze

Description

@jze

When I try to process an Excel table after a fresh pip install frictionless I get this error message:

[format-error] The data source could not be successfully parsed: invalid excel file "table.xlsx" 

However, the error message should be something like "To process excel files you need to install frictionless[excel]"

Steps to reproduces

docker run -it --rm python:3.12-alpine /bin/sh
pip install frictionless
wget https://github.com/frictionlessdata/frictionless-py/raw/refs/heads/main/data/table.xlsx
frictionless describe table.xlsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions