[Trac] Re: Question about workflow customization.

2009-01-07 Thread jevans


On Jan 6, 5:27 pm, Greg gbrig...@gmail.com wrote:
 Hi,

 I'm a potential future user of Trac, currently using Bugzilla, and I
 have a question about Trac's workflow customization.

 My company currently tracks bugs and features.  While I like the idea
 of considering both bugs and features as subsets of a single issue
 concept, we need to use different terminology for the two.  For
 instance, bugs would have states like reported, confirmed,
 assigned, fixed, and closed, while features would have states
 like requested, approved, assigned, completed, tested, and
 merged.  The reason for the distinction is partly to avoid confusing
 our staff, and partly for regulatory compliance.

 Would I be able to configure a single installation of Trac to handle
 these two different workflows, or would I be better off to install
 Trac twice?

 Thanks,

 Greg

Speculation:
Perhaps the TicketCreationStatus plug-in (http://trac-hacks.org/wiki/
TicketCreationStatusPlugin) could be extended to support setting the
initial state based on ticket type.  Or it might be useful as a
starting point for a separate plug-in that does it.  I think setting
up separate workflows from there would be pretty straight-forward.
Good luck,
- jevans
--~--~-~--~~~---~--~~
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] Can't install Trac

2009-01-07 Thread Nacho

I've upgraded python to 2.5 and installed easy_install. Nevertheless,
when I try to install Python it'll throw the following error:

# easy_install Trac
Searching for Trac
Reading http://pypi.python.org/simple/Trac/
Download error: (-3, 'Temporary failure in name resolution')
-- Some packages may not be found!
Reading http://pypi.python.org/simple/Trac/
Download error: (-3, 'Temporary failure in name resolution') -- Some
packages may not be found!
Couldn't find index page for 'Trac' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: (-3, 'Temporary failure in name resolution') -- Some
packages may not be found!
No local packages or download links found for Trac
error: Could not find suitable distribution for Requirement.parse
('Trac')

What's the problem?

Thank you in advance!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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: Can't install Trac

2009-01-07 Thread Noah Kantrowitz


On Jan 7, 2009, at 12:35 AM, Nacho wrote:


 I've upgraded python to 2.5 and installed easy_install. Nevertheless,
 when I try to install Python it'll throw the following error:

 # easy_install Trac
 Searching for Trac
 Reading http://pypi.python.org/simple/Trac/
Download error: (-3, 'Temporary failure in name resolution')


DNS failure. Error messages don't lie ;-)

--Noah

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



[Trac] Ticket comment/attachment changes in timeline?

2009-01-07 Thread W. Martin Borgert

Hi,

is it possible to show ticket changes (comments, attachments)
in the timeline in trac 0.11.1? I tried

trac.ticket.web_ui.UpdateDetailsForTimeline = true
and
trac.ticket.web_ui.UpdateDetailsForTimeline = enabled
and
trac.ticket.web_ui.UpdateDetailsForTimeline = yes

in the [components] section of trac.ini, but w/o success.

TIA.

--~--~-~--~~~---~--~~
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: Add diff renderer?

2009-01-07 Thread Jeff Hammel

On Tue, Jan 06, 2009 at 11:49:21PM -0800, Noah Kantrowitz wrote:
 
 I don't know of any libraries or other ways to parse Word documents,  
 so no. If you are running on Windows and server has Word installed,  
 you might be able to rig something up with COM (via the win32com  
 module), but this isn't enough of a general case to bother IMO. All  
 the new Office 2007 files are just zipped XML I think, so you might be  
 able to make an HTML converter for that. Not a small task though.
 
 --Noah

There is also antiword 

http://www.winfield.demon.nl/

This could be made into a plugin.  Or I have heard rumors that OpenOffice can 
be driven computationally...somehow.  I avoid word documents like the plague 
but realize this is a luxury that not everyone has.

Jeff
 
 On Jan 6, 2009, at 7:11 PM, VeChen wrote:
 
 
  Well,is there a trac's plug-in to show the content of .doc files in
  website? I could't find it on http://trac-hacks.org/
 
  On 1月7日, 上午10时44分, Noah  
  Kantrowitz n...@coderanger.net wrote:
  Those files aren't diff'd since they contain a lot of useless  
  markup and
  such, and a diff wouldn't really be that helpful. If you set the
  svn:mimetype property to something like text/plain, Trac will at  
  least try,
  but I don't think you will like the results.
 
  --Noah
 
 
 
  -Original Message-
  From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com 
  ]
  On Behalf Of VeChen
  Sent: Tuesday, January 06, 2009 6:25 PM
  To: Trac Users
  Subject: [Trac] Add diff renderer?
 
  Hi all
 
  I used SVN singly ever and it can dispaly diffs (such as
  word,excel,ppt etc.) in website via ViewVC (compiled by python)
  While useing Trac ,it can only show txt or programing language files
  in website. How could I do if I wanna to see diffs about files as
  word,excel,ppt via browser.
  I searched for plug-ins and find TracExcelViewer who shows excel  
  in a
  peculiar way,it is still inefficient on showing diffs.Is there  
  someone
  give me a hand or some suggests.
 
  Thanks
 
  VeSion- 隐藏被引用文字 -
 
  - 显示引用的文字 -
 
  
 
 
  

