Return-Path: X-Original-To: apmail-bloodhound-user-archive@www.apache.org Delivered-To: apmail-bloodhound-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB67010CE6 for ; Tue, 30 Jul 2013 10:51:37 +0000 (UTC) Received: (qmail 87082 invoked by uid 500); 30 Jul 2013 10:51:37 -0000 Delivered-To: apmail-bloodhound-user-archive@bloodhound.apache.org Received: (qmail 87051 invoked by uid 500); 30 Jul 2013 10:51:36 -0000 Mailing-List: contact user-help@bloodhound.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bloodhound.apache.org Delivered-To: mailing list user@bloodhound.apache.org Received: (qmail 87041 invoked by uid 99); 30 Jul 2013 10:51:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 10:51:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [74.125.83.51] (HELO mail-ee0-f51.google.com) (74.125.83.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 10:51:32 +0000 Received: by mail-ee0-f51.google.com with SMTP id c1so3549804eek.10 for ; Tue, 30 Jul 2013 03:50:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Cv2dYAduyzyhyBT23Gsem8eRSvmKlQZt8aatSrCn7Ac=; b=SevvkYnDc3bmY6RremQijk0qyf2LCmdQb+/CxMp1S776xhPf8rMfApwgTmc4IO1xZc hhQuC2z6E0DNfUiPafZ+RxVUCcCap0ZefIjLF7HOvHeHU8xBro2H18yvYxVa9Wsf+p0s QjdRWpbDCTXYb4k8Ktkr2mj+4nALo1TMVNZmBfN4eYQljxD5lMBLAMtlHzSJWSJBhbBt 4DUrQdTHz/c1MRhYoHd5jKwDtzh1UfnLp/s7PpW4xcPxBbFEyi0NZvUOFXrvkJWa4Ckq voa//sm0xeCiYgDYKlAin+OoOZ5R5eUiPdZC22NUCyRwHtWLnRNwoL55DHFn2sKAzRIs uPlQ== MIME-Version: 1.0 X-Received: by 10.15.22.8 with SMTP id e8mr18284813eeu.41.1375181450104; Tue, 30 Jul 2013 03:50:50 -0700 (PDT) Received: by 10.223.81.205 with HTTP; Tue, 30 Jul 2013 03:50:49 -0700 (PDT) In-Reply-To: <4EAAB9C8-26D0-424E-A441-6658F753BAAD@digiverse.si> References: <212FE25C-12A0-4A9C-B9F8-831CE19DDF1B@digiverse.si> <51F78738.5090503@wandisco.com> <4EAAB9C8-26D0-424E-A441-6658F753BAAD@digiverse.si> Date: Tue, 30 Jul 2013 11:50:49 +0100 Message-ID: Subject: Re: Bloodhound Login Error From: Pedro Estrela To: user@bloodhound.apache.org Content-Type: multipart/alternative; boundary=089e0160c1bad5fe1604e2b8619a X-Gm-Message-State: ALoCoQlJm4+mtbH99M6ddXNxIFYHCR5QuyW5ufdlHOuHuDbslSQe3NUYae47NaroShnlnAd+ExBf X-Virus-Checked: Checked by ClamAV on apache.org --089e0160c1bad5fe1604e2b8619a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Those acct_mgr entries are all enable. Those are the files @ /var/www/bloodhound/installer/bloodhound/lib/python2.6/site-packages/acct_m= gr : " (bloodhound)[root@lbtvmcentosbug acct_mgr]# ls -l total 412 -rw-r--r-- 1 root root 29414 Jul 24 11:30 admin.py -rw-r--r-- 1 root root 21742 Jul 24 11:30 admin.pyc -rw-r--r-- 1 root root 16703 Jul 24 11:30 api.py -rw-r--r-- 1 root root 20038 Jul 24 11:30 api.pyc -rw-r--r-- 1 root root 4653 Jul 24 11:30 db.py -rw-r--r-- 1 root root 5220 Jul 24 11:30 db.pyc -rw-r--r-- 1 root root 10221 Jul 24 11:30 guard.py -rw-r--r-- 1 root root 8868 Jul 24 11:30 guard.pyc -rw-r--r-- 1 root root 404 Jul 24 11:30 hashlib_compat.py -rw-r--r-- 1 root root 357 Jul 24 11:30 hashlib_compat.pyc drwxr-xr-x 2 root root 4096 Jul 24 11:30 htdocs -rw-r--r-- 1 root root 10261 Jul 24 11:30 htfile.py -rw-r--r-- 1 root root 9907 Jul 24 11:30 htfile.pyc -rw-r--r-- 1 root root 2838 Jul 24 11:30 http.py -rw-r--r-- 1 root root 2936 Jul 24 11:30 http.pyc -rw-r--r-- 1 root root 0 Jul 24 11:30 __init__.py -rw-r--r-- 1 root root 168 Jul 24 11:30 __init__.pyc drwxr-xr-x 22 root root 4096 Jul 24 11:30 locale -rw-r--r-- 1 root root 6451 Jul 24 11:30 macros.py -rw-r--r-- 1 root root 6216 Jul 24 11:30 macros.pyc -rw-r--r-- 1 root root 2782 Jul 24 11:30 md5crypt.py -rw-r--r-- 1 root root 2901 Jul 24 11:30 md5crypt.pyc -rw-r--r-- 1 root root 9429 Jul 24 11:30 model.py -rw-r--r-- 1 root root 8418 Jul 24 11:30 model.pyc -rw-r--r-- 1 root root 6737 Jul 24 11:30 notification.py -rw-r--r-- 1 root root 8604 Jul 24 11:30 notification.pyc -rw-r--r-- 1 root root 4918 Jul 24 11:30 pwhash.py -rw-r--r-- 1 root root 6322 Jul 24 11:30 pwhash.pyc -rw-r--r-- 1 root root 25360 Jul 24 11:30 register.py -rw-r--r-- 1 root root 21636 Jul 24 11:30 register.pyc -rw-r--r-- 1 root root 2406 Jul 24 11:30 svnserve.py -rw-r--r-- 1 root root 3420 Jul 24 11:30 svnserve.pyc drwxr-xr-x 2 root root 4096 Jul 24 11:30 templates -rw-r--r-- 1 root root 4234 Jul 24 11:30 util.py -rw-r--r-- 1 root root 4864 Jul 24 11:30 util.pyc -rw-r--r-- 1 root root 32613 Jul 24 11:30 web_ui.py -rw-r--r-- 1 root root 25674 Jul 24 11:30 web_ui.pyc " 2013/7/30 Matev=C5=BE Brada=C4=8D > > On 30. Jul, 2013, at 11:57, Pedro Estrela wrote: > > > No it wasn't. Sorry about that. > > > > Here it is now: > > > > " > > [root@lbtvmcentosbug /]# cd var > > [root@lbtvmcentosbug var]# cd www > > [root@lbtvmcentosbug www]# cd bloodhound/ > > [root@lbtvmcentosbug bloodhound]# cd installer/ > > [root@lbtvmcentosbug installer]# ls > > bloodhound createdigest.pyc requirements-dev.txt > > bloodhound_setup.py pgrequirements.txt requirements.txt > > createdigest.py README.rst tests.py > > [root@lbtvmcentosbug installer]# cd bloodhound > > [root@lbtvmcentosbug bloodhound]# dir > > bin bloodhound environments include lib lib64 site > > [root@lbtvmcentosbug bloodhound]# source ./bin/activate > > (bloodhound)[root@lbtvmcentosbug bloodhound]# python > > Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) > > [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import genshi > > >>> import babel > > >>> import themeengine > > >>> import acct_mgr > > >>> import bhtheme > > >>> import bhdashboard > > >>> import bhsearch > > >>> import multiproduct > > >>> import bhrelations > > >>> exit() > > (bloodhound)[root@lbtvmcentosbug bloodhound]# python > > Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) > > [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> from trac.env import open_environment as oe > > >>> env =3D > oe('/var/www/bloodhound/installer/bloodhound/environments/main') > > >>> import acct_mgr.web_ui > > >>> env[web_ui.LoginModule] > > Traceback (most recent call last): > > File "", line 1, in > > NameError: name 'web_ui' is not defined > > >>> > > Ok that seems better, could you look at the file > /var/www/bloodhound/installer/bloodhound/environments/main/conf/base.in= i > there should be the following acct_mgr entries under [components]: > acct_mgr.admin.* =3D enabled > acct_mgr.api.accountmanager =3D enabled > acct_mgr.guard.accountguard =3D enabled > acct_mgr.htfile.htdigeststore =3D enabled > acct_mgr.web_ui.accountmodule =3D enabled > acct_mgr.web_ui.loginmodule =3D enabled > > Then also please check which acct_mgr .py files were installed for the > virtual env, they should be in the > > /var/www/bloodhound/installer/bloodhound/lib/python/site-package= s/acct_mgr > > > > > > > > " > > > > > > 2013/7/30 Gary Martin > > Can we be careful to distinguish which environments you are trying this > in. Is this in the activated bloodhound virtualenv? > > > > Cheers, > > Gary > > > > > > On 30/07/13 10:17, Pedro Estrela wrote: > > Yes i did all as root. > > > > > > [root@lbtvmcentosbug Desktop]# python > > Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) > > [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import genshi > > >>> import babel > > >>> import themeengine > > >>> import acct_mgr > > Traceback (most recent call last): > > File "", line 1, in > > ImportError: No module named acct_mgr > > >>> import bhtheme > > >>> import bhdashboard > > >>> import bhsearch > > >>> import multiproduct > > >>> import bhrelations > > >>> > > > > this is my output, i guess i'm having some troubles with acct_mgr > > > > > > > > 2013/7/30 Matev=C5=BE Brada=C4=8D >> > > > > > > On 30. Jul, 2013, at 10:45, Pedro Estrela wrote: > > > > > I'm running as root. > > > > > > Here is the result of pip freeze: > > > > > > " > > > Warning: cannot find svn location for > > BloodhoundMultiProduct=3D=3D0.7.0dev-r1506070 > > > Warning: cannot find svn location for > > BloodhoundRelationsPlugin=3D=3D0.7.0dev-r1503571 > > > Warning: cannot find svn location for > > BloodhoundTheme=3D=3D0.7.0dev-r1506038 > > > Warning: cannot find svn location for > > BloodhoundSearchPlugin=3D=3D0.7.0dev-r1503560 > > > Warning: cannot find svn location for > > BloodhoundDashboardPlugin=3D=3D0.7.0dev-r1505871 > > > Warning: cannot find svn location for PEAK-Rules=3D=3D0.5a1.dev-r= 2582 > > > AddOns=3D=3D0.6 > > > Babel=3D=3D0.9.4 > > > Beaker=3D=3D1.3.1 > > > ## FIXME: could not find svn URL in dependency_links for this > > package: > > > BloodhoundDashboardPlugin=3D=3D0.7.0dev-r1505871 > > > ## FIXME: could not find svn URL in dependency_links for this > > package: > > > BloodhoundMultiProduct=3D=3D0.7.0dev-r1506070 > > > ## FIXME: could not find svn URL in dependency_links for this > > package: > > > BloodhoundRelationsPlugin=3D=3D0.7.0dev-r1503571 > > > ## FIXME: could not find svn URL in dependency_links for this > > package: > > > BloodhoundSearchPlugin=3D=3D0.7.0dev-r1503560 > > > ## FIXME: could not find svn URL in dependency_links for this > > package: > > > BloodhoundTheme=3D=3D0.7.0dev-r1506038 > > > BytecodeAssembler=3D=3D0.5.1 > > > Cheetah=3D=3D2.4.1 > > > DecoratorTools=3D=3D1.7 > > > Extremes=3D=3D1.1 > > > FormEncode=3D=3D1.2.2 > > > Genshi=3D=3D0.6 > > > Magic-file-extensions=3D=3D0.1 > > > Mako=3D=3D0.3.4 > > > Markdown=3D=3D2.0.1 > > > MarkupSafe=3D=3D0.9.2 > > > MySQL-python=3D=3D1.2.3c1 > > > Myghty=3D=3D1.1 > > > ## FIXME: could not find svn URL in dependency_links for this > > package: > > > PEAK-Rules=3D=3D0.5a1.dev-r2582 > > > Paste=3D=3D1.7.4 > > > PasteDeploy=3D=3D1.3.3 > > > PasteScript=3D=3D1.7.3 > > > PyGreSQL=3D=3D3.8.1 > > > Pygments=3D=3D1.1.1 > > > Pylons=3D=3D0.9.7 > > > Routes=3D=3D1.10.3 > > > SQLAlchemy=3D=3D0.5.5 > > > SSSDConfig=3D=3D1.9.2 > > > SetupDocs=3D=3D1.0.5 > > > SymbolType=3D=3D1.0 > > > Tempita=3D=3D0.4 > > > ToscaWidgets=3D=3D0.9.8 > > > Trac=3D=3D1.0.1 > > > TracAccountManager=3D=3D0.4.3 > > > TracPermRedirect=3D=3D3.0 > > > TracThemeEngine=3D=3D2.2.0 > > > TurboGears2=3D=3D2.0.3 > > > TurboJson=3D=3D1.2.1 > > > WebError=3D=3D0.10.2 > > > WebFlash=3D=3D0.1a9 > > > WebHelpers=3D=3D0.6.4 > > > WebOb=3D=3D0.9.6.1 > > > WebTest=3D=3D1.2 > > > Whoosh=3D=3D2.4.1 > > > cas=3D=3D0.15 > > > cups=3D=3D1.0 > > > cupshelpers=3D=3D1.0 > > > decorator=3D=3D3.0.1 > > > distribute=3D=3D0.6.10 > > > ethtool=3D=3D0.6 > > > firstboot=3D=3D1.110 > > > freeipa=3D=3D2.0.0.alpha.0 > > > iniparse=3D=3D0.3.1 > > > iotop=3D=3D0.3.2 > > > ipapython=3D=3D3.0.0 > > > iwlib=3D=3D1.0 > > > kerberos=3D=3D1.0 > > > luci=3D=3D0.26.0 > > > lxml=3D=3D2.2.3 > > > matplotlib=3D=3D0.99.1.1 > > > netaddr=3D=3D0.7.5 > > > nose=3D=3D0.10.4 > > > numpy=3D=3D1.4.1 > > > paramiko=3D=3D1.7.5 > > > pexpect=3D=3D2.3 > > > policycoreutils-default-encoding=3D=3D0.1 > > > prioritized-methods=3D=3D0.2.1 > > > psycopg2=3D=3D2.0.14 > > > pyOpenSSL=3D=3D0.10 > > > pyasn1=3D=3D0.0.12a > > > pycrypto=3D=3D2.0.1 > > > pycurl=3D=3D7.19.0 > > > pygpgme=3D=3D0.1 > > > python-dateutil=3D=3D1.4.1 > > > python-default-encoding=3D=3D0.1 > > > python-ldap=3D=3D2.3.10 > > > python-meh=3D=3D0.11 > > > python-memcached=3D=3D1.43 > > > python-nss=3D=3D0.13 > > > pytz=3D=3D2010h > > > pyxdg=3D=3D0.18 > > > qpid-python=3D=3D0.14 > > > qpid-tools=3D=3D0.14 > > > repoze.tm2=3D=3D1.0a4 > > > repoze.what=3D=3D1.0.8 > > > repoze.what-pylons=3D=3D1.0 > > > repoze.who=3D=3D1.0.18 > > > repoze.who-friendlyform=3D=3D1.0.8 > > > repoze.who-testutil=3D=3D1.0rc1 > > > scdate=3D=3D1.9.60 > > > sckdump=3D=3D2.0.5 > > > scservices=3D=3D0.99.45 > > > scservices.dbus=3D=3D0.99.45 > > > setools=3D=3D1.0 > > > simplejson=3D=3D2.0.9 > > > slip=3D=3D0.2.20 > > > slip.dbus=3D=3D0.2.20 > > > slip.gtk=3D=3D0.2.20 > > > smbc=3D=3D1.0 > > > sqlparse=3D=3D0.1.7 > > > suds=3D=3D0.4.1 > > > transaction=3D=3D1.0.1 > > > urlgrabber=3D=3D3.9.1 > > > virtualenv=3D=3D1.9.1 > > > yum-metadata-parser=3D=3D1.1.2 > > > zope.interface=3D=3D3.5.2 > > > zope.sqlalchemy=3D=3D0.4 > > > " > > > > > > > Hmm, it does seem to be installed. > > Are you also running Olemis' tests as root? > > > > Could you also check that the top level BH/Trac modules can be > > imported > > properly by the python interpreter, e.g.: > > {{{#!py > > import genshi > > import babel > > import themeengine > > import acct_mgr > > import bhtheme > > import bhdashboard > > import bhsearch > > import multiproduct > > import bhrelations > > }}} > > > > > > > > 2013/7/30 Matev=C5=BE Brada=C4=8D > > > > > > > > > > On 30. Jul, 2013, at 10:20, Pedro Estrela wrote: > > > > > > > ">>> import acct_mgr.web_ui > > > > Traceback (most recent call last): > > > > File "", line 1, in > > > > ImportError: No module named acct_mgr.web_ui" > > > > > > > > I guess is missing something > > > > > > Most likely it's not installed. Could you please provide the > > output of > > > pip freeze > > > command so that we can determine which modules have been > > installed in > > > the environment? > > > > > > Also, how are you running your web server - as admin/root, or as = a > > > separate user? > > > > > > > > > > > > > > > 2013/7/30 Olemis Lang >> > > > > > > On 7/29/13, Pedro Estrela > > wrote: > > > > > Hi, > > > > > > > > > > > > > :) > > > > > > > > [...] > > > > > Can you please tell me what i did wrong? This is the error > > that i get: > > > > > > > > > > "Error: Not Found > > > > > No handler matched request to /login" > > > > > > > > > > > > > This is an indication of the fact that account manager plugin > > has not > > > > been ( detected / loaded / enabled ). Could you please launch > your > > > > python interpreter, execute the following code and tell us > > what's the > > > > result ? Is it even close to what you see below? > > > > > > > > {{{#!py > > > > > > > > >>> from trac.env import open_environment as oe > > > > >>> env =3D oe('/path/to/bh/env') > > > > >>> import acct_mgr.web_ui > > > > >>> env[web_ui.LoginModule] > > > > > > > > }}} > > > > > > > > -- > > > > Regards, > > > > > > > > Olemis - @olemislc > > > > > > > > Apache=E2=84=A2 Bloodhound contributor > > > > http://issues.apache.org/bloodhound > > > > http://blood-hound.net > > > > > > > > Blog ES: http://simelo-es.blogspot.com/ > > > > Blog EN: http://simelo-en.blogspot.com/ > > > > > > > > Featured article: > > > > > > > > > > > > > > > > > > > > --089e0160c1bad5fe1604e2b8619a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Those acct_mgr entries are all enable.=C2=A0

Those are the files @ /var/www/bloodhound/installer/bloodhound/lib/py= thon2.6/site-packages/acct_mgr :

"
=
(bloodhound)[root@lbtvmcentosbug acct_mgr]# ls -l
total 412
=
-rw-r--r-- =C2=A01 root root 29414 Jul 24 11:30 admin.py
-rw= -r--r-- =C2=A01 root root 21742 Jul 24 11:30 admin.pyc
-rw-r--r--= =C2=A01 root root 16703 Jul 24 11:30 api.py
-rw-r--r-- =C2=A01 root root 20038 Jul 24 11:30 api.pyc
-rw-= r--r-- =C2=A01 root root =C2=A04653 Jul 24 11:30 db.py
-rw-r--r--= =C2=A01 root root =C2=A05220 Jul 24 11:30 db.pyc
-rw-r--r-- =C2= =A01 root root 10221 Jul 24 11:30 guard.py
-rw-r--r-- =C2=A01 root root =C2=A08868 Jul 24 11:30 guard.pyc
-rw-r--r-- =C2=A01 root root =C2=A0 404 Jul 24 11:30 hashlib_compat.py
-rw-r--r-- =C2=A01 root root =C2=A0 357 Jul 24 11:30 hashlib_compa= t.pyc
drwxr-xr-x =C2=A02 root root =C2=A04096 Jul 24 11:30 htdocs=
-rw-r--r-- =C2=A01 root root 10261 Jul 24 11:30 htfile.py
-r= w-r--r-- =C2=A01 root root =C2=A09907 Jul 24 11:30 htfile.pyc
-rw= -r--r-- =C2=A01 root root =C2=A02838 Jul 24 11:30 http.py
-rw-r--= r-- =C2=A01 root root =C2=A02936 Jul 24 11:30 http.pyc
-rw-r--r-- =C2=A01 root root =C2=A0 =C2=A0 0 Jul 24 11:30 __init__.py<= /div>
-rw-r--r-- =C2=A01 root root =C2=A0 168 Jul 24 11:30 __init__.pyc=
drwxr-xr-x 22 root root =C2=A04096 Jul 24 11:30 locale
-rw-r--r-- =C2=A01 root root =C2=A06451 Jul 24 11:30 macros.py
-rw-r--r-- =C2=A01 root root =C2=A06216 Jul 24 11:30 macros.pyc
<= div>-rw-r--r-- =C2=A01 root root =C2=A02782 Jul 24 11:30 md5crypt.py
<= div>-rw-r--r-- =C2=A01 root root =C2=A02901 Jul 24 11:30 md5crypt.pyc
=
-rw-r--r-- =C2=A01 root root =C2=A09429 Jul 24 11:30 model.py
-rw-r--r-- =C2=A01 root root =C2=A08418 Jul 24 11:30 model.pyc
-rw-r--r-- =C2=A01 root root =C2=A06737 Jul 24 11:30 notification.py
-rw-r--r-- =C2=A01 root root =C2=A08604 Jul 24 11:30 notification.py= c
-rw-r--r-- =C2=A01 root root =C2=A04918 Jul 24 11:30 pwhash.py<= /div>
-rw-r--r-- =C2=A01 root root =C2=A06322 Jul 24 11:30 pwhash.pyc
<= div>-rw-r--r-- =C2=A01 root root 25360 Jul 24 11:30 register.py
-= rw-r--r-- =C2=A01 root root 21636 Jul 24 11:30 register.pyc
-rw-r= --r-- =C2=A01 root root =C2=A02406 Jul 24 11:30 svnserve.py
-rw-r--r-- =C2=A01 root root =C2=A03420 Jul 24 11:30 svnserve.pyc
drwxr-xr-x =C2=A02 root root =C2=A04096 Jul 24 11:30 templates
<= div>-rw-r--r-- =C2=A01 root root =C2=A04234 Jul 24 11:30 util.py
= -rw-r--r-- =C2=A01 root root =C2=A04864 Jul 24 11:30 util.pyc
-rw-r--r-- =C2=A01 root root 32613 Jul 24 11:30 web_ui.py
-r= w-r--r-- =C2=A01 root root 25674 Jul 24 11:30 web_ui.pyc
"


2013/7/30 Matev=C5=BE Brada=C4=8D <matevz@digiverse.si>

On 30. Jul, 2013, at 11:57, Pedro Estrela wrote:

> No it wasn't. Sorry about that.
>
> Here it is now:
>
> "
> [root@lbtvmcentosbug /]# cd var
> [root@lbtvmcentosbug var]# cd www
> [root@lbtvmcentosbug www]# cd bloodhound/
> [root@lbtvmcentosbug bloodhound]# cd installer/
> [root@lbtvmcentosbug installer]# ls
> bloodhound =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 createdigest.pyc =C2=A0 = =C2=A0requirements-dev.txt
> bloodhound_setup.py =C2=A0pgrequirements.txt =C2=A0requirements.txt > createdigest.py =C2=A0 =C2=A0 =C2=A0README.rst =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0tests.py
> [root@lbtvmcentosbug installer]# cd bloodhound
> [root@lbtvmcentosbug bloodhound]# dir
> bin =C2=A0bloodhound =C2=A0environments =C2=A0include =C2=A0 =C2=A0 = =C2=A0 =C2=A0lib =C2=A0lib64 =C2=A0site
> [root@lbtvmcentosbug bloodhound]# source ./bin/activate
> (bloodhound)[root@lbtvmcentosbug bloodhound]# python
> Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
> Type "help", "copyright", "credits" or &= quot;license" for more information.
> >>> import genshi
> >>> import babel
> >>> import themeengine
> >>> import acct_mgr
> >>> import bhtheme
> >>> import bhdashboard
> >>> import bhsearch
> >>> import multiproduct
> >>> import bhrelations
> >>> exit()
> (bloodhound)[root@lbtvmcentosbug bloodhound]# python
> Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
> Type "help", "copyright", "credits" or &= quot;license" for more information.
> >>> from trac.env import open_environment as oe
> >>> env =3D oe('/var/www/bloodhound/installer/bloodhound/= environments/main')
> >>> import acct_mgr.web_ui
> >>> env[web_ui.LoginModule]
> Traceback (most recent call last):
> =C2=A0 File "<stdin>", line 1, in <module>
> NameError: name 'web_ui' is not defined
> >>>

Ok that seems better, could you look at the file
=C2=A0 /var/www/bloodhound/installer/bloodhound/environments/main/conf/base= .ini
there should be the following acct_mgr entries under [components]:
=C2=A0 acct_mgr.admin.* =3D enabled
=C2=A0 acct_mgr.api.accountmanager =3D enabled
=C2=A0 acct_mgr.guard.accountguard =3D enabled
=C2=A0 acct_mgr.htfile.htdigeststore =3D enabled
=C2=A0 acct_mgr.web_ui.accountmodule =3D enabled
=C2=A0 acct_mgr.web_ui.loginmodule =3D enabled

Then also please check which acct_mgr .py files were installed for the
virtual env, they should be in the
=C2=A0 /var/www/bloodhound/installer/bloodhound/lib/python<version>/s= ite-packages/acct_mgr


>
>
> "
>
>
> 2013/7/30 Gary Martin <= gary.martin@wandisco.com>
> Can we be careful to distinguish which environments you are trying thi= s in. Is this in the activated bloodhound virtualenv?
>
> Cheers,
> =C2=A0 =C2=A0 Gary
>
>
> On 30/07/13 10:17, Pedro Estrela wrote:
> Yes i did all as root.
>
>
> [root@lbtvmcentosbug Desktop]# python
> Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
> Type "help", "copyright", "credits" or &= quot;license" for more information.
> >>> import genshi
> >>> import babel
> >>> import themeengine
> >>> import acct_mgr
> Traceback (most recent call last):
> =C2=A0 File "<stdin>", line 1, in <module>
> ImportError: No module named acct_mgr
> >>> import bhtheme
> >>> import bhdashboard
> >>> import bhsearch
> >>> import multiproduct
> >>> import bhrelations
> >>>
>
> this is my output, i guess i'm having some troubles with acct_mgr<= br> >
>
>
> 2013/7/30 Matev=C5=BE Brada=C4=8D <matevz@digiverse.si <mailto:matevz@digiverse.si>>
>
>
> =C2=A0 =C2=A0 On 30. Jul, 2013, at 10:45, Pedro Estrela wrote:
>
> =C2=A0 =C2=A0 > I'm running as root.
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > Here is the result of pip freeze:
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > "
> =C2=A0 =C2=A0 > Warning: cannot find svn location for
> =C2=A0 =C2=A0 BloodhoundMultiProduct=3D=3D0.7.0dev-r1506070
> =C2=A0 =C2=A0 > Warning: cannot find svn location for
> =C2=A0 =C2=A0 BloodhoundRelationsPlugin=3D=3D0.7.0dev-r1503571
> =C2=A0 =C2=A0 > Warning: cannot find svn location for
> =C2=A0 =C2=A0 BloodhoundTheme=3D=3D0.7.0dev-r1506038
> =C2=A0 =C2=A0 > Warning: cannot find svn location for
> =C2=A0 =C2=A0 BloodhoundSearchPlugin=3D=3D0.7.0dev-r1503560
> =C2=A0 =C2=A0 > Warning: cannot find svn location for
> =C2=A0 =C2=A0 BloodhoundDashboardPlugin=3D=3D0.7.0dev-r1505871
> =C2=A0 =C2=A0 > Warning: cannot find svn location for PEAK-Rules=3D= =3D0.5a1.dev-r2582
> =C2=A0 =C2=A0 > AddOns=3D=3D0.6
> =C2=A0 =C2=A0 > Babel=3D=3D0.9.4
> =C2=A0 =C2=A0 > Beaker=3D=3D1.3.1
> =C2=A0 =C2=A0 > ## FIXME: could not find svn URL in dependency_link= s for this
> =C2=A0 =C2=A0 package:
> =C2=A0 =C2=A0 > BloodhoundDashboardPlugin=3D=3D0.7.0dev-r1505871 > =C2=A0 =C2=A0 > ## FIXME: could not find svn URL in dependency_link= s for this
> =C2=A0 =C2=A0 package:
> =C2=A0 =C2=A0 > BloodhoundMultiProduct=3D=3D0.7.0dev-r1506070
> =C2=A0 =C2=A0 > ## FIXME: could not find svn URL in dependency_link= s for this
> =C2=A0 =C2=A0 package:
> =C2=A0 =C2=A0 > BloodhoundRelationsPlugin=3D=3D0.7.0dev-r1503571 > =C2=A0 =C2=A0 > ## FIXME: could not find svn URL in dependency_link= s for this
> =C2=A0 =C2=A0 package:
> =C2=A0 =C2=A0 > BloodhoundSearchPlugin=3D=3D0.7.0dev-r1503560
> =C2=A0 =C2=A0 > ## FIXME: could not find svn URL in dependency_link= s for this
> =C2=A0 =C2=A0 package:
> =C2=A0 =C2=A0 > BloodhoundTheme=3D=3D0.7.0dev-r1506038
> =C2=A0 =C2=A0 > BytecodeAssembler=3D=3D0.5.1
> =C2=A0 =C2=A0 > Cheetah=3D=3D2.4.1
> =C2=A0 =C2=A0 > DecoratorTools=3D=3D1.7
> =C2=A0 =C2=A0 > Extremes=3D=3D1.1
> =C2=A0 =C2=A0 > FormEncode=3D=3D1.2.2
> =C2=A0 =C2=A0 > Genshi=3D=3D0.6
> =C2=A0 =C2=A0 > Magic-file-extensions=3D=3D0.1
> =C2=A0 =C2=A0 > Mako=3D=3D0.3.4
> =C2=A0 =C2=A0 > Markdown=3D=3D2.0.1
> =C2=A0 =C2=A0 > MarkupSafe=3D=3D0.9.2
> =C2=A0 =C2=A0 > MySQL-python=3D=3D1.2.3c1
> =C2=A0 =C2=A0 > Myghty=3D=3D1.1
> =C2=A0 =C2=A0 > ## FIXME: could not find svn URL in dependency_link= s for this
> =C2=A0 =C2=A0 package:
> =C2=A0 =C2=A0 > PEAK-Rules=3D=3D0.5a1.dev-r2582
> =C2=A0 =C2=A0 > Paste=3D=3D1.7.4
> =C2=A0 =C2=A0 > PasteDeploy=3D=3D1.3.3
> =C2=A0 =C2=A0 > PasteScript=3D=3D1.7.3
> =C2=A0 =C2=A0 > PyGreSQL=3D=3D3.8.1
> =C2=A0 =C2=A0 > Pygments=3D=3D1.1.1
> =C2=A0 =C2=A0 > Pylons=3D=3D0.9.7
> =C2=A0 =C2=A0 > Routes=3D=3D1.10.3
> =C2=A0 =C2=A0 > SQLAlchemy=3D=3D0.5.5
> =C2=A0 =C2=A0 > SSSDConfig=3D=3D1.9.2
> =C2=A0 =C2=A0 > SetupDocs=3D=3D1.0.5
> =C2=A0 =C2=A0 > SymbolType=3D=3D1.0
> =C2=A0 =C2=A0 > Tempita=3D=3D0.4
> =C2=A0 =C2=A0 > ToscaWidgets=3D=3D0.9.8
> =C2=A0 =C2=A0 > Trac=3D=3D1.0.1
> =C2=A0 =C2=A0 > TracAccountManager=3D=3D0.4.3
> =C2=A0 =C2=A0 > TracPermRedirect=3D=3D3.0
> =C2=A0 =C2=A0 > TracThemeEngine=3D=3D2.2.0
> =C2=A0 =C2=A0 > TurboGears2=3D=3D2.0.3
> =C2=A0 =C2=A0 > TurboJson=3D=3D1.2.1
> =C2=A0 =C2=A0 > WebError=3D=3D0.10.2
> =C2=A0 =C2=A0 > WebFlash=3D=3D0.1a9
> =C2=A0 =C2=A0 > WebHelpers=3D=3D0.6.4
> =C2=A0 =C2=A0 > WebOb=3D=3D0.9.6.1
> =C2=A0 =C2=A0 > WebTest=3D=3D1.2
> =C2=A0 =C2=A0 > Whoosh=3D=3D2.4.1
> =C2=A0 =C2=A0 > cas=3D=3D0.15
> =C2=A0 =C2=A0 > cups=3D=3D1.0
> =C2=A0 =C2=A0 > cupshelpers=3D=3D1.0
> =C2=A0 =C2=A0 > decorator=3D=3D3.0.1
> =C2=A0 =C2=A0 > distribute=3D=3D0.6.10
> =C2=A0 =C2=A0 > ethtool=3D=3D0.6
> =C2=A0 =C2=A0 > firstboot=3D=3D1.110
> =C2=A0 =C2=A0 > freeipa=3D=3D2.0.0.alpha.0
> =C2=A0 =C2=A0 > iniparse=3D=3D0.3.1
> =C2=A0 =C2=A0 > iotop=3D=3D0.3.2
> =C2=A0 =C2=A0 > ipapython=3D=3D3.0.0
> =C2=A0 =C2=A0 > iwlib=3D=3D1.0
> =C2=A0 =C2=A0 > kerberos=3D=3D1.0
> =C2=A0 =C2=A0 > luci=3D=3D0.26.0
> =C2=A0 =C2=A0 > lxml=3D=3D2.2.3
> =C2=A0 =C2=A0 > matplotlib=3D=3D0.99.1.1
> =C2=A0 =C2=A0 > netaddr=3D=3D0.7.5
> =C2=A0 =C2=A0 > nose=3D=3D0.10.4
> =C2=A0 =C2=A0 > numpy=3D=3D1.4.1
> =C2=A0 =C2=A0 > paramiko=3D=3D1.7.5
> =C2=A0 =C2=A0 > pexpect=3D=3D2.3
> =C2=A0 =C2=A0 > policycoreutils-default-encoding=3D=3D0.1
> =C2=A0 =C2=A0 > prioritized-methods=3D=3D0.2.1
> =C2=A0 =C2=A0 > psycopg2=3D=3D2.0.14
> =C2=A0 =C2=A0 > pyOpenSSL=3D=3D0.10
> =C2=A0 =C2=A0 > pyasn1=3D=3D0.0.12a
> =C2=A0 =C2=A0 > pycrypto=3D=3D2.0.1
> =C2=A0 =C2=A0 > pycurl=3D=3D7.19.0
> =C2=A0 =C2=A0 > pygpgme=3D=3D0.1
> =C2=A0 =C2=A0 > python-dateutil=3D=3D1.4.1
> =C2=A0 =C2=A0 > python-default-encoding=3D=3D0.1
> =C2=A0 =C2=A0 > python-ldap=3D=3D2.3.10
> =C2=A0 =C2=A0 > python-meh=3D=3D0.11
> =C2=A0 =C2=A0 > python-memcached=3D=3D1.43
> =C2=A0 =C2=A0 > python-nss=3D=3D0.13
> =C2=A0 =C2=A0 > pytz=3D=3D2010h
> =C2=A0 =C2=A0 > pyxdg=3D=3D0.18
> =C2=A0 =C2=A0 > qpid-python=3D=3D0.14
> =C2=A0 =C2=A0 > qpid-tools=3D=3D0.14
> =C2=A0 =C2=A0 > repoze.tm2=3D=3D1.0a4
> =C2=A0 =C2=A0 > repoze.what=3D=3D1.0.8
> =C2=A0 =C2=A0 > repoze.what-pylons=3D=3D1.0
> =C2=A0 =C2=A0 > repoze.who=3D=3D1.0.18
> =C2=A0 =C2=A0 > repoze.who-friendlyform=3D=3D1.0.8
> =C2=A0 =C2=A0 > repoze.who-testutil=3D=3D1.0rc1
> =C2=A0 =C2=A0 > scdate=3D=3D1.9.60
> =C2=A0 =C2=A0 > sckdump=3D=3D2.0.5
> =C2=A0 =C2=A0 > scservices=3D=3D0.99.45
> =C2=A0 =C2=A0 > scservices.dbus=3D=3D0.99.45
> =C2=A0 =C2=A0 > setools=3D=3D1.0
> =C2=A0 =C2=A0 > simplejson=3D=3D2.0.9
> =C2=A0 =C2=A0 > slip=3D=3D0.2.20
> =C2=A0 =C2=A0 > slip.dbus=3D=3D0.2.20
> =C2=A0 =C2=A0 > slip.gtk=3D=3D0.2.20
> =C2=A0 =C2=A0 > smbc=3D=3D1.0
> =C2=A0 =C2=A0 > sqlparse=3D=3D0.1.7
> =C2=A0 =C2=A0 > suds=3D=3D0.4.1
> =C2=A0 =C2=A0 > transaction=3D=3D1.0.1
> =C2=A0 =C2=A0 > urlgrabber=3D=3D3.9.1
> =C2=A0 =C2=A0 > virtualenv=3D=3D1.9.1
> =C2=A0 =C2=A0 > yum-metadata-parser=3D=3D1.1.2
> =C2=A0 =C2=A0 > zope.interface=3D=3D3.5.2
> =C2=A0 =C2=A0 > zope.sqlalchemy=3D=3D0.4
> =C2=A0 =C2=A0 > "
> =C2=A0 =C2=A0 >
>
> =C2=A0 =C2=A0 Hmm, it does seem to be installed.
> =C2=A0 =C2=A0 Are you also running Olemis' tests as root?
>
> =C2=A0 =C2=A0 Could you also check that the top level BH/Trac modules = can be
> =C2=A0 =C2=A0 imported
> =C2=A0 =C2=A0 properly by the python interpreter, e.g.:
> =C2=A0 =C2=A0 {{{#!py
> =C2=A0 =C2=A0 =C2=A0 import genshi
> =C2=A0 =C2=A0 =C2=A0 import babel
> =C2=A0 =C2=A0 =C2=A0 import themeengine
> =C2=A0 =C2=A0 =C2=A0 import acct_mgr
> =C2=A0 =C2=A0 =C2=A0 import bhtheme
> =C2=A0 =C2=A0 =C2=A0 import bhdashboard
> =C2=A0 =C2=A0 =C2=A0 import bhsearch
> =C2=A0 =C2=A0 =C2=A0 import multiproduct
> =C2=A0 =C2=A0 =C2=A0 import bhrelations
> =C2=A0 =C2=A0 }}}
>
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > 2013/7/30 Matev=C5=BE Brada=C4=8D <matevz@digiverse.si
> =C2=A0 =C2=A0 <mailto:matevz= @digiverse.si>>
>
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > On 30. Jul, 2013, at 10:20, Pedro Estrela wrote: > =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > > ">>> import acct_mgr.web_ui
> =C2=A0 =C2=A0 > > Traceback (most recent call last):
> =C2=A0 =C2=A0 > > =C2=A0 File "<stdin>", line 1,= in <module>
> =C2=A0 =C2=A0 > > ImportError: No module named acct_mgr.web_ui&q= uot;
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > I guess is missing something
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > Most likely it's not installed. Could you pleas= e provide the
> =C2=A0 =C2=A0 output of
> =C2=A0 =C2=A0 > =C2=A0 pip freeze
> =C2=A0 =C2=A0 > command so that we can determine which modules have= been
> =C2=A0 =C2=A0 installed in
> =C2=A0 =C2=A0 > the environment?
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > Also, how are you running your web server - as admi= n/root, or as a
> =C2=A0 =C2=A0 > separate user?
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > 2013/7/30 Olemis Lang <olemis@gmail.com <mailto:olemis@gmail.com>>
>
> =C2=A0 =C2=A0 > > On 7/29/13, Pedro Estrela <p.estrela@campus.fct.unl.pt
> =C2=A0 =C2=A0 <mailto:p.estrela@campus.fct.unl.pt>> wrote:
> =C2=A0 =C2=A0 > > > Hi,
> =C2=A0 =C2=A0 > > >
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > :)
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > [...]
> =C2=A0 =C2=A0 > > > Can you please tell me what i did wrong? = This is the error
> =C2=A0 =C2=A0 that i get:
> =C2=A0 =C2=A0 > > >
> =C2=A0 =C2=A0 > > > "Error: Not Found
> =C2=A0 =C2=A0 > > > No handler matched request to /login"= ;
> =C2=A0 =C2=A0 > > >
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > This is an indication of the fact that account= manager plugin
> =C2=A0 =C2=A0 has not
> =C2=A0 =C2=A0 > > been ( detected / loaded / enabled ). Could yo= u please launch your
> =C2=A0 =C2=A0 > > python interpreter, execute the following code= and tell us
> =C2=A0 =C2=A0 what's the
> =C2=A0 =C2=A0 > > result ? Is it even close to what you see belo= w?
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > {{{#!py
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > >>> from trac.env import open_environ= ment as oe
> =C2=A0 =C2=A0 > > >>> env =3D oe('/path/to/bh/env&#= 39;)
> =C2=A0 =C2=A0 > > >>> import acct_mgr.web_ui
> =C2=A0 =C2=A0 > > >>> env[web_ui.LoginModule]
> =C2=A0 =C2=A0 > > <acct_mgr.web_ui.LoginModule object at 0x38= a9710>
> =C2=A0 =C2=A0 > > }}}
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > --
> =C2=A0 =C2=A0 > > Regards,
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > Olemis - @olemislc
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > Apache=E2=84=A2 Bloodhound contributor
> =C2=A0 =C2=A0 > > http://issues.apache.org/bloodhound
> =C2=A0 =C2=A0 > > http://blood-hound.net
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > Blog ES: http://simelo-es.blogspot.com/
> =C2=A0 =C2=A0 > > Blog EN: http://simelo-en.blogspot.com/
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 > > Featured article:
> =C2=A0 =C2=A0 > >
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >
>
>
>
>


--089e0160c1bad5fe1604e2b8619a--