Public bug reported:

Binary package hint: bitpim

I am attempting to import contacts from Evolution. I get a crash dialog
from BitPim and the error shows that it is looking in
$HOME/evolution/local where it should be looking in
$HOME/.evolution/addressbook/local/system.

Ubuntu 8.04 development branch, updated less than an hour before this
report.

BitPim version: 1.0.2-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/gui.py", line 617, in __call__
    return self.func(*self.args, **self.kwargs)
  File "/usr/share/bitpim/code/importexport.py", line 1938, in 
OnFileImportEvolutionContacts
    dlg=ImportEvolutionDialog(parent, -1, "Import Evolution Contacts", 
native.evolution)
  File "/usr/share/bitpim/code/importexport.py", line 1498, in __init__
    ImportDialog.__init__(self, parent, id, title)
  File "/usr/share/bitpim/code/importexport.py", line 252, in __init__
    self.getcontrols(vbs)
  File "/usr/share/bitpim/code/importexport.py", line 1521, in getcontrols
    self.folder=self.evolution.getfolderfromid(id, True)
  File "/usr/share/bitpim/code/native/evolution/evolution.py", line 237, in 
getfolderfromid
    f=_findfolder(id)
  File "/usr/share/bitpim/code/native/evolution/evolution.py", line 259, in 
_findfolder
    for f in getfolders():
  File "/usr/share/bitpim/code/native/evolution/evolution.py", line 168, in 
getfolders
    return getspecialfolders()+getfsfolders()
  File "/usr/share/bitpim/code/native/evolution/evolution.py", line 109, in 
getfsfolders
    for f in os.listdir(basedir):
OSError: [Errno 2] No such file or directory: '/home/double/evolution/local'

Variables by last 8 frames, innermost last

Frame OnFileImportEvolutionContacts in /usr/share/bitpim/code/importexport.py 
at line 1938
         parent =  <gui.MainWindow; proxy of C++ wxFrame instance at 
_00940009_p_wxFrame>

Frame __init__ in /usr/share/bitpim/code/importexport.py at line 1498
           self =  <importexport.ImportEvolutionDialog; proxy of C++ wxDialog 
instance at _487cf80a
             id =  -1
         parent =  <gui.MainWindow; proxy of C++ wxFrame instance at 
_00940009_p_wxFrame>
          title =  'Import Evolution Contacts'

Frame __init__ in /usr/share/bitpim/code/importexport.py at line 252
             sz =  (600, 30)
          style =  536877632
         parent =  <gui.MainWindow; proxy of C++ wxFrame instance at 
_00940009_p_wxFrame>
          title =  'Import Evolution Contacts'
           self =  <importexport.ImportEvolutionDialog; proxy of C++ wxDialog 
instance at _487cf80a
            vbs =  <wx._core.BoxSizer; proxy of C++ wxBoxSizer instance at 
_7063fd0a_p_wxBoxSizer>
              t =  '<html><body BGCOLOR="#EFEBE7">Importing Evolution Contacts. 
 Select the folder 
              w =  <wx.html.HtmlWindow; proxy of C++ wxPyHtmlWindow instance at 
_a887f80a_p_wxPyHtm
             id =  -1

Frame getcontrols in /usr/share/bitpim/code/importexport.py at line 1521
            vbs =  <wx._core.BoxSizer; proxy of C++ wxBoxSizer instance at 
_7063fd0a_p_wxBoxSizer>
           self =  <importexport.ImportEvolutionDialog; proxy of C++ wxDialog 
instance at _487cf80a
             id =  ''
            hbs =  <wx._core.BoxSizer; proxy of C++ wxBoxSizer instance at 
_1893fd0a_p_wxBoxSizer>

Frame getfolderfromid in /usr/share/bitpim/code/native/evolution/evolution.py 
at line 237
        default =  True
             id =  ''

Frame _findfolder in /usr/share/bitpim/code/native/evolution/evolution.py at 
line 259
             id =  ''

Frame getfolders in /usr/share/bitpim/code/native/evolution/evolution.py
at line 168

Frame getfsfolders in /usr/share/bitpim/code/native/evolution/evolution.py at 
line 109
            res =  Keys []
                   {}
        basedir =  '/home/double/evolution/local'
       children =  []

** Affects: bitpim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
bitpim using wrong directory for importing evolution contacts
https://bugs.launchpad.net/bugs/221006
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to