--~--~-~--~~~---~--~~
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] TracWiki WYSIWYG Editor Plugin does not work

2009-01-07 Thread Clemens Feige

Hello together!

I would be happy to get some help with the WYSIWYG Plugin.

Symptom:


I do not see the WYSIWYG toolbar when editing a ticket or wiki page. It 
behaves like the normal text-edit.


Installation:
-

I have installed the plugin directly from the internet using:

easy_install http://trac-hacks.org/svn/tracwysiwygplugin/0.11

I have also enabled the plugin in the trac.ini:

[components]
tracwysiwyg.* = enabled


Analysis:
-

The plugin is properly listed on the admin area of my trac project:
TracWysiwyg 0.2-r4353

In the python-egg cache directory I see that a temp directory has been 
created:
eggs/TracWysiwyg-0.2_r4353-py2.4.egg-tmp/


I have activated the logging. There are some references to the Wysiwyg 
plugin, but no error logs. See below for the complete log that appears 
when editing a fresh wiki page.


LOG that appears when editing a fresh wiki page:
---
  Trac[main] DEBUG: Dispatching Request GET u'/wiki/EmptyPage'
  Trac[chrome] DEBUG: Prepare chrome data for request
  Trac[session] DEBUG: Retrieving session for ID u'feige'
  Trac[main] DEBUG: 845 unreachable objects found.
  Trac[main] DEBUG: Dispatching Request GET 
u'/chrome/common/css/wiki.css'
  Trac[main] DEBUG: Dispatching Request GET 
u'/chrome/tracwysiwyg/wysiwyg.css'
  Trac[main] DEBUG: 272 unreachable objects found.
  Trac[main] DEBUG: 0 unreachable objects found.
  Trac[main] DEBUG: Dispatching Request GET u'/chrome/common/js/trac.js'
  Trac[main] DEBUG: 0 unreachable objects found.
  Trac[main] DEBUG: Dispatching Request GET 
u'/chrome/common/js/search.js'
  Trac[main] DEBUG: 0 unreachable objects found.
  Trac[main] DEBUG: Dispatching Request GET 
u'/chrome/common/js/wikitoolbar.js'
  Trac[main] DEBUG: 0 unreachable objects found.
  Trac[main] DEBUG: Dispatching Request GET 
u'/chrome/common/trac_logo_mini.png'
  Trac[main] DEBUG: Dispatching Request GET 
u'/chrome/common/topbar_gradient2.png'
  Trac[main] DEBUG: 0 unreachable objects found.
  Trac[main] DEBUG: Dispatching Request GET 
u'/chrome/common/topbar_gradient.png'
  Trac[main] DEBUG: 0 unreachable objects found.
  Trac[main] DEBUG: 0 unreachable objects found.


Environment:

Trac:   0.11.2
Python: 2.4.2 [GCC 4.1.0 (SUSE SLES x86-64bit Linux)]
setuptools: 0.6c9
SQLite: 3.2.8
pysqlite:   2.4.1
Genshi: 0.5
Pygments:   1.0
Subversion: 1.5.2 (r32768)
jQuery: 1.2.6



Some advice would be very welcome. What can I do?
Clemens






--~--~-~--~~~---~--~~
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: Is it possible to create two User Groups with different rights?

2009-01-07 Thread Xiaoyu Guan

Dear All :
how to create two user group with different by using PrivateTicket
plugin?
I have create Group A, which only can view their own group Ticket
I want to create Group B which not only can view their own group
Ticket but also Group A' s ticket
Is there anybody can point out how to create the group B?

Thanks in advance

All the best

Xiaoyu(Sam)

On Dec 30 2008, 6:58 pm, jevans jevans...@gmail.com wrote:
 On Dec 30, 4:49 am, Xiaoyu Guan guanxia...@gmail.com wrote:

  Dear All
  I am a new user of Trac. I have a question about user group. I saw
  Trac supply different tickets type. I am wondering whether possbile to
  creat user_group_1 which only view their own group tickets. and
  user_group_2 which can view all tickets.

  Thanks in advance

  Xiaoyu

 The PrivateTickets plug-in (http://trac-hacks.org/wiki/
 PrivateTicketsPlugin) will let you specify individuals and groups
 that can only see their own or each other's tickets.  It's not based
 on ticket type, just whether they reported the issue.
 - jevans

--~--~-~--~~~---~--~~
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: TracWiki WYSIWYG Editor Plugin does not work

2009-01-07 Thread yoheeb



On Jan 7, 10:58 am, Clemens Feige c.fe...@osypkamed.com wrote:
 Hello together!

 I would be happy to get some help with the WYSIWYG Plugin.

 Symptom:
 

 I do not see the WYSIWYG toolbar when editing a ticket or wiki page. It
 behaves like the normal text-edit.

after installing the WYSIWYG plugin and restarting.

There will be a Radio button set in the upper right of the edit area
to use the wysiwyg or textarea.  it defaults to textarea, or, the
default Trac editor.


--~--~-~--~~~---~--~~
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: Is it possible to create two User Groups with different rights?

2009-01-07 Thread Noah Kantrowitz

Add groupb to groupa.

--Noah

On Jan 7, 2009, at 7:11 AM, Xiaoyu Guan wrote:


 Dear All :
 how to create two user group with different by using PrivateTicket
 plugin?
 I have create Group A, which only can view their own group Ticket
 I want to create Group B which not only can view their own group
 Ticket but also Group A' s ticket
 Is there anybody can point out how to create the group B?

 Thanks in advance

 All the best

 Xiaoyu(Sam)

 On Dec 30 2008, 6:58 pm, jevans jevans...@gmail.com wrote:
 On Dec 30, 4:49 am, Xiaoyu Guan guanxia...@gmail.com wrote:

 Dear All
 I am a new user of Trac. I have a question about user group. I saw
 Trac supply different tickets type. I am wondering whether  
 possbile to
 creat user_group_1 which only view their own group tickets. and
 user_group_2 which can view all tickets.

 Thanks in advance

 Xiaoyu

 The PrivateTickets plug-in (http://trac-hacks.org/wiki/
 PrivateTicketsPlugin) will let you specify individuals and groups
 that can only see their own or each other's tickets.  It's not based
 on ticket type, just whether they reported the issue.
 - jevans

 


--~--~-~--~~~---~--~~
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: Question about workflow customization.

2009-01-07 Thread yoheeb


On Jan 7, 2:02 am, jevans jevans...@gmail.com wrote:
 On Jan 6, 5:27 pm, Greg gbrig...@gmail.com wrote:



  Hi,

  I'm a potential future user of Trac, currently using Bugzilla, and I
  have a question about Trac's workflow customization.

  My company currently tracks bugs and features.  While I like the idea
  of considering both bugs and features as subsets of a single issue
  concept, we need to use different terminology for the two.  For
  instance, bugs would have states like reported, confirmed,
  assigned, fixed, and closed, while features would have states
  like requested, approved, assigned, completed, tested, and
  merged.  The reason for the distinction is partly to avoid confusing
  our staff, and partly for regulatory compliance.

  Would I be able to configure a single installation of Trac to handle
  these two different workflows, or would I be better off to install
  Trac twice?

  Thanks,

  Greg

 Speculation:
 Perhaps the TicketCreationStatus plug-in (http://trac-hacks.org/wiki/
 TicketCreationStatusPlugin) could be extended to support setting the
 initial state based on ticket type.  Or it might be useful as a
 starting point for a separate plug-in that does it.  I think setting
 up separate workflows from there would be pretty straight-forward.
 Good luck,
 - jevans

Yes, this can be done.  You will want to take a look at the
TypedTicketWorkflow plugin (this the key for what you want to do, and
pretty awesome, but can be unwieldy at first) and possibly also the
TicketValidator plugin.  I don't use the TicketCreationStatus plugin,
but it is worth a look in addtion, if you want that sort of feature.
you may also consider the TicketExtPlugin which can fill in some
fields/description based on ticket type.  We also use the
AdvancedWorkflowPlugin to reassing/change state/resoultion on certain
transitions (such as set_owner_to_previous, same for state, etc.) as
well as limit what permissions are required to do certain actions

Anway, as an example, with the first 2 I mentioned, we do the
following:
we have a Feature Branch type, which has the resolutions of only:
merged, abandoned
it also has the work flow stages:
Ready for code Review
Code Review Accepted (which is the only step, in our model, that can
transition to merged)

a task ticket, has the resolution of completed instead of fixed, and
also most of the others are gone.  canceled is another resolution
for a task
a test ticket, has completed, pass, fail, canceled

the validator is used for a few states, for example, to assign a
ticket, a Due date is required
to accept a ticket, an estimate time is required
and to send to QA the how to verify section is required.

Yes, this can be done.

I recommend the following:

map out your intended workflow.

additionally give TICKET_ADMIN rights to move *-new (reopen), and/or
install the batch modify plugin.

when I did this, no matter how well we nailed down the workflow, we
ended up with some transitions never thought of:

(for example, we only expected our Ready for code review stage to
ever transition to review accepted or back to previous state/
owner (reject set it back to accepted or assigned or new...etc. as
appropriate or abandoned, which is an axed feature). Turns out the
needInfo state actually applied once.  I used BatchModify to set it
directly, but then added the transition option for future use.

our workflow is quite complicated, and it was implementable.  the
custom-workflow section is huge though.
--~--~-~--~~~---~--~~
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 entry via custom form?

2009-01-07 Thread yoheeb

On Jan 6, 8:21 pm, Noah Kantrowitz n...@coderanger.net wrote:
 Yeah, making your own webapp with whatever you are familiar sounds best then. 
 Just look at the XmlRpcPlugin on trac-hacks.

 --Noah

 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On 
 Behalf Of Sean Killeen
 Sent: Tuesday, January 06, 2009 3:07 PM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: Ticket entry via custom form?

 Essentially, what I'm looking to do is create a walkthrough form That allows 
 teachers (non-trac users) to enter their contact information and other custom 
 fields (problem location, category, etc.) with an interface (CSS, etc.) that 
 I could build.

 When submitted, I'd like this form to submit the information and create a new 
 ticket in TRAC with certain assignments, properties, etc.

 As a bonus, it would then be great if we could e-mail them a ticket number, 
 but this is uneccessary for now.

 Example: a teacher's mouse won't work. From a working machine, she goes to a 
 URL and fills out a simple, user-friendly form and submits. She knows nothing 
 of trac's existence. IT staff see a new unassigned ticket of a certain status 
 in trac with custom fields filled in appropriately.

 It sounds like XML-RPC might be the way to go; if you agree, could you maybe 
 recommend a resource to help me get started?

 Thanks already for your help and quick response!

 All the best,

 Sean

 On Jan 6, 2009, at 4:13 PM, Noah Kantrowitz n...@coderanger.net wrote:

 How custom do you mean? There is the SimpleTicket plugin which allows hiding 
 certain ticket fields for certain users (so they only see the few fields they 
 need to). Outside of that you could either make a Trac plugin, or make some 
 other app and interface with Trac via XML-RPC.

 --Noah

 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On 
 Behalf Of Sean Killeen
 Sent: Tuesday, January 06, 2009 12:48 PM
 To: Trac User Google Group
 Subject: [Trac] Ticket entry via custom form?

 Hey all,

 This is my first post here, so I apologize if I'm not following protocol 
 correctly.

 I have TRAC with SVN running on apache and all is going well.

 My goal is to turn TRAC into a system for workers to receive tickets.

 It's got everything I need internally, but I need to construct a 
 user-friendly form so that non-technical users (teachers in a school 
 district) can enter tickets (requests for maintenance, etc.) easily into the 
 TRAC system.

 The goal is to separate certain users from the actual TRAC system as much as 
 possible via an outside (perhaps wizard-like) form, which I can build.

 Does anybody know of a plug-in or living code out there that will do this? 
 I'd like to save as much time on custom development as possible, and have 
 searched around the TRAC site but came up empty.

 If this search is fruitless, I'll attempt to contact the development group to 
 see if I can pass data to a function in TRAC somehow and have it add the 
 ticket.

 Thanks in advance for any help you can give!
 --
 Sean

the email part would be easy to do also, make use of the CC field, or
the notify_owner options, that could actually be done by TRAC for
you.  The custom form sounds more like either a custom web-app, or i
personally would create a taskbar tool and use xmlrpc and/or the
email2trac approach.

I like the idea, let me know how it goes/insights.  if we ever get
trac as our official internal system for software issues, I would do
something similiar for our CS folks.  but for now, shhh, we run on a
super secret stealth server in magic la-la land, shielded from the
corp IT enforcers.
--~--~-~--~~~---~--~~
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 comment/attachment changes in timeline?

2009-01-07 Thread Remy Blank
W. Martin Borgert wrote:
 is it possible to show ticket changes (comments, attachments)
 in the timeline in trac 0.11.1?

Try setting ticket_show_details = true in the [timeline] section of
your trac.ini. This will enable an additional check box in the timeline,
which in turn will enable the display of comments and attachments from
tickets.

-- Remy



signature.asc
Description: OpenPGP digital signature


[Trac] Re: Question about workflow customization.

2009-01-07 Thread Greg Brigley

Thanks!

On Wed, Jan 7, 2009 at 3:02 AM, jevans jevans...@gmail.com wrote:


 On Jan 6, 5:27 pm, Greg gbrig...@gmail.com wrote:
 Hi,

 I'm a potential future user of Trac, currently using Bugzilla, and I
 have a question about Trac's workflow customization.

 My company currently tracks bugs and features.  While I like the idea
 of considering both bugs and features as subsets of a single issue
 concept, we need to use different terminology for the two.  For
 instance, bugs would have states like reported, confirmed,
 assigned, fixed, and closed, while features would have states
 like requested, approved, assigned, completed, tested, and
 merged.  The reason for the distinction is partly to avoid confusing
 our staff, and partly for regulatory compliance.

 Would I be able to configure a single installation of Trac to handle
 these two different workflows, or would I be better off to install
 Trac twice?

 Thanks,

 Greg

 Speculation:
 Perhaps the TicketCreationStatus plug-in (http://trac-hacks.org/wiki/
 TicketCreationStatusPlugin) could be extended to support setting the
 initial state based on ticket type.  Or it might be useful as a
 starting point for a separate plug-in that does it.  I think setting
 up separate workflows from there would be pretty straight-forward.
 Good luck,
 - jevans
 


--~--~-~--~~~---~--~~
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: SubversionException: (Can't open file 'c:\\svn\\irvine\\db\\current': Access is denied. , 720005)

2009-01-07 Thread Jordan

I didn't think it could be so simple, but that was indeed the case.
Thanks for your suggestion, Jeff.

On Jan 6, 6:07 pm, Jeff Hammel jham...@openplans.org wrote:
 Have you checked to ensure that trac, or whatever webserver front-ends it, 
 has access to that location?  I don't know how file permissions work for 
 windows, but that's what it looks like from here.

 Jeff Hammel
 The Open Planning Projecthttp://topp.openplans.org
 IRC: jhammel, k0s

 On Tue, Jan 06, 2009 at 04:55:04PM -0800, Jordan wrote:

  While away during the holidays, members of my dev team somehow hosed a
  very important svn/trac project. I'm told that this was caused by
  checking some files in from the production server via command line,
  and while that may be true, there may have been some attempts at
  fixing the problem afterwards. This is a very large project that needs
  to be put back on track (so to speak) asap. Any and all (immediate)
  attention is greatly appreciated. thx all  8-)

   How to Reproduce 

  While doing a GET operation on `/wiki`, Trac issued an internal error.

  ''(please provide additional details here)''

  User Agent was: `Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
  1.9.0.4) Gecko/2008102920 Firefox/3.0.4`

   System Information 

  || '''Trac''' || `0.11` ||
  || '''Python''' || `2.3.5 (#62, Feb  8 2005, 16:23:02) [MSC v.1200 32
  bit (Intel)]` ||
  || '''setuptools''' || `0.6c9` ||
  || '''SQLite''' || `3.5.2` ||
  || '''pysqlite''' || `2.4.0` ||
  || '''Genshi''' || `0.5` ||
  || '''Subversion''' || `1.4.6 (r28521)` ||
  || '''jQuery:''' || `1.2.3` ||

   Python Traceback 
  {{{
  Traceback (most recent call last):
    File C:\Python23\lib\site-packages\trac\web\main.py, line 423, in
  _dispatch_request
      dispatcher.dispatch(req)
    File C:\Python23\lib\site-packages\trac\web\main.py, line 173, in
  dispatch
      chosen_handler)
    File C:\Python23\lib\site-packages\trac\web\main.py, line 286, in
  _pre_process_request
      chosen_handler = filter_.pre_process_request(req, chosen_handler)
    File C:\Python23\lib\site-packages\trac\versioncontrol\api.py,
  line 79, in pre_process_request
      self.get_repository(req.authname).sync()
    File C:\Python23\lib\site-packages\trac\versioncontrol\api.py,
  line 142, in get_repository
      repos = self._connector.get_repository(rtype, rdir, authname)
    File C:\Python23\lib\site-packages\trac\versioncontrol\svn_fs.py,
  line 276, in get_repository
      {'tags': self.tags,
    File C:\Python23\lib\site-packages\trac\versioncontrol\svn_fs.py,
  line 398, in __init__
      self.repos = repos.svn_repos_open(self.path, self.pool())
    File C:\Python23\lib\site-packages\libsvn\repos.py, line 47, in
  svn_repos_open
      return apply(_repos.svn_repos_open, args)
  SubversionException: (Can't open file 'c:\\svn\\irvine\\db\\current':
  Access is denied.  , 720005)

  }}}

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



AW: [Trac] Re: Is it possible to create two User Groups with different rights?

2009-01-07 Thread Peter Körner

Add Group B to Group A

Peter

-Ursprüngliche Nachricht-
Von: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] Im 
Auftrag von Xiaoyu Guan
Gesendet: Mittwoch, 7. Januar 2009 16:12
An: Trac Users
Betreff: [Trac] Re: Is it possible to create two User Groups with different 
rights?


Dear All :
how to create two user group with different by using PrivateTicket plugin?
I have create Group A, which only can view their own group Ticket I want to 
create Group B which not only can view their own group Ticket but also Group A' 
s ticket Is there anybody can point out how to create the group B?

Thanks in advance

All the best

Xiaoyu(Sam)

On Dec 30 2008, 6:58 pm, jevans jevans...@gmail.com wrote:
 On Dec 30, 4:49 am, Xiaoyu Guan guanxia...@gmail.com wrote:

  Dear All
  I am a new user of Trac. I have a question about user group. I saw 
  Trac supply different tickets type. I am wondering whether possbile 
  to creat user_group_1 which only view their own group tickets. and
  user_group_2 which can view all tickets.

  Thanks in advance

  Xiaoyu

 The PrivateTickets plug-in (http://trac-hacks.org/wiki/
 PrivateTicketsPlugin) will let you specify individuals and groups
 that can only see their own or each other's tickets.  It's not based 
 on ticket type, just whether they reported the issue.
 - jevans



--~--~-~--~~~---~--~~
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] Permission woes

2009-01-07 Thread J.Bizzle

trac seems to be ignoring my permissions.  I just upgrade trac .10 to .
11.2.1. I am using mod_python, and the TracAccountManager 0.2.1dev-
r4679 plugin.

I am able to login, and the wiki shows me as logged in.  Unfortunately
all the the privileges I've applied are ignored and that the only way
that a user can see anything is if I grant permissions to the
anonymous user.  I am thoroughly confused as to why this is happening.

From trac-admin the permissions for this user, johnb, are listed as

johnb BROWSER_VIEW
johnb CHANGESET_VIEW
johnb CONFIG_VIEW
johnb EMAIL_VIEW
johnb FILE_VIEW
johnb LOG_VIEW
johnb MILESTONE_ADMIN
johnb MILESTONE_CREATE
johnb MILESTONE_DELETE
johnb MILESTONE_MODIFY
johnb MILESTONE_VIEW
johnb PERMISSION_ADMIN
johnb PERMISSION_GRANT
johnb PERMISSION_REVOKE
johnb ROADMAP_ADMIN
johnb ROADMAP_VIEW
johnb SEARCH_VIEW
johnb TICKET_ADMIN
johnb TICKET_APPEND
johnb TICKET_CHGPROP
johnb TICKET_CREATE
johnb TICKET_EDIT_CC
johnb TICKET_EDIT_DESCRIPTION
johnb TICKET_MODIFY
johnb TICKET_VIEW
johnb  TIMELINE_VIEW
johnb  TRAC_ADMIN
johnb  WIKI_ADMIN
johnb  WIKI_CREATE
johnb  WIKI_DELETE
johnb  WIKI_MODIFY
johnb  WIKI_VIEW

Yet, being logged in this user only has the same rights as the
anonymous user.
Why?

Here is a DEBUG session of that user logging in

2009-01-07 11:50:05,906 Trac[main] DEBUG: Dispatching Request POST
u'/login'
2009-01-07 11:50:05,911 Trac[session] DEBUG: Retrieving session for ID
u'jo...@fontshop.com'
2009-01-07 11:50:05,913 Trac[chrome] DEBUG: Prepare chrome data for
request
2009-01-07 11:50:05,945 Trac[main] DEBUG: Dispatching Request GET
u'/'
2009-01-07 11:50:05,951 Trac[session] DEBUG: Retrieving session for ID
u'johnb'
2009-01-07 11:50:05,953 Trac[chrome] DEBUG: Prepare chrome data for
request
2009-01-07 11:50:05,954 Trac[main] DEBUG: 179 unreachable objects
found.
2009-01-07 11:50:05,967 Trac[perm] DEBUG: No policy allowed anonymous
performing WIKI_VIEW on Resource u'wiki:WikiStart'
2009-01-07 11:50:05,968 Trac[main] WARNING: 403 Forbidden (WIKI_VIEW
privileges are required to perform this operation on WikiStart)
2009-01-07 11:50:06,051 Trac[perm] DEBUG: No policy allowed anonymous
performing EMAIL_VIEW on None
2009-01-07 11:50:06,054 Trac[perm] DEBUG: No policy allowed anonymous
performing SEARCH_VIEW on None
2009-01-07 11:50:06,093 Trac[main] DEBUG: 1332 unreachable objects
found.

And here is how my INI file is configured
[account-manager]
htdigest_realm = Trac
password_file = /var/trac/auth/.htdigest
password_store = HtDigestStore

[attachment]
max_size = 8388608
render_unsafe_content = false

[browser]
downloadable_paths = /trunk, /branches/*, /tags/*
hide_properties = svk:merge
render_unsafe_content = false

[changeset]
max_diff_bytes = 1000
max_diff_files = 0
wiki_format_messages = true

[components]
trac.web.auth.loginmodule = disabled
webadmin.* = enabled
acct_mgr.* = enabled
acct_mgr.web_ui.RegistrationModule = disabled
redirect.* = enabled
trac.ticket.report.* = disabled


[header_logo]
alt =
height = 23
link =
src = sit
width = 92

[logging]
log_file = trac.log
log_level = DEBUG
log_type = file

[mimeviewer]
enscript_modes = text/x-dylan:dylan:4
enscript_path = enscript
max_preview_size = 262144
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
php_path = /usr/local/bin/php
silvercity_modes =
tab_width = 8

[notification]
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc =
smtp_default_domain =
smtp_enabled = true
smtp_from =
smtp_password =
smtp_port = 25
smtp_replyto =
smtp_server = localhost
smtp_subject_prefix = __default__
smtp_user =
use_public_cc = false
use_short_addr = false
use_tls = false

[project]
descr =  Trac
footer = Visit the Trac open source project atbr /a href=http://
trac.edgewall.org/http://trac.edgewall.org//a
icon = common/trac.ico
name =
url =

[search]
min_query_length = 3

[ticket]
default_component =
default_milestone =
default_priority = normal
default_severity = normal
default_type = defect
default_version =
restrict_owner = true

[ticket-workflow]
accept = new - assigned
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
leave = * - *
leave.default = 1
leave.operations = leave_status
reassign = new,assigned,reopened - new
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reopen = closed - reopened
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = new,assigned,reopened - closed
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY

[timeline]
changeset_long_messages = false
changeset_show_files = 0
default_daysback = 30
ticket_show_details = false

[trac]
authz_file =
authz_module_name =
base_url =
check_auth_ip = true
database = sqlite:db/trac.db
default_charset = iso-8859-15
default_handler = WikiModule
htdocs_location =
ignore_auth_case = false
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
metanav = 

[Trac] Re: Permission woes

2009-01-07 Thread Noah Kantrowitz

You are logging in as 'jo...@fontshop.com' not 'johnb'.

--Noah

On Jan 7, 2009, at 12:04 PM, J.Bizzle wrote:


 trac seems to be ignoring my permissions.  I just upgrade trac .10  
 to .
 11.2.1. I am using mod_python, and the TracAccountManager 0.2.1dev-
 r4679 plugin.

 I am able to login, and the wiki shows me as logged in.  Unfortunately
 all the the privileges I've applied are ignored and that the only way
 that a user can see anything is if I grant permissions to the
 anonymous user.  I am thoroughly confused as to why this is happening.

 From trac-admin the permissions for this user, johnb, are listed as

 johnb BROWSER_VIEW
 johnb CHANGESET_VIEW
 johnb CONFIG_VIEW
 johnb EMAIL_VIEW
 johnb FILE_VIEW
 johnb LOG_VIEW
 johnb MILESTONE_ADMIN
 johnb MILESTONE_CREATE
 johnb MILESTONE_DELETE
 johnb MILESTONE_MODIFY
 johnb MILESTONE_VIEW
 johnb PERMISSION_ADMIN
 johnb PERMISSION_GRANT
 johnb PERMISSION_REVOKE
 johnb ROADMAP_ADMIN
 johnb ROADMAP_VIEW
 johnb SEARCH_VIEW
 johnb TICKET_ADMIN
 johnb TICKET_APPEND
 johnb TICKET_CHGPROP
 johnb TICKET_CREATE
 johnb TICKET_EDIT_CC
 johnb TICKET_EDIT_DESCRIPTION
 johnb TICKET_MODIFY
 johnb TICKET_VIEW
 johnb  TIMELINE_VIEW
 johnb  TRAC_ADMIN
 johnb  WIKI_ADMIN
 johnb  WIKI_CREATE
 johnb  WIKI_DELETE
 johnb  WIKI_MODIFY
 johnb  WIKI_VIEW

 Yet, being logged in this user only has the same rights as the
 anonymous user.
 Why?

 Here is a DEBUG session of that user logging in

 2009-01-07 11:50:05,906 Trac[main] DEBUG: Dispatching Request POST
 u'/login'
 2009-01-07 11:50:05,911 Trac[session] DEBUG: Retrieving session for ID
 u'jo...@fontshop.com'
 2009-01-07 11:50:05,913 Trac[chrome] DEBUG: Prepare chrome data for
 request
 2009-01-07 11:50:05,945 Trac[main] DEBUG: Dispatching Request GET
 u'/'
 2009-01-07 11:50:05,951 Trac[session] DEBUG: Retrieving session for ID
 u'johnb'
 2009-01-07 11:50:05,953 Trac[chrome] DEBUG: Prepare chrome data for
 request
 2009-01-07 11:50:05,954 Trac[main] DEBUG: 179 unreachable objects
 found.
 2009-01-07 11:50:05,967 Trac[perm] DEBUG: No policy allowed anonymous
 performing WIKI_VIEW on Resource u'wiki:WikiStart'
 2009-01-07 11:50:05,968 Trac[main] WARNING: 403 Forbidden (WIKI_VIEW
 privileges are required to perform this operation on WikiStart)
 2009-01-07 11:50:06,051 Trac[perm] DEBUG: No policy allowed anonymous
 performing EMAIL_VIEW on None
 2009-01-07 11:50:06,054 Trac[perm] DEBUG: No policy allowed anonymous
 performing SEARCH_VIEW on None
 2009-01-07 11:50:06,093 Trac[main] DEBUG: 1332 unreachable objects
 found.

 And here is how my INI file is configured
 [account-manager]
 htdigest_realm = Trac
 password_file = /var/trac/auth/.htdigest
 password_store = HtDigestStore

 [attachment]
 max_size = 8388608
 render_unsafe_content = false

 [browser]
 downloadable_paths = /trunk, /branches/*, /tags/*
 hide_properties = svk:merge
 render_unsafe_content = false

 [changeset]
 max_diff_bytes = 1000
 max_diff_files = 0
 wiki_format_messages = true

 [components]
 trac.web.auth.loginmodule = disabled
 webadmin.* = enabled
 acct_mgr.* = enabled
 acct_mgr.web_ui.RegistrationModule = disabled
 redirect.* = enabled
 trac.ticket.report.* = disabled


 [header_logo]
 alt =
 height = 23
 link =
 src = sit
 width = 92

 [logging]
 log_file = trac.log
 log_level = DEBUG
 log_type = file

 [mimeviewer]
 enscript_modes = text/x-dylan:dylan:4
 enscript_path = enscript
 max_preview_size = 262144
 mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
 php_path = /usr/local/bin/php
 silvercity_modes =
 tab_width = 8

 [notification]
 always_notify_owner = true
 always_notify_reporter = true
 always_notify_updater = true
 mime_encoding = base64
 smtp_always_bcc =
 smtp_always_cc =
 smtp_default_domain =
 smtp_enabled = true
 smtp_from =
 smtp_password =
 smtp_port = 25
 smtp_replyto =
 smtp_server = localhost
 smtp_subject_prefix = __default__
 smtp_user =
 use_public_cc = false
 use_short_addr = false
 use_tls = false

 [project]
 descr =  Trac
 footer = Visit the Trac open source project atbr /a href=http://
 trac.edgewall.org/http://trac.edgewall.org//a
 icon = common/trac.ico
 name =
 url =

 [search]
 min_query_length = 3

 [ticket]
 default_component =
 default_milestone =
 default_priority = normal
 default_severity = normal
 default_type = defect
 default_version =
 restrict_owner = true

 [ticket-workflow]
 accept = new - assigned
 accept.operations = set_owner_to_self
 accept.permissions = TICKET_MODIFY
 leave = * - *
 leave.default = 1
 leave.operations = leave_status
 reassign = new,assigned,reopened - new
 reassign.operations = set_owner
 reassign.permissions = TICKET_MODIFY
 reopen = closed - reopened
 reopen.operations = del_resolution
 reopen.permissions = TICKET_CREATE
 resolve = new,assigned,reopened - closed
 resolve.operations = set_resolution
 resolve.permissions = TICKET_MODIFY

 [timeline]
 changeset_long_messages = false
 changeset_show_files = 0
 default_daysback = 30
 ticket_show_details = false

 [trac]