[Trac] Re: Trac Stopped Working - Not sure where to begin.

2008-02-06 Thread Jeff Royal
Steve Romanow wrote:
> Do you have a backup of db/trac.db from before the server hang that you 
> can restore to see if maybe the sqlite db got borked?
>   
I do have a backup of the database(s) (there is one for each project) 
seems odd that they would ALL have have a problem.  I can certainly test 
one see if it helps.  Thanks!

--~--~-~--~~~---~--~~
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: Trac Stopped Working - Not sure where to begin.

2008-02-06 Thread Steve Romanow

[EMAIL PROTECTED] wrote:
> I inherited a trac system, already built and configured.  It has
> become a key tool between our development team, operations, account
> management and even our clients.  Yesterday the server hung (I became
> aware of the issue when someone told me that the bugzilla system, on
> the same server, was not responding)  I couldn't SSH into the server,
> though is was responding to pings.  So, I walked over to the server, I
> could get the caps light to go on and off, but didn't get any response
> at the terminal. (It's installed on a Gentoo system)  I had no other
> choice then to reset.  Bugzilla (Apache/Perl/MySQL) came back up but
> Trac (Apache/Python/Sqlite) did not.
>  I can 'login' to Sqlite (2.8.15) and AFAIK python is okay.  (there
> weren't any changes made yesterday)
> But.. the http:\\OurTracServer\projects shows:
>
> Available Projects
>
> * proj1: Error
>   ()
> * proj2: Error
>   ()
>
>  ... and continues for each project.
>
> In the apache logs I see:
>
> Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend: Traceback (most recent call last):
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in
> HandlerDispatch\nresult = object(req)
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py",
> line
> 199, in handler\nenv = get_environment(mpr, project_opts)
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in
> get_environment\nreturn _open_environment(env_path, threaded)
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/web/main.py", line 51, in
> _open_environment\nenv_cache[env_path] =
> open_environment(env_path)
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/env.py", line 369, in
> open_environment\nif env.needs_upgrade():
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/env.py", line 273, in
> needs_upgrade\ndb = self.get_db_cnx()
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/env.py", line 139, in
> get_db_cnx\nreturn self.__cnx_pool.get_cnx()
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/db.py", line 157, in get_cnx
> \n
> cnx = self._cnx_class(**self._args)
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend:   File
> "/usr/lib/python2.3/site-packages/trac/db.py", line 256, in
> __init__\nassert have_pysqlite > 0
> [Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
> PythonHandler
> trac.web.modpython_frontend: AssertionError
>
> I've been looking through documentation and FAQ's today, but it mostly
> seem to help new installs, not existing servers.  Any ideas where I
> can begin to attack this issue?
>
> Sorry so long a first post...
> Thanks in advance for any assistance.
>
> Jeff
> >
>   
Do you have a backup of db/trac.db from before the server hang that you 
can restore to see if maybe the sqlite db got borked?

--~--~-~--~~~---~--~~
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: Nubie user - no "new ticket" button on specific windows xp machine

2008-02-06 Thread Steve Romanow

Ian B wrote:
> Hi
>
> I am a new user in an org that no longer has an experienced trac
> administrator and I'm trying to create a new ticket.  On my machine
> (XP) using either firefox or explorer the "new ticket" button doesn't
> appear.  It is simply missing.  If I go to the trac website
> http://trac.edgewall.org/ I see the new ticket window there but not on
> the internal trac webpage.  It seems to work fine from at least one
> other XP machine but I'd like it to work on my desktop.
>
> Anyone ever seen a problem like this?
>
> Thanks
>
> Ian
>
> >
>   
It sounds like the user you are logged in as does not have TICKET_CREATE 
permissions.

--~--~-~--~~~---~--~~
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: TracAccountManager html authorization page not displaying

2008-02-06 Thread Noah Kantrowitz

No, but you might as well use the LDAPAuthStore.

--Noah

JoeNMDA wrote:

On the account manager page: http://trac-hacks.org/wiki/AccountManagerPlugin
under the HttpAuthStore component, there is a reference to ldap.

My question at this point is does it require the ldap extension?
http://trac-hacks.org/wiki/LdapPlugin#Requirements


On Feb 6, 4:46 pm, rupert thurner <[EMAIL PROTECTED]> wrote:
  

up to now i was not aware that account manager can tie in any form to
ldap, or is ther now a "LdapPasswordStore" module to enable?  also
failed to enable account manager and keeping basic auth, should this
work?

rupert.

On 7 Feb., 00:23, JoeNMDA <[EMAIL PROTECTED]> wrote:



I'm such a liar. In my current configuration, trac accepts any login
name and password I type in. I missing the last step to make the tie-
in to ldap.
  
Well, I know Apache2/ldap integration works. With this in httpd.conf,

I can authenticate against ldap via the http dialog.
  


  AuthBasicProvider ldap
  AuthType Basic
  AuthzLDAPAuthoritative on
  AuthName "My Server"
  AuthLDAPURL ldap://ad-ldapstuff?sAMAccountName?sub?(objectClass=*)
NONE
  AuthLDAPBindDN "ad-ldapuser"
  AuthLDAPBindPassword ad-ldappassword
  Require valid-user

  
I will read the docs again - but if someone can point me in the right

direction - that would help. :)
  
- Joe
  

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---


  





signature.asc
Description: OpenPGP digital signature


[Trac] Trac Stopped Working - Not sure where to begin.

2008-02-06 Thread jeff

I inherited a trac system, already built and configured.  It has
become a key tool between our development team, operations, account
management and even our clients.  Yesterday the server hung (I became
aware of the issue when someone told me that the bugzilla system, on
the same server, was not responding)  I couldn't SSH into the server,
though is was responding to pings.  So, I walked over to the server, I
could get the caps light to go on and off, but didn't get any response
at the terminal. (It's installed on a Gentoo system)  I had no other
choice then to reset.  Bugzilla (Apache/Perl/MySQL) came back up but
Trac (Apache/Python/Sqlite) did not.
 I can 'login' to Sqlite (2.8.15) and AFAIK python is okay.  (there
weren't any changes made yesterday)
But.. the http:\\OurTracServer\projects shows:

Available Projects

* proj1: Error
  ()
* proj2: Error
  ()

 ... and continues for each project.

In the apache logs I see:

Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend: Traceback (most recent call last):
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch\nresult = object(req)
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py",
line
199, in handler\nenv = get_environment(mpr, project_opts)
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in
get_environment\nreturn _open_environment(env_path, threaded)
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/web/main.py", line 51, in
_open_environment\nenv_cache[env_path] =
open_environment(env_path)
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/env.py", line 369, in
open_environment\nif env.needs_upgrade():
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/env.py", line 273, in
needs_upgrade\ndb = self.get_db_cnx()
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/env.py", line 139, in
get_db_cnx\nreturn self.__cnx_pool.get_cnx()
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/db.py", line 157, in get_cnx
\n
cnx = self._cnx_class(**self._args)
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend:   File
"/usr/lib/python2.3/site-packages/trac/db.py", line 256, in
__init__\nassert have_pysqlite > 0
[Wed Feb 06 17:51:16 2008] [error] [client 192.168.15.170]
PythonHandler
trac.web.modpython_frontend: AssertionError

I've been looking through documentation and FAQ's today, but it mostly
seem to help new installs, not existing servers.  Any ideas where I
can begin to attack this issue?

Sorry so long a first post...
Thanks in advance for any assistance.

Jeff
--~--~-~--~~~---~--~~
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: TracAccountManager html authorization page not displaying

2008-02-06 Thread JoeNMDA

On the account manager page: http://trac-hacks.org/wiki/AccountManagerPlugin
under the HttpAuthStore component, there is a reference to ldap.

My question at this point is does it require the ldap extension?
http://trac-hacks.org/wiki/LdapPlugin#Requirements


On Feb 6, 4:46 pm, rupert thurner <[EMAIL PROTECTED]> wrote:
> up to now i was not aware that account manager can tie in any form to
> ldap, or is ther now a "LdapPasswordStore" module to enable?  also
> failed to enable account manager and keeping basic auth, should this
> work?
>
> rupert.
>
> On 7 Feb., 00:23, JoeNMDA <[EMAIL PROTECTED]> wrote:
>
> > I'm such a liar. In my current configuration, trac accepts any login
> > name and password I type in. I missing the last step to make the tie-
> > in to ldap.
>
> > Well, I know Apache2/ldap integration works. With this in httpd.conf,
> > I can authenticate against ldap via the http dialog.
>
> > 
> >   AuthBasicProvider ldap
> >   AuthType Basic
> >   AuthzLDAPAuthoritative on
> >   AuthName "My Server"
> >   AuthLDAPURL ldap://ad-ldapstuff?sAMAccountName?sub?(objectClass=*)
> > NONE
> >   AuthLDAPBindDN "ad-ldapuser"
> >   AuthLDAPBindPassword ad-ldappassword
> >   Require valid-user
> > 
>
> > I will read the docs again - but if someone can point me in the right
> > direction - that would help. :)
>
> > - Joe
--~--~-~--~~~---~--~~
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: TracAccountManager html authorization page not displaying

2008-02-06 Thread rupert thurner

up to now i was not aware that account manager can tie in any form to
ldap, or is ther now a "LdapPasswordStore" module to enable?  also
failed to enable account manager and keeping basic auth, should this
work?

rupert.


On 7 Feb., 00:23, JoeNMDA <[EMAIL PROTECTED]> wrote:
> I'm such a liar. In my current configuration, trac accepts any login
> name and password I type in. I missing the last step to make the tie-
> in to ldap.
>
> Well, I know Apache2/ldap integration works. With this in httpd.conf,
> I can authenticate against ldap via the http dialog.
>
> 
>   AuthBasicProvider ldap
>   AuthType Basic
>   AuthzLDAPAuthoritative on
>   AuthName "My Server"
>   AuthLDAPURL ldap://ad-ldapstuff?sAMAccountName?sub?(objectClass=*)
> NONE
>   AuthLDAPBindDN "ad-ldapuser"
>   AuthLDAPBindPassword ad-ldappassword
>   Require valid-user
> 
>
> I will read the docs again - but if someone can point me in the right
> direction - that would help. :)
>
> - Joe
--~--~-~--~~~---~--~~
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: TracAccountManager html authorization page not displaying

2008-02-06 Thread JoeNMDA

I'm such a liar. In my current configuration, trac accepts any login
name and password I type in. I missing the last step to make the tie-
in to ldap.

Well, I know Apache2/ldap integration works. With this in httpd.conf,
I can authenticate against ldap via the http dialog.


  AuthBasicProvider ldap
  AuthType Basic
  AuthzLDAPAuthoritative on
  AuthName "My Server"
  AuthLDAPURL ldap://ad-ldapstuff?sAMAccountName?sub?(objectClass=*)
NONE
  AuthLDAPBindDN "ad-ldapuser"
  AuthLDAPBindPassword ad-ldappassword
  Require valid-user


I will read the docs again - but if someone can point me in the right
direction - that would help. :)

- Joe
--~--~-~--~~~---~--~~
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: TracAccountManager html authorization page not displaying

2008-02-06 Thread JoeNMDA

Well, after removing that block and actually reading the docs a bit
more carefully :D, I have managed to tie the html login page to my
LDAP(Active Directory).

Excellent! Thanks for the help Noah.

A note of interest:
I was worried about what to set "authentication_url" to in my
trac.ini. Without it, I got errors after attempting to login. So I
used my apache base url for grins:
authentication_url = http://my.example.org
and that seemed to fix it.

- Joe


--~--~-~--~~~---~--~~
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: new trac project to me

2008-02-06 Thread Nathan McBride

Can anyone help me get past this issue please?
Has anyone experienced it before?

Nate

On Wed, 2008-02-06 at 10:32 -0500, Nathan McBride wrote:
> Well this is my first experience with TRAC, but I think basic auth?
> This is the conf file in my /etc/httpd/conf.d/trac.conf.
> 
> #LoadModule python_module modules/mod_python.so
> 
> 
>SetHandler mod_python
>PythonHandler mod_python.testhandler
> 
> 
> 
>SetHandler mod_python
>PythonHandler trac.web.modpython_frontend
>PythonOption TracEnv /var/www/html/trac
> 
> 
> 
>   AuthType Basic
>   AuthName "HMS"
>   AuthUserFile /var/www/html/trac/.htpasswd
>   Require valid-user
> 
> 
> Thanks,
> Nate
> 
> On Tue, 2008-02-05 at 12:58 -0500, Joshua Preston wrote:
> > Nate,
> > 
> > How are you authenticating?  Basic HTTP AUTH?  I assume with
> > your .htaccess, you're using Apache, are you sure he not using apache
> > for security or for logins?  Double check your Apache2 configuration,
> > I can look it over, but take out any vital or secure information
> > before posting.
> > 
> > Thanks!
> > 
> > 
> > 
> > 
> > 
> > On Tue, 2008-02-05 at 12:33 -0500, Nathan McBride wrote: 
> > > Hey guys,
> > > 
> > > I am the new admin for my company and the old admin setup a trac
> > > site.
> > > The problem is, I added myself to the .htaccess file which is at the
> > > path I found in trac.conf under apache.  So that leaves me to
> > > believe
> > > that is where it is pulling its passwords from.  I also added myself
> > > to
> > > the TRAC_ADMIN group.  However, when I go to login, I just keep
> > > getting
> > > re-prompted for the password.  Does anyone have any ideas on how I
> > > can
> > > get logged in?
> > > 
> > > Thanks,
> > > Nate
> > 
> > > 
> 
> 
> > 


--~--~-~--~~~---~--~~
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: TracAccountManager html authorization page not displaying

2008-02-06 Thread Noah Kantrowitz


On Feb 5, 2008, at 1:26 PM, JoeNMDA wrote:

>
> I'm getting somewhere I think.
>
>>
>> Look for a  in your config.
>>
>> --Noah
>
> I have 2 Locations. If I comment out the 2nd ( login">), then I get:
> "Authentication information not available. Please refer to..."
>
> What type of authentication type should I use for the html auth page,
> digest? My plan is to eventually use LDAP for auth.

If you plan to use the AccountManager HTML login form, nothing. There  
should be no mention of authentication anywhere in your Apache config.
>
>
> 
>   AuthType Basic
>   AuthName "trac"
>   AuthUserFile /var/www/trac-projects/dairy.htpasswd
>   Require valid-user
> 

Remove this block.

--Noah

--~--~-~--~~~---~--~~
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] Trac instance on our Linux box "spins"

2008-02-06 Thread rwagner

We recently installed TRAC and for some reason the application will
hand up and spin occasionally. The only remedy is stopping the app and
restarting it on the server.

Any suggestions as to why this is happening?

--~--~-~--~~~---~--~~
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: TracAccountManager html authorization page not displaying

2008-02-06 Thread JoeNMDA

I'm getting somewhere I think.

>
> Look for a  in your config.
>
> --Noah

I have 2 Locations. If I comment out the 2nd (), then I get:
"Authentication information not available. Please refer to..."

What type of authentication type should I use for the html auth page,
digest? My plan is to eventually use LDAP for auth.


   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /var/www/trac-projects/dairy
   PythonOption TracUriRoot /trac/dairy



   AuthType Basic
   AuthName "trac"
   AuthUserFile /var/www/trac-projects/dairy.htpasswd
   Require valid-user


--~--~-~--~~~---~--~~
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: Nubie user - no "new ticket" button on specific windows xp machine

2008-02-06 Thread Noah Kantrowitz

You probably don't have the TICKET_CREATE permission. You might want  
to check out the TracGuide wiki page on your site.

--Noah

On Feb 6, 2008, at 3:48 PM, Ian B wrote:

>
> Hi
>
> I am a new user in an org that no longer has an experienced trac
> administrator and I'm trying to create a new ticket.  On my machine
> (XP) using either firefox or explorer the "new ticket" button doesn't
> appear.  It is simply missing.  If I go to the trac website
> http://trac.edgewall.org/ I see the new ticket window there but not on
> the internal trac webpage.  It seems to work fine from at least one
> other XP machine but I'd like it to work on my desktop.
>
> Anyone ever seen a problem like this?
>
> Thanks
>
> Ian
>
> >
>


--~--~-~--~~~---~--~~
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] Nubie user - no "new ticket" button on specific windows xp machine

2008-02-06 Thread Ian B

Hi

I am a new user in an org that no longer has an experienced trac
administrator and I'm trying to create a new ticket.  On my machine
(XP) using either firefox or explorer the "new ticket" button doesn't
appear.  It is simply missing.  If I go to the trac website
http://trac.edgewall.org/ I see the new ticket window there but not on
the internal trac webpage.  It seems to work fine from at least one
other XP machine but I'd like it to work on my desktop.

Anyone ever seen a problem like this?

Thanks

Ian

--~--~-~--~~~---~--~~
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] Authentication error

2008-02-06 Thread [EMAIL PROTECTED]

Hi all,
I'm new to trac and I'm facing a problem with authentification.
I've used trac-admin to set an environment in /home/trac and then set
my apache conf like this :

DocumentRoot "/home/trac"
ServerName localhost/trac


  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /home/trac
  PythonOption TracUriRoot /trac



AuthType Basic
AuthName "TracAuthentification"
AuthUserFile /home/trac/.htpasswd
Require valid-user



Then I set the .htpasswd with the htpasswd command but I still get an
error when I click on the "Login" link.
"Authentication information not available. Please refer to the
installation documentation."

However, the trac seems to work, I can add ticket and edit wiki.

I use the 0.10 version.

Any idea?

--~--~-~--~~~---~--~~
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: trac-admin

2008-02-06 Thread Noah Kantrowitz


On Feb 6, 2008, at 2:19 PM, [EMAIL PROTECTED] wrote:

>
> If you are executing the command from the command line, you will  
> need to cycle the trac daemon to effect the change. If you implement  
> the ADMIN GUI, I believe you need to cycle trac.

This is not that case for permission changes. To the OP, please post  
your current permission list, and what exactly you think you should  
see but are not.

--Noah

--~--~-~--~~~---~--~~
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: trac-admin

2008-02-06 Thread joseph . h . dayney
If you are executing the command from the command line, you will need to 
cycle the trac daemon to effect the change. If you implement the ADMIN 
GUI, I believe you need to cycle trac.


Best Regards,
 
Joe
 

 

Joseph H. Dayney | Software Engineer | RR Donnelley
630W 1000N | Logan, UT 84321 | (: 435-755-4278 | È: 801-608-1052 | Ê: 
435-755-4210 | *: [EMAIL PROTECTED]
 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
Any unauthorized review, use, disclosure or distribution is prohibited. If 
you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message. 
 
--~--~-~--~~~---~--~~
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] trac-admin

2008-02-06 Thread alexus

hi

i'm trying to modify some of permissions for some of my users using
guide from http://trac.edgewall.org/wiki/TracPermissions and i'm not
getting any errors but new permissions wont take effect either...

