Modify

Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#12838 closed defect (worksforme)

No module named ldapplugin.api

Reported by: dennis.liou@… Owned by: Sylvain Delisle
Priority: normal Component: LdapPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Hello! I have installed all ldap needed plugin, and setting is all enabled, why I cannot loading ldapplugin?

Trac[env] INFO [2016-08-04 02:40:49,201]: -------------------------------- environment startup [Trac 1.0.2] --------------------------------/
Trac[loader] DEBUG [2016-08-04 02:40:49,231]: Loading acct_mgr.admin from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,231]: Loading acct_mgr.api from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,232]: Loading acct_mgr.db from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,232]: Loading acct_mgr.htfile from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,232]: Loading acct_mgr.http from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,233]: Loading acct_mgr.macros from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,233]: Loading acct_mgr.notification from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,233]: Loading acct_mgr.pwhash from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,234]: Loading acct_mgr.svnserve from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,234]: Loading acct_mgr.web_ui from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,234]: Loading ldapauth.store from /usr/local/lib/python2.7/dist-packages/TracLDAPAuth-1.2.1-py2.7.egg/
Trac[loader] DEBUG [2016-08-04 02:40:49,235]: Loading ldapplugin.api from /usr/local/lib/python2.7/dist-packages/LdapPlugin-0.7.0-py2.7.egg/
Trac[loader] ERROR [2016-08-04 02:40:49,235]: Skipping "ldapplugin.api = ldapplugin.api":
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/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named ldapplugin.api/

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Jun Omae

Priority: highestnormal
Resolution: worksforme
Severity: blockernormal
Status: newclosed

Works for me. ldapplugin.api is successfully imported.

13:48:11 Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.12] --------------------------------
13:48:11 Trac[loader] DEBUG: Adding plugin TracWikiTabsPlugin 0.1.1 from /src/tracwikitabsplugin
13:48:11 Trac[loader] DEBUG: Adding plugin RegexLink 0.3 from /src/trac-hacks.org/regexlinkplugin/trunk
13:48:11 Trac[loader] DEBUG: Adding plugin LdapPlugin 0.7.0dev from /var/trac/1.0-sqlite/plugins/LdapPlugin-0.7.0dev-py2.7.egg
13:48:11 Trac[loader] DEBUG: Adding plugin TracWorkflowAdmin 0.12.0.2 from /src/tracworkflowadminplugin.git
13:48:11 Trac[loader] DEBUG: Adding plugin TracDragDrop 0.12.0.13 from /src/tracdragdropplugin
13:48:11 Trac[loader] DEBUG: Adding plugin SvnAuthzAdminPlugin 1.0dev from /src/trac-hacks.org/svnauthzadminplugin/1.0
13:48:11 Trac[loader] DEBUG: Adding plugin TracMercurial 1.0.0.7dev from /src/mercurial-plugin
13:48:11 Trac[loader] DEBUG: Skipping "TracBlockdiag 0.2.1": ("DistributionNotFound: blockdiag>=0.8.1" not found)
13:48:11 Trac[loader] DEBUG: Loading hg from /src/mercurial-plugin
13:48:11 Trac[loader] DEBUG: Loading ldapplugin.api from /var/trac/1.0-sqlite/plugins/LdapPlugin-0.7.0dev-py2.7.egg
13:48:11 Trac[loader] DEBUG: Loading regex_link from /src/trac-hacks.org/regexlinkplugin/trunk
13:48:11 Trac[loader] DEBUG: Loading svnauthz.admin_ui from /src/trac-hacks.org/svnauthzadminplugin/1.0
....
$ unzip -l dist/LdapPlugin-0.7.0dev-py2.7.egg                                                                 Archive:  dist/LdapPlugin-0.7.0dev-py2.7.egg
  Length      Date    Time    Name
---------  ---------- -----   ----
    23269  2016-08-04 13:42   ldapplugin/api.pyc
       58  2014-08-16 15:11   ldapplugin/__init__.py
      183  2016-08-04 13:42   ldapplugin/__init__.pyc
    26905  2016-08-04 13:41   ldapplugin/api.py
      296  2016-08-04 13:42   EGG-INFO/PKG-INFO
       11  2016-08-04 13:42   EGG-INFO/top_level.txt
        1  2016-08-04 13:42   EGG-INFO/dependency_links.txt
        1  2016-08-04 13:42   EGG-INFO/zip-safe
      265  2016-08-04 13:42   EGG-INFO/SOURCES.txt
       10  2016-08-04 13:42   EGG-INFO/requires.txt
       48  2016-08-04 13:42   EGG-INFO/entry_points.txt
---------                     -------
    51047                     11 files

comment:2 Changed 5 years ago by niraj.gandhi@…

How did you import it? I am facing the same issue. What steps I have to perform?

comment:3 Changed 5 years ago by Jun Omae

That's an installation issue. Please ask on the trac-users mailing list for support questions.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Sylvain Delisle.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.