[Pythonmac-SIG] It is normal in python2.3 shipped with apple?
whamoo
whamoo at rknet.it
Fri Apr 22 12:19:00 CEST 2005
i'm writing a program that must use the python 2.3 shipped with apple,
and i'm using the plistlib, but seem that the panther native version of
python doesn't have module named utils.iso8601..... Can someome confirm
this please?
I'm get this error with the base ship python:
Traceback (most recent call last):
File "ratto/script/iphoto.py", line 31, in ?
pl = plistlib.Plist.fromFile( iPhotoPlist )
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/plat-mac/plistlib.py", line 212, in fromFile
plist = p.parse(pathOrFile)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/plat-mac/plistlib.py", line 303, in parse
parser.ParseFile(file)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/plat-mac/plistlib.py", line 315, in handleEndElement
handler()
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/plat-mac/plistlib.py", line 374, in end_date
self.addObject(Date(self.getData()))
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/plat-mac/plistlib.py", line 270, in __init__
from xml.utils.iso8601 import parse
ImportError: No module named utils.iso8601
Obviously i don't have this error on python2.4
thanks for help
Whamoo
More information about the Pythonmac-SIG
mailing list