[Trac] Re: AccountManager woes

2008-10-01 Thread Graham Dumpleton

Doubt that version of mod_wsgi here is the problem if they had the
problem with tracd as well.

If it was just mod_wsgi and AccountManager uses sessions/cookies, then
would be asking what version of Python is being used. Debian broke md5
stuff in some versions in as much as if PHP mhash is loaded at same
time, can cause problems like what is being see. See:

http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_MD5_Hash_Module_Conflict

Since though tracd affected, then would have to be something in Trac
or Trac setup itself.

Graham

On Oct 1, 1:50 am, Eric Shubert [EMAIL PROTECTED] wrote:
 Robert C Corsaro wrote:
  I setup AccountManager trunk with Trac-0.11-stable from svn.  It seems
  to be authenticated alright, but when it's done it I'm still not logged
  in.  I know it's authing because if I provide the wrong user/pass, I get
  an error.  If I log in with proper user/pass, I still have the login
  link at the top of the page and no permission.  I've tried several auth
  stores to no avail.  I'm running it viamod_wsgi, but had the same
  problem with tracd.  This is a very vanilla setup.  Is there something
  else I should use other then trunk?  Can I use AccountManager with
  Trac-0.11-stable?  Is this some redirect issue?

    * Trac-0.11-stable from svn
    * AccountManager trunk from trac-hacks svn
    *mod_wsgi-2.1
    * apache-2.2.9-r1

 Have you visitedhttp://trac.edgewall.org/wiki/TracModWSGI?It says:
 Important note: Please use either version 1.3 or 2.3 or later ofmod_wsgi.
 Version 2.0 has problems with downloading attachments (see #7205). No
 warning about logins though.

 FWIW I'm running trac-0.11.1-1.el5.rf with the latest AccountManager trunk
 (r3857) with no problems. I'm running mod_python though, with
 httpd-2.2.3-11.el5_1.centos.3.

 I know that's not much help, but I hope it points you in the right direction.

 --
 -Eric 'shubes'
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: AccountManager woes

2008-10-01 Thread Eirik Schwenke

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert C Corsaro skrev 01-10-2008 20:02:
 Graham Dumpleton wrote:
 Doubt that version of mod_wsgi here is the problem if they had the
 problem with tracd as well.

 If it was just mod_wsgi and AccountManager uses sessions/cookies, then
 would be asking what version of Python is being used. Debian broke md5
 stuff in some versions in as much as if PHP mhash is loaded at same
 time, can cause problems like what is being see. See:

 http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_MD5_Hash_Module_Conflict


For posterity, according to:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440272

This was fixed Thu, 03 Jan 2008 13:02:05 +, in unstable.

The patch was apprently not merged back to etch (stable), though:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux 4.0 (etch)
Release:4.0
Codename:   etch
$  nm -D /usr/lib/python2.4/lib-dynload/md5.so |grep MD5
1b90 T MD5Final
1170 T MD5Init
11b0 T MD5Transform
1c70 T MD5Update


It is fixed in the package in lenny (testing - soon to be stable):

 $ wget -O -
ftp://ftp.no.debian.org/debian/dists/lenny/main/binary-i386/Packages.bz2|bzcat|grep
Package: python2.4-minimal -A10|grep Version| awk '{print $2}'
 (...)
 2.4.5-5

 $ wget
ftp://ftp.no.debian.org/debian/pool/main/p/python2.4/python2.4-minimal_2.4.5-5_i386.deb
 $ mkdir pyth
 $ dpkg -x python2.4-minimal_2.4.5-5_i386.deb pyth
 $ nm -D pyth/usr/lib/python2.4/lib-dynload/md5.so |grep MD5
1740 T _PyDFSG_MD5Final
1020 T _PyDFSG_MD5Init
1060 T _PyDFSG_MD5Transform
1810 T _PyDFSG_MD5Update


Regards,

- --
 .---.  Eirik Schwenke [EMAIL PROTECTED]
( NSD ) Harald Hårfagresgate 29Rom 150
 '---'  N-5007 Bergentlf: (555) 889 13

  GPG-key at pgp.mit.edu  Id 0x8AA3392C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI49GNxUW7FIqjOSwRAjILAJwNNLgbDsYtCka0RZiU9gzwZPT7vwCgwa3S
CmXbLUMV8h7Hpur0uebwNAE=
=1I0x
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: AccountManager woes

2008-09-30 Thread Eric Shubert

Robert C Corsaro wrote:
 I setup AccountManager trunk with Trac-0.11-stable from svn.  It seems 
 to be authenticated alright, but when it's done it I'm still not logged 
 in.  I know it's authing because if I provide the wrong user/pass, I get 
 an error.  If I log in with proper user/pass, I still have the login 
 link at the top of the page and no permission.  I've tried several auth 
 stores to no avail.  I'm running it via mod_wsgi, but had the same 
 problem with tracd.  This is a very vanilla setup.  Is there something 
 else I should use other then trunk?  Can I use AccountManager with 
 Trac-0.11-stable?  Is this some redirect issue?
 
   * Trac-0.11-stable from svn
   * AccountManager trunk from trac-hacks svn
   * mod_wsgi-2.1
   * apache-2.2.9-r1
 

Have you visited http://trac.edgewall.org/wiki/TracModWSGI? It says:
Important note: Please use either version 1.3 or 2.3 or later of mod_wsgi.
Version 2.0 has problems with downloading attachments (see #7205). No
warning about logins though.

FWIW I'm running trac-0.11.1-1.el5.rf with the latest AccountManager trunk
(r3857) with no problems. I'm running mod_python though, with
httpd-2.2.3-11.el5_1.centos.3.

I know that's not much help, but I hope it points you in the right direction.

-- 
-Eric 'shubes'


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---