Skip to content

I had an issue with an None Type Error occurring, with ChatGPT's help I fixed it and this script now runs for me.  #43

@andy8992

Description

@andy8992

So I was getting an error

AttributeError: 'NamedString' object has no attribute 'orig_name'
'NamedString' object has no attribute 'orig_name' 

and no images would get generated. With ChatGPT’s help, I found out that changing orig_name to just name fixed the issue. Now the extension works as intended.

Steps to Reproduce:

Set up the extension following the README instructions.
Upload a text file with artist names (e.g., artist.csv).
Run the extension.
Expected Behavior: The extension should process the uploaded file and generate inspiration images without any issues.

Actual Behavior: The extension throws an AttributeError because it tries to access an attribute orig_name that doesn’t exist on the file object.

Changing file.orig_name to file.name fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions