Package: python-tagpy
Version: 0.94.5-2
Severity: normal
Hi
tagpy.FileRef(..) is crashing when called with unicode object as argument.
I have a script, created and used without problems on Ubuntu 8.04. It's now
crashing on Debian Lenny...
Simple test script:
aszo...@aszojda-laptop:/tmp$ cat test.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import tagpy
f = tagpy.FileRef(u"la.mp3")
Running it results in a crash:
aszo...@aszojda-laptop:/tmp$ python test.py
Traceback (most recent call last):
File "test.py", line 6, in <module>
f = tagpy.FileRef(u"la.mp3")
File "/usr/lib/python2.5/site-packages/tagpy/__init__.py", line 53, in
__init__
audioPropertiesStyle)
File "/usr/lib/python2.5/site-packages/tagpy/__init__.py", line 115, in create
return module.File(fileName, readAudioProperties, audioPropertiesStyle)
Boost.Python.ArgumentError: Python argument types in
mpeg_File.__init__(mpeg_File, unicode, bool, _tagpy.ReadStyle)
did not match C++ signature:
__init__(_object*, char const*, TagLib::ID3v2::FrameFactory*)
__init__(_object*, char const*, TagLib::ID3v2::FrameFactory*, bool)
__init__(_object*, char const*, TagLib::ID3v2::FrameFactory*, bool,
TagLib::AudioProperties::ReadStyle)
__init__(_object*, char const*)
__init__(_object*, char const*, bool)
__init__(_object*, char const*, bool, TagLib::AudioProperties::ReadStyle)
aszo...@aszojda-laptop:/tmp$
Regards,
Adam Szojda
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-tagpy depends on:
ii libboost-python1.34.1 1.34.1-14 Boost.Python Library
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii libtag1c2a 1.5-3 TagLib Audio Meta-Data Library
ii python 2.5.2-3 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
python-tagpy recommends no packages.
python-tagpy suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]