Roundup Tracker - Issues

Issue 1835902

classification
Python exception running vanilla demo
Type: Severity: normal
Components: None Versions:
process
Status: closed duplicate
:
: : oefe, ptmcg
Priority: normal :

Created on 2007-11-21 17:11 by ptmcg, last changed 2007-12-05 17:16 by anonymous.

Messages
msg2495 Author: [hidden] (ptmcg) Date: 2007-11-21 17:11
Running:
- Python 2.5.1
- Windows XPsp2
- Roundup 1.4.1 (installed using winexe installer)
- IE 6.0

After starting up demo server, tried to connect from browser on local machine.  Server console displays this log message and exception:

127.0.0.1 - - [21/Nov/2007 11:05:29] "GET /demo/ HTTP/1.1" 400 -
EXCEPTION AT Wed Nov 21 11:05:29 2007
Traceback (most recent call last):
  File "c:\python25\lib\site-packages\roundup\scripts\roundup_server.py", line 188, in run_cgi
    self.inner_run_cgi()
  File "c:\python25\lib\site-packages\roundup\scripts\roundup_server.py", line 362, in inner_run_cgi
    tracker.Client(tracker, self, env).main()
  File "c:\python25\lib\site-packages\roundup\cgi\client.py", line 174, in __init__
    self.mailer = Mailer(instance.config)
  File "c:\python25\lib\site-packages\roundup\mailer.py", line 37, in __init__
    time.tzset()
AttributeError: 'module' object has no attribute 'tzset'

My version of Python does not have a tzset() method in the time module.

I am trying to get Roundup adopted in my office for project issue tracking, but this is my 2nd or 3rd attempt at basic installation with demo behavior and little success.  This time, I didn't even get past the out-of-the-box demo! :(  I really want to use this project, but I'm ready to punt.

-- Paul

msg2496 Author: [hidden] (oefe) Date: 2007-12-02 14:27
According to the docs, tzset is only available on UNIX. See
http://docs.python.org/lib/module-time.html

msg2497 Author: [hidden] (ptmcg) Date: 2007-12-02 17:09
Good point!  But I thought Roundup was supposed to run on Windows too.  Note that this is not my code I'm talking about, but code in Roundup.  If Roundup is to run on Windows, then it has to conditionalize this call to tzset, or wrap it in a try-except block.

And PLEASE don't tell me to install Cygwin!
msg2498 Author: [hidden] (anonymous) Date: 2007-12-05 17:16
Logged In: NO 

dup of 1825643 which is already closed.

msg2499 Author: [hidden] (ptmcg) Date: 2007-12-05 17:41
Ok, sorry to report a dupe.  I really tried to search the bug db first, but I guess you had already closed the original bug.  (My boss wont let me close a bug until the software is available to the customer, so I just assumed if there were a previously reported bug, it would not be in the Closed state.  Live and learn.)

Any other Unix-ism's lurking out there in the code?  Perhaps track down the contributor who added this code, and see what other changes he/she made, since this person seems to have a blind spot when it comes to supporting Windows.
History
Date User Action Args
2007-11-21 17:11:30ptmcgcreate