ImportError: No module named _strptime
Matt Hirsch <[email protected]> Fri, 11 Jun 2010 16:55:14 -0400
| Newsgroups | gmane.comp.mobile.bitpim.user |
|---|---|
| Message-ID | <[email protected]> |
Whenever I try to store a memo on my lgvx9600 phone I get this error: Traceback (most recent call last): File "src/gui.py", line 284, in run File "src/gui.py", line 159, in __call__ File "src/gui.py", line 1927, in sendata File "src/gui.py", line 1967, in writememo File "src/phones/com_lgvx8100.py", line 206, in savememo ImportError: No module named _strptime I installed the bitpim-1.0.7-0.i386 rpm from bitpim.org. I'm using Fedora 13. I have python-2.6.4-25.fc13.i686 installed. I have these files: /usr/lib/python2.6/_strptime.py /usr/lib/python2.6/_strptime.pyc /usr/lib/python2.6/_strptime.pyo Otherwise, bitpim seems to work fine. What am I missing? Thanks for your help, Matt The following is the contents of the bpbug report generated by bitpim: BitPim Trouble Report Fri Jun 11 16:40:32 2010 BitPim Version: 1.0.7 - unofficial Platorm: Linux-2.6.33.5-112.fc13.x86_64-x86_64-with-redhat-13-Goddard, Architecture: 32bit ELF, Dist: redhat 13 Goddard Phone Model: LG-VX9600 (Versa) Name: ImportError: No module named _strptime email: [email protected] Description: Whenever I try to store a memo on my lgvx9600 phone I get this error: Traceback (most recent call last): File "src/gui.py", line 284, in run File "src/gui.py", line 159, in __call__ File "src/gui.py", line 1927, in sendata File "src/gui.py", line 1967, in writememo File "src/phones/com_lgvx8100.py", line 206, in savememo ImportError: No module named _strptime I installed the bitpim-1.0.7-0.i386 rpm from bitpim.org. I'm using Fedora 13. I have python-2.6.4-25.fc13.i686 installed. I have these files: /usr/lib/python2.6/_strptime.py /usr/lib/python2.6/_strptime.pyc /usr/lib/python2.6/_strptime.pyo Otherwise, bitpim seems to work fine. Exception: BitPim version: 1.0.7-unofficial An unexpected exception has occurred. Please see the help for details on what to do. Traceback (most recent call last): File "src/gui.py", line 284, in run File "src/gui.py", line 159, in __call__ File "src/gui.py", line 1927, in senddata File "src/gui.py", line 1967, in writememo File "src/phones/com_lgvx8100.py", line 206, in savememo ImportError: No module named _strptime Variables by last 8 frames, innermost last Frame run in src/gui.py at line 277 resultcb = <gui.Callback instance at 0xb723f4c> res = None self = <WorkerThread(BitPim helper, started daemon)> item = (<gui.Request instance at 0xb720a2c>, <gui.Callback instance at 0xb723f4c>) call = <gui.Request instance at 0xb720a2c> ex = ImportError('No module named _strptime',) e = ImportError('No module named _strptime',) first = 0 Frame __call__ in src/gui.py at line 159 self = <gui.Request instance at 0xb720a2c> args = () d = Keys [] {} kwargs = Keys [] {} Frame senddata in src/gui.py at line 1927 count = 0 self = <WorkerThread(BitPim helper, started daemon)> args = [{'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lim xx = (<bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started da dict = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime func = <bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started dae todo = [(<bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started d desc = 'Memo' Frame writememo in src/gui.py at line 1967 merge = False self = <WorkerThread(BitPim helper, started daemon)> data = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime Frame savememo in src/phones/com_lgvx8100.py at line 206 keys = [u'1276286590.544005', u'1276287442.963010'] k = u'1276286590.544005' merge = False result = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime entry = <phones.p_lgvx8550.textmemo object at 0xc29714c> memo_dict = Keys [u'1276286590.544005', u'1276287442.963010'] {u'1276286590.544005': <memo.MemoEntry object at 0xc2975ac>, u'1276287442.963010 self = <phones.com_lgvx9600.Phone object at 0xc29762c> text_memo = <phones.p_lgvx8550.textmemofile object at 0xb71d1ec> BitPim Log: 16:33:33.474 USB Comm Watch started 16:33:41.274 /dev/rfcomm0: Opening port /dev/rfcomm0, 115200 baud, timeout 3.000000, hardwareflow 0, softwareflow 0 16:33:42.599 /dev/rfcomm0: Open of comm port suceeded 16:33:42.599 LG-VX9600 (Versa): Attempting to contact phone 16:33:42.660 LG-VX9600 (Versa): Retrieving fundamental phone information 16:33:42.660 LG-VX9600 (Versa): Phone serial number 16:33:42.661 LG-VX9600 (Versa): Now in brew mode 16:33:42.663 LG-VX9600 (Versa): Reading group information 16:33:42.966 LG-VX9600 (Versa): stat file pim/pbgroup.dat 16:33:42.999 LG-VX9600 (Versa): Getting file contents 'pim/pbgroup.dat' 16:33:42.999 LG-VX9600 (Versa): Open file 'pim/pbgroup.dat' 16:33:43.127 LG-VX9600 (Versa): Close file 16:33:43.197 LG-VX9600 (Versa): Reading wallpaper-index 16:33:43.332 LG-VX9600 (Versa): stat file dload/image.dat 16:33:43.368 LG-VX9600 (Versa): Getting file contents 'dload/image.dat' 16:33:43.368 LG-VX9600 (Versa): Open file 'dload/image.dat' 16:33:46.294 LG-VX9600 (Versa): Close file 16:33:47.724 LG-VX9600 (Versa): stat file dload/sd_image.dat 16:33:47.724 LG-VX9600 (Versa): Getting file contents 'dload/sd_image.dat' 16:33:47.724 LG-VX9600 (Versa): Open file 'dload/sd_image.dat' 16:33:47.725 LG-VX9600 (Versa): Close file 16:33:47.734 LG-VX9600 (Versa): stat file dload/video.dat 16:33:47.735 LG-VX9600 (Versa): Getting file contents 'dload/video.dat' 16:33:47.735 LG-VX9600 (Versa): Open file 'dload/video.dat' 16:33:47.760 LG-VX9600 (Versa): Close file 16:33:47.781 LG-VX9600 (Versa): stat file dload/sd_video.dat 16:33:47.916 LG-VX9600 (Versa): Getting file contents 'dload/sd_video.dat' 16:33:47.916 LG-VX9600 (Versa): Open file 'dload/sd_video.dat' 16:33:47.917 LG-VX9600 (Versa): Close file 16:33:47.922 LG-VX9600 (Versa): Reading ringtone-index 16:33:48.055 LG-VX9600 (Versa): stat file dload/myringtone.dat 16:33:48.102 LG-VX9600 (Versa): Getting file contents 'dload/myringtone.dat' 16:33:48.102 LG-VX9600 (Versa): Open file 'dload/myringtone.dat' 16:33:48.186 LG-VX9600 (Versa): Close file 16:33:48.383 LG-VX9600 (Versa): stat file dload/mysound.dat 16:33:48.441 LG-VX9600 (Versa): Getting file contents 'dload/mysound.dat' 16:33:48.441 LG-VX9600 (Versa): Open file 'dload/mysound.dat' 16:33:48.579 LG-VX9600 (Versa): Close file 16:33:48.769 LG-VX9600 (Versa): stat file dload/sd_sound.dat 16:33:48.821 LG-VX9600 (Versa): Getting file contents 'dload/sd_sound.dat' 16:33:48.821 LG-VX9600 (Versa): Open file 'dload/sd_sound.dat' 16:33:48.919 LG-VX9600 (Versa): Close file 16:33:49.133 LG-VX9600 (Versa): stat file dload/efs_music.dat 16:33:49.184 LG-VX9600 (Versa): Getting file contents 'dload/efs_music.dat' 16:33:49.184 LG-VX9600 (Versa): Open file 'dload/efs_music.dat' 16:33:49.257 LG-VX9600 (Versa): Close file 16:33:49.464 LG-VX9600 (Versa): stat file dload/sd_music.dat 16:33:49.487 LG-VX9600 (Versa): Getting file contents 'dload/sd_music.dat' 16:33:49.487 LG-VX9600 (Versa): Open file 'dload/sd_music.dat' 16:33:49.512 LG-VX9600 (Versa): Close file 16:33:49.538 LG-VX9600 (Versa): Fundamentals retrieved 16:33:49.573 Exception: BitPim version: 1.0.7-unofficial An unexpected exception has occurred. Please see the help for details on what to do. Traceback (most recent call last): File "src/gui.py", line 284, in run File "src/gui.py", line 159, in __call__ File "src/gui.py", line 1927, in senddata File "src/gui.py", line 1967, in writememo File "src/phones/com_lgvx8100.py", line 206, in savememo ImportError: No module named _strptime Variables by last 8 frames, innermost last Frame run in src/gui.py at line 277 resultcb = <gui.Callback instance at 0xb723f4c> res = None self = <WorkerThread(BitPim helper, started daemon)> item = (<gui.Request instance at 0xb720a2c>, <gui.Callback instance at 0xb723f4c>) call = <gui.Request instance at 0xb720a2c> ex = ImportError('No module named _strptime',) e = ImportError('No module named _strptime',) first = 0 Frame __call__ in src/gui.py at line 159 self = <gui.Request instance at 0xb720a2c> args = () d = Keys [] {} kwargs = Keys [] {} Frame senddata in src/gui.py at line 1927 count = 0 self = <WorkerThread(BitPim helper, started daemon)> args = [{'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lim xx = (<bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started da dict = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime func = <bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started dae todo = [(<bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started d desc = 'Memo' Frame writememo in src/gui.py at line 1967 merge = False self = <WorkerThread(BitPim helper, started daemon)> data = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime Frame savememo in src/phones/com_lgvx8100.py at line 206 keys = [u'1276286590.544005', u'1276287442.963010'] k = u'1276286590.544005' merge = False result = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime entry = <phones.p_lgvx8550.textmemo object at 0xc29714c> memo_dict = Keys [u'1276286590.544005', u'1276287442.963010'] {u'1276286590.544005': <memo.MemoEntry object at 0xc2975ac>, u'1276287442.963010 self = <phones.com_lgvx9600.Phone object at 0xc29762c> text_memo = <phones.p_lgvx8550.textmemofile object at 0xb71d1ec> BitPim Protocol Data: 16:33:33.474 USB Comm Watch started 16:33:41.274 /dev/rfcomm0: Opening port /dev/rfcomm0, 115200 baud, timeout 3.000000, hardwareflow 0, softwareflow 0 16:33:42.599 /dev/rfcomm0: Open of comm port suceeded 16:33:42.599 LG-VX9600 (Versa): Attempting to contact phone 16:33:42.660 LG-VX9600 (Versa): Retrieving fundamental phone information 16:33:42.660 LG-VX9600 (Versa): Phone serial number 16:33:42.661 LG-VX9600 (Versa): sendbrewcommand Data - 2 bytes <#! phones.p_brew.memoryconfigrequest !#> 00000000 59 0c Y. 16:33:42.661 LG-VX9600 (Versa): brew response Data - 7 bytes <#! phones.p_brew.memoryconfigresponse !#> 00000000 59 0c 00 00 08 67 0c Y....g. 16:33:42.662 LG-VX9600 (Versa): Now in brew mode 16:33:42.662 LG-VX9600 (Versa): sendbrewcommand Data - 1 bytes <#! phones.p_brew.ESN_req !#> 00000000 01 . 16:33:42.662 LG-VX9600 (Versa): brew response Data - 5 bytes <#! phones.p_brew.ESN_resp !#> 00000000 01 3c 92 2a 80 .<.*. 16:33:42.663 LG-VX9600 (Versa): Reading group information 16:33:42.663 LG-VX9600 (Versa): sendbrewcommand Data - 8 bytes <#! phones.p_lg.DMKeyReq !#> 00000000 fe 00 00 00 00 00 00 00 ........ 16:33:42.719 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMKeyResp !#> 00000000 fe 02 d5 72 1e 5d 01 00 00 00 00 00 00 00 00 00 ...r.].......... 00000010 00 00 00 00 00 00 00 00 ........ 16:33:42.720 LG-VX9600 (Versa): sendbrewcommand Data - 24 bytes <#! phones.p_lg.DMEnterReq !#> 00000000 fe 03 30 60 da 80 00 00 cf cf cf cf 9f 9f 9f 9f ..0`............ 00000010 25 25 25 25 7f 7f 7f 7f %%%%.... 16:33:42.761 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMEnterResp !#> 00000000 fe 03 cd 3b 1c 61 00 00 0f 06 0c 06 05 0a 0f 0e ...;.a.......... 00000010 0c 0e 03 0e 04 0a 03 0a ........ 16:33:42.763 LG-VX9600 (Versa): sendbrewcommand Data - 8 bytes <#! phones.p_lg.DMKeyReq !#> 00000000 fe 00 00 00 00 00 00 00 ........ 16:33:42.842 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMKeyResp !#> 00000000 fe 02 0a 9e f2 42 01 00 00 00 00 00 00 00 00 00 .....B.......... 00000010 00 00 00 00 00 00 00 00 ........ 16:33:42.843 LG-VX9600 (Versa): sendbrewcommand Data - 24 bytes <#! phones.p_lg.DMEnterReq !#> 00000000 fe 03 05 1a 48 80 00 00 7f 7f 7f 7f fa fa fa fa ....H........... 00000010 e5 e5 e5 e5 b7 b7 b7 b7 ........ 16:33:42.843 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMEnterResp !#> 00000000 fe 03 14 0b 83 6d 00 00 08 0e 0a 08 08 01 03 0e .....m.......... 00000010 06 06 00 04 04 0e 0b 09 ........ 16:33:42.843 LG-VX9600 (Versa): sendbrewcommand Data - 8 bytes <#! phones.p_lg.DMKeyReq !#> 00000000 fe 00 00 00 00 00 00 00 ........ 16:33:42.866 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMKeyResp !#> 00000000 fe 02 2f 10 da 46 01 00 00 00 00 00 00 00 00 00 ../..F.......... 00000010 00 00 00 00 00 00 00 00 ........ 16:33:42.866 LG-VX9600 (Versa): sendbrewcommand Data - 24 bytes <#! phones.p_lg.DMEnterReq !#> 00000000 fe 03 74 b9 3d 80 00 00 c2 c2 c2 c2 7f 7f 7f 7f ..t.=........... 00000010 8b 8b 8b 8b 46 46 46 46 ....FFFF 16:33:42.881 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMEnterResp !#> 00000000 fe 03 f3 2c ab 03 01 00 0a 04 07 05 0d 0a 0a 03 ...,............ 00000010 06 08 02 01 0a 08 01 07 ........ 16:33:42.881 LG-VX9600 (Versa): sendbrewcommand Data - 8 bytes <#! phones.p_lg.DMKeyReq !#> 00000000 fe 00 00 00 00 00 00 00 ........ 16:33:42.900 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMKeyResp !#> 00000000 fe 02 21 32 92 44 01 00 00 00 00 00 00 00 00 00 ..!2.D.......... 00000010 00 00 00 00 00 00 00 00 ........ 16:33:42.900 LG-VX9600 (Versa): sendbrewcommand Data - 24 bytes <#! phones.p_lg.DMEnterReq !#> 00000000 fe 03 3e e0 fc 80 00 00 03 03 03 03 7f 7f 7f 7f ..>............. 00000010 c1 c1 c1 c1 1f 1f 1f 1f ........ 16:33:42.966 LG-VX9600 (Versa): brew response Data - 24 bytes <#! phones.p_lg.DMEnterResp !#> 00000000 fe 03 16 a1 2c 75 01 00 08 02 0f 08 08 00 08 0f ....,u.......... 00000010 00 00 04 0a 02 09 07 0b ........ 16:33:42.966 LG-VX9600 (Versa): stat file pim/pbgroup.dat 16:33:42.966 LG-VX9600 (Versa): sendbrewcommand Data - 20 bytes <#! phones.p_brew.new_statfilerequest !#> 00000000 4b 13 0f 00 70 69 6d 2f 70 62 67 72 6f 75 70 2e K...pim/pbgroup. 00000010 64 61 74 00 dat. 16:33:42.989 LG-VX9600 (Versa): brew response Data - 32 bytes <#! phones.p_brew.new_statfileresponse !#> 00000000 4b 13 0f 00 00 00 00 00 80 81 00 00 38 04 00 00 K...........8... 00000010 01 00 00 00 00 00 00 00 80 3d d5 12 80 3d d5 12 .........=...=.. 00000020 16:33:42.999 LG-VX9600 (Versa): Getting file contents 'pim/pbgroup.dat' 16:33:43.000 LG-VX9600 (Versa): Open file 'pim/pbgroup.dat' 16:33:43.000 LG-VX9600 (Versa): sendbrewcommand Data - 28 bytes <#! phones.p_brew.new_openfilerequest !#> 00000000 4b 13 02 00 00 00 00 00 00 00 00 00 70 69 6d 2f K...........pim/ 00000010 70 62 67 72 6f 75 70 2e 64 61 74 00 pbgroup.dat. 16:33:43.035 LG-VX9600 (Versa): brew response Data - 12 bytes <#! phones.p_brew.new_openfileresponse !#> 00000000 4b 13 02 00 00 00 00 00 00 00 00 00 K........... 16:33:43.045 LG-VX9600 (Versa): sendbrewcommand Data - 16 bytes <#! phones.p_brew.new_readfilerequest !#> 00000000 4b 13 04 00 00 00 00 00 00 04 00 00 00 00 00 00 K............... 00000010 !!!!!!!!!! Stripped out for privacy !!!!!!!!!!!!! 16:33:49.511 LG-VX9600 (Versa): brew response Data - 20 bytes <#! phones.p_brew.new_readfileresponse !#> 00000000 4b 13 04 00 00 00 00 00 00 00 00 00 00 00 00 00 K............... 00000010 00 00 00 00 .... 16:33:49.512 LG-VX9600 (Versa): Close file 16:33:49.512 LG-VX9600 (Versa): sendbrewcommand Data - 8 bytes <#! phones.p_brew.new_closefilerequest !#> 00000000 4b 13 03 00 00 00 00 00 K....... 16:33:49.533 LG-VX9600 (Versa): brew response Data - 8 bytes <#! phones.p_brew.new_closefileresponse !#> 00000000 4b 13 03 00 00 00 00 00 K....... 16:33:49.538 LG-VX9600 (Versa): Index file dload/sd_music.dat Data - 0 bytes <#! phones.p_lgvx9700.indexfile !#> 16:33:49.538 LG-VX9600 (Versa): Fundamentals retrieved 16:33:49.573 Exception: BitPim version: 1.0.7-unofficial An unexpected exception has occurred. Please see the help for details on what to do. Traceback (most recent call last): File "src/gui.py", line 284, in run File "src/gui.py", line 159, in __call__ File "src/gui.py", line 1927, in senddata File "src/gui.py", line 1967, in writememo File "src/phones/com_lgvx8100.py", line 206, in savememo ImportError: No module named _strptime Variables by last 8 frames, innermost last Frame run in src/gui.py at line 277 resultcb = <gui.Callback instance at 0xb723f4c> res = None self = <WorkerThread(BitPim helper, started daemon)> item = (<gui.Request instance at 0xb720a2c>, <gui.Callback instance at 0xb723f4c>) call = <gui.Request instance at 0xb720a2c> ex = ImportError('No module named _strptime',) e = ImportError('No module named _strptime',) first = 0 Frame __call__ in src/gui.py at line 159 self = <gui.Request instance at 0xb720a2c> args = () d = Keys [] {} kwargs = Keys [] {} Frame senddata in src/gui.py at line 1927 count = 0 self = <WorkerThread(BitPim helper, started daemon)> args = [{'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lim xx = (<bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started da dict = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime func = <bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started dae todo = [(<bound method WorkerThread.writememo of <WorkerThread(BitPim helper, started d desc = 'Memo' Frame writememo in src/gui.py at line 1967 merge = False self = <WorkerThread(BitPim helper, started daemon)> data = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime Frame savememo in src/phones/com_lgvx8100.py at line 206 keys = [u'1276286590.544005', u'1276287442.963010'] k = u'1276286590.544005' merge = False result = Keys ['groups', 'memo', 'reboot_delay', 'ringtone-index', 'uniqueserial', 'wallpaper-index'] {'wallpaper-index': {100: {'origin': 'images', 'date': 937013973, 'name': u'Lime entry = <phones.p_lgvx8550.textmemo object at 0xc29714c> memo_dict = Keys [u'1276286590.544005', u'1276287442.963010'] {u'1276286590.544005': <memo.MemoEntry object at 0xc2975ac>, u'1276287442.963010 self = <phones.com_lgvx9600.Phone object at 0xc29762c> text_memo = <phones.p_lgvx8550.textmemofile object at 0xb71d1ec> ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ BitPim-user mailing list [email protected] Unsubscribe or change options at https://lists.sourceforge.net/lists/listinfo/bitpim-user There are several hundred people on this list. Please be courteous, on topic and follow the instructions before posting http://www.bitpim.org/help/support.htm
bpbug.gz
(application/x-gzip, 2.8 KB) - not displayed