Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Important changes in 3.3.10 release You must explicitly call close() on
Connection objects. If you do not call close then a detailed error
message will be printed when Connection's destructor runs and cleanup
will not happen of that connection....

Is it possible that the code has fallen into this error? The previous
OS X build (Roger's build) linked against 3.3.5

Sean



BitPim version: bitpim-trunk-bitpim-4156-developer build
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
File "gui.pyo", line 247, in OnClose
File "gui.pyo", line 244, in goforit
File "gui.pyo", line 527, in makemainwindow
File "gui.pyo", line 871, in __init__
File "phone_root.pyo", line 125, in CreatePhone
File "phone_root.pyo", line 332, in Initialise
File "phone_root.pyo", line 428, in EnsureDatabase
File "database.pyo", line 321, in __init__
MisuseError: MisuseError: library routine called out of sequence

Variables by last 8 frames, innermost last

Frame OnClose in gui.pyo at line 247
self = <gui.MySplashScreen; proxy of C++ wxSplashScreen
instance at _019e6a00_p_wxSplas
evt = <wx._core.CloseEvent; proxy of C++ wxCloseEvent
instance at _bfffcf60_p_wxCloseE

Frame goforit in gui.pyo at line 244
self = <gui.MySplashScreen; proxy of C++ wxSplashScreen
instance at _019e6a00_p_wxSplas

Frame makemainwindow in gui.pyo at line 527
self = <gui.MainApp; proxy of C++ wxPyApp instance at
_02f483c0_p_wxPyApp>
name = None
title = 'BitPim'

Frame __init__ in gui.pyo at line 871
help = 'Export Media Files to a Zip file'
pos = 200
expmenu = <wx._core.Menu; proxy of C++ wxMenu instance at
_02fe15c0_p_wxMenu>
ib = <wx._gdi.IconBundle; proxy of C++ wxIconBundle
instance at _02fdd650_p_wxIconBun
id = -1
title = 'BitPim'
menu = <wx._core.Menu; proxy of C++ wxMenu instance at
_02fe9210_p_wxMenu>
self = <gui.MainWindow; proxy of C++ wxFrame instance at
_019f2600_p_wxFrame>
_desc = 'Execute'
_help = 'Perform Auto Calendar Import'
config = <bp_config.Config instance at 0x443378>
_func = None
impmenu = <wx._core.Menu; proxy of C++ wxMenu instance at
_02fdea70_p_wxMenu>
parent = None
func = <function OnFileExportMediaZip at 0x30297f0>
x = 183
desc = 'Media to Zip File...'
sz = wx.Size(32, 32)
_submenu = <wx._core.Menu; proxy of C++ wxMenu instance at
_02fdf5c0_p_wxMenu>
sb = <guiwidgets.MyStatusBar; proxy of C++ wxStatusBar
instance at _019f3800_p_wxStat
_id = 179
menuBar = <wx._core.MenuBar; proxy of C++ wxMenuBar instance at
_019f4600_p_wxMenuBar>

Frame CreatePhone in phone_root.pyo at line 125
name = 'Phone'
database_name = 'bitpim.db'
phone_id = <wx._controls.TreeItemId; proxy of C++ wxTreeItemId
instance at _18643aa0_p_wxTr
phone = <phone_root.Phone; proxy of C++ wxScrolledWindow
instance at _01a9ea00_p_wxScrol
path = '/Users/ahancock/.bitpim-files'
config = <bp_config.Config instance at 0x443378>
self = <phone_root.PhoneTree; proxy of C++ wxPyTreeCtrl
instance at _019f4a00_p_wxPyTre

Frame Initialise in phone_root.pyo at line 332
blob_path = 'bitpim.db_blobs'
tree = <phone_root.PhoneTree; proxy of C++ wxPyTreeCtrl
instance at _019f4a00_p_wxPyTre
database_name = 'bitpim.db'
phone_id = <wx._controls.TreeItemId; proxy of C++ wxTreeItemId
instance at _18643aa0_p_wxTr
self = <phone_root.Phone; proxy of C++ wxScrolledWindow
instance at _01a9ea00_p_wxScrol
mw = <gui.MainWindow; proxy of C++ wxFrame instance at
_019f2600_p_wxFrame>
path = '/Users/ahancock/.bitpim-files'
config = <bp_config.Config instance at 0x443378>
id = None

Frame EnsureDatabase in phone_root.pyo at line 428
newpath = '/Users/ahancock/.bitpim-files'
self = <phone_root.Phone; proxy of C++ wxScrolledWindow
instance at _01a9ea00_p_wxScrol
oldpath = '/Users/ahancock/.bitpim-files'
vtabs = [{'args': ('/Users/ahancock/.bitpim-files/ringer',),
'modulename': 'ringtonemodu
newdbpath = '/Users/ahancock/.bitpim-files/bitpim.db'
database_file = 'bitpim.db'

Frame __init__ in database.pyo at line 321
self = <database.Database instance at 0x172f4080>
virtualtables = [{'args': ('/Users/ahancock/.bitpim-files/ringer',),
'modulename': 'ringtonemodu
filename = '/Users/ahancock/.bitpim-files/bitpim.db'
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Loading...