Re: [Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-10 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10.03.2014 20:22, ONeal Freeman wrote:
> I sincerely appreciate the time you have spent on this with me. Like I
> said in my first post, I feel like I've read (but not understood)
> everything on the internet about trac. I've been struggling no less than
> 6-weeks with getting trac on windows. It hought BitNami would simplify
> the install... 

This is no "normal" issue. I assure you, that I as almost Win noob got
Trac to fly by using a BitNami Trac stack in WinXP within less than one
hour, then started tweaking for a few more, not more than one day in
total. Sorry, we'll still try, just need some more logging or another
fresh idea.

Steffen Hoffmann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMeJHkACgkQ31DJeiZFuHdjWwCfQtsX6WnEaDKJqpT0ILPd5k9Y
d+MAoI+Ep83dT6HluLDC9oH2bksAhavg
=9SiF
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-10 Thread ONeal Freeman


On Monday, March 10, 2014 12:09:13 PM UTC-5, RjOllos wrote:
>
>
> On Monday, March 10, 2014 9:43:14 AM UTC-7, ONeal Freeman wrote:
>>
>>
>>
>> On Monday, March 10, 2014 9:03:21 AM UTC-5, RjOllos wrote:
>>>
>>> On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote:

 I realize the template plugin should do this but I am having issues 
 with it right now and I have a deadline to meet so I am also pursuing 
 other 
 avenues.

 Has anyone gotten this to work to add multiple lines to the default 
 description?

 http://www.w3.org/1999/xhtml"; xmlns:py="
 http://genshi.edgewall.org/"; py:strip="">   >>> py:match="textarea[@id='field-description' 
 and @class='wikitext']" py:attrs="select('@*')"> Your custom 
 description goes here.   

 From: 
 http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets

>>>
>>> I hope we can continue debugging the issue with your Trac instance and 
>>> TracTicketTemplatePlugin, but in the meantime, putting the following in 
>>> template/site.html should allow you to set a ticket template:
>>>
>>> http://www.w3.org/1999/xhtml";
>>>   xmlns:xi="http://www.w3.org/2001/XInclude";
>>>   xmlns:py="http://genshi.edgewall.org/";
>>>   py:strip="">
>>>   
>>> >> py:attrs="select('@*')">
>>> Your custom description goes here.
>>>
>>> This is the second line, preceeded by a line of whitespace.
>>> 
>>>   
>>> 
>>>  
>>>
>> Well I spoke too soon.  I pasted your code snippet in and it works fine. 
>>
>
> The change from what you originally posted is that I removed the `and 
> @class='wikitext'` in the XPath selector. The textarea has multiple 
> classes, so it wasn't matching.
>
> Hopefully that will hold you over for now. I'll review the other thread 
> and try to come up with something else to try for determining the problems 
> with TracTicketTemplatePlugin. I'm running low on ideas though.
>

I sincerely appreciate the time you have spent on this with me. Like I said 
in my first post, I feel like I've read (but not understood) everything on 
the internet about trac. I've been struggling no less than 6-weeks with 
getting trac on windows. It hought BitNami would simplify the install... 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-10 Thread RjOllos

On Monday, March 10, 2014 9:43:14 AM UTC-7, ONeal Freeman wrote:
>
>
>
> On Monday, March 10, 2014 9:03:21 AM UTC-5, RjOllos wrote:
>>
>> On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote:
>>>
>>> I realize the template plugin should do this but I am having issues with 
>>> it right now and I have a deadline to meet so I am also pursuing other 
>>> avenues.
>>>
>>> Has anyone gotten this to work to add multiple lines to the default 
>>> description?
>>>
>>> http://www.w3.org/1999/xhtml"; xmlns:py="
>>> http://genshi.edgewall.org/"; py:strip="">   >> py:match="textarea[@id='field-description' 
>>> and @class='wikitext']" py:attrs="select('@*')"> Your custom 
>>> description goes here.   
>>>
>>> From: 
>>> http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets
>>>
>>
>> I hope we can continue debugging the issue with your Trac instance and 
>> TracTicketTemplatePlugin, but in the meantime, putting the following in 
>> template/site.html should allow you to set a ticket template:
>>
>> http://www.w3.org/1999/xhtml";
>>   xmlns:xi="http://www.w3.org/2001/XInclude";
>>   xmlns:py="http://genshi.edgewall.org/";
>>   py:strip="">
>>   
>> > py:attrs="select('@*')">
>> Your custom description goes here.
>>
>> This is the second line, preceeded by a line of whitespace.
>> 
>>   
>> 
>>  
>>
> Well I spoke too soon.  I pasted your code snippet in and it works fine. 
>

The change from what you originally posted is that I removed the `and 
@class='wikitext'` in the XPath selector. The textarea has multiple 
classes, so it wasn't matching.

Hopefully that will hold you over for now. I'll review the other thread and 
try to come up with something else to try for determining the problems with 
TracTicketTemplatePlugin. I'm running low on ideas though.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-10 Thread ONeal Freeman


On Monday, March 10, 2014 9:03:21 AM UTC-5, RjOllos wrote:
>
> On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote:
>>
>> I realize the template plugin should do this but I am having issues with 
>> it right now and I have a deadline to meet so I am also pursuing other 
>> avenues.
>>
>> Has anyone gotten this to work to add multiple lines to the default 
>> description?
>>
>> http://www.w3.org/1999/xhtml"; xmlns:py="
>> http://genshi.edgewall.org/"; py:strip="">   > py:match="textarea[@id='field-description' 
>> and @class='wikitext']" py:attrs="select('@*')"> Your custom description 
>> goes here.   
>>
>> From: 
>> http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets
>>
>
> I hope we can continue debugging the issue with your Trac instance and 
> TracTicketTemplatePlugin, but in the meantime, putting the following in 
> template/site.html should allow you to set a ticket template:
>
> http://www.w3.org/1999/xhtml";
>   xmlns:xi="http://www.w3.org/2001/XInclude";
>   xmlns:py="http://genshi.edgewall.org/";
>   py:strip="">
>   
>  py:attrs="select('@*')">
> Your custom description goes here.
>
> This is the second line, preceeded by a line of whitespace.
> 
>   
> 
>  
>
Well I spoke too soon.  I pasted your code snippet in and it works fine. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-10 Thread ONeal Freeman


On Monday, March 10, 2014 9:03:21 AM UTC-5, RjOllos wrote:
>
> On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote:
>>
>> I realize the template plugin should do this but I am having issues with 
>> it right now and I have a deadline to meet so I am also pursuing other 
>> avenues.
>>
>> Has anyone gotten this to work to add multiple lines to the default 
>> description?
>>
>> http://www.w3.org/1999/xhtml"; xmlns:py="
>> http://genshi.edgewall.org/"; py:strip="">   > py:match="textarea[@id='field-description' 
>> and @class='wikitext']" py:attrs="select('@*')"> Your custom description 
>> goes here.   
>>
>> From: 
>> http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets
>>
>
> I hope we can continue debugging the issue with your Trac instance and 
> TracTicketTemplatePlugin, but in the meantime, putting the following in 
> template/site.html should allow you to set a ticket template:
>
> http://www.w3.org/1999/xhtml";
>   xmlns:xi="http://www.w3.org/2001/XInclude";
>   xmlns:py="http://genshi.edgewall.org/";
>   py:strip="">
>   
>  py:attrs="select('@*')">
> Your custom description goes here.
>
> This is the second line, preceeded by a line of whitespace.
> 
>   
> 
>  
>
Yes I do think we should continue to debut the template plugin.

I could not get the above code in the site.html to work. I do not know if I 
am missing the appropriate tag like  or  what but I messed with it a 
month before stumbling on the templateplugin.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-10 Thread RjOllos
On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote:
>
> I realize the template plugin should do this but I am having issues with 
> it right now and I have a deadline to meet so I am also pursuing other 
> avenues.
>
> Has anyone gotten this to work to add multiple lines to the default 
> description?
>
> http://www.w3.org/1999/xhtml"; xmlns:py="
> http://genshi.edgewall.org/"; py:strip="">py:match="textarea[@id='field-description' 
> and @class='wikitext']" py:attrs="select('@*')"> Your custom description 
> goes here.   
>
> From: 
> http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets
>

I hope we can continue debugging the issue with your Trac instance and 
TracTicketTemplatePlugin, but in the meantime, putting the following in 
template/site.html should allow you to set a ticket template:

http://www.w3.org/1999/xhtml";
  xmlns:xi="http://www.w3.org/2001/XInclude";
  xmlns:py="http://genshi.edgewall.org/";
  py:strip="">
  

Your custom description goes here.

This is the second line, preceeded by a line of whitespace.

  

 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-07 Thread RjOllos
On Friday, March 7, 2014 11:56:13 AM UTC-8, ONeal Freeman wrote:
>
> I guess you and I are the only ones on this forum!
>
> Adding the line in the ini won't give me blank lines between entries and 
> that's why I was pursuing the tickettemplateplugin and the code snippet I 
> posted.
>

I see. I'm going to look into how we can handle that case (though that 
won't help you for now).
 
We could try to get that Genshi snippet working, but I think we are better 
off trying to get to the bottom of the problems with 
TracTicketTemplatePlugin. Do you use IRC? If you jumped on the IRC channel 
we could try to work through it in real time.
http://trac.edgewall.org/wiki/IrcChannel

As long as I can get one of them to work I can go live with trac.
>
> I also thought I saw your name on the graphviz plugin. Is that you too?
>

Yeah, I've committed a few fixes for that plugin.
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-07 Thread ONeal Freeman
I guess you and I are the only ones on this forum!

Adding the line in the ini won't give me blank lines between entries and 
that's why I was pursuing the tickettemplateplugin and the code snippet I 
posted.

As long as I can get one of them to work I can go live with trac.

I also thought I saw your name on the graphviz plugin. Is that you too?

On Friday, March 7, 2014 1:29:23 PM UTC-6, RjOllos wrote:
>
> On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote:
>>
>> I realize the template plugin should do this but I am having issues with 
>> it right now and I have a deadline to meet so I am also pursuing other 
>> avenues.
>>
>> Has anyone gotten this to work to add multiple lines to the default 
>> description?
>>
>> http://www.w3.org/1999/xhtml"; xmlns:py="
>> http://genshi.edgewall.org/"; py:strip="">   > py:match="textarea[@id='field-description' 
>> and @class='wikitext']" py:attrs="select('@*')"> Your custom description 
>> goes here.   
>>
>> From: 
>> http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets
>>
>
> You can add multiple lines to the ticket description through trac.ini. 
> Just prefix line 2:end with a leading space. For example,
>
> [ticket]
> default_description = line1 
>  line2
>  line3
>  line4
>  
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Trac 1.0.1-1 Ticket default description

2014-03-07 Thread RjOllos
On Friday, March 7, 2014 8:35:08 AM UTC-8, ONeal Freeman wrote:
>
> I realize the template plugin should do this but I am having issues with 
> it right now and I have a deadline to meet so I am also pursuing other 
> avenues.
>
> Has anyone gotten this to work to add multiple lines to the default 
> description?
>
> http://www.w3.org/1999/xhtml"; xmlns:py="
> http://genshi.edgewall.org/"; py:strip="">py:match="textarea[@id='field-description' 
> and @class='wikitext']" py:attrs="select('@*')"> Your custom description 
> goes here.   
>
> From: 
> http://www.nextthing.org/archives/2008/05/02/adding-default-descriptions-to-trac-tickets
>

You can add multiple lines to the ticket description through trac.ini. Just 
prefix line 2:end with a leading space. For example,

[ticket]
default_description = line1 
 line2
 line3
 line4
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.