-- 
http://alexus.org/

--~--~-~--~~~---~--~~
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: Nubie Setup questions

2008-02-06 Thread Matthew Carlson


On Feb 5, 10:39 pm, Edward Elhauge <[EMAIL PROTECTED]> wrote:
> The only feedback I'd have is that an Edit button would be nice so that
> the Change Properties -> Description textbox section wouldn't take up
> so much room. Alternatively a read-only view of the ticket, with all of
> it's comments, would be solve the same problem. I envision bringing a
> stack of open tickets to a project meeting and going over them one at
> a time to see what it would take to close them.

Here's the "Release Ticket Review" report we use to go over tickets in
meetings:

SELECT
   (CASE WHEN t.status='closed' THEN
 t.milestone||' ('||t.status||': '||t.resolution||')' ELSE
 t.milestone||' ('||t.status||')' END) AS __group__,
   id AS ticket, summary, type, reporter, owner AS owner_,
   ' ' AS sp1, (CASE WHEN sub.value='New' OR sub.value='Other' THEN
 component||'.'||sub.value ELSE
 sub.value END) AS subcomponent_,
   t.description AS _description_,
   author||': '||lastcomment AS _comment_
  FROM ticket t
   INNER JOIN milestone m ON (t.milestone = m.name)
   LEFT OUTER JOIN
 (SELECT outtc.ticket, outtc.author, outtc.newvalue AS
lastcomment
  FROM ticket_change AS outtc
  JOIN (SELECT ticket, Max(time) AS lasttime
FROM ticket_change
WHERE field = 'comment' AND newvalue <> ''
GROUP BY ticket) AS intc ON (outtc.time = intc.lasttime)
  WHERE outtc.field = 'comment') lc ON (t.id = lc.ticket)
   LEFT OUTER JOIN ticket_custom obj ON (t.id = obj.ticket AND
obj.name = 'objects')
   LEFT OUTER JOIN ticket_custom sub ON (t.id = sub.ticket AND
sub.name = 'subcomponent')
  WHERE m.due <> 0 AND m.completed = 0
  ORDER BY m.due, t.status, t.resolution, t.reporter, ticket

It groups tickets by milestone and status, lists some header
information for each ticket, then the description and the last comment
made on the ticket.  You can cut out the buisness about objects and
subcomponents if you like; I left them in to illustrate how to include
custom fields, and because I'm lazy :).  If you don't need the second
line, you can also remove "Sp1" which is a spacer I added to give the
ticket number some space (makes the report much easier to read).  The
report isolates milestones that are open and have a due date because
we a have a milestone for long-term and pie-in-the-sky tickets that we
don't consider on a regular basis.

Oh, and we run trac on postgres, so the SQL syntax may be different
depending on the database you use.
--~--~-~--~~~---~--~~
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: new trac project to me

2008-02-06 Thread Nathan McBride

Well this is my first experience with TRAC, but I think basic auth?
This is the conf file in my /etc/httpd/conf.d/trac.conf.

#LoadModule python_module modules/mod_python.so


   SetHandler mod_python
   PythonHandler mod_python.testhandler



   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /var/www/html/trac



  AuthType Basic
  AuthName "HMS"
  AuthUserFile /var/www/html/trac/.htpasswd
  Require valid-user


Thanks,
Nate

On Tue, 2008-02-05 at 12:58 -0500, Joshua Preston wrote:
> Nate,
> 
> How are you authenticating?  Basic HTTP AUTH?  I assume with
> your .htaccess, you're using Apache, are you sure he not using apache
> for security or for logins?  Double check your Apache2 configuration,
> I can look it over, but take out any vital or secure information
> before posting.
> 
> Thanks!
> 
> 
> 
> 
> 
> On Tue, 2008-02-05 at 12:33 -0500, Nathan McBride wrote: 
> > Hey guys,
> > 
> > I am the new admin for my company and the old admin setup a trac
> > site.
> > The problem is, I added myself to the .htaccess file which is at the
> > path I found in trac.conf under apache.  So that leaves me to
> > believe
> > that is where it is pulling its passwords from.  I also added myself
> > to
> > the TRAC_ADMIN group.  However, when I go to login, I just keep
> > getting
> > re-prompted for the password.  Does anyone have any ideas on how I
> > can
> > get logged in?
> > 
> > Thanks,
> > Nate
> 
> > 


