Modify ↓
Opened 19 years ago
Closed 19 years ago
#203 closed defect (duplicate)
tracebacks loading trac pages with ldapplugin enabled
Reported by: | Owned by: | Emmanuel Blot | |
---|---|---|---|
Priority: | normal | Component: | LdapPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
received traceback loading '/browser' that stated:
File "build/bdist.linux-i686/egg/ldapplugin/model.py", line 77, in get_permission_groups TypeError: unsupported operand type(s) for +: 'float' and 'str'
applying the following diff was a quick-fix:
--- ldapplugin/model.py 2006-03-05 17:18:47.000000000 -0500 +++ ldapplugin.new/model.py 2006-03-05 17:22:18.000000000 -0500 @@ -74,7 +74,7 @@ lut, groups = self._cache[username] # ensures that the cache is not too old - if current_time < lut+self._cache_ttl: + if current_time < lut+float(self._cache_ttl): # sources the cache # cache lut is not updated to ensure # it is refreshed on a regular basis
Attachments (0)
Change History (2)
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Sorry for the late delay. This is a duplicate of #200, I'll fix it, thanks for the report + patch
Note: See
TracTickets for help on using
tickets.
Forgot the version of ldapplugin I was using: