← Back to team overview

phatch-dev team mailing list archive

[Bug 383889] Re: Save or rename files with new prefix fails with error

 

I was going to say "Sorry, we only deal with bugs against the
development version of Phatch here." Luckily this bug is also present in
the development version, so I'll fix it. However the fix will only be
available through my PPA, which now provides snapshots of the upcoming
Phatch 0.2 These snapshots are still unstable, but once Phatch 0.2 is
matured you could ask for a backport at the ubuntu developers. I have no
powers for that.

The issue is that Phatch tries to reverse translate, but there are two possibilities:
https://translations.launchpad.net/phatch/trunk/+pots/phatch/de/+translate?batch=10&show=all&search=Filename


** Changed in: phatch
   Importance: Undecided => Critical

** Changed in: phatch
       Status: New => Confirmed

** Changed in: phatch
     Assignee: (unassigned) => stani (stani)

-- 
Save or rename files with new prefix fails with error
https://bugs.launchpad.net/bugs/383889
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Confirmed

Bug description:
(Phatch 0.1.3 on Ubuntu Hardy Heron with backports enabled, amd64-bit version, German language)

My task was to resize Images and save them with prefix "t_".


How to reproduce:

With action "save" or "rename"...
Clicking in the value field "Dateiname:" (german for "Filename:")
and adding "t_" as prefix to "<Dateiname>" (german for "<filename>")
results in this error message:

"Filename: the variable 'u'Filename'' doesn't exist."


=> Therefore i can't add prefixes to generated image's filenames.


Perhaps somehow german language-set interferes with Variable names here?



Workaround:
Save the actions list and re-open it with a text-editor.
Then change variable for filename manually.


'Filename': u'<filename>',

could e.g. become

'Filename': u't_<filename>',


Renaming then works in this action list as expected and is displayed correctly in Phatch's action list.



References