Roundup Tracker - Issues

Issue 1576294

classification
timezone bug prevents installation or running v1.2.1 demo
Type: Severity: normal
Components: Installation Versions:
process
Status: closed works for me
:
: richard : midtoad, richard
Priority: normal :

Created on 2006-10-12 23:52 by midtoad, last changed 2006-10-16 22:15 by midtoad.

Messages
msg2305 Author: [hidden] (midtoad) Date: 2006-10-12 23:52
There's a bug in the date.py module, so you can't run
the demo site or install Roundup v.1.2.1 (at least, *I*
can't :-) 

I've looked in date.py and the Python documentation but
at first glance I can't see what you're trying to do in
that module so I can't suggest a fix. 


Here's the exception I get when I run "python demo.py":

C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1>python
demo.py
Traceback (most recent call last):
  File "demo.py", line 14, in ?
    from roundup import configuration
  File "C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1\roundup\configurat
ion.py", line 15, in ?
    import roundup.date
  File "C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1\roundup\date.py",
line 62, in ?
    UTC = pytz.utc
AttributeError: 'module' object has no attribute 'utc'

C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1>
msg2306 Author: [hidden] (richard) Date: 2006-10-12 23:55
Logged In: YES 
user_id=6405

I suggest upgrading to the latest version of pytz. I just 
grabbed it and the code works for me.
msg2307 Author: [hidden] (midtoad) Date: 2006-10-16 22:15
Logged In: YES 
user_id=190543

that didn't work for me.  Even though the latest version
2006g of pytz installed properly and "import pytz;
pytz.VERSION" returned "2006g", when I ran the roundup
install it failed. 

What I discovered is that matplotlib installs an older
version of pytz and matplotlib was ahead of pytz in
easy_install.pth.  Just a head's up in case you get more
bugs along this line. 
History
Date User Action Args
2006-10-12 23:52:09midtoadcreate