Re: Trac Account Manager / Tracd / ajp / proxypass / apache

43 views
Skip to first unread message

RjOllos

unread,
Apr 25, 2013, 11:34:26 AM4/25/13
to trac-...@googlegroups.com
On Thursday, April 25, 2013 2:09:44 AM UTC-7, geos_one wrote:
Hallo i am unable to find the reason for this problem
i get this error when i login to trac that is running via tracd via ajp via apache2

Would you happen to have a traceback to go with that error? When did the error start occurring? Did you recently upgrade AccountManager?

What version of AccountManagerPlugin are you running? Make sure you have upgraded to 0.4.3.

 * The following AccountManager entries are obsolete in 0.4 and later [
See (1) for more details]:
    acct_mgr.admin.accountmanageradminpages
acct_mgr.web_ui.emailverificationmodule
acct_mgr.web_ui.registrationmodule
* The options `register_check` probably has no effect if you haven't enabled any of the acct_mgr.register components.

(1) https://trac-hacks.org/svn/accountmanagerplugin/trunk/README.update


Mario Fetka

unread,
Apr 25, 2013, 11:59:47 AM4/25/13
to trac-...@googlegroups.com

have removed the obsoled acct_mgr entries and the registry_check

no change
i have olso just for the test switched the tracd to http mode the error is the same

System Information

Trac 0.12.5
Docutils0.10
Genshi 0.6 (without speedups)
Pygments 1.6
pysqlite2.6.0
Python 2.7.3 (default, Mar 24 2013, 06:03:34) [GCC 4.6.3]
pytz 2012j
setuptools0.6
SQLite 3.7.15.2
Subversion1.7.7 (r1393599)
jQuery: 1.4.4

Installed Plugins

DefaultCc 0.3dev /usr/lib64/python2.7/site-packages
GnomeBRTheme 0.1 /usr/lib64/python2.7/site-packages
IniAdmin 0.3 /usr/lib64/python2.7/site-packages
MoveableTypeSkin 1.0 /usr/lib64/python2.7/site-packages
NatSkinTheme 1.0 /usr/lib64/python2.7/site-packages
NavAdd 0.1.1 /usr/lib64/python2.7/site-packages
NoteBox 1.0dev /usr/lib64/python2.7/site-packages
PatternSkinTheme 1.0 /usr/lib64/python2.7/site-packages
staticdocs-plugin 0.1-2-gb46e /usr/lib64/python2.7/site-packages
SubscriberListPlugin 0.1 /usr/lib64/python2.7/site-packages
TracAccountManager 0.4.3 /usr/lib64/python2.7/site-packages
TracConsultantTheme 1.0 /usr/lib64/python2.7/site-packages
TracCrystalXTheme 1.0 /usr/lib64/python2.7/site-packages
TracDistributedINFORMATIONTheme 1.0 /usr/lib64/python2.7/site-packages
TracDownloads 0.3dev /usr/lib64/python2.7/site-packages
TracFullBlogPlugin 0.1.1 /usr/lib64/python2.7/site-packages
TracIntraBlogTheme 1.0 /usr/lib64/python2.7/site-packages
TracIrresistibleTheme 1.0 /usr/lib64/python2.7/site-packages
TracMentalaxisTheme 1.0 /usr/lib64/python2.7/site-packages
TracPyDotOrgTheme 2.0 /usr/lib64/python2.7/site-packages
TracPyTppTheme 2.2.3 /usr/lib64/python2.7/site-packages
TracRecaptchaRegister 0.2.1.2 /usr/lib64/python2.7/site-packages
TracSpamFilter 0.5.0dev /usr/lib64/python2.7/site-packages
TracTags 0.7dev /usr/lib64/python2.7/site-packages
TracThemeEngine 2.1.3 /usr/lib64/python2.7/site-packages
TracWysiwyg 0.12.0.4 /usr/lib64/python2.7/site-packages



i get a traceback only when logging in as admin


File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 522, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 243, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib64/python2.7/site-packages/acct_mgr/web_ui.py", line 428, in process_request
  return auth.LoginModule.process_request(self, req)
File "/usr/lib64/python2.7/site-packages/trac/web/auth.py", line 115, in process_request
  self._do_login(req)
File "/usr/lib64/python2.7/site-packages/acct_mgr/web_ui.py", line 539, in _do_login
  self._distribute_cookie(req, cookie.value)
File "/usr/lib64/python2.7/site-packages/acct_mgr/web_ui.py", line 586, in _distribute_cookie
  env = open_environment(path, use_cache=True)
File "/usr/lib64/python2.7/site-packages/trac/env.py", line 659, in open_environment
  env = env_cache.setdefault(env_path, open_environment(env_path))
File "/usr/lib64/python2.7/site-packages/trac/env.py", line 665, in open_environment
  env = Environment(env_path)
File "/usr/lib64/python2.7/site-packages/trac/env.py", line 216, in __init__
  self.verify()
File "/usr/lib64/python2.7/site-packages/trac/env.py", line 319, in verify
  assert fd.read(26) == 'Trac Environment Version 1'


2013/4/25 RjOllos <rjo...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To post to this group, send email to trac-...@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

RjOllos

unread,
Apr 25, 2013, 12:37:15 PM4/25/13
to trac-...@googlegroups.com
On Thursday, April 25, 2013 8:59:47 AM UTC-7, geos_one wrote:

have removed the obsoled acct_mgr entries and the registry_check

no change
i have olso just for the test switched the tracd to http mode the error is the same

I'm not sure what the issue is, but we should have enough information now at least. Steffen Hoffmann, the maintainer of AccountManager is active on the list, and I'll bet he can spot the issue right off.

Mario Fetka

unread,
Apr 25, 2013, 12:43:28 PM4/25/13
to trac-users

only for reference i am using the latest svn/git via a my live gentoo ebuilds


2013/4/25 RjOllos <rjo...@gmail.com>

--

Steffen Hoffmann

unread,
Apr 27, 2013, 5:59:26 AM4/27/13
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hope so. From the previous traceback I got, that account manager bails
out on successful authentication, while trying to distribute the auth
cookie information to other Trac environments. You seem to have other
directories alongside your Trac environment folder, and Trac core's
`open_environment` method can't handle them gracefully.

I'll look into account manager code, if I can provide a more fail-safe
approach. Meanwhile you may try cleaning the parent folder, if you can.
On another thought I hoped to go without yet another option to switch
authentication info distribution. Maybe this issue indicates that it is
required indeed.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlF7oXgACgkQ31DJeiZFuHcAfgCePkisxoRXnHKMkblFIThZH+1o
KFEAoLCB+43bFlNvbs4VWbnzwpz1Hchp
=l1g6
-----END PGP SIGNATURE-----

Steffen Hoffmann

unread,
Apr 27, 2013, 11:21:49 AM4/27/13
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I acknowledge this to show an issue with AccountManager, so I just
opened a ticket for tracking related development work:
https://trac-hacks.org/ticket/11038

You may want to follow-up over there for more details and test results
of subsequent revisions. Thank you for taking care.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlF77QsACgkQ31DJeiZFuHeTbQCgpnVTtCJ+vNyORetgLo9cNz2A
KTMAoOBcqO4lz2l5DVyX2lVC+OwFhaMx
=g1o6
-----END PGP SIGNATURE-----

Steffen Hoffmann

unread,
Apr 27, 2013, 8:17:10 PM4/27/13
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27.04.2013 11:59, Steffen Hoffmann wrote:
> I'll look into account manager code, if I can provide a more
> fail-safe approach. Meanwhile you may try cleaning the parent
> folder, if you can.

Would you be so kind as to check-out and test current development code
from 'trunk' branch with relevant changes [1] applied, please?
Feedback welcome, preferably to the related ticket [2].

Thank you in advance for taking some of your precious time for testing
and reporting back.

Steffen Hoffmann


[1] https://trac-hacks.org/changeset/13015
[2] https://trac-hacks.org/ticket/11038
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlF8aoIACgkQ31DJeiZFuHesZACghT1eA2cMaLEmNXqCb24273uK
1z0An3VGkaqZ5M19d1ZomcYmy1wNncmR
=qJN5
-----END PGP SIGNATURE-----

Mario Fetka

unread,
Apr 28, 2013, 12:19:41 AM4/28/13
to trac-users
its wowrking without errors

on another problem i am unable to reactivate my trac-hacks acount

thx
Mario


2013/4/28 Steffen Hoffmann <hof...@web.de>
-----END PGP SIGNATURE-----

RjOllos

unread,
Apr 28, 2013, 12:25:12 AM4/28/13
to trac-...@googlegroups.com
On Saturday, April 27, 2013 9:19:41 PM UTC-7, geos_one wrote:
its wowrking without errors

on another problem i am unable to reactivate my trac-hacks acount

thx
Mario

Hi Mario, What specific problem are you having with your trac-hacks account? You can reset your password here: http://trac-hacks.org/reset_password 

Let me know if you are having a different problem and I will try to help you sort it out. 
Reply all
Reply to author
Forward
0 new messages