AttributeError: 'SubstitutionPattern' object has no attribute 'split'

Bug #1173233 reported by Terence Eden on 2013-04-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Trying to autotag a flac file

    pytags --format '%{TRACKNUMBER} %t.flac' "11 Besame Mucho.flac"

(and variations including %n %N etc)

Results in the following error

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sclapp/", line 201, in main
    status = realmain(argv)
  File "/usr/lib/python2.7/dist-packages/pytagsfs/", line 192, in main
    return update_tags(values.format, values.operations, args)
  File "/usr/lib/python2.7/dist-packages/pytagsfs/", line 96, in update_tags
    apply_substitution_pattern(tags, substitution_pattern)
  File "/usr/lib/python2.7/dist-packages/pytagsfs/", line 54, in apply_substitution_pattern
    pattern_tags = substitution_pattern.split(filename)
AttributeError: 'SubstitutionPattern' object has no attribute 'split'

Something bad happened, and is most likely a bug.
Please file a bug report to the author.
Include the error message(s) printed here.
exiting with status 255

All other functions of pytags seem to work - just --format which is broken.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers