[Trac] Re: /trac/ base URL cannot find chrome

2009-10-19 Thread W. Martin Borgert

Quoting Noah Kantrowitz n...@coderanger.net:
 You probably need to add Python Option TracUriRoot / to your config.

This would be for mod_python, right?
How do one has to pass the option via mod_wsgi?


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



[Trac] Re: /trac/ base URL cannot find chrome

2009-10-19 Thread JakeStone

That's no good. Two things:
1) The suggested Python Option TracUriRoot / should be PythonOption
to be accepted
2) When I add that to my conf file, trac does not work at all - it
gives an error message.

Here's the relevant parts of the Apache conf if that helps:

LoadModule python_module modules/mod_python.so
...
Directory /trac
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv ...\trac
/Directory

Location /trac
Require group Trac
/Location

Adding your suggested directive in the Directory is what I tried.


On Oct 19, 12:53 am, Noah Kantrowitz n...@coderanger.net wrote:
 You probably need to add Python Option TracUriRoot / to your config.

 --Noah

 On Oct 18, 2009, at 1:48 PM, Jake Stone wrote:



  Hello again,
  Does anybody have a response on this? No idea what to do here...
  Thanks!

  Hello!

  I'm running Trac on Windows with Apache 2.2 and mod_python, and while
  accessing /trac/wiki looks fine, accessing just /trac from Apache
  does not correctly load the CSS files and other goodies to make the
  site look nice. Below are the offending log lines:

  [12/Oct/2009:03:07:39 -0500] GET /trac HTTP/1.1 301 238
  [12/Oct/2009:03:07:39 -0500] GET /trac/ HTTP/1.1 200 7149
  [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/css/trac.css
  HTTP/1.1 404 4099
  [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/css/wiki.css
  HTTP/1.1 404 4099
  [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/js/jquery.js
  HTTP/1.1 404 4099
  [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/js/search.js
  HTTP/1.1 404 4099
  [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/js/trac.js  
  HTTP/
  1.1 404 4097
  [12/Oct/2009:03:07:40 -0500] GET /trac/chrome/common/js/search.js
  HTTP/1.1 404 4099
  [12/Oct/2009:03:07:41 -0500] GET /trac/chrome/site/
  your_project_logo.png HTTP/1.1 404 4106
  [12/Oct/2009:03:07:41 -0500] GET /trac/chrome/common/
  trac_logo_mini.png HTTP/1.1 404 4105

  When accessing /trac/wiki, those same log lines are:

  [12/Oct/2009:03:06:56 -0500] GET /trac/wiki/report HTTP/1.1 200  
  7651
  [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/js/trac.js
  HTTP/1.1 200 2174
  [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/css/
  report.css HTTP/1.1 200 5341
  [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/js/
  search.js HTTP/1.1 200 2315
  [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/css/
  trac.css HTTP/1.1 200 17028
  [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/css/
  code.css HTTP/1.1 200 4611
  [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/js/
  jquery.js HTTP/1.1 200 31043
  [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/
  trac_logo_mini.png HTTP/1.1 200 689
  [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/
  topbar_gradient.png HTTP/1.1 200 350
  [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/dots.gif
  HTTP/1.1 200 50
  [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/
  topbar_gradient2.png HTTP/1.1 200 342
  [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/site/
  your_project_logo.png HTTP/1.1 404 4029

  So clearly, loading from the home page needs to add /wiki/ in there  
  to
  correctly get the chrome CSS files and other data. I could make  
  apache
  fix this manually, but that strikes me as inefficient - any ideas?
--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: /trac/ base URL cannot find chrome

2009-10-19 Thread JakeStone

Ack! I had to set it to the path on APACHE, which in this case was /
trac.
Using
PythonOption TracUriRoot /trac
worked! Thanks!


On Oct 19, 4:24 am, JakeStone crazedf...@gmail.com wrote:
 That's no good. Two things:
 1) The suggested Python Option TracUriRoot / should be PythonOption
 to be accepted
 2) When I add that to my conf file, trac does not work at all - it
 gives an error message.

 Here's the relevant parts of the Apache conf if that helps:

 LoadModule python_module modules/mod_python.so
 ...
 Directory /trac
         SetHandler mod_python
         PythonInterpreter main_interpreter
         PythonHandler trac.web.modpython_frontend
         PythonOption TracEnv ...\trac
 /Directory
 
 Location /trac
                 Require group Trac
 /Location

 Adding your suggested directive in the Directory is what I tried.

 On Oct 19, 12:53 am, Noah Kantrowitz n...@coderanger.net wrote:

  You probably need to add Python Option TracUriRoot / to your config.

  --Noah

  On Oct 18, 2009, at 1:48 PM, Jake Stone wrote:

   Hello again,
   Does anybody have a response on this? No idea what to do here...
   Thanks!

   Hello!

   I'm running Trac on Windows with Apache 2.2 and mod_python, and while
   accessing /trac/wiki looks fine, accessing just /trac from Apache
   does not correctly load the CSS files and other goodies to make the
   site look nice. Below are the offending log lines:

   [12/Oct/2009:03:07:39 -0500] GET /trac HTTP/1.1 301 238
   [12/Oct/2009:03:07:39 -0500] GET /trac/ HTTP/1.1 200 7149
   [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/css/trac.css
   HTTP/1.1 404 4099
   [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/css/wiki.css
   HTTP/1.1 404 4099
   [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/js/jquery.js
   HTTP/1.1 404 4099
   [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/js/search.js
   HTTP/1.1 404 4099
   [12/Oct/2009:03:07:39 -0500] GET /trac/chrome/common/js/trac.js  
   HTTP/
   1.1 404 4097
   [12/Oct/2009:03:07:40 -0500] GET /trac/chrome/common/js/search.js
   HTTP/1.1 404 4099
   [12/Oct/2009:03:07:41 -0500] GET /trac/chrome/site/
   your_project_logo.png HTTP/1.1 404 4106
   [12/Oct/2009:03:07:41 -0500] GET /trac/chrome/common/
   trac_logo_mini.png HTTP/1.1 404 4105

   When accessing /trac/wiki, those same log lines are:

   [12/Oct/2009:03:06:56 -0500] GET /trac/wiki/report HTTP/1.1 200  
   7651
   [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/js/trac.js
   HTTP/1.1 200 2174
   [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/css/
   report.css HTTP/1.1 200 5341
   [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/js/
   search.js HTTP/1.1 200 2315
   [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/css/
   trac.css HTTP/1.1 200 17028
   [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/css/
   code.css HTTP/1.1 200 4611
   [12/Oct/2009:03:06:58 -0500] GET /trac/wiki/chrome/common/js/
   jquery.js HTTP/1.1 200 31043
   [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/
   trac_logo_mini.png HTTP/1.1 200 689
   [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/
   topbar_gradient.png HTTP/1.1 200 350
   [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/dots.gif
   HTTP/1.1 200 50
   [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/common/
   topbar_gradient2.png HTTP/1.1 200 342
   [12/Oct/2009:03:06:59 -0500] GET /trac/wiki/chrome/site/
   your_project_logo.png HTTP/1.1 404 4029

   So clearly, loading from the home page needs to add /wiki/ in there  
   to
   correctly get the chrome CSS files and other data. I could make  
   apache
   fix this manually, but that strikes me as inefficient - any ideas?
--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: multiple projects

2009-10-19 Thread JakeStone

Question for you, or other people running multiple projects in Trac:

I'm trying to do the same thing - simply run several projects from one
repository and one Trac environment. However, the version/milestones/
components now ALL have to have the project name in them. For example,
now I should file a ticket under ProjectA-GUI component, for the
ProjectA-1.0 milestone, and it's under the ProjectA-0.5 version.

This is a little extra work  is more prone to user error. Is there a
way to make components ETC dependent on each other? For example, if I
select a ProjectC milestone, can I make it only display ProjectC
components and versions? How do you handle the.. I guess wordiness
that comes with having multiple projects in one Trac environment?

I welcome and thoughts on this.


On Aug 26, 1:29 pm, Chris Nelson chris.nel...@sixnet.com wrote:
 PeteOC wrote:
  I've recently configured Trac for 1 project and it works like a dream,
  however I'm now at a point where I wantmultipleprojectson the same
  trac installation.

  Is it possible to havemultipleprojectsunder the 1 webserver
  instance? I'm only able to see 1 project when I go to
 http://localhost:
  but I wish to see all myprojectslisted.
  ...

 For me this is often a matter of definition.  What do you consider a
 project?  In our environment, the only real reason to have different
 Trac instances is to segregate access.  My team is actively working on a
 half a dozenprojectsin various phases of development.  We share tasks
 and move resources between thoseprojectsand having all the tickets in
 one Trac instances is desireable, not a problem.
--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] How to switch Trac's interface to ru_RU?

2009-10-19 Thread sergerus

As I know Trac 0.12 automatically determines interface language from
Accept-Language header. I have installed Trac from svn (easy_install
http://svn.edgewall.org/repos/trac/trunk). locale folder contents
ru_RU with translated LC_MESSAGES/messages.po file. My browser sends
Accept-Language: ru. What is wrong?

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



[Trac] Re: trac-post-commit-hook.py - MySQL (Apache server and Windows)

2009-10-19 Thread Erik Bray

On Fri, Oct 16, 2009 at 3:58 AM, hare har...@gmail.com wrote:

 I used an old python script file. Now I am using this :
 http://trac.edgewall.org/browser/branches/0.11-stable/contrib/trac-post-commit-hook

 I do not see any errors , nut after I do SVN commit TRAC ticket is not
 getting updated.

 I am using the script files in this link without any modifications :
 http://trac.edgewall.org/browser/branches/0.11-stable/contrib

Right.  I don't know why you were using such an ancient version of the
hook script before, but a recent version should work.  Are you sure
the hook script is being executed at all?

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



[Trac] Non Government Organization–NGO’s–Karac hi Pakistan We do work on old house (fathers/mothers) lookin g free rent bungalow for make old house Karachi-Lahore Islam abad others city’s [looking v

2009-10-19 Thread jgjghj

Non Government Organization–NGO’s–Karachi Pakistan
We do work on old house (fathers/mothers) looking free rent bungalow
for make old house Karachi-Lahore Islamabad  others city’s [looking
very help full donor’s]
http://fatimaz-foundation-international.blogspot.com

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



[Trac] Re: Uploading attachments in Wiki or tickets doesn't work

2009-10-19 Thread roso

Anybody willing to give a hint here? Thank you.

On Oct 1, 1:32 pm, roso apache.serv...@gmail.com wrote:
 Uploading attachments in Wiki or tickets doesn't work.
 Here's what I get:

 Error: Not Found

 No handler matched request to /attachments/wiki/WikiStart

 Can somebody please help. Thank you.
--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---