Re: PYTZ showing error on live host

2008-10-03 Thread cschand
I tracked where the error coming form. It's at the time of reading the file In local system the output is >>> import os.path >>> base = os.path.join(os.getcwd(), 'external_apps/pytz/zoneinfo') >>> zone = 'Australia/Melbourne' >>> fp = open(os.path.join(base, 'Australia', 'Melbourne'), 'rb') >>>

PYTZ showing error on live host

2008-10-03 Thread cschand
Hi all I have a problem with pytz. In my local system i tried with pytz and its working fine >>> from pytz.tzfile import build_tzinfo >>> import os.path >>> base = os.path.join(os.getcwd(), 'external_apps/pytz/zoneinfo') >>> tz = build_tzinfo('US/Eastern', open(os.path.join(base, 'US', 'Easter