Package: bitpim
Version: 0.9.08.dfsg.1-1
Severity: normal
When attempting to add an mp3 file by selecting mp3 in the tree
structure on the left, right clicking in the right pane, and
selecting "Add...", I get the dialog to select a file. When I select an
mp3 file, I get an error dialog whose contents are in the attached file.
I have an LG VX8300 connected with a USB cable. There are currently no
mp3 files on the phone.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages bitpim depends on:
ii bitpim-lib 0.9.08.dfsg.1-1 architecture-dependent helper file
ii python 2.4.4-2 An interactive high-level object-o
ii python-apsw 3.3.5r1-2 another Python SQLite 3 wrapper
ii python-crypto 2.0.1+dfsg1-1.2 cryptographic algorithms and proto
ii python-ctypes 1.0.0-1.1 Python package to create and manip
ii python-dsv 1.4.0-4 Python module for delimiter-separa
ii python-paramiko 1.5.2-0.1 make SSH2 connections with python
ii python-serial 2.2-4 Module encapsulating access for th
ii python-support 0.5.6 automated rebuilding support for p
ii python-wxgtk2.6 2.6.3.2.1.5 wxWidgets Cross-platform C++ GUI t
Versions of packages bitpim recommends:
ii netpbm 2:10.0-10.1 Graphics conversion tools
-- no debconf information
BitPim version: 0.9.08-Debian
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "/usr/share/bitpim/code/ringers.py", line 85, in OnAdd
super(RingerView, self).OnAdd(evt)
File "/usr/share/bitpim/code/fileview.py", line 968, in OnAdd
self.OnAddFiles(dlg.GetPaths())
File "/usr/share/bitpim/code/guihelper.py", line 158, in _busywrapper
return method(*args, **kwargs)
File "/usr/share/bitpim/code/ringers.py", line 196, in OnAddFiles
newext,convertinfo=self.mainwindow.phoneprofile.QueryAudio(None,
common.getext(file), afi)
File "/usr/share/bitpim/code/phones/com_lgvx8300.py", line 175, in QueryAudio
return ("mp3", fileinfo.AudioFileInfo(afi, **{'format': 'MP3', 'channels':
1, 'bitrate': 32, 'samplerate': 22050}))
NameError: global name 'fileinfo' is not defined
Variables by last 8 frames, innermost last
Frame MainLoop in
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py at line 7153
args = (<gui.MainApp; proxy of C++ wxPyApp instance at
_18a93f08_p_wxPyApp>,)
kwargs = Keys []
{}
Frame OnRightClick in /usr/share/bitpim/code/fileview.py at line 469
menu = <wx._core.Menu; proxy of C++ wxMenu instance at
_e0ca9908_p_wxMenu>
self = <ringers.RingerView; proxy of C++ wxPanel instance at
_906b9708_p_wxPanel>
evt = <wx._controls.ListEvent; proxy of C++ wxListEvent instance
at _4cdcfbbf_p_wxList
Frame PopupMenu in
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py at line 9790
args = (<aggregatedisplay.Display; proxy of C++ wxScrolledWindow
instance at _00c89708_
kwargs = Keys []
{}
Frame OnAdd in /usr/share/bitpim/code/ringers.py at line 85
self = <ringers.RingerView; proxy of C++ wxPanel instance at
_906b9708_p_wxPanel>
evt = <wx._core.CommandEvent; proxy of C++ wxCommandEvent instance
at _20c6fbbf_p_wxCo
Frame OnAdd in /usr/share/bitpim/code/fileview.py at line 968
self = <ringers.RingerView; proxy of C++ wxPanel instance at
_906b9708_p_wxPanel>
dlg = <wx._windows.FileDialog; proxy of C++ wxFileDialog instance
at _00cfce08_p_wxFil
_ = <wx._core.CommandEvent; proxy of C++ wxCommandEvent instance
at _20c6fbbf_p_wxCo
Frame _busywrapper in /usr/share/bitpim/code/guihelper.py at line 160
args = (<ringers.RingerView; proxy of C++ wxPanel instance at
_906b9708_p_wxPanel>, [u'
method = <function OnAddFiles at 0xb769ed4c>
kwargs = Keys []
{}
Frame OnAddFiles in /usr/share/bitpim/code/ringers.py at line 196
afi = <fileinfo.AudioFileInfo instance at 0xb253538c>
self = <ringers.RingerView; proxy of C++ wxPanel instance at
_906b9708_p_wxPanel>
filenames =
[u'/var/local/audio/Garth_Brooks/In_Pieces/trk06-Aint_Going_Down_(Til_The_Sun_Co
file_stat = (33204, 176768L, 777L, 1, 1000, 50, 4387266L, 1166817116,
1155601393, 1155601393
file =
u'/var/local/audio/Garth_Brooks/In_Pieces/trk06-Aint_Going_Down_(Til_The_Sun_Com
mtime = 1155601393
Frame QueryAudio in /usr/share/bitpim/code/phones/com_lgvx8300.py at line 175
origin = None
self = <phones.com_lgvx8300.Profile instance at 0xb32d632c>
afi = <fileinfo.AudioFileInfo instance at 0xb253538c>
currentextension = u'mp3'