← Back to team overview

phatch-dev team mailing list archive

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

 

Public bug reported:

(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.

** Affects: phatch
     Importance: Undecided
         Status: New


** Tags: fail filename german prefix rename save ufilename variable

** Description changed:

- (on Ubuntu Hardy Heron with backports enabled, amd64-bit version, German
- language)
+ (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.

** Tags added: fail filename german prefix rename save ufilename
variable

-- 
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!: New

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.



Follow ups

References