Roundup Tracker - Issues

Message4421

Author DThorne
Recipients DThorne
Date 2011-09-12.11:36:23
Message-id <1315827384.68.0.149843014769.issue2550726@psf.upfronthosting.co.za>
In-reply-to
Hi,

We've just installed Roundup on windows 2008 R2 server.  Got everything 
working but wanted to add LDAP login.  Followed the information here:

http://www.roundup-tracker.org/cgi-bin/moin.cgi/LDAPLogin2
&
http://www.roundup-tracker.org/cgi-bin/moin.cgi/ActiveDirectoryLogin

But now I'm getting error message in event log and the roundup service 
won't start

Log Name:      Application
Source:        roundup
Date:          09/09/2011 11:24:29
Event ID:      3
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      
Description:
The instance's SvcRun() method failed 
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\win32\lib\win32serviceutil.py", 
line 806, in SvcRun
    self.SvcDoRun()
  File "C:\Python27\lib\site-
packages\roundup\scripts\roundup_server.py", line 696, in SvcDoRun
    self.server = config.get_server()
  File "C:\Python27\lib\site-
packages\roundup\scripts\roundup_server.py", line 591, in get_server
    for (name, home) in tracker_homes])
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 305, 
in open
    return Tracker(tracker_home, optimize=optimize)
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 72, in 
__init__
    for extension in self.get_extensions('extensions'):
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 196, 
in get_extensions
    self._load_python(os.path.join(dirname, name), vars)
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 216, 
in _load_python
    execfile(file, vars)
SyntaxError: ('invalid syntax', 
('C:\\RoundUp\\ITOps\\extensions\\ldaplogin.py', 4, 10, '    import 
ldap\n')) 
%2: %3
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="roundup" />
    <EventID Qualifiers="49152">3</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-09-09T10:24:29.000000000Z" />
    <EventRecordID>1322</EventRecordID>
    <Channel>Application</Channel>
    <Computer>MGVIOP01.mace.co.uk</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\win32\lib\win32serviceutil.py", 
line 806, in SvcRun
    self.SvcDoRun()
  File "C:\Python27\lib\site-
packages\roundup\scripts\roundup_server.py", line 696, in SvcDoRun
    self.server = config.get_server()
  File "C:\Python27\lib\site-
packages\roundup\scripts\roundup_server.py", line 591, in get_server
    for (name, home) in tracker_homes])
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 305, 
in open
    return Tracker(tracker_home, optimize=optimize)
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 72, in 
__init__
    for extension in self.get_extensions('extensions'):
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 196, 
in get_extensions
    self._load_python(os.path.join(dirname, name), vars)
  File "C:\Python27\lib\site-packages\roundup\instance.py", line 216, 
in _load_python
    execfile(file, vars)
SyntaxError: ('invalid syntax', 
('C:\\RoundUp\\ITOps\\extensions\\ldaplogin.py', 4, 10, '    import 
ldap\n'))</Data>
  </EventData>
</Event>
History
Date User Action Args
2011-09-12 11:36:24DThornesetrecipients: + DThorne
2011-09-12 11:36:24DThornesetmessageid: <1315827384.68.0.149843014769.issue2550726@psf.upfronthosting.co.za>
2011-09-12 11:36:24DThornelinkissue2550726 messages
2011-09-12 11:36:23DThornecreate