Discussion:
[Bitpim-devel] Troubles with importing csv's (0.7 test)
Somerlot, Chris
2004-01-07 20:15:20 UTC
Permalink
I get the following error when I try to import from a csv generated in Palm
Desktop, and I get a similar one with a csv from Outlook.

An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
File "gui.pyo", line 653, in OnFileImport
File "importexport.pyo", line 517, in OnImportCSVPhoneBook
File "importexport.pyo", line 365, in GetFormattedData
Exception: Internal conversion failed to complete on ['', 'Brud', '',
'Tibbits', '', 'United Computer Capital Corp.', '', '', '5823 Widewaters
Parkway', '', '', 'E. Syracuse', 'NY', '13057', 'United States of America',
'', '', '', '', '0', 'Unfiled']
Still to do: {'Category': ['Unfiled'], 'Private': '0'}

Variables by last 6 frames, innermost last

Frame run in gui.pyo at line 332
args = (['C:\\Program Files\\BitPim\\bitpim.exe'],)
m = <gui.MainApp instance; proxy of C++ wxPyApp instance at
_9dc

Frame MainLoop in wxPython\wx.pyo at line 1974
self = <gui.MainApp instance; proxy of C++ wxPyApp instance at
_9dc

Frame MainLoop in wxPython\wx.pyo at line 92
_kwargs = {}
self = <gui.MainApp instance; proxy of C++ wxPyApp instance at
_9dc
_args = ()

Frame OnFileImport in gui.pyo at line 653
path = 'C:\\Documents and Settings\\csomerlot\\My
Documents\\bitpim
self = <gui.MainWindow instance; proxy of C++ wxFrame instance
at _
dlg = wxPython wrapper for DELETED wxFileDialog object! (The
C++ o
_ = <wxPython.events.wxCommandEventPtr instance; proxy of C++
wx

Frame OnImportCSVPhoneBook in importexport.pyo at line 517
dlg = <importexport.ImportCSVDialog instance; proxy of C++
wxDialo
phonebook = <phonebook.PhoneWidget instance; proxy of C++ wxPanel
instan
data = None
parent = <gui.MainWindow instance; proxy of C++ wxFrame instance
at _
path = 'C:\\Documents and Settings\\csomerlot\\My
Documents\\bitpim

Frame GetFormattedData in importexport.pyo at line 365
prefix = 'Business'
numbers = [{'type': 'home', 'number': 'United Computer Capital
Corp.'}
addr = {'company': 'Tibbits', 'type': 'business'}
val = 'United Computer Capital Corp.'
res = {0: {'numbers': [{'type': 'home', 'number': 'United
Computer
self = <importexport.ImportCSVDialog instance; proxy of C++
wxDialo
field = 'Nickname'
rec = {'Category': ['Unfiled'], 'Private': '0'}
type = 'business'
key = 'Business Web Page'
emails = [{'email': '5823 Widewaters Parkway'}]
shortk = 'Country/Region'
count = 0
c = 'Category'
e = '5823 Widewaters Parkway'
name = {'first': 'Brud'}
fields = ['Business Street', 'Business City', 'Business Postal
Code',
k = 'Business Country/Region'
n = 20
record = ['', 'Brud', '', 'Tibbits', '', 'United Computer Capital
Cor
urls = []
entry = {'numbers': [{'type': 'home', 'number': 'United Computer
Cap

Loading...