Re: Pytz error: unpack requires a string argument of length 44

2012-06-13 Thread Kushal Kumaran
On Thu, Jun 14, 2012 at 6:35 AM, Daniel Klein wrote: > The windows box is my development box, it's not where the script will be > running in the end. It'll be running on a Linux box where I don't have root > so python setup.py install isn't an option (to my understanding). > You might want to u

Re: Pytz error: unpack requires a string argument of length 44

2012-06-13 Thread Daniel Klein
The windows box is my development box, it's not where the script will be running in the end. It'll be running on a Linux box where I don't have root so python setup.py install isn't an option (to my understanding). So what happened is that 7zip didn't unzip the .tar.gz2 properly, but it does fi

RE: Pytz error: unpack requires a string argument of length 44

2012-06-13 Thread Prasad, Ramit
> There indeed seems to be something wrong with my installation of pytz. I had a > look around the zoneinfo dir, which is where build_tzinfo polls its info from, > and a whole bunch of files are 0 bytes. Whenever I try to instantiate a > timezone whose corresponding file is 0 bytes I get that error

Re: Pytz error: unpack requires a string argument of length 44

2012-06-13 Thread bringa
Thanks Terry! There indeed seems to be something wrong with my installation of pytz. I had a look around the zoneinfo dir, which is where build_tzinfo polls its info from, and a whole bunch of files are 0 bytes. Whenever I try to instantiate a timezone whose corresponding file is 0 bytes I get

Re: Pytz error: unpack requires a string argument of length 44

2012-06-13 Thread Terry Reedy
On 6/13/2012 4:55 PM, bri...@gmail.com wrote: Hi! I'm trying to get a handle on pytz (http://pytz.sourceforge.net/). I don't have root on the system I'll be running my script on, so I need to go for a local installation. I copied pytz into a folder in my sys.path and am importing from there.