Skip to content

Error saving tags #5

@hobolyra

Description

@hobolyra

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.

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