--~--~-~--~~~---~--~~
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: Ticket2RTM

2008-02-06 Thread Alec Thomas

Cool! You should create a stub link page to it on Trac-Hacks:

  http://trac-hacks.org/#Ihostmyownhackelsewhere

On 07/02/2008, mootoh <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I made a small plugin that synchronizes Trac tickets and Remember the
> Milk tasks one-way.
>
>   http://blog.deadbeaf.org/archives/1892
>
>  - when a ticket is created, a RTM task also will be added.
>  - when you close a ticket, the associated RTM task will be completed.
>
> Enjoy !
> >
>


-- 
Evolution: Taking care of those too stupid to take care of themselves.

--~--~-~--~~~---~--~~
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] Ticket2RTM

2008-02-06 Thread mootoh

Hello,

I made a small plugin that synchronizes Trac tickets and Remember the
Milk tasks one-way.

  http://blog.deadbeaf.org/archives/1892

 - when a ticket is created, a RTM task also will be added.
 - when you close a ticket, the associated RTM task will be completed.

Enjoy !
--~--~-~--~~~---~--~~
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: Is trac-admin hotcopy broken in 0.11b1?

2008-02-06 Thread Noah Kantrowitz

Scott Bussinger wrote:

I just set up a new Trac repository using 0.11b1 on Windows Server
2003. I'm trying to do a backup using the trac-admin function and I'm
getting these errors:


