Re: [Trac] The T.E.O site layout design

2010-08-27 Thread Itamar O
On Sat, Jul 24, 2010 at 11:59 AM, Christian Boos cb...@neuf.fr wrote:

 On 7/24/2010 10:49 AM, Itamar O wrote:

 On 6/26/10, Christian Booscb...@neuf.fr  wrote:


 On 6/26/2010 12:16 PM, Itamar O wrote:


 Hi all,

 (snip)


 I'd have to ask Jonas, but I personally don't see a problem in making
 that public. If he agrees (as I believe the whole thing was his work),
 I'll make a CookBook page out of that.

 -- Christian



 Any news on this?




 Thanks for the reminder, I'll start this when time permits and follow-up
 here when it's done (in 1-2 weeks from now).


 -- Christian

 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To post to this group, send email to trac-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 trac-users+unsubscr...@googlegroups.comtrac-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/trac-users?hl=en.


I don't want to be a pain, and I'm sure you're busy with other stuff, but -
any news? :-)

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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 0.12 Prepare chrome data for request is slow

2010-08-27 Thread Dav
nothing with the name versioncontrol in trac.conf

Anyone else?

what is it preparing :)

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] trac 0.12 does not work with ajp/flup under RHEL5

2010-08-27 Thread Shawn Chain
Hi,

I encounted the following problem while running tracd with flup for
ajp protocol support.

[opensou...@pt-153-14 bin]$ /home/opensource/trac/tracd --port=8009 --
protocol=ajp -q --base-path=p -e=/home/opensource/projects -r
2010-08-27 11:55:25 : WSGIServer starting up
Unhandled exception in thread started by function serve at 0x305eaa0
Traceback (most recent call last):
  File /home/opensource/trac/Trac-0.12-py2.4.egg/trac/web/
standalone.py, line 276, in serve
ret = server_cls(flup_app, bindAddress=server_address).run()
  File build/bdist.linux-x86_64/egg/flup/server/ajp.py, line 162, in
run
  File build/bdist.linux-x86_64/egg/flup/server/threadedserver.py,
line 68, in run
  File build/bdist.linux-x86_64/egg/flup/server/threadedserver.py,
line 157, in _installSignalHandlers
ValueError: signal only works in main thread


My environment:
[opensou...@pt-153-14 ~]$ uname -a
Linux pt-153-14 2.6.18-128.el5xen #1 SMP Wed Dec 17 12:01:40 EST 2008
x86_64 x86_64 x86_64 GNU/Linux
Python: 2.4, the RH stock one.
Trac-0.12
flup-1.0.3.dev_20100525-py2.4.egg

Any hints ?

Thanks,

Shawn


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: [Trac] Method to retrieve MyTickets-RSS-Feed

2010-08-27 Thread Jawwad

I want to use xmlrpc to pull my tickets as RSS-Feed in a drupal site. In
order to achieve this i need a methodname, which will be called. In drupal
Xmlrpc-call seems like this:
variable_to_receive=xmlrpc('url','methodname_to_call');




Ryan J Ollos wrote:
 
 
 Jawwad wrote:
 
 Hi all,
 does someone know, which method being used to retrieve tickets-Feed,
 when wie click on RSS-Link at the bottom of Tickets page. I want to
 retrieve my Tickets using xml-rpc and i need a method name which does
 this. Thanks
 
 
 With the XML-RPC plugin installed, navigating to /login/xmlrpc shows a
 number of methods for retrieving tickets. I don't see how you need to know
 anything about the RSS feed, which doesn't use XML-RPC to my knowleadge.
 
 http://trac-hacks.org/wiki/XmlRpcPlugin
 
 

-- 
View this message in context: 
http://old.nabble.com/Method-to-retrieve-MyTickets-RSS-Feed-tp29524683p29530952.html
Sent from the Trac Users mailing list archive at Nabble.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-us...@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 0.12 Prepare chrome data for request is slow

2010-08-27 Thread Dav
Hi,

No  trac.versioncontrol.* found in trac.ini

Other thoughts?

What is actually prepare chrome data for ...

On Aug 24, 8:52 am, Ryan J Ollos ry...@physiosonics.com wrote:
 Dav-5 wrote:

  Also, how can I assure trac isn't syncing against the repo?

 Just a guess, but maybe you could disable all of the trac.versioncontrol.*
 components.

 --
 View this message in 
 context:http://old.nabble.com/trac-0.12-%22Prepare-chrome-data-for-request%22...
 Sent from the Trac Users mailing list archive at Nabble.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-us...@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 find TRAC source code structure?

2010-08-27 Thread Luie Xia
Hi All,

I would like to understand the TRAC source code. But I found it is very 
difficult to understand source code structure. For instance, I could not find 
the main.py code. Does anyone can guide me how to find the main file, and read 
all source codes from there?

Thanks,
Luie



  

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: [Trac] How to find TRAC source code structure?

2010-08-27 Thread Matthew Caron

On 08/27/2010 12:45 PM, Luie Xia wrote:

Hi All,

I would like to understand the TRAC source code. But I found it is very
difficult to understand source code structure. For instance, I could not
find the main.py code.  Does anyone can guide me how to find the main
file,


(ma...@e2-06l) ~/workspace/code/trac (master)$ find . -name main.py
./trac/web/main.py
./trac/versioncontrol/web_ui/main.py

I'd expect that trac/web/main.py is the one you seek.


and read all source codes from there?


In the main.py file, I see the following import directives related to trac:

from trac import __version__ as TRAC_VERSION
from trac.config import ExtensionOption, Option, OrderedExtensionsOption
from trac.core import *
from trac.env import open_environment
from trac.perm import PermissionCache, PermissionError, PermissionSystem
from trac.resource import ResourceNotFound
from trac.util import get_lines_from_file, get_last_traceback, 
hex_entropy, \

  arity
from trac.util.compat import partial, reversed
from trac.util.datefmt import format_datetime, http_date, localtz, timezone
from trac.util.text import exception_to_unicode, shorten_line, to_unicode
from trac.util.translation import _
from trac.web.api import *
from trac.web.chrome import Chrome
from trac.web.clearsilver import HDFWrapper
from trac.web.href import Href
from trac.web.session import Session

So, for example, trac.config.py is in trac/config.py.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.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-us...@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.



Re: [Trac] Method to retrieve MyTickets-RSS-Feed

2010-08-27 Thread Olemis Lang
On Wed, Aug 25, 2010 at 6:54 AM, Jawwad jawwad29...@yahoo.com wrote:

 I want to use xmlrpc to pull my tickets as RSS-Feed in a drupal site. In
 order to achieve this i need a methodname, which will be called. In drupal
 Xmlrpc-call seems like this:
 variable_to_receive=xmlrpc('url','methodname_to_call');


Install TracGViz , enable tracgviz.rpc.ReportRPC and use one of the
following methods. Read RPC docs for further details and beware of
permissions ;o)

self.getAll()
self.get()
self.execute()
self.enum_columns()
self.create()

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: [Trac] Method to retrieve MyTickets-RSS-Feed

2010-08-27 Thread Olemis Lang
On Fri, Aug 27, 2010 at 1:06 PM, Olemis Lang ole...@gmail.com wrote:
 On Wed, Aug 25, 2010 at 6:54 AM, Jawwad jawwad29...@yahoo.com wrote:

 I want to use xmlrpc to pull my tickets as RSS-Feed in a drupal site. In
 order to achieve this i need a methodname, which will be called. In drupal
 Xmlrpc-call seems like this:
 variable_to_receive=xmlrpc('url','methodname_to_call');


 Install TracGViz , enable tracgviz.rpc.ReportRPC and use one of the
 following methods. Read RPC docs for further details and beware of
 permissions ;o)

 self.getAll()
 self.get()
 self.execute()
 self.enum_columns()
 self.create()


If using a recent version of XmlRpcPlugin you can also use JSON-RPC
;o)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



RE: [Trac] How to find TRAC source code structure?

2010-08-27 Thread Lu, Steven (Steven)
Matthew,

I read this file and imported files. But I only see class and function define. 
Not seeing any place called functions. Don't know how the code works.

Thanks,
Steven

