No handler matched request to /login

33 views
Skip to first unread message

Mo

unread,
Oct 15, 2020, 8:05:38 AM10/15/20
to Trac Users
Hi,

I have installed a local Python 2.7 inside $HOME of the trac user.

I installed everything like pip, setuptools, Trac and plugins and uWSGI inside a virtualenv. After that I made a copy of my system uwsgi-init-script and changed UWSGI_EXEC to use the virtualenv uwsgi executable.

The uwsgi ini has a virtualenv = ...pointing to that.

Starting Trac works. But now the /login does not work anymore.
Here is what the virtualenv has installed:

$ /mnt/data/trac/virtualenv/bin/pip2 list 2>/dev/null
Package                     Version
--------------------------- ----------
arabic-reshaper             2.1.0
configparser                4.0.2
future                      0.18.2
Genshi                      0.7.3
html5lib                    1.1
ImportExportXLS             0.3
Jinja2                      2.11.2
KeepInterfaceSimple2Plugin  2.6
MarkupSafe                  1.1.1
Pillow                      6.2.2
pip                         20.2.3
psycopg2                    2.8.6
pymills                     3.4.2
PyPDF2                      1.26.0
python-bidi                 0.4.2
reportlab                   3.5.53
setuptools                  44.1.1
six                         1.15.0
ticketsboardplugin          1.2.3.dev0
Trac                        1.4.2
trac-IncludeSource          0.5.1
TracAccountManager          0.5.0
TracAutocompleteUsersPlugin 0.4.6
TracCodeReviewer            1.0.0.dev0
TracComponentDependency     0.3
TracDiscussion              1.2.1
TracEstimationTools         0.5.0
TracFieldTooltip            0.8.5
TracFullBlog                0.2.dev0
TracHTTPAuth                1.2
TracIncludeMacro            3.1.0
TracLoomingClouds           1.0.dev0
TracMenus                   0.3.0
TracPdfPreview              0.1.2
TracQuiet                   1.2.1
TracSimpleMultiProject      0.7.2.dev0
TracTags                    0.11
TracWikiAutoComplete        1.4
TracWikiExtras              1.3.1
TracWikiPrint               3.0.dev0
TracXMLRPC                  1.1.9.dev0
uWSGI                       2.0.19.1
webencodings                0.5.1
wheel                       0.35.1
xhtml2pdf                   0.2.5
xlrd                        1.2.0
xlwt                        1.3.0

Mo

unread,
Oct 15, 2020, 8:11:32 AM10/15/20
to Trac Users
The sections in trac.ini:

[components]
acct_mgr.admin.* = enabled
acct_mgr.api.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.guard.accountguard = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.htfile.htpasswdstore = disabled
acct_mgr.http.* = disabled
acct_mgr.model.* = enabled
acct_mgr.notification.* = enabled
acct_mgr.pwhash.* = enabled
acct_mgr.register.* = enabled
acct_mgr.register.emailverificationmodule = enabled
acct_mgr.register.registrationmodule = enabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.resetpwstore = enabled

[account-manager]
allow_delete_account = enabled
auth_init = enabled
authentication_url =
cookie_refresh_pct = 10
db_htdigest_realm =
db_htpasswd_hash_type = crypt
environ_auth_overwrite = enabled
force_passwd_change = enabled
generated_password_length = 8
hash_method = HtDigestHashMethod
htdigest_file = /mnt/data/trac/projects/trac-pp/trac.htdigest
htdigest_realm = trac-pp
htpasswd_file =
htpasswd_hash_type = crypt
login_attempt_max_count = 3
login_opt_list = disabled
notify_actions = new,change,delete
password_file =
password_store = HtDigestStore
persistent_sessions = enabled
refresh_passwd = disabled
register_basic_question =
register_basic_token =
register_check = BasicCheck,EmailCheck,RegExpCheck,UsernamePermCheck
require_approval = disabled
reset_password = enabled
user_lock_max_time = 86400
user_lock_time = 30
user_lock_time_progression = 2
username_char_blacklist = :[]
username_regexp = (?i)^[A-Z0-9.\-_]{4,}$
verify_email = enabled

Mo

unread,
Oct 15, 2020, 8:39:25 AM10/15/20
to Trac Users
Reply all
Reply to author
Forward
0 new messages