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 109D510956 for ; Tue, 30 Jul 2013 09:18:16 +0000 (UTC) Received: (qmail 30582 invoked by uid 500); 30 Jul 2013 09:18:15 -0000 Delivered-To: apmail-bloodhound-user-archive@bloodhound.apache.org Received: (qmail 30296 invoked by uid 500); 30 Jul 2013 09:18:14 -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 29182 invoked by uid 99); 30 Jul 2013 09:18:09 -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 09:18:09 +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 [209.85.215.176] (HELO mail-ea0-f176.google.com) (209.85.215.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 09:18:05 +0000 Received: by mail-ea0-f176.google.com with SMTP id q16so3422421ead.7 for ; Tue, 30 Jul 2013 02:17:23 -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=nG0XGNXs4/GXoIxiHY711x3nP3v46sHgFmsN/Zg+wOQ=; b=FZkiofLfV/Ta+bg0PBNE859/UKUaalsUZSdVRFTo1JDCE7gWdjolZHXtv3vsbA30d/ 3p3EKYbaLVd+/rkR6fIbP0tZ5lCE49nq7RcUp1Vmo0sygYaiDZcfZjwC/TJ0JsaPqdH9 zqz6HyAPYiEUfdw6TRQ4twtLVIb6s8EaCTsPItTOqL44BBxZ07ZdR0R3Lv8+MDWZQq0F xHf2OJJ4Iag2yWYoelWmhINQ6xiQhm6Qqv1LotxcVtkhq7mc2ufeaEN+Dan8HKKaLTHs ngtswstZG+OPLTxQujGSl0Q0hhsaSG2UXmBkF7aBe7dHrNQXH4hMH21NCqyUOPR+gQrh Cb+Q== MIME-Version: 1.0 X-Received: by 10.14.199.7 with SMTP id w7mr11397349een.56.1375175843248; Tue, 30 Jul 2013 02:17:23 -0700 (PDT) Received: by 10.223.81.205 with HTTP; Tue, 30 Jul 2013 02:17:23 -0700 (PDT) In-Reply-To: References: <212FE25C-12A0-4A9C-B9F8-831CE19DDF1B@digiverse.si> Date: Tue, 30 Jul 2013 10:17:23 +0100 Message-ID: Subject: Re: Bloodhound Login Error From: Pedro Estrela To: user@bloodhound.apache.org Content-Type: multipart/alternative; boundary=047d7b343e1ca4352104e2b71314 X-Gm-Message-State: ALoCoQml1YVImXj/ZmkXCqjG4Cc4tj37t8YJ/jw+dCf3p4UBxr0i5sVkeQ+UGRKC3b8pqjcWkYr5 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b343e1ca4352104e2b71314 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-r15= 06038 > > 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-r2582 > > 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: > > > > > > > > > --047d7b343e1ca4352104e2b71314 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes i did all as root.


<= div>[root@lbtvmcentosbug Desktop]# python
Python 2.6.6 (r266:8429= 2, Feb 22 2013, 00:00:18)=C2=A0
[GCC 4.4.7 20120313 (Red Hat 4.4.= 7-3)] on linux2
Type "help", "copyright", "credits" or &= quot;license" for more information.
>>> import gens= hi
>>> import babel
>>> import themee= ngine
>>> import acct_mgr
Traceback (most recent call las= t):
=C2=A0 File "<stdin>", line 1, in <module&= gt;
ImportError: No module named acct_mgr
>>> = import bhtheme
>>> import bhdashboard
>>> import bhsearch=
>>> import multiproduct
>>> import b= hrelations
>>>=C2=A0

this= is my output, i guess i'm having some troubles with acct_mgr



2013/7/30 Matev=C5=BE Brada=C4=8D <matevz@digiverse.si>
On 30. Jul, 2013, at 10:45, Pedro E= strela 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-r1= 506038
> 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-r2582<= br> > 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
=C2=A0 import genshi
=C2=A0 import babel
=C2=A0 import themeengine
=C2=A0 import acct_mgr
=C2=A0 import bhtheme
=C2=A0 import bhdashboard
=C2=A0 import bhsearch
=C2=A0 import multiproduct
=C2=A0 import bhrelations
}}}

>
> 2013/7/30 Matev=C5=BE Brada=C4=8D <matevz@digiverse.si>
>
> On 30. Jul, 2013, at 10:20, Pedro Estrela wrote:
>
> > ">>> import acct_mgr.web_ui
> > Traceback (most recent call last):
> > =C2=A0 File "<stdin>", line 1, in <module><= br> > > ImportError: No module named acct_mgr.web_ui"
> >
> > I guess is missing something
>
> Most likely it's not installed. Could you please provide the outpu= t of
> =C2=A0 pip freeze
> command so that we can determine which modules have been installed in<= br> > the environment?
>
> Also, how are you running your web server - as admin/root, or as a
> separate user?
>
> >
> >
> > 2013/7/30 Olemis Lang <ole= mis@gmail.com>
> > On 7/29/13, Pedro Estrela <p.estrela@campus.fct.unl.pt> wrote:
> > > Hi,
> > >
> >
> > :)
> >
> > [...]
> > > Can you please tell me what i did wrong? This is the error t= hat 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 you= r
> > python interpreter, execute the following code and tell us what&#= 39;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]
> > <acct_mgr.web_ui.LoginModule object at 0x38a9710>
> > }}}
> >
> > --
> > 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:
> >
>
>


--047d7b343e1ca4352104e2b71314--