Re: Calendar Entry Editor
Stephen Wood <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
I don't think the exception log helps. It looks like a wx problem,
perhaps specific to Linux. in getcurrententry,
self.listbox.GetSelection() must be returning -1 so that
getcurrententry returns None instead of self.getentry(i). If I just
force getcurrententry to return self.getentry(0), then I can save the
entry I am editing. (Into the first entry of a given day of course)
What I notices is that as soon as I change something about a calendar
entry, the listbox goes grey.
Stephen
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "/home/saw/BITPIM/bitpim/calendarentryeditor.py", line 611, in
OnSaveButton
if entry.repeat is not None:
AttributeError: 'NoneType' object has no attribute 'repeat'
Variables by last 8 frames, innermost last
Frame ? in ./bp.py at line 79
profile = <function profile at 0xbf57080c>
__file__ = './bp.py'
__name__ = '__main__'
__doc__ = 'Main entry point to Bitpim\n\nIt invokes BitPim in
gui or commandline mode as a
Frame run in /home/saw/BITPIM/bitpim/gui.py at line 428
args = (['./bp.py'],)
m = <gui.MainApp; proxy of C++ wxPyApp instance at
_6059ca08_p_wxPyApp>
Frame MainLoop in /usr/lib/python2.3/site-packages/wx/_core.py at line 5262
self = <gui.MainApp; proxy of C++ wxPyApp instance at
_6059ca08_p_wxPyApp>
Frame MainLoop in /usr/lib/python2.3/site-packages/wx/_core.py at line 4732
args = (<gui.MainApp; proxy of C++ wxPyApp instance at
_6059ca08_p_wxPyApp>,)
kwargs = Keys []
{}
Frame OnSaveButton in /home/saw/BITPIM/bitpim/calendarentryeditor.py at line 611
entry = None
self = <calendarentryeditor.Editor; proxy of C++ wxDialog
instance at _7846f208_p_wxDia
evt = <wx._core.CommandEvent; proxy of C++ wxCommandEvent
instance at _50c9ebbf_p_wxCo
res = 1
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl