Modify

Opened 10 years ago

Last modified 10 years ago

#11521 new defect

Skipping "AccountLDAPPlugin = accountldap":

Reported by: anonymous Owned by: Carlos López Pérez
Priority: normal Component: AccountLdapPlugin
Severity: blocker Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

Hi,

I am unable to load Trac web browser and I see the below logs : Can you please help me understand on what the main issue could be as am newbie to Trac.

Trac[loader] ERROR: Skipping "AccountLDAPPlugin = accountldap":
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/loader.py", line 68, in _load_eggs
    entry.load(require=True)
  File "/usr/local/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py", line 2087, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.cygwin-1.7.20-i686/egg/accountldap/__init__.py", line 8, in <module>
  File "build/bdist.cygwin-1.7.20-i686/egg/accountldap/accountldap.py", line 9, in <module>
  File "/usr/local/lib/python2.7/ldap.py", line 14, in <module>
    from salt.exceptions import CommandExecutionError, SaltInvocationError
  File "/usr/local/lib/python2.7/salt/__init__.py", line 13, in <module>
    import salt.log
  File "/usr/local/lib/python2.7/salt/salt/__init__.py", line 19, in <module>
    from salt.utils import migrations
  File "/usr/local/lib/python2.7/salt/utils/__init__.py", line 26, in <module>
    import zmq
ImportError: No module named zmq

Trac[loader] DEBUG: Loading HudsonTrac from /db_apps/git/plugins/HudsonTrac-0.5-py2.7.egg
2014-01-17 15:05:46,167 Trac[loader] DEBUG: Loading HudsonTrac from /db_apps/git/plugins/HudsonTrac-0.5-py2.7.egg
2014-01-17 15:05:46,167 Trac[loader] DEBUG: Loading HudsonTrac from /db_apps/git/plugins/HudsonTrac-0.5-py2.7.egg
2014-01-17 15:05:46,170 Trac[loader] DEBUG: Loading STractistics from /db_apps/git/plugins/STractistics-0.5.0b-py2.7.egg
2014-01-17 15:05:46,170 Trac[loader] DEBUG: Loading STractistics from /db_apps/git/plugins/STractistics-0.5.0b-py2.7.egg
2014-01-17 15:05:46,170 Trac[loader] DEBUG: Loading STractistics from /db_apps/git/plugins/STractistics-0.5.0b-py2.7.egg
2014-01-17 15:05:46,171 Trac[loader] DEBUG: Loading TracXMLRPC from /db_apps/git/plugins/TracXMLRPC-1.1.2-py2.7.egg
2014-01-17 15:05:46,171 Trac[loader] DEBUG: Loading TracXMLRPC from /db_apps/git/plugins/TracXMLRPC-1.1.2-py2.7.egg
2014-01-17 15:05:46,171 Trac[loader] DEBUG: Loading TracXMLRPC from /db_apps/git/plugins/TracXMLRPC-1.1.2-py2.7.egg

Attachments (0)

Change History (6)

comment:1 Changed 10 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 10 years ago by Ryan J Ollos

I suppose you need to search the Cygwin installer and see if zmq, 0mq, ZeroMQ, python-zmq or similar are available. On Ubuntu at least, the package appears to be named python-zmq.

comment:3 Changed 10 years ago by anonymous

I don't see that Cygwin is intsalled.

I am not able to load the Trac website for logging in. Does it have anything to do with the zmq issue?

I am not sure where exactly to look into. But the logs are taking me to multiple paths can you please assist me to debug this issue.

comment:4 in reply to:  3 Changed 10 years ago by Ryan J Ollos

Replying to anonymous:

I don't see that Cygwin is intsalled.

Looking at the traceback, the egg appears to have been built for Cygwin: build/bdist.cygwin-1.7.20-i686/egg. Did you download the egg from somewhere? If so, I suggest you build the egg yourself.

Did you try installing the zmq package on your platform?

comment:5 Changed 10 years ago by anonymous

I haven't done the set up for TRac as it was done my company's former employee.

I have restarted tracd server and it was able to load partial web page but not completely. Also when I was restarting tracd it gave me the below error :

Traceback (most recent call last):
  File "/usr/local/bin/tracd", line 8, in <module>
    load_entry_point('Trac==1.0.1', 'console_scripts', 'tracd')()
  File "build/bdist.linux-x86_64/egg/trac/web/standalone.py", line 340, in main
KeyboardInterrupt

Do you think if it is having anything to do with the tracd server or do I need to install the zmq package and build the egg.

Also please guide me on how to build/install an egg again.

I appreciate for all your responses.

Last edited 10 years ago by Ryan J Ollos (previous) (diff)

comment:6 Changed 10 years ago by Ryan J Ollos

Information on how to build/install eggs can be found on the TracPlugins page.

Depending on how authentication is setup for your Trac instance, you may want to remove the LDAP plugin for now. Perhaps use basic authentication, and once your Trac instance is up and running again, then attempt to get it working with LDAP.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Carlos López Pérez.

Add Comment


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

 
Note: See TracTickets for help on using tickets.