Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andy8992 opened this issue Aug 18, 2024 · 1 comment

Comments

@andy8992
Copy link

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.

@andy8992
Copy link
Author

Meh.. this extension seems to be broken in multiple ways as soon as i fix something I find another thing

i can generate images but they're still only being saved in the temp folder, when moved over manually my inspiration extension tab dissapears

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant