[Trac] Re: How to set the data globally in Trac system

2009-06-16 Thread prabhakar

Hello,
Currently iam working Trac 0.11, so i need to check user name in LDAP
directory before adding any user in admin-permission panel.
I had LDAP user validation, now i have been working with auto
suggestion concept, once the user enter the keyword then that related
names are displayed bellow. Actually it will take some time to search
more than 5 users. So thatswhy i want to fetch all the LDAP user names
in one List at once, like 'Temp_var'. This variable should be global.
without over writing.
means suppose list have no data then it should be fetch all the users
at once, if list contains some data then it should not be fetch the
data again.

Take Simple example:

# check list empty or not
if(len(Temp_var)1)
 {
 # fetch all LDAP users
 # Append the users in LDAP
 Temp_var.append(users)
 }
else
{
pass
}
 Also i need to declare the list variable globally. It should not be
re-declare again. 

On Jun 13, 2:27 am, Erik Bray hyugaricd...@gmail.com wrote:
 On Thu, Jun 11, 2009 at 7:12 AM, prabhakarprabhakar2...@gmail.com wrote:

  Hi,

   i need to set the data globally, means suppose i have set one
  variable name as Temp_var with some data. i want to access that
  variable in whole Trac.
  e.g:
   auth.name is global variable that contains current login user name
  and it is accessible for whole Trac, similarly i want to set global
  variable like auth.name

  can anybody suggest me

 It would probably help if you explained in more detail what it is
 you're trying to build, and what you need this variable to hold and
 what it will be used by.
--~--~-~--~~~---~--~~
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 and subversion running on different systems?

2009-06-16 Thread W. Martin Borgert

Quoting ronny ronny.1...@googlemail.com:
 I must install trac and subversion on 2 Windows Server in my office.
 It is possible to connect trac with the repository on an other windows-
 system?

As far as I know, this is not supported by trac and I'm not aware of
anybody working on this issue. Please correct me, if I'm wrong. Why
is it necessary for you? Apart from your boss demanding it... :~)


--~--~-~--~~~---~--~~
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 and subversion running on different systems?

2009-06-16 Thread ronny



On 16 Jun., 15:18, W. Martin Borgert deba...@debian.org wrote:
 Quoting ronny ronny.1...@googlemail.com:

  I must install trac and subversion on 2 Windows Server in my office.
  It is possible to connect trac with the repository on an other windows-
  system?

 As far as I know, this is not supported by trac and I'm not aware of
 anybody working on this issue. Please correct me, if I'm wrong. Why
 is it necessary for you? Apart from your boss demanding it... :~)



thanks for your answer.

in Trac Installation Guide is written that trac and subversion musst
be installed on the same machine. i hoped to an ohter solution. My
boss sad the svn server in another office might be (VPN connection).

Ronny
--~--~-~--~~~---~--~~
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] concurrent editing of wiki pages

2009-06-16 Thread Roger Oberholtzer


Don't panic. I am not asking for this (but would be happy if it
existed!). 

My question is: what is the best thing to do when that happens in trac?
I have a few users to whom this has happened. They just let their
changes go away. I am guessing there is perhaps a better way to deal
with this. Any ideas? Like:

- open a new browser tab, get the edit that someone else saved while you
were still editing, and cut and paste your changes between the tabs.

- (better suggestion goes here)

Roger Oberholtzer




--~--~-~--~~~---~--~~
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 and subversion running on different systems?

2009-06-16 Thread ronny



On 16 Jun., 15:31, ronny ronny.1...@googlemail.com wrote:
 On 16 Jun., 15:18, W. Martin Borgert deba...@debian.org wrote:

  Quoting ronny ronny.1...@googlemail.com:

   I must install trac and subversion on 2 Windows Server in my office.
   It is possible to connect trac with the repository on an other windows-
   system?

  As far as I know, this is not supported by trac and I'm not aware of
  anybody working on this issue. Please correct me, if I'm wrong. Why
  is it necessary for you? Apart from your boss demanding it... :~)

 thanks for your answer.

 in Trac Installation Guide is written that trac and subversion musst
 be installed on the same machine. i hoped to an ohter solution. My
 boss sad the svn server in another office might be (VPN connection).

 Ronny

I have found how used UNC-paths für the repositories on http://
trac.edgewall.org/wiki/TracFaq.

Can I use Trac with a remote subversion repository?
You can't use Trac (not yet) with remote repository but you could
mirror remote repository using this program:  http://svk.elixus.org/
If you are using subversion 1.4,  svnsync program also help you to
mirror repository across network.
If you're on Windows, the Python bindings support UNC paths, so you
can use a repository that's shared out on another machine. Just use
the UNC path instead of the local file path when setting up Trac.
(Note that this can be slow and that this usage is not recommended by
the Subversion development team.) 

the UNC path only works when I use the locale path (\\servername1\svn
\project) but as UNC not specify the remote path of second servername
(\\servername2\svn\project).

why???

Ronny

but the UNC-path to the romote-server
--~--~-~--~~~---~--~~
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: concurrent editing of wiki pages

2009-06-16 Thread yoheeb

On Jun 16, 9:29 am, Roger Oberholtzer roger.oberholt...@gmail.com
wrote:
 Don't panic. I am not asking for this (but would be happy if it
 existed!).

 My question is: what is the best thing to do when that happens in trac?
 I have a few users to whom this has happened. They just let their
 changes go away. I am guessing there is perhaps a better way to deal
 with this. Any ideas? Like:

 - open a new browser tab, get the edit that someone else saved while you
 were still editing, and cut and paste your changes between the tabs.

 - (better suggestion goes here)

 Roger Oberholtzer

DataSaverPlugin
--~--~-~--~~~---~--~~
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: concurrent editing of wiki pages

2009-06-16 Thread Olemis Lang

On Tue, Jun 16, 2009 at 9:29 AM, Roger
Oberholtzerroger.oberholt...@gmail.com wrote:

 My question is: what is the best thing to do when that happens in trac?

 - open a new browser tab, get the edit that someone else saved while you
 were still editing, and cut and paste your changes between the tabs.

 - (better suggestion goes here)


I dont know whether it's better or not but this ia what I do:

- Get the changes, remove every parameter in the page URL (e.g.
action=edit) and after the page is loaded I refresh it once again
(i.e. to update the browser cache) in order to retrieve the latest
version, then I edit it once again, and afterwards: infinite loop.

as you can see that's not the best solution or whatever , it's just what I do ;)

-- 
Regards,

Olemis.

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

Featured article:
Web : Firefox a la medida  -
http://feedproxy.google.com/~r/simelo-es/~3/uiPk6pD_6Rg/web-firefox-la-medida.html

--~--~-~--~~~---~--~~
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: concurrent editing of wiki pages

2009-06-16 Thread Olemis Lang

On Tue, Jun 16, 2009 at 9:47 AM, Olemis Langole...@gmail.com wrote:
 On Tue, Jun 16, 2009 at 9:29 AM, Roger
 Oberholtzerroger.oberholt...@gmail.com wrote:

 My question is: what is the best thing to do when that happens in trac?

 - open a new browser tab, get the edit that someone else saved while you
 were still editing, and cut and paste your changes between the tabs.

 - (better suggestion goes here)


 I dont know whether it's better or not but this ia what I do:

 - Get the changes, remove every parameter in the page URL (e.g.
 action=edit) and after the page is loaded I refresh it once again
 (i.e. to update the browser cache) in order to retrieve the latest
 version,

I forgot to mention : I do this because the version number should
match the latest version of the wiki so if you submit your wiki text
over and over, Trac will always reply that your version is outdated
and you'll never be able to modify the wiki page because of that (and
since browsers may use cached pages then I always refresh to force
page retrieval ;), so its necessary to update the page so as to use
the latest version number.

CMIIW anyway ;)

-- 
Regards,

Olemis.

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

Featured article:
Supercomputadores : Sun anuncia Juropa2  -
http://feedproxy.google.com/~r/simelo-es/~3/9nqX4ThNdmU/supercomputadores-sun-anuncia-juropa2.html

--~--~-~--~~~---~--~~
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: I need a trac consultant

2009-06-16 Thread Lance Hendrix
Thanks for the update.  Based on another email, I have a quick 
question.  Are you using mod_deflate on Apache?

I have also been doing some load testing in relation to issue #7490.  My 
results, assumptions, testing environment, and test scripts can be 
found at http://trac.edgewall.org/wiki/Performance.  I would be 
interested in seeing the results of other people duplicating these test 
as it may help in reproducing problems like the one you have been 
working on.

I have also been doing some profiling of the Trac-0.11-stable code base 
and have found no surprises, but I still do have a few theories to test 
with regards to I/O, available memory, and performance; however until I 
can construct some tests to disprove these theories, I don't have 
anything definite to share.

For those following any of my previous threads on this, I have switched 
the load testing tool to Apache JMeter so that others can more easily 
perform similar testing on their systems (as opposed to the proprietary 
tool that I was using previously).

Please let us know if you find anything else.

Lance

Chris Peterson wrote:
 OK, so let me update briefly on some changes I have done.  The only bad part
 here is, none of the changes *singly* have made a large difference in
 performance, but all together it seems to be running much better.

 I set Apache to have 100 process threads rather than 250
 I disabled DEP on Windows (which was enabled by default)
 I disabled the source browsing from all hosted trac environments
 I disabled all authentication to the /chrome folder, my Location directive
 for the chrome folder looks as such:

Location /chrome
Satisfy Any
Allow from all
ExpiresActive On
ExpiresDefault access plus 30 days
/Location

 I ran some IO tests on the S3 drive vs the host OS drive, and while the S3
 drive did show some high variances on speed, it also had peaks of very quick
 performance (as I would expect from a highly shared resource), so I do not
 believe that is my sole IO issue.

 Performance seems much better overall now, and normal page requests are no
 longer peaking the CPU quite so badly, but the wiki page still consumes 100%
 CPU for approx 1 - 2 seconds, then drops back down. I think (at this late
 time at night on the weekend) that performance is acceptable now, but I will
 need to get it under load before I know for certain.  Each one of these
 changes have seemed to cause an improvement, and all together it seems
 pretty happy now =)

 Thanks to everyone for all your idea's.  I believe my next steps here will
 be to update to the 1.6.2 release of SVN, and I believe I will also update
 the Sqlite databases to either MySQL or PostgreSQL and see if I can find
 some additional performance gains that way. If anyone has a recommendation
 on which way to go with the Trac database for performance and ease of
 upgrading 50 environments or so, please feel free to chime in!

 Hope everyone is having a great evening,

 Chris Peterson
 Alagad, Inc.


 On 6/5/09 12:57 PM, Christian Boos cb...@neuf.fr wrote:

   
 Chris Peterson wrote:
 
 I work with Doug on this issue, and I wanted to provide some
 additional details about our configuration and what I am seeing.

 The server is an Amazon EC2 small instance, running on a dual core
 Opteron 2.6 ghz w/ 1.66 gig of ram
 The Trac install lives in the default c:\python25 folder, and the
 trac / svn data lives on an S3 drive.
   
   
 Ah well, you're the author of comment:57 - didn't you indicate there
 that changing the log_level was helping?
 Also, did you test on some similar local machine as well?


 
 We have 49 trac environments running here, 4 of which have their own v-
 host configured, the rest are for internal use and share a root url.
 All of these environments also have SVN setup. The majority of the
 shared instances have a common configuration base trac.ini file, with
 individual files for environment specific configurations.

 I started out with the 0.11 install of Trac, and have since upgraded
 to the 0.12dev-r8263 release from SVN (using easy_install and pointing
 to the SVN repo location), to try and address our performance issues.
 Under 'About Trac', here is my current config:

 Trac:   0.12dev-r8263
 Python: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310
 32 bit (Intel)]
 setuptools: 0.6c9
 SQLite: 3.5.2
 pysqlite: 2.4.0
 Genshi: 0.6dev-r1052
 Babel: -
 mod_python: 3.3.1
 Pygments: 1.0
 Subversion: 1.5.4 (r33841)
 jQuery: 1.1.3.1
   
   
 Side note, should be jQuery: 1.3.2, no? (that's what is checked in into
 trunk, AFAICT).
 
 I have Apache connecting using mod_python, but this slow performance
 and 100% CPU peak usage persists even if I load a single environment
 using tracd and shut-down the apache instance.
   
 Ok, that's very interesting: you're able to reproduce the perfomance
 issue with tracd serving a single environment.
 Let's forget 

[Trac] ticket workflows

2009-06-16 Thread Kathi Pitts

i'm using version 0.10.4.  i want to use the enterprise workflow.  do
i have to upgrade to get the workflow.ini? or can i simply edit the
trac.ini by adding a ticket-workflow section?

is there a plugin that would be better?

tks much

k


--~--~-~--~~~---~--~~
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] Viewing roadmap permissions

2009-06-16 Thread David Brown


I've got trac 0.11.1 installed (since that's the current Debian
version), though I can update that if needed.

I've been trying to set up a trac server with different sets of
permissions for different groups of people.  For example, I have a group
manager who are allowed to view, create and modify some features, but
don't have all administrator permissions.  The permissions they have are:

MILESTONE_ADMIN
REPORT_ADMIN
TICKET_CREATE
TICKET_MODIFY
TICKET_VIEW
TIMELINE_VIEW
WIKI_CREATE
WIKI_MODIFY


My problem at the moment is that when logged in as a manager, there is
no Roadmap button between Timeline and View Tickets (there is no
Browse Source either, but that's intentional - they don't have
BROWSER_VIEW permission).

If I type the URL ...project/roadmap/ directly in a browser, the
manager has full access to view, modify and add milestones as
expected.  It's just the standard Roadmap button that's missing.

Am I doing something wrong here, or have I found a bug?

mvh.,

David



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

2009-06-16 Thread Shane Caraveo

  I have also been doing some load testing in relation to issue #7490. My
  results, assumptions, testing environment, and test scripts can be
  found at http://trac.edgewall.org/wiki/Performance. I would be
  interested in seeing the results of other people duplicating these test
  as it may help in reproducing problems like the one you have been
  working on.

Hi Lance,
What are the numbers in the results on that page?  ms?  req/s?

Regards,
Shane



--~--~-~--~~~---~--~~
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: Viewing roadmap permissions

2009-06-16 Thread Chris Heller

In 0.11.1 the roadmap nav requires ROADMAP_VIEW in order for it to
show up in the navigation.

http://trac.edgewall.org/browser/tags/trac-0.11.1/trac/ticket/roadmap.py#L306

What's strange is that in 0.11.1 ROADMAP_VIEW was the only permission
associated with the URL itself.  In the current 0.11.x code, this now
also provides the relevant actions for ROADMAP_ADMIN.

http://trac.edgewall.org/browser/tags/trac-0.11.4/trac/ticket/roadmap.py#L306

Is your trac/ticket/roadmap.py patched somehow?

Either way, sounds like granting ROADMAP_VIEW to anyone with
ROADMAP_ADMIN would solve the problem.

On Tue, Jun 16, 2009 at 7:51 AM, David Brownda...@westcontrol.com wrote:


 I've got trac 0.11.1 installed (since that's the current Debian
 version), though I can update that if needed.

 I've been trying to set up a trac server with different sets of
 permissions for different groups of people.  For example, I have a group
 manager who are allowed to view, create and modify some features, but
 don't have all administrator permissions.  The permissions they have are:

 MILESTONE_ADMIN
 REPORT_ADMIN
 TICKET_CREATE
 TICKET_MODIFY
 TICKET_VIEW
 TIMELINE_VIEW
 WIKI_CREATE
 WIKI_MODIFY


 My problem at the moment is that when logged in as a manager, there is
 no Roadmap button between Timeline and View Tickets (there is no
 Browse Source either, but that's intentional - they don't have
 BROWSER_VIEW permission).

 If I type the URL ...project/roadmap/ directly in a browser, the
 manager has full access to view, modify and add milestones as
 expected.  It's just the standard Roadmap button that's missing.

 Am I doing something wrong here, or have I found a bug?

 mvh.,

 David



 


--~--~-~--~~~---~--~~
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: Controlling access to parts of a wiki and tickets

2009-06-16 Thread Chris Heller

There are two plugins on trac-hacks that will help you.  The private
wiki plugin and the private tickets plugin.

On Tue, Jun 16, 2009 at 7:51 AM, David Brownda...@westcontrol.com wrote:

 Is it possible to limit access to different parts of a wiki to different
 users (or groups of users)?

 What about tickets - can they be limited to different users?  Ideally,
 I'd like general users to be able to create tickets and then view the
 ticket and its history, and also add comments to the ticket.  But the
 general users could only view tickets that they create themselves -
 others would be invisible to them.

 Is something like that possible, or should I just re-think my
 requirements (such as perhaps setting up two separate trac environments)?

 mvh.,

 David


 


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

2009-06-16 Thread yoheeb

On Jun 16, 12:07 pm, Shane Caraveo mixedpu...@gmail.com wrote:
   I have also been doing some load testing in relation to issue #7490. My
   results, assumptions, testing environment, and test scripts can be
   found athttp://trac.edgewall.org/wiki/Performance. I would be
   interested in seeing the results of other people duplicating these test
   as it may help in reproducing problems like the one you have been
   working on.

 Hi Lance,
 What are the numbers in the results on that page?  ms?  req/s?

 Regards,
 Shane

I am going with Donuts per Cups of coffee
--~--~-~--~~~---~--~~
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: ticket workflows

2009-06-16 Thread yoheeb

On Jun 16, 11:41 am, Kathi Pitts pitts...@gmail.com wrote:
 i'm using version 0.10.4.  i want to use the enterprise workflow.  do
 i have to upgrade to get the workflow.ini? or can i simply edit the
 trac.ini by adding a ticket-workflow section?

 is there a plugin that would be better?

 tks much

 k

it was added in 0.11.  Copying part of the milestone release notes the
biggest in your case, being the Caveats section about downgrading.
food for thought:
Milestone: 0.11

Feature Summary

snipped
* support for fine-grained permission, allowing very flexible
control over what an user can see or do in the whole system
* support for configurable workflow in the ticket subsystem
snipped

Caveats

* Coming from 0.10.x, an environment upgrade is needed (trac-admin
$TRAC_ENV upgrade) and you can't downgrade to 0.10-stable without some
manual intervention (see TracUpgrade), so keep a backup at hand ;-)
--~--~-~--~~~---~--~~
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 compatible with Python 3?

2009-06-16 Thread Erik Bray

Though I'm sure that if someone had the time to spend and wanted to
spend it working on a 3.0 port of Genshi, no one would stop them from
trying.  Though I don't think it would be a very straightfoward
conversion.

On Mon, Jun 15, 2009 at 4:08 PM, Noah Kantrowitzn...@coderanger.net wrote:

 No, nor is it going to happen anytime soon. SQLite should work, but it will
 take time for the other DB bindings to be available. Also Genshi is going to
 be hard to port, since it uses a lot of python internals. Maybe in a year or
 two.

 --Noah

 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of pgacv2
 Sent: Monday, June 15, 2009 6:22 AM
 To: Trac Users
 Subject: [Trac] Trac compatible with Python 3?


 Hello,

 I did some quick searching online and in the archives of this list but
 found no answer. I'm sure it's been asked before. Is the current
 version of Trac compatible with Python 3? And if not, is it in the
 works? There's no mention of it in the roadmap.

 Thanks,

 Pedro




 


--~--~-~--~~~---~--~~
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: Mandatory fields

2009-06-16 Thread Dan Winslow

Well, I can inline the code for ticketvalidator/core.py...be aware that I know 
virtually nothing about python and was operating totally in the dark. This 
operates off of an addition to the ini file as so :

[fieldscheck]
actual_hours = int,1,200
date_due = date
estimate_hours = int,1,200

the params for the field name are data type, optional val, optional val. The 
'int' means integer and the two optionals are min and max. Right now int is the 
only one implemented, but you can see there's a case for others. All I did was 
mod the core.py file, then re-run the setup.py, copy the egg, and bounce the 
server. You should diff this with the stock core.py to see the changes. 
Basically, I added _is_not_integer and also hacked the validate_ticket function.



# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Max Stewart
# All rights reserved.
#
# This file is part of the TicketValidator plugin for Trac
#
# TicketValidator is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# TicketValidator is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with TicketValidator.  If not, see
# http://www.gnu.org/licenses/.

from trac.core import *
from trac.ticket import ITicketManipulator
from trac.ticket import TicketSystem

class RequiredFieldValidator(Component):
Basic ticket validator for required fields

implements(ITicketManipulator)

def _is_not_integer(self, value):
if value is None:
return True
try:
dummy = int(value.strip())
return False
except ValueError:
# 'source' does not represent a number
return True
return False



def _is_empty(self, value):
Check if 'value' is empty.

:param value: the value to check
:type value: object

if value is None:
return True

if len(value) == 0:
return True

return False

def prepare_ticket(self, req, ticket, fields, actions):
Not currently called, but should be provided for future
compatibility.

def validate_ticket(self, req, ticket):
Make sure required fields for the next state have been
the ticket will be in have been entered.

state = self._get_state(req, ticket)
res   = ticket[resolution]

#this section forces certain values based on resolution
if res == canceled - duplicate:
ticket[actual_hours]=0
ticket[estimate_hours]=0
ticket[date_due]=

#this section validates based on required and type lookup tables
errors=[]
required_fields = self.config.getlist('ticketvalidator',state + 
'.required')
for field_name in required_fields:
   field_name=field_name.lower()
   self.env.log.info(found required field name %s % field_name)
   flist = self.config.getlist('fieldscheck',field_name)
   if flist:
   self.env.log.info( found custom validate for %s type : %s value 
: %s
 % (field_name,flist[0],ticket[field_name]))
   if flist[0] == int:
   if self._is_not_integer(ticket[field_name]):
   errors.append((field_name, '%s must be an integer range 
%s to %s' %
   (field_name,flist[1],flist[2])))
   elif flist[0] == date:
   if ticket[field_name]==click to set date or 
ticket[field_name]==:
   errors.append((field_name, '%s must be set to a date.' % 
field_name))
   else:
   if self._is_empty(ticket[field_name]):
   errors.append((field_name, ' cannot be empty.'))
   else:
   if self._is_empty(ticket[field_name]):
   errors.append((field_name, ' cannot be empty.'))

#this section does special validation based on resolution
if state == closed:
self.env.log.info(resolution : %s % ticket[resolution])
if ticket[resolution] == canceled - duplicate:
if self._is_empty(ticket[duplicate]):
errors.append((duplicate, ' cannot be empty.'))


#errors=[(field_name, '%s must be an integer' % field_name)
#  for field_name in editcheck_fields
#  if self._is_not_integer(ticket[field_name])]

#required_fields = self.config.getlist('ticketvalidator',
#  state + '.required')

#errors = [(field_name, '%s is required' % 

[Trac] TracGViz 1.3.2 released

2009-06-16 Thread Olemis Lang

Disclaimer: This message has been sent to multiple lists in spite of
keeping users and tech authors informed about the new features
available. I apologize if you receive multiple copies of this message

I'm so excited to announce the latest release (1.3.2) of TracGviz
plugin. This package (plugin) puts together three great platforms
(Trac, iGoogle gadgets, and Google Visualization API) by providing
components so that Trac be able to use widgets and related
technologies provided by Google. This means that

- It allows to feed data managed by Trac to widgets based on Google
  Visualisation API.
- It allows embedding iGoogle Gadgets in wiki pages using WikiFormatting.

This time the focus has been given to :

- Enhance support for TracLinks expansion and its integration with
  iGoogleGadgetMacro,
- Enhance Integration with Trac Permissions system

I am sure that this version will be much more useful. In case
something wrong's been detected please create a ticket [1]_ including
all the relevant information.


What's new in version 1.3.2
-

- TracGVizSystem now implements IPermissionRequestor interface. This
  means that Trac admins can use `GVIZ_VIEW` permission to control
  which users may access GViz data sources or not. On accessing such
  data, if the aforementioned permission is not granted to the user
  performing the request then a GViz API error response is returned
  to the caller with `reason` set to `user_not_authenticated` in case
  of anonymous access, or `access_denied` otherwise.

- Now absolute URLs are returned while expanding TracLinks
  expressions inside iGoogleGadget macro. Formerly this
  prevented the iGoogle container to find data inside the project
  environment in case TracLinks expressions were used.

- Add support for `sheet` option in GoogleDocsConnector in order
  to have links to data inside an specific sheet provided its name.
  Hence, links like the following are supported from now on:
  https://spreadsheets.google.com/tq?key=ABCDsheet=Sheet1,
  https://spreadsheets.google.com/tq?key=ABCDsheet=Sheet+2.
  Sheet names may have alphanumeric characters as well as whitespaces.
  Syntax -
  
`gviz:google:sheet:spreadsheet_id[:[sheet_name][:top_cell-bottom_cell]][?[headers=number]]`

- Formerly values in columns having types `date`, `datetime` or
  `timeofday` were shown in responses not in JSON format (e.g. HTML)
  in a way similar to `new Date(2009, 12, 2)`. Now they are rendered
  using the following formats `%Y-%m-%d`, `%Y-%m-%d %H:%M:%S`,
  `%H:%M:%S` respectively.

- New ! The following (non-standard) formats are supported using
  special format identifiers for `out` option in `tqx` parameter:
  MoinMoin (Trac) wiki tables (class extfmt.GVizMoinEncoder `out:moin`).

- Every wiki GViz provider now supports name expansion using Unix
  shell-style wildcards. This means that if such patterns are
  specified for `name` parameter either once or multiple times, then
  all those wiki pages for which a match is found will be included in
  the result set
  (e.g. `/gviz/wiki/index?tqx=out:htmlallname=Wiki*name=TracN*`
  will return information about all the versions of the wiki pages
  starting with either `Wiki` or `TracN` prefixes, such as
  `WikiNewPage`, `WikiHtml`, `WikiProcessors`,
  `WikiRestructuredText`, `WikiStart`, `TracNavigation`,
  `WikiRestructuredTextLinks`, `TracNotification`, `WikiMacros`,
  `WikiFormatting`, `WikiPageNames`, `WikiDeletePage`).

Coming soon
==

- reStructuredText encoder
- More data sources
- More docs  tutorials ...
- more ... see CHANGES file for details ;)

Acknowledgements
==

- Trac devs
- Google devs

Keep up the good work !

Useful links
===

.. [1] Report an issue
        
(https://opensvn.csie.org/traccgi/swlcu/newticket?component=plugin_trac_gviz)

.. [2] Trac integration with Google Visualization API
         (https://opensvn.csie.org/traccgi/swlcu/wiki/En/Devel/TracGViz)

.. [3] TracGViz 1.3.2 @ PyPI
         (http://pypi.python.org/pypi/TracGViz/1.3.2)

.. [4] Direct download link
         
(http://pypi.python.org/packages/2.5/T/TracGViz/TracGViz-1.3.2-py2.5.egg#md5=aa9af20d5ee2d98c16706eef14c94430)

.. [5] Using TracLinks expressions to embed iGoogle gadgets
         
(https://opensvn.csie.org/traccgi/swlcu/wiki/En/Devel/TracGViz/TracLinks)

-- 
Regards,

Olemis.

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

Featured article:
Supercomputadores : Sun anuncia Juropa2  -
http://feedproxy.google.com/~r/simelo-es/~3/9nqX4ThNdmU/supercomputadores-sun-anuncia-juropa2.html

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

[Trac] Re: Performance

2009-06-16 Thread Lance Hendrix

ms - I need to go through and clean up the table (alignment and labels) 
as this is the raw information straight from the tool.  Thanks for 
pointing that out though.

Lance

Shane Caraveo wrote:
   I have also been doing some load testing in relation to issue #7490. My
   results, assumptions, testing environment, and test scripts can be
   found at http://trac.edgewall.org/wiki/Performance. I would be
   interested in seeing the results of other people duplicating these test
   as it may help in reproducing problems like the one you have been
   working on.

 Hi Lance,
 What are the numbers in the results on that page?  ms?  req/s?

 Regards,
 Shane



 
   

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

2009-06-16 Thread Shane Caraveo

Think I was happier with donuts per cup of coffee ;)

On 6/16/09 12:45 PM, Lance Hendrix wrote:
 ms - I need to go through and clean up the table (alignment and labels)
 as this is the raw information straight from the tool.  Thanks for
 pointing that out though.

 Lance

 Shane Caraveo wrote:
 I have also been doing some load testing in relation to issue #7490. My
 results, assumptions, testing environment, and test scripts can be
 found at http://trac.edgewall.org/wiki/Performance. I would be
 interested in seeing the results of other people duplicating these test
 as it may help in reproducing problems like the one you have been
 working on.

 Hi Lance,
 What are the numbers in the results on that page?  ms?  req/s?

 Regards,
 Shane

--~--~-~--~~~---~--~~
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] current user

2009-06-16 Thread Dan Winslow
Is the current user name available anywhere within the request
structures or environment?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: current user

2009-06-16 Thread Emmanuel Blot

 Is the current user name available anywhere within the request structures or
 environment?

req.authname

--~--~-~--~~~---~--~~
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: Printing out request

2009-06-16 Thread Noah Kantrowitz
There are a lot. Might help to ask about what you are looking for.

 

--Noah

 

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Dan Winslow
Sent: Tuesday, June 16, 2009 1:28 PM
To: trac-users@googlegroups.com
Subject: [Trac] Printing out request

 

How can I print out all of the fields in the req structure?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Printing out request

2009-06-16 Thread Dan Winslow
I think I might need a clue to where in the source I can find the..class
I suppose. Whatever it is in python. Or is it a map or dict type array?

 



From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Noah Kantrowitz
Sent: Tuesday, June 16, 2009 3:35 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: Printing out request

 

There are a lot. Might help to ask about what you are looking for.

 

--Noah

 

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Dan Winslow
Sent: Tuesday, June 16, 2009 1:28 PM
To: trac-users@googlegroups.com
Subject: [Trac] Printing out request

 

How can I print out all of the fields in the req structure?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-16 Thread Noah Kantrowitz
Please ask questions about what you actually trying to _do_, not specific
implementation details.

 

--Noah

 

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Dan Winslow
Sent: Tuesday, June 16, 2009 1:52 PM
To: trac-users@googlegroups.com
Subject: [Trac] access to the ticket array

 

I am in some plugin source, and I would like to access the ticket[] array.
It's not available in the class I am in :

 

class TicketTweaks(Component):

implements(ITemplateStreamFilter, ITemplateProvider,
IPermissionRequestor)

 

I am guessing because it does not do some of this ( from another plugin )

 

from trac.core import *

from trac.ticket import ITicketManipulator

from trac.ticket import TicketSystem

 

class RequiredFieldValidator(Component):

Basic ticket validator for required fields

 

implements(ITicketManipulator)

 

I guess this because the ticket[] array *is* visible in the second plugin.
Can I just add the import for trac.ticket.TicketSystem? Or must I also
implement the ITicketManipulator interface?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Printing out request

2009-06-16 Thread Erik Bray

On Tue, Jun 16, 2009 at 4:28 PM, Dan Winslowdwins...@aiminstitute.org wrote:
 How can I print out all of the fields in the req structure?




Your best bet would be to get the TracDeveloper plugin.  Look for it
on trac-hacks.

--~--~-~--~~~---~--~~
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: Printing out request

2009-06-16 Thread Noah Kantrowitz
It is a complex question. Most req attributes are constructed on the fly
using a cache-on-load system to improve performance.

 

--Noah

 

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Dan Winslow
Sent: Tuesday, June 16, 2009 1:47 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: Printing out request

 

I think I might need a clue to where in the source I can find the..class I
suppose. Whatever it is in python. Or is it a map or dict type array?

 

  _  

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Noah Kantrowitz
Sent: Tuesday, June 16, 2009 3:35 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: Printing out request

 

There are a lot. Might help to ask about what you are looking for.

 

--Noah

 

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On
Behalf Of Dan Winslow
Sent: Tuesday, June 16, 2009 1:28 PM
To: trac-users@googlegroups.com
Subject: [Trac] Printing out request

 

How can I print out all of the fields in the req structure?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Printing out request

2009-06-16 Thread Olemis Lang

On Tue, Jun 16, 2009 at 4:05 PM, Erik Brayhyugaricd...@gmail.com wrote:

 On Tue, Jun 16, 2009 at 4:28 PM, Dan Winslowdwins...@aiminstitute.org wrote:
 How can I print out all of the fields in the req structure?

 Your best bet would be to get the TracDeveloper plugin.  Look for it
 on trac-hacks.


TracDeveloper plugin and then include param debug=true in URL
(disregarding the URL you 'r accessing ;) and you'll get back lots of
debug info instead of page contents . You'll see req structure inside
rendering context and many other useful things too ;)

That plugin's great !

-- 
Regards,

Olemis.

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

Featured article:
Lo que es tuyo, mío y de todos ... La polémica de los datos  -
http://feedproxy.google.com/~r/simelo-es/~3/uewBy5tX6wg/lo-que-es-tuyo-mio-y-de-todos-la.html

--~--~-~--~~~---~--~~
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] Does Trac really work on Windows

2009-06-16 Thread cindy

OK so I am trying to install svn and trac on the same windows machine
per my boss's wishes. If left up to me, I would use Linux.

I also have been told to use VisualSVN 1.7.2. (Yes I know it is not
officially supported)

Python 2.6.2
Py26-svn-pysvn155
Pysqlite-2.5.5….py2.6 (I know we are using Postgres but this is just
an effort to get it to work)
Trac-0.11.4
Genshi-0.5.1…py2.6
Setuptools-0.6c9
NOTE: I unzipped and untarred the version for py2.6 … the python
website says it works this way.
I made a directory outside of python and ran setup with the egg file
for 2.6 .python ez_setup.py setuptools-0.6c9-py2.6.egg
I also installed accountadminplugin.
NOTE: I put made a plugin directory and ran easy setup to install
that.

I used an on line tutorial for most of this at this URL:

http://how-to-solutions.com/how-to-install-trac-on-windows.html

I substituted the python 2.6 files for the ones they suggested for
compatibility. I was successful until I got to the line where you run
the daemon.

Tracd -p 8000 c:\repositories\projects\tracproject

Then I get the persistent error that there is no svn module. I does
let me into the Admin account to create users.

Question 1. Does Trac really work on Windows? I am beginning to doubt
it.

Question 2. Where is the Trac log they refer to in the error message?
I cannot find it.

BTW Ronny you might want to check your versions of svn and trac to be
sure they match.

Cindy

--~--~-~--~~~---~--~~
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: Does Trac really work on Windows

2009-06-16 Thread Emmanuel Blot

 Question 1. Does Trac really work on Windows? I am beginning to doubt
 it.

Everything is more complicated on Windows ;-)
I haven't installed Trac on Windows for a while - I really hope I
won't have to use Windows at all, but you might want to check that
your SVN DLLs (with the SAME version as PySVN you've installed) are
available from your system path (c:\windows\system32 or the like).

 Question 2. Where is the Trac log they refer to in the error message?
 I cannot find it.
The default log file is written in project/log/trac.log
On your environment, that would be
c:\repositories\projects\tracproject\log\trac.log

However you need to edit the [logging] section from trac.ini
(c:\repositories\projects\tracproject\conf\trac.ini) and set log_type
as file, then restart the tracd daemon.

HTH,
Manu

--~--~-~--~~~---~--~~
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: Does Trac really work on Windows

2009-06-16 Thread Noah Kantrowitz

Strike that:
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100expa
ndFolder=8100folderID=91 has some built for 2.6. Newer version of SVN too.

--Noah

 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of Noah Kantrowitz
 Sent: Tuesday, June 16, 2009 4:17 PM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: Does Trac really work on Windows
 
 
 PySVN is not the same thing as the SVN SWIG bindings. You find the
 correct
 bindings at
 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
 but I
 don't see any built for Python 2.6. You can either try to build them
 yourself, or switch to 2.5.
 
 --Noah
 
  -Original Message-
  From: trac-users@googlegroups.com [mailto:trac-
 us...@googlegroups.com]
  On Behalf Of cindy
  Sent: Tuesday, June 16, 2009 10:56 AM
  To: Trac Users
  Subject: [Trac] Does Trac really work on Windows
 
 
  OK so I am trying to install svn and trac on the same windows machine
  per my boss's wishes. If left up to me, I would use Linux.
 
  I also have been told to use VisualSVN 1.7.2. (Yes I know it is not
  officially supported)
 
  Python 2.6.2
  Py26-svn-pysvn155
  Pysqlite-2.5.5..py2.6 (I know we are using Postgres but this is just
  an effort to get it to work)
  Trac-0.11.4
  Genshi-0.5.1.py2.6
  Setuptools-0.6c9
  NOTE: I unzipped and untarred the version for py2.6 . the python
  website says it works this way.
  I made a directory outside of python and ran setup with the egg file
  for 2.6 .python ez_setup.py setuptools-0.6c9-py2.6.egg
  I also installed accountadminplugin.
  NOTE: I put made a plugin directory and ran easy setup to install
  that.
 
  I used an on line tutorial for most of this at this URL:
 
  http://how-to-solutions.com/how-to-install-trac-on-windows.html
 
  I substituted the python 2.6 files for the ones they suggested for
  compatibility. I was successful until I got to the line where you run
  the daemon.
 
  Tracd -p 8000 c:\repositories\projects\tracproject
 
  Then I get the persistent error that there is no svn module. I does
  let me into the Admin account to create users.
 
  Question 1. Does Trac really work on Windows? I am beginning to doubt
  it.
 
  Question 2. Where is the Trac log they refer to in the error message?
  I cannot find it.
 
  BTW Ronny you might want to check your versions of svn and trac to be
  sure they match.
 
  Cindy
 
 
 
 
 


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

2009-06-16 Thread Lance Hendrix
Yeah, that was a good thought...

Lance

Shane Caraveo wrote:
 Think I was happier with donuts per cup of coffee ;)

 On 6/16/09 12:45 PM, Lance Hendrix wrote:
   
 ms - I need to go through and clean up the table (alignment and labels)
 as this is the raw information straight from the tool.  Thanks for
 pointing that out though.

 Lance

 Shane Caraveo wrote:
 
 I have also been doing some load testing in relation to issue #7490. My
 results, assumptions, testing environment, and test scripts can be
 found at http://trac.edgewall.org/wiki/Performance. I would be
 interested in seeing the results of other people duplicating these test
 as it may help in reproducing problems like the one you have been
 working on.

 Hi Lance,
 What are the numbers in the results on that page?  ms?  req/s?

 Regards,
 Shane
   

 
   

--~--~-~--~~~---~--~~
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: Does Trac really work on Windows

2009-06-16 Thread David Headley
I just got Trac running on Windows and it works great.  Here is my setup:
 Trac 0.11.4
 SVN 1.5.6 (r36142)
 Python 2.5.4
 Apache 2.2.11
 Windows Small Business Server 2008
I use the mod_wsgi module, and used the instructions here:
http://trac.edgewall.org/wiki/TracModWSGI

#1: It definitely works on Windows.

#2: Trac log is in your Trac environment directory under the log folder. But
trac.ini in the conf folder needs to be set to FILE:
[logging]
log_file = trac.log
log_level = DEBUG
log_type = file

Info on logging is here:
http://trac.edgewall.org/wiki/TracIni#logging-section




On Tue, Jun 16, 2009 at 6:22 PM, Noah Kantrowitz n...@coderanger.netwrote:


 Strike that:

 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100expa
 ndFolder=8100folderID=91http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100expa%0AndFolder=8100folderID=91has
  some built for 2.6. Newer version of SVN too.

 --Noah

  -Original Message-
  From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
  On Behalf Of Noah Kantrowitz
  Sent: Tuesday, June 16, 2009 4:17 PM
  To: trac-users@googlegroups.com
  Subject: [Trac] Re: Does Trac really work on Windows
 
 
  PySVN is not the same thing as the SVN SWIG bindings. You find the
  correct
  bindings at
  http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
  but I
  don't see any built for Python 2.6. You can either try to build them
  yourself, or switch to 2.5.
 
  --Noah
 
   -Original Message-
   From: trac-users@googlegroups.com [mailto:trac-
  us...@googlegroups.com]
   On Behalf Of cindy
   Sent: Tuesday, June 16, 2009 10:56 AM
   To: Trac Users
   Subject: [Trac] Does Trac really work on Windows
  
  
   OK so I am trying to install svn and trac on the same windows machine
   per my boss's wishes. If left up to me, I would use Linux.
  
   I also have been told to use VisualSVN 1.7.2. (Yes I know it is not
   officially supported)
  
   Python 2.6.2
   Py26-svn-pysvn155
   Pysqlite-2.5.5..py2.6 (I know we are using Postgres but this is just
   an effort to get it to work)
   Trac-0.11.4
   Genshi-0.5.1.py2.6
   Setuptools-0.6c9
   NOTE: I unzipped and untarred the version for py2.6 . the python
   website says it works this way.
   I made a directory outside of python and ran setup with the egg file
   for 2.6 .python ez_setup.py setuptools-0.6c9-py2.6.egg
   I also installed accountadminplugin.
   NOTE: I put made a plugin directory and ran easy setup to install
   that.
  
   I used an on line tutorial for most of this at this URL:
  
   http://how-to-solutions.com/how-to-install-trac-on-windows.html
  
   I substituted the python 2.6 files for the ones they suggested for
   compatibility. I was successful until I got to the line where you run
   the daemon.
  
   Tracd -p 8000 c:\repositories\projects\tracproject
  
   Then I get the persistent error that there is no svn module. I does
   let me into the Admin account to create users.
  
   Question 1. Does Trac really work on Windows? I am beginning to doubt
   it.
  
   Question 2. Where is the Trac log they refer to in the error message?
   I cannot find it.
  
   BTW Ronny you might want to check your versions of svn and trac to be
   sure they match.
  
   Cindy


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