C:\trac>"c:\python25\scripts\trac-admin.exe" "c:\trac\emr" hotcopy "c:
\trac\emr.backup"
Hotcopying c:\trac\emr to c:\\trac\\emr.backup ...
Traceback (most recent call last):
  File "c:\python25\scripts\trac-admin-script.py", line 8, in 
load_entry_point('trac==0.11b1', 'console_scripts', 'trac-admin')
()
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 1194, in run
return admin.onecmd(command)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 102, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
  File "C:\Python25\lib\cmd.py", line 219, in onecmd
return func(arg)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 1140, in do_hotcopy
copytree(self.__env.path, dest, symlinks=1, skip=skip)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 64, in copytree
copytree(srcname, dstname, symlinks, skip)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 71, in copytree
raise shutil.Error, errors
shutil.Error: [('c:\\trac\\emr\\db\\trac.db-stmtjrnl', u'c:trac\\\
\emr.backup\\db\\trac.db-stmtjrnl', IOError(13, 'Permission denied'))]


In particular, note the comment at the beginning "Hotcopying c:\trac
\emr to c:\\trac\\emr.backup" and the extra backslashes on the second
filepath. There's a similar issue on the bottom about "c:\\trac\\emr\
\db\\trac.db" and "c:tracemr.backup\\db\\trac.db". I'm
suspicious of the extra backslashes in the second string, but I could
be way off here. A similar command line used to work for doing backups
with a different Trac 0.11 instance.

Can someone point out what I'm doing wrong or confirm that this is a
bug? Not being able to do a backup is fairly serious.

  

I'm going to guess that you don't have permission to read that file.

The extra backslashes are because it is being printed as a python string 
literal, and \ is the escape character in every thing except Windows.


--Noah



signature.asc
Description: OpenPGP digital signature


[Trac] Is trac-admin hotcopy broken in 0.11b1?

2008-02-06 Thread Scott Bussinger

I just set up a new Trac repository using 0.11b1 on Windows Server
2003. I'm trying to do a backup using the trac-admin function and I'm
getting these errors:


C:\trac>"c:\python25\scripts\trac-admin.exe" "c:\trac\emr" hotcopy "c:
\trac\emr.backup"
Hotcopying c:\trac\emr to c:\\trac\\emr.backup ...
Traceback (most recent call last):
  File "c:\python25\scripts\trac-admin-script.py", line 8, in 
load_entry_point('trac==0.11b1', 'console_scripts', 'trac-admin')
()
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 1194, in run
return admin.onecmd(command)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 102, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
  File "C:\Python25\lib\cmd.py", line 219, in onecmd
return func(arg)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 1140, in do_hotcopy
copytree(self.__env.path, dest, symlinks=1, skip=skip)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 64, in copytree
copytree(srcname, dstname, symlinks, skip)
  File "c:\python25\lib\site-packages\trac-0.11b1-py2.5.egg\trac\admin
\console.py", line 71, in copytree
raise shutil.Error, errors
shutil.Error: [('c:\\trac\\emr\\db\\trac.db-stmtjrnl', u'c:trac\\\
\emr.backup\\db\\trac.db-stmtjrnl', IOError(13, 'Permission denied'))]


In particular, note the comment at the beginning "Hotcopying c:\trac
\emr to c:\\trac\\emr.backup" and the extra backslashes on the second
filepath. There's a similar issue on the bottom about "c:\\trac\\emr\
\db\\trac.db" and "c:tracemr.backup\\db\\trac.db". I'm
suspicious of the extra backslashes in the second string, but I could
be way off here. A similar command line used to work for doing backups
with a different Trac 0.11 instance.

Can someone point out what I'm doing wrong or confirm that this is a
bug? Not being able to do a backup is fairly serious.

Thanks!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---