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

Error saving tags #5

Open
hobolyra opened this issue Jul 30, 2023 · 0 comments
Open

Error saving tags #5

hobolyra opened this issue Jul 30, 2023 · 0 comments

Comments

@hobolyra
Copy link

Issue writing tags to images:

Traceback (most recent call last):
  File "C:\Stable_Diffusion\metadata_tagger\UI\MainWindow.py", line 62, in onWriteTagsButtonClicked
    self.m_imageWriter.writeTagsFromPredictionsInImages(lastPredictions)
  File "C:\Stable_Diffusion\metadata_tagger\Model\ImageWriter.py", line 18, in writeTagsFromPredictionsInImages
    iptcInfo.save()
  File "C:\Stable_Diffusion\metadata_tagger\venv\lib\site-packages\iptcinfo3.py", line 627, in save
    return self.save_as(self._filename, options)
  File "C:\Stable_Diffusion\metadata_tagger\venv\lib\site-packages\iptcinfo3.py", line 633, in save_as
    logger.error('Source file %s is not a Jpeg.' % self._fob)
AttributeError: 'IPTCInfo' object has no attribute '_fob'. Did you mean: '_fobj'?

worked previously, tried a git pull, and a new git clone / install as well. Won't save tags any more.

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