jaxiinofea | 2 Jan 16:54
Picon
Gravatar

[Trac] error TracError: Unsupported database type "sqlite" when run cgi with apache


I have follow the Installation Guide to install trac, create
environment and run tracd to serve my test project!

Then I try to configuare apache to talk to trac, follow the wiki
[Installing Trac as CGI]. But i always got a error:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
web/api.py", line 367, in send_error
    'text/html')
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
web/chrome.py", line 688, in render_template
    data = self.populate_data(req, data)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
web/chrome.py", line 604, in populate_data
    'EMAIL_VIEW' in req.perm)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
perm.py", line 523, in has_permission
    return self._has_permission(action, resource)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
perm.py", line 537, in _has_permission
    check_permission(action, perm.username, resource, perm)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
perm.py", line 424, in check_permission
    perm)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
perm.py", line 282, in check_permission
    get_user_permissions(username)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/
(Continue reading)

Favicon

[Trac] Apache LDAP authentication and anonymous


Hello,

I am trying to setup a trac server using LDAP for user
authentication.  Ideally, any user ("anonymous") should be able to get
access to the front page of trac and if required, the user would be
prompted for a password.  So far, I have been able to use our LDAP
server but now, any access to our TRAC server requires an LDAP user/
password.  I am obviously doing something wrong and some help/pointer
would be welcome.

Some details:
Ubuntu 8.04
Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 mod_python/3.3.1 Python/2.5.2
mod_ssl/2.2.8 OpenSSL/0.9.8g
Trac 0.11.2.1

My apache conf file looks like:

<Location /cisst>
  # Trac configuration
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /goliath/trac/cisst
  PythonOption TracUriRoot /cisst

  # trac settings
  AuthType Basic
  AuthName "cisst Trac"
(Continue reading)

Ryan J M | 3 Jan 17:17
Picon

[Trac] Re: Apache LDAP authentication and anonymous


On Sat, Jan 3, 2009 at 5:55 AM, anton.deguet@...
<anton.deguet@...> wrote:
>
> Hello,
>
> I am trying to setup a trac server using LDAP for user
> authentication.  Ideally, any user ("anonymous") should be able to get
> access to the front page of trac and if required, the user would be
> prompted for a password.  So far, I have been able to use our LDAP
> server but now, any access to our TRAC server requires an LDAP user/
> password.  I am obviously doing something wrong and some help/pointer
> would be welcome.
>

maybe adding an anonymous account in your LDAP server is a good choice.
also try google trac+ldap, there was a TRAC plugin which works for me.

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Noah Kantrowitz | 3 Jan 18:20
Gravatar

[Trac] Re: Apache LDAP authentication and anonymous


You need to fix your config so that authentication is only required on  
<Location /cist/login>.

--Noah

On Jan 2, 2009, at 4:55 PM, anton.deguet@... wrote:

>
> Hello,
>
> I am trying to setup a trac server using LDAP for user
> authentication.  Ideally, any user ("anonymous") should be able to get
> access to the front page of trac and if required, the user would be
> prompted for a password.  So far, I have been able to use our LDAP
> server but now, any access to our TRAC server requires an LDAP user/
> password.  I am obviously doing something wrong and some help/pointer
> would be welcome.
>
> Some details:
> Ubuntu 8.04
> Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 mod_python/3.3.1 Python/2.5.2
> mod_ssl/2.2.8 OpenSSL/0.9.8g
> Trac 0.11.2.1
>
> My apache conf file looks like:
>
> <Location /cisst>
>  # Trac configuration
>  SetHandler mod_python
(Continue reading)

Anton Deguet | 4 Jan 04:28
Favicon

[Trac] Re: Apache LDAP authentication and anonymous


This is exactly what I needed, thank you.

Anton

----- Original Message -----
From: Noah Kantrowitz <noah@...>
Date: Saturday, January 3, 2009 12:20 pm
Subject: [Trac] Re: Apache LDAP authentication and anonymous

> You need to fix your config so that authentication is only required on 
>  
> <Location /cist/login>.
> 
> --Noah
> 
> On Jan 2, 2009, at 4:55 PM, anton.deguet@... wrote:
> 
> >
> > Hello,
> >
> > I am trying to setup a trac server using LDAP for user
> > authentication.  Ideally, any user ("anonymous") should be able to get
> > access to the front page of trac and if required, the user would be
> > prompted for a password.  So far, I have been able to use our LDAP
> > server but now, any access to our TRAC server requires an LDAP user/
> > password.  I am obviously doing something wrong and some help/pointer
> > would be welcome.
> >
> > Some details:
(Continue reading)

Sönke Brecht | 4 Jan 14:38
Picon

[Trac] [Tags Plugin] Confusion about Tickets #3206 & #3145


Dear Group,

to me the discussion given in the tickets #3206 and #3145 are somehow
confusing. As far as I understood the problem should have been solved
with r3877, but after I installed the TagsPlugin today on a fresh 0.11
trac installation the problem ist still there.

Additionally the patches seem not to be the same.

Are they concurrent or have they both to be performed?

From my perspective it would be helpful to merge both solutions inside
the ticket documentation. Anyone with the same thoughts?

Regards

Sönke

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Iain Buchanan | 5 Jan 05:23
Picon
Favicon

[Trac] Re: Installation of Trac on Linux


On 29/12/08 20:00, Andrea Tomasini wrote:
>
> On 29 Dec, 2008, at 2:16 , Iain Buchanan wrote:
>
>> If you actually mean Agilo, then why not use their vmware image?  Then
>> you know they've tested the whole system, and it should "just work".
>
> That's what a VM is made for :-)

indeed!

>> I believe they use Ubuntu, but I would hesitate before upgrading the
>> system, (even with the OS provided packages) incase you break
>> something
>> that Agilo depends on.
>
> We used Ubuntu in the old 0.6 version, with 0.7 of Agilo we switched
> to a Daisy Linux which is a minimal version of Debian Etch. We did so
> using the Cohesive FT elastic server, which allows to build appliances
> from the website.

really?  Sounds interesting, I might have to check it out!

>> Note though that last time I checked, they only supported Trac 0.10.x
>> not 0.11.x
>
> Since June 2008 we support Trac 0.11, now up to 0.11.2.1 with caching
> improvement extended to Agilo :-)

(Continue reading)

Peter Körner | 5 Jan 10:00
Picon
Favicon

AW: [Trac] Milestone Permission for User


Hi, 

Yes, we do it with TracFineGrainedPermissions: 
  http://trac.edgewall.org/wiki/TracFineGrainedPermissions 

Our authz.conf looks like this:

{{{
[groups]

# staff-group
staff = employee1, employee2, employee3

# rights for one specific milestone, visible for staff and customer
[milestone:MyMilestoneName]
customer1 = MILESTONE_VIEW

# all other milestones are visible to staff only
[milestone:*]
@staff = MILESTONE_VIEW
* = ""
}}}

Peter

-----Ursprüngliche Nachricht-----
Von: trac-users@...
[mailto:trac-users@...] Im Auftrag von Dubey Sandeep
Gesendet: Mittwoch, 31. Dezember 2008 09:39
(Continue reading)

KoLLoL | 5 Jan 11:35
Picon

[Trac] Authentication Error


I am new to TRAC. Just finished installing it. Platforms I used are:

python-2.4.4.msi
trac-0.10.4.win32.exe
pysqlite-2.3.2.win32-py2.4.exe

Once I run TRAC and go to login page, it says: Authentication
information not available. Please refer to the installation
documentation.

I tried my best to solve this problem. The help files are talking
about a trac-digest.py file which should help me to create the
htdigest file where the authentication information will be stored. I
was unable to find this file anywhere in my python/trac installation/
project locations. I assumed that it might take some module or add-on
to work with this file.

I am truly confused about handling this problem where my deadline
knocking at my door.

Somebody, please help me solving this problem.

Thanks all in advance...

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
(Continue reading)

Emmanuel Blot | 5 Jan 13:13
Picon
Gravatar

[Trac] Re: Authentication Error


> I tried my best to solve this problem. The help files are talking
> about a trac-digest.py file which should help me to create the
> htdigest file where the authentication information will be stored. I
> was unable to find this file anywhere in my python/trac installation/
> project locations. I assumed that it might take some module or add-on
> to work with this file.

Here it is:
http://trac.edgewall.org/wiki/TracStandalone#GeneratingPasswordsWithoutApache

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane