← Back to team overview

phatch-dev team mailing list archive

[Bug 481751] [NEW] Unable to extract variables from file

 

Public bug reported:

I'm trying to import a few files in Phatch 0.2.4 in Karmic 9.10 64 bit.

I get the following error:
Traceback (most recent call last):
  File "/usr/share/phatch/phatch/core/api.py", line 489, in get_photo
    photo = pil.Photo(info_file, info_not_file)
  File "/usr/share/phatch/phatch/core/pil.py", line 464, in __init__
    layer.image)
  File "/usr/share/phatch/phatch/core/pil.py", line 214, in __init__
    raise Exception(message)
Exception: Unable extract variables from file:/home/lu/Pictures/DRTest/DSC_0080.JPG:
Key must be of type string
*
Error 1:Unable to open file: /home/lu/Pictures/DRTest/DSC_0180.JPG:
Unable extract variables from file:/home/lu/Pictures/DRTest/DSC_0180.JPG:
Key must be of type string


I can definitely see the exif stuff as part of the image... not sure what this is about.
I'm only using the basic save action and this for the Filename: <filename> <Exif_Photo_DateTimeOriginal.year>

** Affects: phatch
     Importance: Undecided
         Status: New

-- 
Unable to extract variables from file
https://bugs.launchpad.net/bugs/481751
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: New

Bug description:
I'm trying to import a few files in Phatch 0.2.4 in Karmic 9.10 64 bit.

I get the following error:
Traceback (most recent call last):
  File "/usr/share/phatch/phatch/core/api.py", line 489, in get_photo
    photo = pil.Photo(info_file, info_not_file)
  File "/usr/share/phatch/phatch/core/pil.py", line 464, in __init__
    layer.image)
  File "/usr/share/phatch/phatch/core/pil.py", line 214, in __init__
    raise Exception(message)
Exception: Unable extract variables from file:/home/lu/Pictures/DRTest/DSC_0080.JPG:
Key must be of type string
*
Error 1:Unable to open file: /home/lu/Pictures/DRTest/DSC_0180.JPG:
Unable extract variables from file:/home/lu/Pictures/DRTest/DSC_0180.JPG:
Key must be of type string


I can definitely see the exif stuff as part of the image... not sure what this is about.
I'm only using the basic save action and this for the Filename: <filename> <Exif_Photo_DateTimeOriginal.year>



Follow ups

References