Your message dated Tue, 12 May 2015 14:39:43 +0200
with message-id 
<caea6raxhhgygn3vx8a+zqjcoqkswkzo4kzbrnjq1xcyljc-...@mail.gmail.com>
and subject line Re: [455481] python-mutagen fails to write tags
has caused the Debian Bug report #455481,
regarding python-mutagen fails to write tags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
455481: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455481
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-mutagen
Version: 1.11-1
Severity: normal

I'm running python-mutagen via dir2ogg to convert wma files to ogg, and tags
are not written.

Following error is outputed to the terminal:

Warning: Could not save the tags
Traceback (most recent call last):
  File "/usr/bin/dir2ogg", line 384, in convert
    myogg.save()
  File "/usr/lib/python2.4/site-packages/mutagen/ogg.py", line 492, in save
    try: self.tags._inject(fileobj)
  File "/usr/lib/python2.4/site-packages/mutagen/oggvorbis.py", line 98, in 
_inject
    packets[0] = "\x03vorbis" + self.write()
  File "/usr/lib/python2.4/site-packages/mutagen/_vorbis.py", line 143, in write
    self.validate()
  File "/usr/lib/python2.4/site-packages/mutagen/_vorbis.py", line 126, in 
validate
    except: raise ValueError("%r is not a valid value" % value)
ValueError: ASFUnicodeAttribute(u'SelmaSongs (Soundtrack - Dancer in the 
dark)') is not a valid value

Thanks,

--
Yves-Alexis

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-mutagen depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.5.15     register and build utility for Pyt

python-mutagen recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
2014-01-26 16:45 GMT+01:00 Pete Wyckoff <[email protected]>:
> I took a look at this old bug, and tracked it down
> to a unicode conversion problem in dir2ogg.  The ASF
> objects were getting as values for Vorbis comments.
> mutagen.vorbis.VComment expects that all tag values
> are unicode already, not, e.g., ASFUnicodeAttribute
> or other WMA tag types.
>
> The fix to dir2ogg is to do the conversion from
> ASF to unicode before building vorbis tags.  Looks like
> this was fixed in 2008:
>
>     http://bazaar.launchpad.net/~juliank/dir2ogg/main/revision/54
>
> Julian, if you agree with this assessment, can you
> take this bug to dir2ogg and mark it fixed?
>
> Thanks,
>
>                 -- Pete

Yep, this should be fixed already.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

--- End Message ---

Reply via email to