<[email protected]> wrote on 2016-Aug-11 at 06:07 PM:
Please help me.
This is my error:


Trac[env] INFO: -------------------------------- environment startup [Trac 
1.0.2] --------------------------------
.
.
.
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/login'">
Trac[ldap_store] DEBUG: LdapAuthStore: Initiated
Trac[web_ui] WARNING: AccountModule is disabled because the password store does 
not support writing.
Trac[session] DEBUG: Retrieving session for ID '309060305318df5be905d3ed'
Trac[main] DEBUG: Negotiated locale: None -> en_US
Trac[svn_fs] DEBUG: Subversion bindings imported
Trac[api] INFO: Synchronized '(default)' repository in 0.02 seconds
Trac[register] WARNING: RegistrationModule is disabled because the password 
store does not support writing.
Trac[chrome] DEBUG: Prepare chrome data for request
Trac[api] DEBUG: action controllers for ticket workflow: 
['ConfigurableTicketWorkflow']
Trac[chrome] WARNING: Error with navigation contributor AdminModule
Trac[chrome] WARNING: Error with navigation contributor SearchModule
Trac[chrome] WARNING: Error with navigation contributor QueryModule
Trac[chrome] WARNING: Error with navigation contributor ReportModule
Trac[chrome] WARNING: Error with navigation contributor RoadmapModule
Trac[chrome] WARNING: Error with navigation contributor TicketModule
Trac[chrome] WARNING: Error with navigation contributor TimelineModule
Trac[chrome] WARNING: Error with navigation contributor BrowserModule
Trac[chrome] WARNING: Error with navigation contributor WikiModule
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: 
SERVER_DOWN: {'desc': "Can't contact LDAP server"}
Trac[main] WARNING: [140.109.98.38] HTTPInternalError: 500 Trac Error (Unable to open 
LDAP cnx: SERVER_DOWN: {'desc': "Can't contact LDAP server"})
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: 
SERVER_DOWN: {'desc': "Can't contact LDAP server"}
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: 
SERVER_DOWN: {'desc': "Can't contact LDAP server"}

I guess your configurations lead the error.
Please post trac.ini and trac.log after applying the following patch and 
enabling TracLogging with DEBUG level:

diff --git a/ldapplugin/0.12/ldapplugin/api.py 
b/ldapplugin/0.12/ldapplugin/api.py
index 46359be..7be1f40 100644
--- a/ldapplugin/0.12/ldapplugin/api.py
+++ b/ldapplugin/0.12/ldapplugin/api.py
@@ -651,9 +651,12 @@ class LdapConnection(object):
                 self._ds.simple_bind_s()
         except ldap.LDAPError, e:
             self._ds = None
+            traceback = exception_to_unicode(e, traceback=True)
             if self.bind_user:
-                self.log.warn("Unable to open LDAP with user %s",
-                              self.bind_user)
+                self.log.warning("Unable to open LDAP with user %s%s",
+                                 self.bind_user, traceback)
+            else:
+                self.log.warning("Unable to open LDAP%s", traceback)
             raise TracError("Unable to open LDAP cnx: %s"
                             % exception_to_unicode(e))




--
Jun Omae <[email protected]> (大前 潤)

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to