From: trac-users@googlegroups.com [trac-us...@googlegroups.com] On Behalf Of 
Matthew Caron [matt.ca...@sixnet.com]
Sent: Friday, August 27, 2010 11:56 AM
To: trac-users@googlegroups.com
Cc: Luie Xia
Subject: Re: [Trac] How to find TRAC source code structure?

On 08/27/2010 12:45 PM, Luie Xia wrote:
 Hi All,

 I would like to understand the TRAC source code. But I found it is very
 difficult to understand source code structure. For instance, I could not
 find the main.py code.  Does anyone can guide me how to find the main
 file,

(ma...@e2-06l) ~/workspace/code/trac (master)$ find . -name main.py
./trac/web/main.py
./trac/versioncontrol/web_ui/main.py

I'd expect that trac/web/main.py is the one you seek.

 and read all source codes from there?

In the main.py file, I see the following import directives related to trac:

from trac import __version__ as TRAC_VERSION
from trac.config import ExtensionOption, Option, OrderedExtensionsOption
from trac.core import *
from trac.env import open_environment
from trac.perm import PermissionCache, PermissionError, PermissionSystem
from trac.resource import ResourceNotFound
from trac.util import get_lines_from_file, get_last_traceback,
hex_entropy, \
   arity
from trac.util.compat import partial, reversed
from trac.util.datefmt import format_datetime, http_date, localtz, timezone
from trac.util.text import exception_to_unicode, shorten_line, to_unicode
from trac.util.translation import _
from trac.web.api import *
from trac.web.chrome import Chrome
from trac.web.clearsilver import HDFWrapper
from trac.web.href import Href
from trac.web.session import Session

So, for example, trac.config.py is in trac/config.py.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.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-us...@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: [Trac] Re: trac 0.12 Prepare chrome data for request is slow

2010-08-27 Thread Olemis Lang
On Fri, Aug 27, 2010 at 10:43 AM, Dav fatsl...@gmail.com wrote:
 Hi,

 No  trac.versioncontrol.* found in trac.ini

 Other thoughts?

 What is actually prepare chrome data for ...


It's the method that prepares all basic data needed to render web
pages . AFAICR that includes mainnavs , determines active nav , adds
global functions to format datetime values , much more ...

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: [Trac] How to find TRAC source code structure?

2010-08-27 Thread Olemis Lang
On Fri, Aug 27, 2010 at 1:06 PM, Lu, Steven (Steven)
steven.y...@alcatel-lucent.com wrote:
 Matthew,

 I read this file and imported files. But I only see class and function 
 define. Not seeing any place called functions. Don't know how the code works.


What is it exactly that you wanna know ?

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: Re: [Trac] trac 0.12 Prepare chrome data for request is slow

2010-08-27 Thread Olemis Lang
On Fri, Aug 27, 2010 at 1:41 PM, Ryan J Ollos ry...@physiosonics.com wrote:

 Olemis Lang wrote:

 It's the method that prepares all basic data needed to render web
 pages . AFAICR that includes mainnavs , determines active nav , adds
 global functions to format datetime values , much more ...

 Do you think its possible that the slowdown is caused by a plugin?


I think it is possible. For instance, if a plugin's nav enumeration
takes a while or if plugin does something ... probably there is more
space for plugins to delay server response . However, inside
prepare_chrome_data this should not be big problem (AFAICR nav
enumeration happens before calling that method ...).

Someone should review that method ...

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



RE: [Trac] How to find TRAC source code structure?

2010-08-27 Thread Lu, Steven (Steven)
Olemis,

I would like to understand the source code flow, and possibly hack the code a 
bit when needed in my machine. I am new to Python. 

Thanks,
Steven

From: trac-users@googlegroups.com [trac-us...@googlegroups.com] On Behalf Of 
Olemis Lang [ole...@gmail.com]
Sent: Friday, August 27, 2010 12:13 PM
To: trac-users@googlegroups.com
Subject: Re: [Trac] How to find TRAC source code structure?

On Fri, Aug 27, 2010 at 1:06 PM, Lu, Steven (Steven)
steven.y...@alcatel-lucent.com wrote:
 Matthew,

 I read this file and imported files. But I only see class and function 
 define. Not seeing any place called functions. Don't know how the code works.


What is it exactly that you wanna know ?

