Modify

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#3857 closed defect (fixed)

NameError: global name 'false' is not defined

Reported by: nagendra.vs@… Owned by: clp
Priority: normal Component: AccountLdapPlugin
Severity: major Keywords: Name Error
Cc: nagendra.vs@… Trac Release: 0.11

Description

When I enabled accountldap pulgin & refreshed the web browser I got the below traceback & error message.

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/api.py", line 339, in send_error

'text/html')

File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/chrome.py", line 683, in render_template

template = self.load_template(filename, method=method)

File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/chrome.py", line 659, in load_template

self.templates = TemplateLoader(self.get_all_templates_dirs(),

File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/chrome.py", line 405, in get_all_templates_dirs

for provider in self.template_providers:

File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/core.py", line 67, in extensions

return filter(None, [component.compmgr[cls] for cls in extensions])

File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/core.py", line 204, in getitem

component = cls(self)

File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/core.py", line 108, in maybe_init

init(self)

File "build/bdist.linux-i686/egg/accountldap/accountldap.py", line 35, in init

NameError: global name 'false' is not defined

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by clp

  • Status changed from new to assigned

comment:2 follow-up: Changed 6 years ago by clp

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 in reply to: ↑ 2 Changed 6 years ago by anonymous

Replying to clp:
I didn't find any comments & solution for this, can you kindly update the same.

comment:4 follow-up: Changed 6 years ago by clp

It's fixed in version 3.0.

comment:5 in reply to: ↑ 4 Changed 6 years ago by clp

Replying to clp:

It's fixed in version 0.3

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from clp. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.