Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172630 - app-mobilephone/bitpim-0.9.13 crashes on startup after update from 0.9.10
Summary: app-mobilephone/bitpim-0.9.13 crashes on startup after update from 0.9.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 04:14 UTC by Alex Barker
Modified: 2007-04-02 07:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Barker 2007-03-29 04:14:09 UTC
After start the following happens:

# bitpim
setting windows/ConfigDialog to position 432, 376
database integrity check
database integrity check complete

*** Error Dialog is displayed ***

BitPim version: releases-0.9.13-4150-Gentoo
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "/usr/lib64/bitpim-0.9.13/gui.py", line 248, in OnClose
    self.goforit()
  File "/usr/lib64/bitpim-0.9.13/gui.py", line 245, in goforit
    self.app.makemainwindow()
  File "/usr/lib64/bitpim-0.9.13/gui.py", line 528, in makemainwindow
    self.frame=MainWindow(None, -1, title, self.config)
  File "/usr/lib64/bitpim-0.9.13/gui.py", line 872, in __init__
    self.tree.CreatePhone("Phone", self.config, self.configpath, "bitpim.db")
  File "/usr/lib64/bitpim-0.9.13/phone_root.py", line 125, in CreatePhone
    phone.Initialise(self, self.mw, config, path, phone_id, database_name)
  File "/usr/lib64/bitpim-0.9.13/phone_root.py", line 332, in Initialise
    self.EnsureDatabase(self.path, self.path, database_name)
  File "/usr/lib64/bitpim-0.9.13/phone_root.py", line 428, in EnsureDatabase
    self.database=database.Database(newdbpath, vtabs)
  File "/usr/lib64/bitpim-0.9.13/database.py", line 351, in __init__
    self.connection.createmodule(vtable['modulename'],
AttributeError: 'apsw.Connection' object has no attribute 'createmodule'

Variables by last 8 frames, innermost last

Frame OnClose in /usr/lib64/bitpim-0.9.13/gui.py at line 248
           self =  <gui.MySplashScreen; proxy of C++ wxSplashScreen instance at _0078430100000000_p
            evt =  <wx._core.CloseEvent; proxy of C++ wxCloseEvent instance at _f0e7cd22ff7f0000_p_

Frame goforit in /usr/lib64/bitpim-0.9.13/gui.py at line 245
           self =  <gui.MySplashScreen; proxy of C++ wxSplashScreen instance at _0078430100000000_p

Frame makemainwindow in /usr/lib64/bitpim-0.9.13/gui.py at line 528
           self =  <gui.MainApp; proxy of C++ wxPyApp instance at _50abcf0000000000_p_wxPyApp>
           name =  None
          title =  'BitPim'

Frame __init__ in /usr/lib64/bitpim-0.9.13/gui.py at line 872
           help =  'Export Media Files to a Zip file'
            pos =  429
        expmenu =  <wx._core.Menu; proxy of C++ wxMenu instance at _e01b4a0100000000_p_wxMenu>
             ib =  <wx._gdi.IconBundle; proxy of C++ wxIconBundle instance at _201b480100000000_p_w
             id =  -1
          title =  'BitPim'
           menu =  <wx._core.Menu; proxy of C++ wxMenu instance at _70804b0100000000_p_wxMenu>
           self =  <gui.MainWindow; proxy of C++ wxFrame instance at _c040450100000000_p_wxFrame>
          _desc =  'Execute'
          _help =  'Perform Auto Calendar Import'
         config =  <bp_config.Config instance at 0x2b4888810908>
          _func =  None
        impmenu =  <wx._core.Menu; proxy of C++ wxMenu instance at _d07c490100000000_p_wxMenu>
         parent =  None
           func =  <function OnFileExportMediaZip at 0xfe8e60>
              x =  183
           desc =  'Media to Zip File...'
             sz =  wx.Size(32, 32)
       _submenu =  <wx._core.Menu; proxy of C++ wxMenu instance at _408d490100000000_p_wxMenu>
             sb =  <guiwidgets.MyStatusBar; proxy of C++ wxStatusBar instance at _005c450100000000_
            _id =  179
        menuBar =  <wx._core.MenuBar; proxy of C++ wxMenuBar instance at _30ef480100000000_p_wxMenu

Frame CreatePhone in /usr/lib64/bitpim-0.9.13/phone_root.py at line 125
           name =  'Phone'
  database_name =  'bitpim.db'
       phone_id =  <wx._controls.TreeItemId; proxy of C++ wxTreeItemId instance at _a0d1a0010000000
          phone =  <phone_root.Phone; proxy of C++ wxScrolledWindow instance at _80d1400100000000_p
           path =  '/home/kwhat/.bitpim-files'
         config =  <bp_config.Config instance at 0x2b4888810908>
           self =  <phone_root.PhoneTree; proxy of C++ wxPyTreeCtrl instance at _203e560100000000_p

Frame Initialise in /usr/lib64/bitpim-0.9.13/phone_root.py at line 332
      blob_path =  'bitpim.db_blobs'
           tree =  <phone_root.PhoneTree; proxy of C++ wxPyTreeCtrl instance at _203e560100000000_p
  database_name =  'bitpim.db'
       phone_id =  <wx._controls.TreeItemId; proxy of C++ wxTreeItemId instance at _a0d1a0010000000
           self =  <phone_root.Phone; proxy of C++ wxScrolledWindow instance at _80d1400100000000_p
             mw =  <gui.MainWindow; proxy of C++ wxFrame instance at _c040450100000000_p_wxFrame>
           path =  '/home/kwhat/.bitpim-files'
         config =  <bp_config.Config instance at 0x2b4888810908>
             id =  None

Frame EnsureDatabase in /usr/lib64/bitpim-0.9.13/phone_root.py at line 428
        newpath =  '/home/kwhat/.bitpim-files'
           self =  <phone_root.Phone; proxy of C++ wxScrolledWindow instance at _80d1400100000000_p
        oldpath =  '/home/kwhat/.bitpim-files'
          vtabs =  [{'args': ('/home/kwhat/.bitpim-files/ringer',), 'modulename': 'ringtonemodule',
      newdbpath =  '/home/kwhat/.bitpim-files/bitpim.db'
  database_file =  'bitpim.db'

Frame __init__ in /usr/lib64/bitpim-0.9.13/database.py at line 351
  virtualtables =  [{'args': ('/home/kwhat/.bitpim-files/ringer',), 'modulename': 'ringtonemodule',
         vtable =  Keys ['args', 'moduleclass', 'modulename', 'tablename']
                   {'args': ('/home/kwhat/.bitpim-files/ringer',), 'modulename': 'ringtonemodule', 
         icheck =  'ok'
           self =  <database.Database instance at 0x1891bd8>
       filename =  '/home/kwhat/.bitpim-files/bitpim.db'
            row =  ('ok',)


Reproducible: Always

Steps to Reproduce:
1. Start bitpim

Actual Results:  
Error dialog is displayed program hangs and does not fully crash out.

Expected Results:  
Bitpim starts and displays the window.

Splash screen is displayed... Maybe i need to update python again?
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-03-29 07:34:32 UTC
What version of apsw do you have?
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2007-03-30 08:15:01 UTC
fixed in cvs, by replacing apsw dependency atom with >=dev-python/apsw-3.3.10.1.
Comment 3 Alex Barker 2007-04-02 07:39:43 UTC
At the time of crash dev-python/apsw-3.3.5.1 was installed.