Modify

Opened 18 years ago

Closed 17 years ago

#823 closed defect (worksforme)

Problems withs trac v0.11dev

Reported by: fritz@… Owned by: Matt Good
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Hi togehter, cause I had several problems to install the trac 0.10 (especially the old template engine) due to python 2.5, I decided to install the new trac v0.11dev

There it was impossible for me, to configure a running login area, for why I installed the new "TracAccountManager-0.1.2dev-py2.5".

But now, I get the following error:

2006-10-17 23:25:30,640 Trac[loader] DEBUG: Loading egg plugin webadmin.logging from /prog/hylos/trac/plugins/TracWebAdmin-0.1.2_genshidev_r3906-py2.5.egg
2006-10-17 23:25:30,641 Trac[loader] DEBUG: Loading egg plugin webadmin.ticket from /prog/hylos/trac/plugins/TracWebAdmin-0.1.2_genshidev_r3906-py2.5.egg
2006-10-17 23:25:30,642 Trac[loader] DEBUG: Loading egg plugin webadmin.basics from /prog/hylos/trac/plugins/TracWebAdmin-0.1.2_genshidev_r3906-py2.5.egg
2006-10-17 23:25:30,642 Trac[loader] DEBUG: Loading egg plugin webadmin.perm from /prog/hylos/trac/plugins/TracWebAdmin-0.1.2_genshidev_r3906-py2.5.egg
2006-10-17 23:25:30,643 Trac[loader] DEBUG: Loading egg plugin webadmin.web_ui from /prog/hylos/trac/plugins/TracWebAdmin-0.1.2_genshidev_r3906-py2.5.egg
2006-10-17 23:25:30,644 Trac[loader] DEBUG: Loading egg plugin webadmin.plugin from /prog/hylos/trac/plugins/TracWebAdmin-0.1.2_genshidev_r3906-py2.5.egg
2006-10-17 23:25:30,649 Trac[loader] ERROR: Skipping "trac 0.11dev" (version conflict: "(trac 0.10 (/usr/local/lib/python2.5/site-packages), Requirement.parse('trac==0.11dev'))")
2006-10-17 23:25:30,650 Trac[loader] DEBUG: Loading egg plugin authform.web_ui from /usr/local/lib/python2.5/site-packages/AuthForm-0.1-py2.5.egg
2006-10-17 23:25:30,660 Trac[loader] ERROR: Failed to load plugin authform.web_ui from /usr/local/lib/python2.5/site-packages/AuthForm-0.1-py2.5.egg
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/trac/loader.py", line 101, in load_components
    entry_point.load()
  File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c3-py2.5.egg/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-x86_64/egg/authform/__init__.py", line 1, in <module>
    #
  File "build/bdist.linux-x86_64/egg/authform/web_ui.py", line 26, in <module>
ImportError: cannot import name TRUE
2006-10-17 23:25:30,664 Trac[loader] DEBUG: Loading egg plugin acct_mgr.htfile from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.1.2dev-py2.5.egg
2006-10-17 23:25:30,668 Trac[loader] DEBUG: Loading egg plugin acct_mgr.web_ui from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.1.2dev-py2.5.egg
2006-10-17 23:25:30,678 Trac[loader] DEBUG: Loading egg plugin acct_mgr.admin from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.1.2dev-py2.5.egg
2006-10-17 23:25:30,679 Trac[loader] DEBUG: Loading egg plugin acct_mgr.api from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.1.2dev-py2.5.egg

My Config-Files: virtualHost.conf

<VirtualHost *:8081>
    ServerAdmin webmaster@test.org
    ServerName www.test.com
    DocumentRoot /prog/hylos/trac/

    <Location />
        SetEnv PYTHON_EGG_CACHE /prog/hylos/trac/EggCache
        PythonDebug on
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /prog/hylos/trac
        PythonOption TracUriRoot /
    </Location>

    ErrorLog /prog/hylos/trac/log/apache2-error_log
    CustomLog /prog/hylos/trac/log/apache2-access_log combined

    HostnameLookups Off
    UseCanonicalName Off
    ServerSignature On
</VirtualHost>

trac.ini

[components]
trac.web.auth.LoginModule = disabled
acct_mgr.api = enabled
acct_mgr.web_ui.LoginModule = enabled
acct_mgr.htfile.HtDigestStore = enabled

[account-manager]
password_store = HtPasswdStore
password_file = /prog/hylos/trac/.htpasswd

Any Idea?

Attachments (0)

Change History (3)

comment:1 Changed 18 years ago by Matt Good

Component: AccountManagerPluginAuthFormPlugin
Owner: changed from Matt Good to Noah Kantrowitz

That error is coming from the AuthFormPlugin, not the AccountManagerPlugin. I'm changing it to the correct component.

comment:2 Changed 18 years ago by fritz@…

Component: AuthFormPluginAccountManagerPlugin
Owner: changed from Noah Kantrowitz to Matt Good

You were right, it was the wrong module... I removed it, and now i have the following problem:

trac.ini

trac.web.auth.LoginModule = disabled
acct_mgr.api = enabled
acct_mgr.web_ui.LoginModule = enabled
acct_mgr.htfile.HtDigestStore = enabled

Althought I have configured it like the manual said, i can't see the login button anymore.

comment:3 in reply to:  2 Changed 17 years ago by Matt Good

Resolution: worksforme
Status: newclosed

Replying to fritz@work.de:

You were right, it was the wrong module... I removed it, and now i have the following problem:

trac.ini

trac.web.auth.LoginModule = disabled
acct_mgr.api = enabled
acct_mgr.web_ui.LoginModule = enabled
acct_mgr.htfile.HtDigestStore = enabled

Althought I have configured it like the manual said, i can't see the login button anymore.

Sorry for the late response.

I believe you want "acct_mgr.api.* = enabled".

Since this seems to be a config issue I'm going to close the ticket. If you're still having problems please check on the MailingList and me or someone else should be able to help.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
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.