--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: [Trac] How to find TRAC source code structure?

2010-08-27 Thread Olemis Lang
On Fri, Aug 27, 2010 at 2:07 PM, Lu, Steven (Steven)
steven.y...@alcatel-lucent.com wrote:
 Olemis,


:o)

 I would like to understand the source code flow, and possibly hack the code a 
 bit when needed in my machine.

My recommendation is to learn about how to write plugins . That's the
way you should start subverting the system . If you really wanna learn
Trac internals beware of the fact that there are a lot of things in
there beyond mere web (e.g. Version Control API, MIME subsystem,
Workflow web , templates, filters , ...) . I've been developing Trac
plugins since some years ago and I still don't know how everything
works , I just have a barely minimal understanding of the things I
care about ... Besides plugins add a whole new bunch of functionality
that eventually may be merged with Trac or you might want to try out .

That's why I'd suggest you to start trying to do something concrete
and research how to do it ... eventually you'll learn

;o)

BTW , everything starts with trac.web.main.RequestDispatcher.dispatch
(take a look at the deploy scripts `trac-admin /path/to/env deploy`
;o)

 I am new to Python.

Ok, ask specific questions about something you want to do and somebody
will answer . ;o)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.



Re: [Trac] How to find TRAC source code structure?

2010-08-27 Thread Olemis Lang
On Fri, Aug 27, 2010 at 2:22 PM, Olemis Lang ole...@gmail.com wrote:
 On Fri, Aug 27, 2010 at 2:07 PM, Lu, Steven (Steven)
 steven.y...@alcatel-lucent.com wrote:
 Olemis,


 :o)

[...]
 I would like to understand the source code flow, and possibly hack the code 
 a bit when needed in my machine.

 BTW , everything starts with trac.web.main.RequestDispatcher.dispatch
 (take a look at the deploy scripts `trac-admin /path/to/env deploy`
 ;o)


Ha! Another important class is trac.web.api.Request. When I started,
it was tricky because of its lazy instantiation mechanism (e.g.
Request.callbacks) for instance , Request.chrome is not defined
anywhere in the source code. Inside
trac.web.main.RequestDispatcher.dispatch you'll be able to see that it
is really «bound» to trac.web.chrome.Chrome.prepare_chrome_data , and
so on ...

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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] New Plugin: Whiteboard query result view

2010-08-27 Thread Brian Meeker
I have just released a new plugin that provides an alternative
whiteboard view of query results. This plugin allows you to toggle
between the usual grid display and a whiteboard one. On the whiteboard
you can drag  drop tickets across columns and save the changes.

The plugin is currently pretty rough around the edges. It allows you
to do the basics, but lacks polish. I have a couple of tickets open
already for the most pressing items that need addressed, but
suggestions are always welcome. I am releasing now in the hopes of
getting some feedback from someone actually using it.

Currently it only runs on Trac 0.12, but given demand I can port it to
work on Trac 0.11 as well. I am only using one 0.12 feature right now.
I also have only tested on Python 2.6.

You can get more information and a screenshot at 
http://trac-hacks.org/wiki/WhiteboardPlugin.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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 configure web plugin for trac-admin on Windows with Apache?

2010-08-27 Thread HBatra
Environment: Windows XP SP3, with Collabnet Subversion 1.6.6 (and
Apache 2.2.13) and Python 2.5.

Apache module mod_python 3.3.1 installed and working.

Packages Genshi 0.6 and Trac 0.12 installed.

Used binary installers to install all of the above. While setuptools
is installed, no .egg files used in the installations.

Apache server root is at C:\Apache\httpd,
Subversion repositories are at C:\Repositories,
Python is installed at C:\Python,
Genshi is installed at C:\Python25\Lib\site-packages\genshi,
Trac is installed at C:\Python25\Lib\site-packages\trac,

Question #1: Starting with Trac 0.11 the webadmin plugin for trac-
admin is supposedly integrated into Trac, so what URL is required to
start the webadmin plugin? How is the URL configured in the httpd.conf
file?

Question #2: Does the Apache httpd.conf file need to be edited to
allow the webadmin plugin to be configured or made visible? What
changes need to be made to the httpd.conf file?

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@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.