Tag-Machine icon indicating copy to clipboard operation
Tag-Machine copied to clipboard

Error saving tags

Open hobolyra opened this issue 1 year ago • 0 comments

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.

hobolyra avatar Jul 30 '23 03:07 hobolyra