Re: [Trac] Duplicated RSS and Download lines

2023-12-27 Thread Mike Dewhirst

On 28/12/2023 12:37 pm, Jun Omae wrote:

I guess it is caused by installed plugins and/or site_*.html templates.
Please check the following:

* Disable all plugins
* Remove $ENV/templates/site_*.html if you have the site_*.html templates


Removing site_footer.html did the trick

Many thanks Jun Omae

Cheers

Mike




On Thu, Dec 28, 2023 at 9:59 AM Mike Dewhirst  wrote:

I know it is my fault and I'm embarrassed to ask this but I'd like to know how 
to remove the following duplication from the bottom of the ticket page.

Thanks

Mike

Note: See TracTickets for help on using tickets.

Download in other formats:

RSS Feed
Comma-delimited Text
Tab-delimited Text

Powered by Trac 1.5.4
By Edgewall Software .

Visit the Trac open source project at
https://trac.edgewall.org/

Download in other formats:

RSS Feed
Comma-delimited Text
Tab-delimited Text







--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/fbeb9cdd-d2bc-473e-bb60-d4b1d7708afe%40dewhirst.com.au.


OpenPGP_signature.asc
Description: OpenPGP digital signature


[Trac] Duplicated RSS and Download lines

2023-12-27 Thread Mike Dewhirst
I know it is my fault and I'm embarrassed to ask this but I'd like to 
know how to remove the following duplication from the bottom of the 
ticket page.


Thanks

Mike

*Note:* See TracTickets  
for help on using tickets.



 Download in other formats:

 * RSS Feed
   

 * Comma-delimited Text 
 * Tab-delimited Text 

Trac Powered 

Powered by *Trac 1.5.4* 
By Edgewall Software  .

Visit the Trac open source project at
https://trac.edgewall.org/


 Download in other formats:

 * RSS Feed
   

 * Comma-delimited Text 
 * Tab-delimited Text 





--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f9c78b12-69e6-45e6-8202-a228b515e8ae%40dewhirst.com.au.


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: [Trac] ModuleNotFoundError: No module named 'trac'

2023-06-26 Thread Mike Dewhirst
Thank you Markus ... I got it from 
https://download.edgewall.org/trac/Trac-latest-dev.tar.gz


Cheers

Mike

On 26/06/2023 5:43 pm, Markus Rosjat wrote:

hey mike,

if you are still looking for 1.5.4  there isn't a pypi package and you 
need to go to the subversion repo from edgewall to get the version.


here is the link to 1.5.4 
https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/


or just go to trunk for the latest 
https://svn.edgewall.org/repos/trac/trunk


you need to install subversion for this and then you might try to pip 
install it like so


pip install -e svn+https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/

cheers

Markus

Am Mo., 26. Juni 2023 um 08:47 Uhr schrieb Mike Dewhirst 
:


Many thanks Tony ...

Mike

On 26/06/2023 4:41 pm, 'Tony Brian Albers (XTOAL)' via Trac Users
wrote:

Hi Mike,

Are you using pip in the OS or in a virtualenv? You should use it in a 
virtualenv to prevent packages from polluting your OS.

Something like this:

$ cd
$ python3 -m venv tracinst
$ source tracinst/bin/activate
(trac)$ pip install --upgrade pip
(trac)$ pip install https://download.edgewall.org  
<http://download.edgewall.org>   /trac/Trac-latest-dev.tar.gz
(trac)$ pip install babel docutils pygments textile psycopg2-binary

(remove the spaces in the URL)

HTH

/tony

--
Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA
Transition Manager - FIT/TMS Delivery Team - Signalling Integrations
Banedanmark, Signalling Systems
Carsten Niebuhrs Gade 43, 1577 Copenhagen V


From:trac-users@googlegroups.com
<mailto:trac-users@googlegroups.com>  on behalf of Mike Dewhirst  
<mailto:mi...@dewhirst.com.au>
Sent: 26 June 2023 08:28
To: Trac Users
Subject: [Trac] ModuleNotFoundError: No module named 'trac'

CAUTION: This email originated from outside the organization.


Using do-release-upgrade, I upgraded Ubuntu from 2020.04 LTS to 2022.04 
last night to discover Trac has unexpectedly stopped working under Python 3.

We are now running on Python 3.10 and PostgreSQL 14. Previously it was Py 
3.8 and PostgreSQL 12 which seemed to suit Trac very well over the last couple 
of years

I tried pip install trac==1.5.4 but got "No matching distribution..."

Pip can only see 1.4.x and no 1.5.x releases.

How can I get Trac working again?

Many thanks

Mike



--
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 
totrac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>
  <mailto:trac-users+unsubscr...@googlegroups.com>.
To view this discussion on the web 
visithttps://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au<https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email_source=footer>
  
<https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email_source=footer>.




-- 
Signed email is an absolute defence against phishing. This email has

been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

-- 
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 view this discussion on the web visit

https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au

<https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au?utm_medium=email_source=footer>.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAJ4osO%3DKQ8b6Rbp7EWTW_jhQB_F_tfAO_Qz_M6fSi0yDX_JPfw%40mail.gmail.com 
<https://groups.google.com/d/msgid/trac-users/CAJ4osO%3DKQ8b6Rbp7EWTW_jhQB_F_tfAO_Qz_M6fSi0yDX_JPfw%40mail.gmail.com?utm_medium=email_source=footer>.



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.

Re: [Trac] ModuleNotFoundError: No module named 'trac'

2023-06-26 Thread Mike Dewhirst

Many thanks Tony ...

Mike

On 26/06/2023 4:41 pm, 'Tony Brian Albers (XTOAL)' via Trac Users wrote:

Hi Mike,

Are you using pip in the OS or in a virtualenv? You should use it in a 
virtualenv to prevent packages from polluting your OS.

Something like this:

$ cd
$ python3 -m venv tracinst
$ source tracinst/bin/activate
(trac)$ pip install --upgrade pip
(trac)$ pip install https://  download.edgewall.org  
/trac/Trac-latest-dev.tar.gz
(trac)$ pip install babel docutils pygments textile psycopg2-binary

(remove the spaces in the URL)

HTH

/tony

--
Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA
Transition Manager - FIT/TMS Delivery Team - Signalling Integrations
Banedanmark, Signalling Systems
Carsten Niebuhrs Gade 43, 1577 Copenhagen V


From:trac-users@googlegroups.comon behalf of Mike 
Dewhirst
Sent: 26 June 2023 08:28
To: Trac Users
Subject: [Trac] ModuleNotFoundError: No module named 'trac'

CAUTION: This email originated from outside the organization.


Using do-release-upgrade, I upgraded Ubuntu from 2020.04 LTS to 2022.04 last 
night to discover Trac has unexpectedly stopped working under Python 3.

We are now running on Python 3.10 and PostgreSQL 14. Previously it was Py 3.8 
and PostgreSQL 12 which seemed to suit Trac very well over the last couple of 
years

I tried pip install trac==1.5.4 but got "No matching distribution..."

Pip can only see 1.4.x and no 1.5.x releases.

How can I get Trac working again?

Many thanks

Mike



--
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 
totrac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>.
To view this discussion on the web 
visithttps://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au<https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email_source=footer>.




--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


CANCEL Re: [Trac] ModuleNotFoundError: No module named 'trac'

2023-06-26 Thread Mike Dewhirst
Sorry to bother you ... I found 
https://download.edgewall.org/trac/Trac-latest-dev.tar.gz and everything 
is now working again.


Cheers

Mike

On 26/06/2023 4:28 pm, Mike Dewhirst wrote:
Using do-release-upgrade, I upgraded Ubuntu from 2020.04 LTS to 
2022.04 last night to discover Trac has unexpectedly stopped working 
under Python 3.


We are now running on Python 3.10 and PostgreSQL 14. Previously it was 
Py 3.8 and PostgreSQL 12 which seemed to suit Trac very well over the 
last couple of years


I tried pip install trac==1.5.4 but got "No matching distribution..."

Pip can only see 1.4.x and no 1.5.x releases.

How can I get Trac working again?

Many thanks

Mike


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au 
<https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email_source=footer>.



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d7ee1239-224d-5cd7-fe26-d74a12ad9179%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


[Trac] ModuleNotFoundError: No module named 'trac'

2023-06-26 Thread Mike Dewhirst
Using do-release-upgrade, I upgraded Ubuntu from 2020.04 LTS to 2022.04 
last night to discover Trac has unexpectedly stopped working under Python 3.


We are now running on Python 3.10 and PostgreSQL 14. Previously it was 
Py 3.8 and PostgreSQL 12 which seemed to suit Trac very well over the 
last couple of years


I tried pip install trac==1.5.4 but got "No matching distribution..."

Pip can only see 1.4.x and no 1.5.x releases.

How can I get Trac working again?

Many thanks

Mike

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au.


Re: [Trac] Re: [Solved]: Main navigation | View Tickets | href question

2022-07-27 Thread Mike Dewhirst

On 28/07/2022 6:30 am, RjOllos wrote:



On Wednesday, July 27, 2022 at 12:34:00 AM UTC-7 Mike Dewhirst wrote:

Helps if you restart the server. Sorry.


The trac.ini should be re-read if its timestamp changes. The file is 
read if necessary when processing the request. So it's unexpected that 
you should have to restart the server for the changes to be applied.


Perhaps I wasn't paying attention? My apology is still valid though.

Cheers

Mike


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f749a193-e700-4f08-85df-074e3b0089dfn%40googlegroups.com 
<https://groups.google.com/d/msgid/trac-users/f749a193-e700-4f08-85df-074e3b0089dfn%40googlegroups.com?utm_medium=email_source=footer>.



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/a3033ab4-0a4d-de23-176d-cad6cfa952bc%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


[Trac] [Solved]: Main navigation | View Tickets | href question

2022-07-27 Thread Mike Dewhirst

Helps if you restart the server. Sorry.

On 27/07/2022 5:18 pm, Mike Dewhirst wrote:
I would like to tweak the | VIEW TICKETS | main nav bar button to 
launch a particular report rather than the Available Reports page.


https://trac.edgewall.org/wiki/TracNavigation#mainnav-bar says ...

In the following example we rename the link to WikiStart 
<https://trac.edgewall.org/wiki/WikiStart> /Home/, and make the /View 
Tickets/ entry link to a specific report.


[mainnav]
wiki.label  =  Home
tickets.href  =  /report/24


I tried tickets.href = /reports/1 but no success.    My {1} report is 
Active Tickets.


The above wiki page is for Trac 1.4 but I'm running Trac 1.5 and 
cannot find the equivalent page.


Has this incantation changed?

Thanks

Mike





--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/686cfaeb-989a-0231-aa96-b3eed9b972b6%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


[Trac] Main navigation | View Tickets | href question

2022-07-27 Thread Mike Dewhirst
I would like to tweak the | VIEW TICKETS | main nav bar button to launch 
a particular report rather than the Available Reports page.


https://trac.edgewall.org/wiki/TracNavigation#mainnav-bar says ...

In the following example we rename the link to WikiStart 
 /Home/, and make the /View 
Tickets/ entry link to a specific report.


[mainnav]
wiki.label  =  Home
tickets.href  =  /report/24


I tried tickets.href = /reports/1 but no success.    My {1} report is 
Active Tickets.


The above wiki page is for Trac 1.4 but I'm running Trac 1.5 and cannot 
find the equivalent page.


Has this incantation changed?

Thanks

Mike


--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/798294e3-ec92-a2b7-7b6b-84762b2000d6%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [Trac] Sendmail hang

2022-06-05 Thread Mike Dewhirst

On 6/06/2022 8:44 am, Jun Omae wrote:

On Sun, Jun 5, 2022 at 4:14 PM Mike Dewhirst  wrote:

I just installed Trac 1.5 on Ubuntu 20.04 under Apache and with
PostgreSQL 12 and it all seems to work fine except email notification.

I have a Django app running on the same server and email notification
(ie., Forgotten password) works well for that.

I'm using exactly the same credentials, user, port number and smtp
server for Trac as for the Django app.

When I reply to a ticket (ticket #1 btw) as a test Trac never returns.
There is no crash and nothing reported in the Apache log nor syslog.

Here is my [notification] settings in trac.ini

[notification]
admit_domains =
ambiguous_char_width = single
batch_subject_template = ${prefix} Batch modify: ${tickets_descr}
default_format.email = text/plain
email_address_resolvers = SessionEmailResolver
email_sender = SmtpEmailSender
ignore_domains =
message_id_hash = md5
mime_encoding = none
sendmail_path = sendmail
smtp_always_bcc = mi...@xxx.com
smtp_always_cc =
smtp_default_domain =
smtp_enabled = enabled
smtp_from = sys...@xxx.com
smtp_from_author = disabled
smtp_from_name =
smtp_password = xxx
smtp_port = 465
smtp_replyto = supp...@xxx.com
smtp_server = smtp.xxx.com.au
smtp_subject_prefix = __default__
smtp_user = sys...@xxx.com
ticket_subject_template = ${prefix} #${ticket.id}: ${summary}
use_public_cc = enabled
use_short_addr = disabled
use_tls = enabled

xxx is just obfuscation - happy to reveal it privately if necessary.

Where do you think I'm going wrong?

Any hints appreciated

Thanks

Mike

First, I suggest to check $ENV/log/trac.log after enabling trac logging [1].


Logging showed I had not set the base_url - which I have now fixed.



Trac doesn't currently support SMTPS. The [notification] use_tls
option is for STARTTLS.
Try to use SMTP port (25, 587, ...) rather than SMTPS port (465).


Port 25 worked and so my Trac is now functional on Python3

Many thanks Jun Omae

Cheers

Mike




[1] https://trac.edgewall.org/wiki/TracLogging




--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/dbb0b0c6-a191-9247-50e9-ee908700d8be%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


[Trac] Sendmail hang

2022-06-05 Thread Mike Dewhirst
I just installed Trac 1.5 on Ubuntu 20.04 under Apache and with 
PostgreSQL 12 and it all seems to work fine except email notification.


I have a Django app running on the same server and email notification 
(ie., Forgotten password) works well for that.


I'm using exactly the same credentials, user, port number and smtp 
server for Trac as for the Django app.


When I reply to a ticket (ticket #1 btw) as a test Trac never returns. 
There is no crash and nothing reported in the Apache log nor syslog.


Here is my [notification] settings in trac.ini

[notification]
admit_domains =
ambiguous_char_width = single
batch_subject_template = ${prefix} Batch modify: ${tickets_descr}
default_format.email = text/plain
email_address_resolvers = SessionEmailResolver
email_sender = SmtpEmailSender
ignore_domains =
message_id_hash = md5
mime_encoding = none
sendmail_path = sendmail
smtp_always_bcc = mi...@xxx.com
smtp_always_cc =
smtp_default_domain =
smtp_enabled = enabled
smtp_from = sys...@xxx.com
smtp_from_author = disabled
smtp_from_name =
smtp_password = xxx
smtp_port = 465
smtp_replyto = supp...@xxx.com
smtp_server = smtp.xxx.com.au
smtp_subject_prefix = __default__
smtp_user = sys...@xxx.com
ticket_subject_template = ${prefix} #${ticket.id}: ${summary}
use_public_cc = enabled
use_short_addr = disabled
use_tls = enabled

xxx is just obfuscation - happy to reveal it privately if necessary.

Where do you think I'm going wrong?

Any hints appreciated

Thanks

Mike



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/b51a3dcd-a9dc-58a4-83b2-8634425f11b9%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [Trac] Trac psycopg2 connection string escape character

2022-06-02 Thread Mike Dewhirst

On 2/06/2022 5:13 pm, Jun Omae wrote:

On Thu, Jun 2, 2022 at 4:04 PM Mike Dewhirst  wrote:

I'm trying to install Trac 1.5.3 on Ubuntu 20.04 LTS server using
PostgreSQL/psycopg2.

My password contains '@' twice and the installer barfs at that.

I've tried all the quote characters known to me (``, `', '', "", ||)
around the password and also tried backslashing the @ symbols and
doubling them - all to no avail.

How can I use my existing database password?

See https://trac.edgewall.org/wiki/TracEnvironment#DatabaseConnectionStrings

The page says: Note that if the username or password of the connection
string (if applicable) contains the :, / or @ characters, they need to
be URL encoded.


Many thanks - that worked :-)

Mike






--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/fb1c4527-ff01-e621-41a4-ca96315f40bf%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


[Trac] Trac psycopg2 connection string escape character

2022-06-02 Thread Mike Dewhirst
I'm trying to install Trac 1.5.3 on Ubuntu 20.04 LTS server using 
PostgreSQL/psycopg2.


My password contains '@' twice and the installer barfs at that.

I've tried all the quote characters known to me (``, `', '', "", ||) 
around the password and also tried backslashing the @ symbols and 
doubling them - all to no avail.


How can I use my existing database password?

Thanks

Mike



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/fc0ecec3-e8f3-4817-dbfe-7ab14333b686%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [Trac] Re: Getting Trac running in a venv

2019-10-11 Thread Mike Dewhirst

Thank you Dima. Much appreciated.

M

On 12/10/2019 3:07 am, 'Dimitri Maziuk' via Trac Users wrote:

On 10/11/2019 2:57 AM, Mike Dewhirst wrote:

The Trac server will be Ubuntu 18.04 not Windows. Does that modify 
your "no alternative."?


Containers aren't portable, you need a windows container to run on 
windows and a linux one to run on linux.


As it happens, already running on the target machine is Apache 
serving four Django sites and svn. That's why I had to take Trac down.


Simply put, trac webserver is inside the container and is listening on 
a port. Host apache is proxying trac url to that port:

 ProxyPass /trac/ http://127.0.0.1:9876/


What does "core python being incompatible with itself" mean?


It means I can still run perl scripts from the 90s. Can't read them, 
but they'll run on ubuntu 18.04. Python: not so much.


Dima



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/1cb70871-d71e-5572-c9af-8411b86d599e%40dewhirst.com.au.


Re: [Trac] Re: Getting Trac running in a venv

2019-10-11 Thread Mike Dewhirst

On 12/10/2019 3:07 am, 'Dimitri Maziuk' via Trac Users wrote:
It means I can still run perl scripts from the 90s. Can't read them, 
but they'll run on ubuntu 18.04. Python: not so much.
Very good. I couldn't read the perl I wrote let alone anyone else's. 
That's why I'm in python.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/345ada8d-757a-0272-ec46-9cb13c7a5579%40dewhirst.com.au.


Re: [Trac] Re: Getting Trac running in a venv

2019-10-11 Thread Mike Dewhirst

On 11/10/2019 1:57 am, 'Dimitri Maziuk' via Trac Users wrote:
With core python being incompatible with itself and its DLL hell on 
top, there is no alternative.


The Trac server will be Ubuntu 18.04 not Windows. Does that modify your 
"no alternative."?


As it happens, already running on the target machine is Apache serving 
four Django sites and svn. That's why I had to take Trac down.


What does "core python being incompatible with itself" mean?

That's 2 questions - sorry to be a pain.

Thanks

Mike

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/6a5be834-001e-3284-f613-2f0932c2b758%40dewhirst.com.au.


Re: [Trac] Re: Getting Trac running in a venv

2019-10-09 Thread Mike Dewhirst

On 10/10/2019 7:20 am, 'Dimitri Maziuk' via Trac Users wrote:

On 10/9/19 2:06 PM, Jonathan Laufersweiler wrote:

Another option would be to use PyInstaller to package up a minimal 2.7
interpreter with the bytecode for Trac and its dependencies into a into a
stand-alone executable package. This would make updating Trac more of a
chore, but would simplify the service & routing setup compared to the venv
approach. YMMV, of course.

Really...


Dimitri thank you. I had not thought of Docker because I have avoided 
thinking of Docker for years. That means I haven't allocated brain-space.


Maybe its time I did.

Cheers

Mike



https://hub.docker.com/r/mwaeckerlin/trac
https://hub.docker.com/r/stephenhsu/trac/
https://github.com/solsson/docker-trac
etc.

Bitnami claims to have a container too but I don't see a link on their
trac page.



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c46bd6d6-8db9-b93b-b706-4d0b64858386%40dewhirst.com.au.


Re: [Trac] Re: Getting Trac running in a venv

2019-10-09 Thread Mike Dewhirst

On 10/10/2019 6:06 am, Jonathan Laufersweiler wrote:
Another option would be to use PyInstaller to package up a minimal 2.7 
interpreter with the bytecode for Trac and its dependencies into a 
into a stand-alone executable package. This would make updating Trac 
more of a chore, but would simplify the service & routing setup 
compared to the venv approach. YMMV, of course. --JonL


I have never used PyInstaller so I'll keep this up my sleeve in case I 
run into insurmountable trouble with Mickaël's venv approach. I'm not 
planning on updating until Trac is stable on Py3 so that's a plus.


Thank you Jon

Cheers

Mike



On Tuesday, October 8, 2019 at 10:04:32 PM UTC-5, Mike Dewhirst wrote:

I had to stop using Trac when I upgraded the machine to Python3. Call
that machine pq3 and Trac is currently off the air.

The reason is pq3 also runs a couple of Django staging servers which
have moved beyond version 1.11 and are therefore no longer capable of
running on Python 2.7.

I can't wait for Trac on Python3 so I think my choices are ...

1. Set up a Python 2.7 venv on pq3 and re-install Trac there

... OR install Python 2.7 on a separate machine - call it pq2 -
and ...

2. Redirect Trac traffic to pq2 from pq3 using Apache redirection

3. Redirect Trac traffic to pq2 from the router using different port
forwarding - say 4430

pq2 and pq3 are both Ubuntu 18.04 and Apache 2.4 on both. Both
machines
are behind the same router and I can only direct web traffic to
one and
that has to be pq3. The Trac database is on pq3.

What do you recommend is the easiest course?

I plan to adopt Trac for Python3 as soon as it is released and retire
pq2 permanently.

Thanks for any advice.

Cheers

Mike

--
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 
<mailto:trac-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/02acdc83-8b3f-4763-adca-114f224fe7d6%40googlegroups.com 
<https://groups.google.com/d/msgid/trac-users/02acdc83-8b3f-4763-adca-114f224fe7d6%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f362124e-3f7f-08da-c278-f4962a5a804f%40dewhirst.com.au.


Re: [Trac] Getting Trac running in a venv

2019-10-09 Thread Mike Dewhirst

Mickaël

You are a hero!

That means thank you very much. Your documentation skills are as amazing 
as your dev-ops skills.


I struggle with both ...

Cheers

Mike

On 10/10/2019 12:20 am, Mickaël Bucas wrote:

Hi Mike

I encountered the same issue when I changed my system Python to
version 3.6, so I'm currently running Trac 1.2 in a virtualenv I've
created with the following commands :
--8<--
mkdir -p /var/lib/trac/$PROJECT/venv
virtualenv -p python2 /var/lib/trac/$PROJECT/venv
source /var/lib/trac/$PROJECT/venv/bin/activate
pip install trac==1.2.2 mysql-python Babel pygments
# Subversion bindings
ln -s /usr/lib64/python2.7/site-packages/libsvn
/var/lib/trac/$PROJECT/venv/lib/python2.7/site-packages/
ln -s /usr/lib64/python2.7/site-packages/svn
/var/lib/trac/$PROJECT/venv/lib/python2.7/site-packages/
--8<--

To start Trac, I use `tracd`, but it must run when the virtualenv is activated
--8<--
start-stop-daemon --start \
 --user ${TRACD_USER:-tracd} --group ${TRACD_GROUP:-tracd} \
 --pidfile /var/run/tracd-${TRACD_PROJECT}.pid --make-pidfile --background \
 --exec /opt/bin/tracd-start-server.sh -- \
 ${TRACD_PROJECT} ${TRACD_PORT} ${TRACD_OPTS}
--8<--

`/opt/bin/tracd-start-server.sh` contains :
--8<--
# Parameters
TRACD_PROJECT=$1
shift
TRACD_PORT=$1
shift
TRACD_OPTS=$*

# Virtualenv
source /var/lib/trac/${TRACD_PROJECT}/venv/bin/activate

export PYTHON_EGG_CACHE="/var/lib/trac/${TRACD_PROJECT}/trac/egg-cache"

# Exec to keep the PID recorded by start-stop-daemon
exec /var/lib/trac/${TRACD_PROJECT}/venv/bin/tracd \
 -p ${TRACD_PORT} --single-env ${TRACD_OPTS}\
 --base-path=/trac/${TRACD_PROJECT} \
 /var/lib/trac/${TRACD_PROJECT}/trac\
 >> /var/lib/trac/${TRACD_PROJECT}/trac/log/tracd-output.log 2>&1
--8<--

Then you must tell Apache to proxy to the `tracd` server :
--8<--

 # Proxy to tracd
 ProxyPass http://$SITE:$NUMBER/trac/$PROJECT ttl=60
 ProxyPassReverse http://$SITE:$NUMBER/trac/$PROJECT

--8<--

So far it works as expected.

I still have to work on upgrading to Trac 1.4, whose dependencies are
different. And I will have to check if the extensions I use are still
working.

Best regards

Mickaël Bucas



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f1164d63-723b-9d13-2029-d7210bfdf13d%40dewhirst.com.au.


[Trac] Getting Trac running in a venv

2019-10-08 Thread Mike Dewhirst
I had to stop using Trac when I upgraded the machine to Python3. Call 
that machine pq3 and Trac is currently off the air.


The reason is pq3 also runs a couple of Django staging servers which 
have moved beyond version 1.11 and are therefore no longer capable of 
running on Python 2.7.


I can't wait for Trac on Python3 so I think my choices are ...

1. Set up a Python 2.7 venv on pq3 and re-install Trac there

... OR install Python 2.7 on a separate machine - call it pq2 - and ...

2. Redirect Trac traffic to pq2 from pq3 using Apache redirection

3. Redirect Trac traffic to pq2 from the router using different port 
forwarding - say 4430


pq2 and pq3 are both Ubuntu 18.04 and Apache 2.4 on both. Both machines 
are behind the same router and I can only direct web traffic to one and 
that has to be pq3. The Trac database is on pq3.


What do you recommend is the easiest course?

I plan to adopt Trac for Python3 as soon as it is released and retire 
pq2 permanently.


Thanks for any advice.

Cheers

Mike

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/cab96c46-15a3-cde1-c4f2-3003f2e0653c%40dewhirst.com.au.


Re: [Trac] Re: trac_captcha plugin error: StringIO() argument 1 must be convertible to a buffer, not Element

2017-11-02 Thread Mike Dewhirst

Thank you kind sir :)

Cheers

Mike

On 1/11/2017 11:47 AM, RjOllos wrote:



On Tuesday, October 31, 2017 at 12:02:24 AM UTC-7, Mike Dewhirst wrote:

> Also, take a look at:
> https://trac-hacks.org/tags/captcha?wiki=on
<https://trac-hacks.org/tags/captcha?wiki=on>

That list was what prompted me to ask if anyone had any
recommendations.
If you are recommending SpamFilter I suppose I should install it. It
does seem like a sledgehammer to crack a nut.


MathCaptchaPlugin looks simple to use:
https://trac-hacks.org/wiki/MathCaptchaPlugin

> Is the issue you encountered due to a spammer editing the CC field
> when creating a ticket?

I don't know. The CC field was empty but I thought the ticket
might have
been re-saved after a list had been processed. On reflection I might
have been a bit hasty in assuming it was a bot trained to
recognise Trac
sites. The ticket content was definitely spam and included a link to
some dodgy-looking website. It might have just been plain spam.


You can see the whole history of field changes to the ticket. You may 
have to toggle the //Show property changes// preference.


I have now removed the TICKET_CREATE and TICKET_EDIT_CC and all other
non-view permissions from anonymous users. If they wish to get
involved
they can obtain authentication.

I think that solves my "problem" at least until I need to implement
self-registration for intending users.


TracAccountManager will eventually be good for that.

- Ryan
--
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 
<mailto:trac-users+unsubscr...@googlegroups.com>.
To post to this group, send email to trac-users@googlegroups.com 
<mailto:trac-users@googlegroups.com>.

Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: trac_captcha plugin error: StringIO() argument 1 must be convertible to a buffer, not Element

2017-10-31 Thread Mike Dewhirst

On 31/10/2017 2:27 PM, RjOllos wrote:


Does anyone have a recommendation for a plugin with 1.2 compatibility?


https://trac.edgewall.org/wiki/SpamFilter


That looks like a massive piece of work. PhD quality or Nobel Prize!



Also, take a look at:
https://trac-hacks.org/tags/captcha?wiki=on


That list was what prompted me to ask if anyone had any recommendations. 
If you are recommending SpamFilter I suppose I should install it. It 
does seem like a sledgehammer to crack a nut.



A spammer created a ticket yesterday and I have no idea how many
emails
might have been sent via the cc field.

Is there a way I can limit the number of emails sent via the cc
field?


I think your best move is to limit edits to the CC field. For example, 
don't grant TICKET_EDIT_CC to untrusted users.


Done.



Users with TICKET_CREATE can edit the CC field for new tickets even if 
they don't have TICKET_EDIT_CC. That could be dealt with a few 
different ways, such as implementing ITicketManipulator.

https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator


That is a little above my pay-grade!



Is the issue you encountered due to a spammer editing the CC field 
when creating a ticket?


I don't know. The CC field was empty but I thought the ticket might have 
been re-saved after a list had been processed. On reflection I might 
have been a bit hasty in assuming it was a bot trained to recognise Trac 
sites. The ticket content was definitely spam and included a link to 
some dodgy-looking website. It might have just been plain spam.


I have now removed the TICKET_CREATE and TICKET_EDIT_CC and all other 
non-view permissions from anonymous users. If they wish to get involved 
they can obtain authentication.


I think that solves my "problem" at least until I need to implement 
self-registration for intending users.


I'll clean up the spam ticket and send it away fixed.

Thank you very much

Again

Cheers

Mike



- Ryan


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] trac_captcha plugin error: StringIO() argument 1 must be convertible to a buffer, not Element

2017-10-29 Thread Mike Dewhirst

*Trac detected an internal error:*

TypeError: StringIO() argument 1 must be convertible to a buffer, not Element

I'm using Trac 1.2 and note that the plugin only seems compatible with 
Trac 1.0 so I guess I can't expect there to be a fix for this already.


Does anyone have a recommendation for a plugin with 1.2 compatibility?

A spammer created a ticket yesterday and I have no idea how many emails 
might have been sent via the cc field.


Is there a way I can limit the number of emails sent via the cc field?

Thanks

Mike


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] TracCustomFieldAdmin KeyError: 'width'

2017-10-09 Thread Mike Dewhirst

I haven't seen anything related to this and can't find anything in trac.ini

It is reproducible by clicking Admin | Ticket System | Custom Fields (at 
../admin)


In Plugins we see ...


 TracCustomFieldAdmin 0.2.8.post13289

Admin panel for managing Trac ticket custom fields.

Author:
   CodeResort.com & Optaros.com
Home page:
   http://trac-hacks.org/wiki/CustomFieldAdminPlugin
License:
   BSD

Component[+ 
] 
[– 
] 
	Enabled


customfieldadmin.admin.* 
— 
Trac WebAdmin plugin for administration of custom fields.




CustomFieldAdminPage



customfieldadmin.api.* 
— 
API for administrating custom ticket fields in Trac. Supports creating, 
getting, updating and deleting custom fields.




CustomFields 
— 
These methods should be part of TicketSystem API/Data Model. Adds 
update_custom_field and delete_custom_field methods. (The 
get_custom_fields is already part of the API - just redirect here, and 
add option to only get one named field back.)


Input to methods is a 'cfield' dict supporting these keys:

   name = name of field (ascii alphanumeric only) type =
   text|checkbox|select|radio|textarea label = label description value
   = default value for field content options = options for select and
   radio types

   (list, leave first empty for optional)

   cols = number of columns for text area rows = number of rows for
   text area order = specify sort order for field format = text|wiki
   (for text and textarea)




... where there appears to be no 'width' specification. As mentioned in 
my previous email about a different error I recently upgraded from 1.0 
to 1.2 and am getting contradictory indications where Trac thinks it is 
1.0 on the Plugins page but knows it is 1.2 when producing the error page.


Any help greatly appreciated

Mike



 Oops…

*Trac detected an internal error:*

KeyError: 'width'

This is probably a local installation issue.


   Found a bug in Trac?

If you think this should work and you can reproduce the problem, you 
should consider creating a bug report.


Note that the following plugins seem to be involved: TracAccountManager, 
TracVote, TracCustomFieldAdmin*Please report this issue to the plugin 
maintainer.*


Before you do that, though, please first try*searching 
for 
similar issues*, as it is quite likely that this problem has been 
reported before. For questions about installation and configuration of 
Trac or its plugins, please try themailing list 
instead of creating a ticket.


Otherwise, pleasea new bug report describing the problem and explain how 
to reproduce it.



   Python Traceback

Most recent call last:

File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 623, in 
_dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 239, in 
dispatch
  resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.7/dist-packages/trac/admin/web_ui.py", line 109, 
in process_request
  provider.render_admin_panel(req, cat_id, panel_id, path_info)
File 
"/usr/local/lib/python2.7/dist-packages/TracCustomFieldAdmin-0.2.8_r13289-py2.7.egg/customfieldadmin/admin.py",
 line 114, in render_admin_panel
  for item in cf_api.get_custom_fields():
File 
"/usr/local/lib/python2.7/dist-packages/TracCustomFieldAdmin-0.2.8_r13289-py2.7.egg/customfieldadmin/api.py",
 line 79, in get_custom_fields
  item['cols'] = item.pop('width')




   System Information

Package Version
Trac1.2.2
Babel   0.9.6
Docutils0.9.1
Genshi  0.7 (without speedups)
mod_wsgi4.3.0 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments2.1
pysqlite2.6.0
Python  2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
pytz2012d
setuptools  36.5.0
SQLite  3.11.0
Subversion  1.9.3 (r1718519)


   Installed Plugins

NameVersion Location
TracAccountManager  
0.4.4 	/usr/local/lib/python2.7/dist-packages 

TracCustomFieldAdmin  
	0.2.8.post13289 
/usr/local/lib/python2.7/dist-packages/TracCustomFieldAdmin-0.2.8_r13289-py2.7.egg 

[Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2017-10-09 Thread Mike Dewhirst

How can I deal with this?

There seem to be a number of tickets discussing this error and my 
interpretation is it should be fixed in 1.2. However, I have recently 
upgraded from 1.0 to 1.2 as indicated below in the Trac version. 
However, when I click on the Plugins page Trac 1.0 appears instead of 
1.2.2. Maybe that is evidence I did it badly. An earlier thread "[Trac] 
Re: multiple projects transition from a single project​" finishing on 28 
September covers Ryan's valiant and eventually successful effort to get 
me going again a couple of weeks ago.


It is reproducible by clicking [Save changes] at the /General\ tab on 
the Preferences page. All the other tabs with [Save changes] work 
without error.


It is also reproducible by clicking [Restart] on the Accounts | 
Configuration | Password Refresh section (at .../admin/accounts/config) 
whether Silently update password hashes ... is ticked or not


It is also reproducible by clicking the Accounts | Users link on the 
same page (at .../admin/accounts/config)


I couldn't find the error elsewhere. But in trying things, I did 
discover a Custom Fields KeyError: 'width' which I'll now write up in a 
separate thread.


I have all the _ADMIN permissions including ACCTMGR_ADMIN, 
ACCTMGR_CONFIG_ADMIN and ACCTMGR_USER_ADMIN


Thanks for any hints.

Mike


 Oops…

*Trac detected an internal error:*

AttributeError: 'Environment' object has no attribute 'get_db_cnx'

This is probably a local installation issue.


   Found a bug in Trac?

If you think this should work and you can reproduce the problem, you 
should consider creating a bug report.


Note that the following plugins seem to be involved: TracAccountManager, 
TracVote*Please report this issue to the plugin maintainer.*


Before you do that, though, please first try*searching 
for 
similar issues*, as it is quite likely that this problem has been 
reported before. For questions about installation and configuration of 
Trac or its plugins, please try themailing list 
instead of creating a ticket.


Otherwise, pleasea new bug report describing the problem and explain how 
to reproduce it.



   Python Traceback

Most recent call last:

File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 623, in 
_dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 206, in 
dispatch
  chosen_handler = self._pre_process_request(req, chosen_handler)
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 431, in 
_pre_process_request
  chosen_handler = filter_.pre_process_request(req, chosen_handler)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/register.py", line 485, 
in pre_process_request
  EmailCheck(self.env).validate_registration(req)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/register.py", line 254, 
in validate_registration
  elif email_associated(self.env, email):
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/model.py", line 25, in 
email_associated
  db = _get_db(env, db)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/model.py", line 292, in 
_get_db
  return db or env.get_db_cnx()




   System Information

Package Version
Trac1.2.2
Babel   0.9.6
Docutils0.9.1
Genshi  0.7 (without speedups)
mod_wsgi4.3.0 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments2.1
pysqlite2.6.0
Python  2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
pytz2012d
setuptools  36.5.0
SQLite  3.11.0
Subversion  1.9.3 (r1718519)


   Installed Plugins

NameVersion Location
TracAccountManager  
0.4.4 	/usr/local/lib/python2.7/dist-packages 

TracCustomFieldAdmin  
	0.2.8.post13289 
/usr/local/lib/python2.7/dist-packages/TracCustomFieldAdmin-0.2.8_r13289-py2.7.egg 

TracVote  	0.6.0 
/usr/local/lib/python2.7/dist-packages 




   Interface Customization

Site templates  site.html
Shared templates
Site static resources   
Shared static resources 

--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: multiple projects transition from a single project

2017-09-27 Thread Mike Dewhirst

Where do I send the beer? Red wine? Money?

That worked.

But I don't necessarily understand what happened. The passwords were 
originally created with htpasswd not htdigest. Is there no difference?


Many thanks

Mike

On 28/09/2017 1:21 AM, RjOllos wrote:



On Wednesday, September 27, 2017 at 1:13:46 AM UTC-7, Mike Dewhirst 
wrote:


On 27/09/2017 5:46 PM, Ryan Ollos wrote:
>
>
> On Wed, Sep 27, 2017 at 7:43 AM, Mike Dewhirst
<mi...@dewhirst.com.au <mailto:mi...@dewhirst.com.au>
> <mailto:mi...@dewhirst.com.au <mailto:mi...@dewhirst.com.au>>>
wrote:
>
>     On 27/09/2017 5:14 PM, Ryan Ollos wrote:
>
>         What is your [components] section from trac.ini?
>
>
>     Just a moment ago I thought I'd tempt fate by uninstalling
>     TracAccountManager to re-install again. I'm now getting a 500
>     error[1] when I click Admin -> Plugins
>
>
> Make sure to restart your web server when
uninstalling/installing plugins.

Phew! That fixed the 500 error - thanks.

>
> Regarding the earlier issue, try:
> acct_mgr.pwhash.* = enabled

No progress here. I also swapped htpasswdhashmethod in and
htdigesthashmethod out. Made no difference.

Mike


When editing trac.ini, be sure to remove these two lines:
acct_mgr.pwhash.htdigesthashmethod = disabled
acct_mgr.pwhash.htpasswdhashmethod = enabled

Then add:
acct_mgr.pwhash.* = enabled

Set:
[account-manager]
hash_method = HtDigestHashMethod

If that doesn't work, send your [accountmanager] section from trac.ini 
along with your revised [components] section and I'll give it a try.


- Ryan

--
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 
<mailto:trac-users+unsubscr...@googlegroups.com>.
To post to this group, send email to trac-users@googlegroups.com 
<mailto:trac-users@googlegroups.com>.

Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: multiple projects transition from a single project

2017-09-27 Thread Mike Dewhirst

On 27/09/2017 5:46 PM, Ryan Ollos wrote:



On Wed, Sep 27, 2017 at 7:43 AM, Mike Dewhirst <mi...@dewhirst.com.au 
<mailto:mi...@dewhirst.com.au>> wrote:


On 27/09/2017 5:14 PM, Ryan Ollos wrote:

What is your [components] section from trac.ini?


Just a moment ago I thought I'd tempt fate by uninstalling
TracAccountManager to re-install again. I'm now getting a 500
error[1] when I click Admin -> Plugins


Make sure to restart your web server when uninstalling/installing plugins.


Phew! That fixed the 500 error - thanks.



Regarding the earlier issue, try:
acct_mgr.pwhash.* = enabled


No progress here. I also swapped htpasswdhashmethod in and 
htdigesthashmethod out. Made no difference.


Mike

[components]
acct_mgr.admin.* = enabled
acct_mgr.api.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.guard.accountguard = enabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.* = disabled
acct_mgr.notification.* = enabled
acct_mgr.pwhash.* = enabled
acct_mgr.pwhash.htdigesthashmethod = disabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.register.* = enabled
acct_mgr.register.registrationmodule = disabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.resetpwstore = disabled
customfieldadmin.* = enabled
duplicateticketsearch.duplicateticketsearch = enabled
trac.db.mysql_backend.mysqlconnector = disabled
trac.db.postgres_backend.postgresqlconnector = disabled
trac.ticket.report.* = disabled
trac.ticket.report.reportmodule = disabled
trac.versioncontrol.api.repositorymanager = enabled
trac.versioncontrol.svn_authz.svnauthzoptions = enabled
trac.versioncontrol.svn_fs.subversionconnector = enabled
trac.versioncontrol.svn_prop.subversionmergepropertydiffrenderer = enabled
trac.versioncontrol.svn_prop.subversionmergepropertyrenderer = enabled
trac.versioncontrol.svn_prop.subversionpropertyrenderer = enabled
trac.web.auth.loginmodule = disabled
tracbuildbot.admin.buildbotadmin = disabled
tracbuildbot.environmentsetup.buildbotparticipant = disabled
tracbuildbot.timeline.buildbottimeline = disabled
tracbuildbot.web_ui.buildbotbuildhandler = disabled
tracbuildbot.web_ui.buildbotchrome = disabled
tracbuildbot.web_ui.buildbotpage = disabled
tracopt.versioncontrol.svn.* = enabled
tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer 
= enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = 
enabled

tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled
tracrpc.api.xmlrpcsystem = enabled
tracrpc.ticket.componentrpc = enabled
tracrpc.ticket.milestonerpc = disabled
tracrpc.ticket.priorityrpc = enabled
tracrpc.ticket.resolutionrpc = enabled
tracrpc.ticket.statusrpc = enabled
tracrpc.ticket.ticketrpc = enabled
tracrpc.ticket.typerpc = enabled
tracrpc.ticket.versionrpc = disabled
tracrpc.web_ui.xmlrpcweb = enabled
tracrpc.wiki.wikirpc = enabled
tracvote.votesystem = enabled
webadmin.* = enabled





--
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 
<mailto:trac-users+unsubscr...@googlegroups.com>.
To post to this group, send email to trac-users@googlegroups.com 
<mailto:trac-users@googlegroups.com>.

Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: multiple projects transition from a single project

2017-09-26 Thread Mike Dewhirst
Many thanks (again) Ryan. I'll get back in saddle as soon as I regain keyboard 
privileges. 

Cheers

Mike

Connected by Motorola

Ryan Ollos <rjol...@gmail.com> wrote:

>
>
>
>On Tue, Sep 26, 2017 at 1:54 AM, Mike Dewhirst <mi...@dewhirst.com.au> wrote:
>
>  
>    Alias /robots.txt /var/www/trac/projects/ssds/htdocs/site/robots/robots.txt
>    Alias /favicon.ico 
>/var/www/trac/projects/ssds/htdocs/site/assets/img/ssds.ico
>    Alias /chrome/cgi-bin /var/www/trac/projects/ssds/cgi-bin
>    Alias /chrome/common /var/www/trac/projects/ssds/htdocs/common
>    Alias /chrome/site /var/www/trac/projects/ssds/htdocs/site
>  
>
>
>
>You don't need to alias /chrome/cgi-bin, and you can use one Alias for the 
>entire htdocs directory:
>
>
>  
>
>    Alias /robots.txt /var/www/trac/projects/ssds/htdocs/site/robots/robots.txt
>
>    Alias /favicon.ico 
>/var/www/trac/projects/ssds/htdocs/site/assets/img/ssds.ico
>
>    Alias /chrome /var/www/trac/projects/ssds/htdocs
>
>  
>
>
>The "ssds" directory should have been created with the "trac-admin deploy" 
>command. Is that a Trac environment? It should not be, but a common mistake it 
>to run the deploy command with $env/htdocs as a target. A better layout is 
>something like:
>
>/path/to/env
>
>/path/to/www/htdocs
>
>/path/to/www/cgi-bin
>
>with "www" directory created by the deploy command. The key point is that the 
>"www" directory lives beside the environment, not within it.
>
>
>I typically put robots.txt and favicon.ico in the Trac environment and symlink 
>when running deploy into $www:
>
>
>"$root"/pve/bin/trac-admin "$env" deploy "$www"
>
>ln -s "$env"/favicon.ico "$www"/
>
>ln -s "$env"/robots.txt "$www"/
>
> 
>
>  # lock the public out
>  
>    Order deny,allow
>    Deny from all
>  
>
>
>That might be preventing access to htdocs.
>
>
>You probably want something closer to:
>
>
>
>  Options -Indexes
>  Require all granted
>
>
>
>Also, it's using Apache < 2.4 syntax. You are almost certainly running Apache 
>2.4.
>
>https://httpd.apache.org/docs/current/upgrading.html#run-time
>
>
>Proper syntax for Apache 2.4 is also covered on the TracModWSGI page:
>
>https://trac.edgewall.org/wiki/TracModWSGI
>
>
>Our documentation for configuring mod_wsgi could be improved. This stuff can 
>be a bit confusing. I plan to rewrite that page eventually.
>
>
>As for standard layout or recommended arrangement, as mentioned I suggest 
>keeping the Trac environment separate from the static assets that are served.
>
>
>Examples:
>
>/var/trac/env1  <= Trac environment for project 1
>
>/var/trac/env2  <= Trac environment for project 2
>
>/var/www/trac/htdocs
>
>/var/www/trac/cgi-bin
>
>
>where "env1" and "env2" are Trac environments and you've run "trac-admin 
>/var/trac/env1 deploy /var/www/trac" to generate the static assets, i.e. the 
>htdocs and cgi-bin directories.
>
>
>Another common configurations is to put everything below /srv:
>
>
>/srv/www.website.com/trac  <= trac environment
>
>/srv/www.website.com/www/htdocs
>
>/srv/www.website.com/www/cgi-bin
>
> 
>
>  # allow public here
>  
>    Order allow,deny
>    Allow from all
>  
>
>  
>    AuthType Basic
>    AuthName "ssds"
>    AuthUserFile /var/svn/user_access/auth-file
>    Require valid-user
>  
>
>  
>    WSGIScriptAlias / /var/www/trac/projects/ssds/cgi-bin/trac.wsgi
>    
>      WSGIApplicationGroup %(GLOBAL)
>      Order deny,allow
>      Allow from all
>    
>  
>
>Here is a view-source excerpt from the top of the ticket query page: (those 
>"alternate" hrefs look a bit dodgy)
>
>href="/query?status=!closedgroup=statusformat=rsscol=idcol=summarycol=ownercol=typecol=prioritycol=changetimecol=reporterorder=priority"
> type="application/rss+xml" class="rss" title="RSS Feed" />
>
>href="/query?status=!closedgroup=statusformat=csvcol=idcol=summarycol=ownercol=typecol=prioritycol=changetimecol=reporterorder=priority"
> type="text/csv" class="csv" title="Comma-delimited Text" />
>
>href="/query?status=!closedgroup=statusformat=tabcol=idcol=summarycol=ownercol=typecol=prioritycol=changetimecol=reporterorder=priority"
> type="text/tab-separated-values" class="tab" title="Tab-delimited Text" />
>
>href="/query?status=!closedgroup=statuspage=2

[Trac] Re: multiple projects transition from a single project

2017-09-26 Thread Mike Dewhirst
I came unstuck after I upgraded to 1.2 prior to making a second vhost 
and second Trac project.


Is there docmentation of a standard file layout or recommended 
arrangement for a single server, Apache2 multiple vhost with python 2.7 
mod-wsgi and multi-project Trac 1.2 installation on Ubuntu 16.04 LTS server?


I'm getting totally bamboozled by the Trac documentation at this point. 
There appears to be many ways to do things.


I remember now that I had similar trouble setting it up the first time a 
few years ago and only by copying stuff everywhere (back then) did I get 
it going. I'm sure I could do the same thing again but that would be 
wrong of me.


I have followed (probably) bits of both 
https://trac.edgewall.org/wiki/TracInstall#Usingpip and 
https://trac.edgewall.org/demo-1.2/wiki/TracInstall#Usingpip


At this point my Trac instance *is* now 1.2 but not working properly:

close <https://trac.climate.com.au/ticket/73#> *Warning:* Error with 
navigation contributor "AccountModule"



 Oops…

*Trac detected an internal error:*

AttributeError: 'Environment' object has no attribute 'get_db_cnx'

That is not being styled because Apache cannot find the css. The css 
*is* being accessed by tracd (where the environment is 
/var/trac/projects/ssds (note the absence of www there)) but not Apache. 
The css files do exist where Apache is looking for them and they have 
www-data ownership with rwx permissions. Here is my trac vhost conf:


  
Alias /robots.txt /var/www/trac/projects/ssds/htdocs/site/robots/robots.txt
Alias /favicon.ico 
/var/www/trac/projects/ssds/htdocs/site/assets/img/ssds.ico
Alias /chrome/cgi-bin /var/www/trac/projects/ssds/cgi-bin
Alias /chrome/common /var/www/trac/projects/ssds/htdocs/common
Alias /chrome/site /var/www/trac/projects/ssds/htdocs/site
  

  # lock the public out
  
Order deny,allow
Deny from all
  

  # allow public here
  
Order allow,deny
Allow from all
  

  
AuthType Basic
AuthName "ssds"
AuthUserFile /var/svn/user_access/auth-file
Require valid-user
  

  
WSGIScriptAlias / /var/www/trac/projects/ssds/cgi-bin/trac.wsgi

  WSGIApplicationGroup %(GLOBAL)
  Order deny,allow
  Allow from all

  

Here is a view-source excerpt from the top of the ticket query page: 
(those "alternate" hrefs look a bit dodgy)






















.trac-noscript { display: none !important 
}

Thanks for any hints

Mike


On 25/09/2017 7:37 AM, Mike Dewhirst wrote:

Thank you Ryan

I'll get started

M

On 24/09/2017 7:18 PM, RjOllos wrote:



On Sunday, September 24, 2017 at 1:32:45 AM UTC-7, Mike Dewhirst wrote:

    What is the optimum way to upgrade Trac from a single project
    installation to two completely separate projects?


My opinion is that it's much easier to run everything from a single 
server: all Trac projects and the SVN projects.


Trac was built to serve multiple projects (environments) from a 
single server. Rather than configuring TRAC_ENV in your installation 
you configure TRAC_ENV_PARENT_DIR. If you want different domain names 
for your projects, I think that can probably be handled in the Apache 
configuration.


If you want to run the Trac projects in different Python 
interpreters, that's also possible. It's just a matter of setting up 
the proper WSGI directives. Take a look at:
https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html#daemon-mode-single-application 



    I'm guessing separate machines but I'd much prefer separate vhosts
    under
    the same Apache (mod-wsgi) on the same machine. That would simplify
    everything for me.

    The svn server is on the original trac server and will also host the
    separate project source. If we have to go to another machine will
    that
    be a problem? I do have a virgin machine upon which to start again.


Trac and SVN need to run on the same server. There are ways around 
that, like setting up a readonly SVN mirror. It will be much easier 
if you just run all your Trac and SVN instances on the same server.


    A possible complication is I need to drop Python 2.7 and use 3.5
    exclusively on Ubuntu 16.04 LTS.


Trac does not support any version of Python 3.x. You'll have to run 
Trac with Python 2.7 for now. Support for 3.x is probably more than a 
year away still.


    I'd be happy to start again provided I can upload a MySQL dump
    from the
    original Trac. I would probably switch to Postgres if starting 
again.



The SQLite file is in the project environment so it's simple to move 
an SQLite project environment to another server.

https://trac.edgewall.org/wiki/TracBackup

TracMigratePlugin is good for converting a database:
http://trac-hacks.org/wiki/TracMigratePlugin

The feature has been added to Trac for the forthcoming Trac 1.4 release.

- Ryan
--
You received this message because you are subscribed to the Google 
Groups "Trac Users" 

Re: [Trac] multiple projects transition from a single project

2017-09-24 Thread Mike Dewhirst

On 24/09/2017 6:32 PM, Mike Dewhirst wrote:
What is the optimum way to upgrade Trac from a single project 
installation to two completely separate projects?


I'm guessing separate machines but I'd much prefer separate vhosts 
under the same Apache (mod-wsgi) on the same machine. That would 
simplify everything for me.


The svn server is on the original trac server and will also host the 
separate project source. If we have to go to another machine will that 
be a problem? I do have a virgin machine upon which to start again.


A possible complication is I need to drop Python 2.7 and use 3.5 
exclusively on Ubuntu 16.04 LTS.


I'd be happy to start again provided I can upload a 


SQLite (sorry, that MySQL was finger trouble)


dump from the original Trac. I would probably switch to Postgres if 
starting again.


Thanks for hints on a strategy.

Cheers

Mike



--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] multiple projects transition from a single project

2017-09-24 Thread Mike Dewhirst
What is the optimum way to upgrade Trac from a single project 
installation to two completely separate projects?


I'm guessing separate machines but I'd much prefer separate vhosts under 
the same Apache (mod-wsgi) on the same machine. That would simplify 
everything for me.


The svn server is on the original trac server and will also host the 
separate project source. If we have to go to another machine will that 
be a problem? I do have a virgin machine upon which to start again.


A possible complication is I need to drop Python 2.7 and use 3.5 
exclusively on Ubuntu 16.04 LTS.


I'd be happy to start again provided I can upload a MySQL dump from the 
original Trac. I would probably switch to Postgres if starting again.


Thanks for hints on a strategy.

Cheers

Mike

--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: Problem with Notifications

2016-10-26 Thread Mike Dewhirst

On 26/10/2016 8:52 AM, RjOllos wrote:



On Tuesday, October 25, 2016 at 12:30:11 AM UTC-7, Mike Dewhirst wrote:

This is all my own fault. I tried to adjust trac.ini and didn't
improve
things per my ISP's suggestions. The error is

Thechange <https://trac.climate.com.au/ticket/156#comment:2
<https://trac.climate.com.au/ticket/156#comment:2>>has been
saved, but an error occurred while sending notifications: SMTP AUTH
extension not supported by server.

I can go back but I'm keen to go forward. We are running on Ubuntu
16.04
recently upgraded from 12.04 and 14.04. I'm using Postfix and
https://trac.climate.com.au is an Apache 2.4 vhost

Here is an excerpt from my trac.ini

[notification]
admit_domains =
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
ambiguous_char_width = single
batch_subject_template = $prefix Batch modify: $tickets_descr
email_sender = SmtpEmailSender
ignore_domains =
mime_encoding = none
sendmail_path =
smtp_always_bcc =
smtp_always_cc = mi...@sharedsds.com <mailto:mi...@sharedsds.com>
smtp_default_domain =
smtp_enabled = true
smtp_from = build...@trac.climate.com.au
<mailto:build...@trac.climate.com.au>
smtp_from_author = true
smtp_from_name = Trac
smtp_password = [redacted]
smtp_port = 25
smtp_replyto = mi...@sharedsds.com <mailto:mi...@sharedsds.com>
smtp_server = localhost
smtp_subject_prefix = [SharedSDS]
smtp_user = build...@trac.climate.com.au
<mailto:build...@trac.climate.com.au>
ticket_subject_template = $prefix #$ticket.id <http://ticket.id>:
$summary
use_public_cc = false
use_short_addr = false
use_tls = true

I added the password, changed the smtp_from (after ensuring that
address
is working) and changed use_tls = true from false

Any hints greatly appreciated.

Thanks

Mike


Is there a mail server running on your host, or are you trying to use 
an SMTP service on another host provided by your ISP? You have 
smtp_server set to localhost.


Yes and yes. I'm running postfix configured to use my ISP's SMTP.

I'm now working through the problem with the ISP and I hope something 
might click. Thanks for responding Ryan, I'll report back later - or 
re-ask the question if I hit the wall :)


Thanks

Mike




- Ryan
--
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 
<mailto:trac-users+unsubscr...@googlegroups.com>.
To post to this group, send email to trac-users@googlegroups.com 
<mailto:trac-users@googlegroups.com>.

Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Problem with Notifications

2016-10-25 Thread Mike Dewhirst
This is all my own fault. I tried to adjust trac.ini and didn't improve 
things per my ISP's suggestions. The error is


Thechange has been 
saved, but an error occurred while sending notifications: SMTP AUTH 
extension not supported by server.


I can go back but I'm keen to go forward. We are running on Ubuntu 16.04 
recently upgraded from 12.04 and 14.04. I'm using Postfix and 
https://trac.climate.com.au is an Apache 2.4 vhost


Here is an excerpt from my trac.ini

[notification]
admit_domains =
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
ambiguous_char_width = single
batch_subject_template = $prefix Batch modify: $tickets_descr
email_sender = SmtpEmailSender
ignore_domains =
mime_encoding = none
sendmail_path =
smtp_always_bcc =
smtp_always_cc = mi...@sharedsds.com
smtp_default_domain =
smtp_enabled = true
smtp_from = build...@trac.climate.com.au
smtp_from_author = true
smtp_from_name = Trac
smtp_password = [redacted]
smtp_port = 25
smtp_replyto = mi...@sharedsds.com
smtp_server = localhost
smtp_subject_prefix = [SharedSDS]
smtp_user = build...@trac.climate.com.au
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = false
use_short_addr = false
use_tls = true

I added the password, changed the smtp_from (after ensuring that address 
is working) and changed use_tls = true from false


Any hints greatly appreciated.

Thanks

Mike

--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: Custom ticket field for users list

2016-09-20 Thread Mike Dewhirst

On 20/09/2016 11:09 PM, Mo wrote:



Am Freitag, 1. Juli 2016 09:50:01 UTC+2 schrieb Mo:


I haven't seen a plugin for that, but it has been requested in
this ticket:

https://trac.edgewall.org/ticket/8069



Exactly the same request. Thanks. That was years ago. Any way to
push that a bit?


Generally, tracking different tasks like test and documentation
within one ticket with additional status flags will extent the
ticket size, while adding ticket (blocking) clones for additional
tasks would increase the ticket count. We discussed different pro
and cons. As every feature ticket will consist of the same
quadruple of dev/test/doc and maybe review, and usually they are
all finished very close to the project end, we tend to add flags
to the ticket for these subtasks.



Here is another "con". The above ticket requesting multiple users being 
assigned to a single ticket is not necessarily a "Good Idea". The Cc: 
list should suffice to include extra team members and the Owned 
by/developer should be one person who carries the blame when things go 
wrong.


Have you looked at the configurable workflow plugin?

https://www.edgewall.org/docs/tags-trac-1.0/epydoc/trac.ticket.default_workflow.ConfigurableTicketWorkflow-class.html

If you are not already using it, that would formalize the 
dev/test/reject|accept default process steps. Being configurable you 
could insert or append a review step or anything really. For example, 
pre-doc/spec/dev/test/final-doc/reject|accept/review


It would be better IMO to have a separate ticket for the documentation 
and let that proceed via the same steps as the code. Docs can have bugs 
too. You could then have exactly the same set of steps for both tickets 
... being dev/test/reject|accept/review. Obviously you would need some 
sort of testing for the docs. Maybe a style-guide, language translations 
etc.


Mike



I was adding some ideas about such a plugin here:
https://trac.edgewall.org/ticket/2662#comment:73
I'm not capable of creating a trac plugins yet...

I found some useful part implemented here:
https://trac-hacks.org/ticket/8477
At least it is possible to have autocompletion with users on custom 
fields.

--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Expanding the width of the TRAC ticket form

2016-05-25 Thread Mike Dewhirst

On 25/05/2016 4:16 PM, RjOllos wrote:



On Monday, May 16, 2016 at 7:12:37 PM UTC-7, Mike Dewhirst wrote:

On 17/05/2016 7:43 AM, Ryan Ollos wrote:
>
>
>
> From: mailinglis...@gmail.com <mailto:mailinglis...@gmail.com>
> Sent: Monday, May 16, 5:40 PM
> Subject: [Trac] Expanding the width of the TRAC ticket form
> To: Trac Users
>
> Does anyone know the setting which needs to be changed to expand the
> width of the actual TRAC ticket form. Â I have attached a pic of
what I'd
> like to expand. Â There is so much whitespace around the actual
ticket.

(1) In /var/www/trac/myproject/templates/site.html ...

   
   
     ${select('*|comment()|text()')}
     
   

That will insert myproject.css into the page *after* all the trac css.


(2) In /var/www/trac/htdocs/site/myproject/myproject.css ...

#content.ticket {

  width: 58em;

  max-width: 100%;

  margin-left: auto;

  margin-right: auto;

}


I copied this stanza from /var/www/trac/htdocs/common/css/ticket.css
which I found by looking in my Apache trac_vhost.conf where I saw ...

     Alias /chrome/common /var/www/trac/htdocs/common
     Alias /chrome/site /var/www/trac/htdocs/site/myproject


The second Alias directive looks odd.


Agreed. You are jogging my memory and a long time ago I tried to get 
multiple projects happening on the same server and eventually gave up. 
That left my Trac instance in a somewhat ugly state but working.


As I write, I am also remembering that I don't really want to upgrade to 
the latest rev because that means I have invest time and effort in 
cleaning up my old mess.


If you generated /var/www/trac

with "trac-admin $env deploy /var/www/trac", then you'd get a director
structure:
/var/www/trac/htdocs/common
/var/www/trac/htdocs/site
/var/www/trac/htdocs/


Thanks for that - maybe I'll make that effort now.

Cheers

Mike



I guess you might have /var/www/trac/htdocs/site/myproject if you nested
a myproject directory in $env/htdocs.
Â


(3) Adjust 58em; to something wider as desired and refresh your page!

Cheers

Mike


To reiterate since my previous message was formatted badly, I just want
to note that all those steps are documented:
https://trac.edgewall.org/wiki/CookBook/SiteStyleCss#Unlimitedticketwidth
https://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearanceÂ

I recently reworked the documentation on Alias following discussion many
months ago. Basically, subject to a few caveats that have been
documented, you can use a single Alias directive:

Alias /chrome /var/www/trac/htdocs

See https://trac.edgewall.org/wiki/TracInstall#MappingStaticResources
for more info.

--
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
<mailto:trac-users+unsubscr...@googlegroups.com>.
To post to this group, send email to trac-users@googlegroups.com
<mailto:trac-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Expanding the width of the TRAC ticket form

2016-05-24 Thread Mike Dewhirst

On 25/05/2016 1:25 PM, mx.t...@qq.com wrote:

But I did not act according to the configuration you provide links
I have added two directory style file, but no action

/home/projects/xxx/htdocs/style.css
/usr/share/trac/htdocs/site/style.css

|
[root@host105 ~]# cat /usr/share/trac/htdocs/site/style.css
#content.ticket {
 width: auto;
 max-width: 100%;
}
|



I'm sure that will work. But what will happen next time you upgrade Trac 
if you forget you have done this?


To avoid problems of an update overwriting your good work you need to 
contain your css changes completely in files which don't get 
overwritten. You need your own css file and make your own site.html load 
that css.


Mike


/home/projects/xxx This is the directory of my project initialization
/usr/share/trac        This is my initialization wsgi directory

在 2016å¹´5月17日星期二 UTC+8ä¸Šå ˆ5:43:20,RjOlloså†™é “ï¼š




From: mailin...@gmail.com 
Sent: Monday, May 16, 5:40 PM
Subject: [Trac] Expanding the width of the TRAC ticket form
To: Trac Users

Does anyone know the setting which needs to be changed to expand the
width of the actual TRAC ticket form. Â I have attached a pic of
what I'd like to expand. Â There is so much whitespace around the
actual ticket.








--
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+...@googlegroups.com .
To post to this group, send email to trac-...@googlegroups.com
.
Visit this group at https://groups.google.com/group/trac-users
.
For more options, visit https://groups.google.com/d/optout
.


From: mailin...@gmail.com 
Sent: Monday, May 16, 5:40 PM
Subject: [Trac] Expanding the width of the TRAC ticket form
To: Trac Users

Does anyone know the setting which needs to be changed to expand the
width of the actual TRAC ticket form. Â I have attached a pic of
what I'd like to expand. Â There is so much whitespace around the
actual ticket.

See :
https://trac.edgewall.org/wiki/CookBook/SiteStyleCss#Unlimitedticketwidth


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Expanding the width of the TRAC ticket form

2016-05-16 Thread Mike Dewhirst

On 17/05/2016 7:43 AM, Ryan Ollos wrote:




From: mailinglis...@gmail.com
Sent: Monday, May 16, 5:40 PM
Subject: [Trac] Expanding the width of the TRAC ticket form
To: Trac Users

Does anyone know the setting which needs to be changed to expand the
width of the actual TRAC ticket form.  I have attached a pic of what I'd
like to expand.  There is so much whitespace around the actual ticket.


(1) In /var/www/trac/myproject/templates/site.html ...

  
  
${select('*|comment()|text()')}

  

That will insert myproject.css into the page *after* all the trac css.


(2) In /var/www/trac/htdocs/site/myproject/myproject.css ...

#content.ticket {

 width: 58em;

 max-width: 100%;

 margin-left: auto;

 margin-right: auto;

}


I copied this stanza from /var/www/trac/htdocs/common/css/ticket.css 
which I found by looking in my Apache trac_vhost.conf where I saw ...


Alias /chrome/common /var/www/trac/htdocs/common
Alias /chrome/site /var/www/trac/htdocs/site/myproject

(3) Adjust 58em; to something wider as desired and refresh your page!

Cheers

Mike














--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


From: mailinglis...@gmail.com
Sent: Monday, May 16, 5:40 PM
Subject: [Trac] Expanding the width of the TRAC ticket form
To: Trac Users

Does anyone know the setting which needs to be changed to expand the
width of the actual TRAC ticket form.  I have attached a pic of what I'd
like to expand.  There is so much whitespace around the actual ticket.

See :
https://trac.edgewall.org/wiki/CookBook/SiteStyleCss#Unlimitedticketwidth

--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: Environment variable PKG_RESOURCES_CACHE_ZIP_MANIFESTS

2015-07-30 Thread Mike Dewhirst

On 31/07/2015 8:18 AM, Ryan Ollos wrote:

On Thu, Jul 30, 2015 at 12:13 PM, bcostacurta bcostacu...@gmail.com
mailto:bcostacu...@gmail.com wrote:

Hi Ryan,

I did not test the ~/.profile.d you mentioned and refered in the
Trac forums
However I find this confusing : to which user does the ~ refers to ?


You'd either put the export statement in ~/.profile, or a script with
the export statement in /etc/profile.d

In the case of the former, ~ would be the home directory of whatever
user you are running tracd under. I guess this wouldn't work in the case
of running Apache webserver with user www-data.


It seems (in Ubuntu server) you can export environment variables for 
www-data in Apache's own envvars file.


Maybe this is global and can't be used for vhosts. But maybe vhost 
envvars files can be used? I'm not an Apache person.


Is there any reason to avoid this?

Thanks

Mike



I haven't tested whether a script in /etc/profile.d that exported the
variable would be visible to user www-data.

--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


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


Re: [Trac] How to test email notifications in local system ? Especially Mail2Trac and Email2Trac plugin ?

2015-02-04 Thread Mike Dewhirst

On 5/02/2015 3:09 AM, Sri Ram Kannan wrote:

I do not know how to configure SMTP server to send emails from the trac
(installed in my localhost) to receive emails ?



Here is an excerpt from one of my shell scripts used to prepare servers. 
The link explains all. Thank you David Grant ...


# 
http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu 
###

#
#sudo apt-get install postfix
#
# always uncomment the following two lines as a pair
#sudo dpkg-reconfigure postfix
#sudo /etc/init.d/postfix reload
#
#sudo apt-get install mailutils
#sudo nano /etc/aliases
#
# add aliases for local users - root, postmaster and mike
#
#sudo newaliases
#
# echo testing |mail -s sending internal mike
# and ensure return-path in the email points to a valid address for bounces
#

This works.

Mike

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


Re: [Trac] How to test email notifications in local system ? Especially Mail2Trac and Email2Trac plugin ?

2015-02-04 Thread Mike Dewhirst
Sorry - I didn't see the other similar thread with answers already 
supplied by Matthew.


Please disregard my response.

Mike


On 5/02/2015 8:50 AM, Mike Dewhirst wrote:

On 5/02/2015 3:09 AM, Sri Ram Kannan wrote:

I do not know how to configure SMTP server to send emails from the trac
(installed in my localhost) to receive emails ?



Here is an excerpt from one of my shell scripts used to prepare servers.
The link explains all. Thank you David Grant ...

#
http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu
###
#
#sudo apt-get install postfix
#
# always uncomment the following two lines as a pair
#sudo dpkg-reconfigure postfix
#sudo /etc/init.d/postfix reload
#
#sudo apt-get install mailutils
#sudo nano /etc/aliases
#
# add aliases for local users - root, postmaster and mike
#
#sudo newaliases
#
# echo testing |mail -s sending internal mike
# and ensure return-path in the email points to a valid address for bounces
#

This works.

Mike



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


Re: [Trac] How to test email notifications in local system ? Especially Mail2Trac and Email2Trac plugin ?

2015-02-04 Thread Mike Dewhirst

On 5/02/2015 10:00 AM, Sri Ram Kannan wrote:

Thank you mike.

I have installed postfix which the following options:

*General type of mail configuration: Local only
Postfix Configuration: user-VirtualBox (Machine name)
Root and Poostmaster mail recipient: root *

Then the rest are default values.

Am I right ?


Sri

You seem to be configuring a non-standard sort of setup and I can't 
really help you. I suggest you document your steps and proceed by 
testing different configurations. Trial and error you might say.


Good luck

Mike




  I'm doing this is to test the email generated by trac when a new
ticket is created.

Those generated emails must be viewed only from my local machine and If
reply back to the sender of auto generated mail, then *email2trac or
mail2trac plugin* must trigger up .
And it should find the*reply content* to post it as *comment* in the
ticket page. I should do all the operations internally (in my local
machine) without any connection to the outside world using internet.

Awaiting for your reply. Thanks a ton.

Regards,
Sri.

On Wednesday, February 4, 2015 at 5:34:53 PM UTC-5, Mike Dewhirst wrote:

On 5/02/2015 9:05 AM, Sri Ram Kannan wrote:
  Thanks Mike.
 
  While installing postfix, it prompts for domain name .. I dont have
  one.. Should I give localhost as my domain ?

Maybe? If that doesn't succeed you can run dpkg-configure again and try
your machine's name or an invented name or an existing name.

 
  I'm new to mail server concepts therefore, pls guide me on
installing a
  mail server.
 
  Regards,
  Sri.
 
  On Wednesday, February 4, 2015 at 4:50:18 PM UTC-5, Mike Dewhirst
wrote:
 
  On 5/02/2015 3:09 AM, Sri Ram Kannan wrote:
I do not know how to configure SMTP server to send emails
from
  the trac
(installed in my localhost) to receive emails ?
   
 
  Here is an excerpt from one of my shell scripts used to prepare
  servers.
  The link explains all. Thank you David Grant ...
 
  #
 
http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu

http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu

 
http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu

http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu

 
  ###
  #
  #sudo apt-get install postfix
  #
  # always uncomment the following two lines as a pair
  #sudo dpkg-reconfigure postfix
  #sudo /etc/init.d/postfix reload
  #
  #sudo apt-get install mailutils
  #sudo nano /etc/aliases
  #
  # add aliases for local users - root, postmaster and mike
  #
  #sudo newaliases
  #
  # echo testing |mail -s sending internal mike
  # and ensure return-path in the email points to a valid
address for
  bounces
  #
 
  This works.
 
  Mike
 
  --
  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+...@googlegroups.com
  mailto:trac-users+unsubscr...@googlegroups.com.
  To post to this group, send email to trac-...@googlegroups.com
  mailto:trac-...@googlegroups.com.
  Visit this group at http://groups.google.com/group/trac-users
http://groups.google.com/group/trac-users.
  For more options, visit https://groups.google.com/d/optout
https://groups.google.com/d/optout.

--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


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


Re: [Trac] How to test email notifications in local system ? Especially Mail2Trac and Email2Trac plugin ?

2015-02-04 Thread Mike Dewhirst

On 5/02/2015 9:05 AM, Sri Ram Kannan wrote:

Thanks Mike.

While installing postfix, it prompts for domain name .. I dont have
one.. Should I give localhost as my domain ?


Maybe? If that doesn't succeed you can run dpkg-configure again and try 
your machine's name or an invented name or an existing name.




I'm new to mail server concepts therefore, pls guide me on installing a
mail server.

Regards,
Sri.

On Wednesday, February 4, 2015 at 4:50:18 PM UTC-5, Mike Dewhirst wrote:

On 5/02/2015 3:09 AM, Sri Ram Kannan wrote:
  I do not know how to configure SMTP server to send emails from
the trac
  (installed in my localhost) to receive emails ?
 

Here is an excerpt from one of my shell scripts used to prepare
servers.
The link explains all. Thank you David Grant ...

#
http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu

http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu

###
#
#sudo apt-get install postfix
#
# always uncomment the following two lines as a pair
#sudo dpkg-reconfigure postfix
#sudo /etc/init.d/postfix reload
#
#sudo apt-get install mailutils
#sudo nano /etc/aliases
#
# add aliases for local users - root, postmaster and mike
#
#sudo newaliases
#
# echo testing |mail -s sending internal mike
# and ensure return-path in the email points to a valid address for
bounces
#

This works.

Mike

--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


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


Re: [Trac] Re: trac still being actively developed?

2014-10-22 Thread Mike Dewhirst

Many thanks Ryan

Cheers

Mike

On 22/10/2014 5:20 PM, Ryan Ollos wrote:

On Tue, Oct 21, 2014 at 8:49 PM, Mike Dewhirst mi...@dewhirst.com.au
mailto:mi...@dewhirst.com.au wrote:

On 22/10/2014 9:56 AM, Ryan Ollos wrote:

On Tue, Oct 21, 2014 at 3:51 PM, W. Martin Borgert
deba...@debian.org mailto:deba...@debian.org
mailto:deba...@debian.org mailto:deba...@debian.org wrote:

    On 2014-10-21 15:35, RjOllos wrote:
     What other cloud services do you have in mind?

    Not cloud, but: It would be great to have a Buildbot view
in Trac.


Have you had a chance to try out?:Â
http://trac-hacks.org/wiki/__TracBuildbotIntegration
http://trac-hacks.org/wiki/TracBuildbotIntegration

Evaluating the plugin has been on my todo list for a while.


Seems to have been packaged for Python 2.4

I just tried to install it from within Trac-admin plugins and
nothing seemed to happen. No errors. No sign of it.

I'm using Trac-1.0.1-py2.7 ...

Trac    1.0.1
Babel   0.9.6
Docutils        0.9.1
Genshi  0.7 (without speedups)
mod_wsgi        3.3 (WSGIProcessGroup WSGIApplicationGroup
%(GLOBAL))
Pygments        1.4
pysqlite        2.6.0
Python  2.7.3 (default, Feb 27 2014, 20:09:21) [GCC 4.6.3]
pytz    2012d
setuptools      5.4.1
SQLite  3.7.9
Subversion      1.6.17 (r1128011)

and ...

Buildbot: 0.8.5
Twisted: 11.1.0
Jinja: 2.6
Python: 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3]
Buildmaster platform: linux2

I would like to try it out as well - but no luck at my first attempt.

Thanks for any hints.

Mike


You can build an egg following the steps at:
http://trac.edgewall.org/wiki/TracPlugins#InstallingaTracplugin

The plugin seems to load in Trac 1.0.2beta1. It will only work with
BuildBot = 0.8.1 due to the changes in:Â
http://trac.buildbot.net/ticket/832. We'll need to adapt the plugin to
the JSON interface.
https://trac-hacks.org/ticket/12027

--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


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


Re: [Trac] Trac, Ubuntu and svn (no changeset 0)

2014-10-22 Thread Mike Dewhirst

On 22/10/2014 11:30 PM, Jeff Skyrunner wrote:

Good morning everybody.

I've searched everywhere without finding an appropriate solution, ad I
hope you can help me.

 1. I've followed this guide
(http://trac.edgewall.org/wiki/Ubuntu-11.04-Subversion) step by
step, except the Automatic reference to the SVN changesets in Trac
tickets, since for the moment I don't care about it;
 2. I've made the svn update command
in  /var/​lib/​svn/​YourProject  (without this step svn didn't
create the .svn folder)
 3. I've added the line

[components]
tracopt.versioncontrol.svn.* = enabled

in trac.ini
 4. I've entered the admin/Repository section in trac
(http://127.0.0.1:12345/YourProject/admin/versioncontrol/repository)
 5. I've set the repository (default) with
the /var/​lib/​svn/​YourProject folder


I think you need to synchronise Trac with the repo. I'm no expert but I 
seem to recall doing this in the distant past.


http://trac.edgewall.org/wiki/TracAdmin

Further down that page are the available commands and you are looking 
for ...


repository resync repos [rev]

repository sync repos [rev]

Cheers

Mike



 6. I've clicked the Browse source button and... No changeset 0 in
the repository


Really I cannot imagine what can be wrong...

Can anybody help me, please?

I've been banging my head on the wall for 3 weeks now

Many thanks in advance

--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


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


Re: [Trac] Re: trac still being actively developed?

2014-10-21 Thread Mike Dewhirst

On 22/10/2014 9:56 AM, Ryan Ollos wrote:

On Tue, Oct 21, 2014 at 3:51 PM, W. Martin Borgert deba...@debian.org
mailto:deba...@debian.org wrote:

On 2014-10-21 15:35, RjOllos wrote:
 What other cloud services do you have in mind?

Not cloud, but: It would be great to have a Buildbot view in Trac.


Have you had a chance to try out?:Â
http://trac-hacks.org/wiki/TracBuildbotIntegration

Evaluating the plugin has been on my todo list for a while.


Seems to have been packaged for Python 2.4

I just tried to install it from within Trac-admin plugins and nothing 
seemed to happen. No errors. No sign of it.


I'm using Trac-1.0.1-py2.7 ...

Trac1.0.1
Babel   0.9.6
Docutils0.9.1
Genshi  0.7 (without speedups)
mod_wsgi3.3 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments1.4
pysqlite2.6.0
Python  2.7.3 (default, Feb 27 2014, 20:09:21) [GCC 4.6.3]
pytz2012d
setuptools  5.4.1
SQLite  3.7.9
Subversion  1.6.17 (r1128011)

and ...

Buildbot: 0.8.5
Twisted: 11.1.0
Jinja: 2.6
Python: 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3]
Buildmaster platform: linux2

I would like to try it out as well - but no luck at my first attempt.

Thanks for any hints.

Mike



--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


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


Re: [Trac] field labels [Was: owner or developer]

2014-08-22 Thread Mike Dewhirst

Peter

I haven't given up but I haven't had time to focus on it yet. Thanks for 
your suggestions.


My original plan was to write a new class which returned field labels so 
all translations could be done in one place. But now I'm thinking it 
might be simpler to just get the field.label value from the trac.ini 
mixin wherever it is needed.


Cheers

Mike

On 7/08/2014 5:00 AM, Peter Suter wrote:

On 06.08.2014 07:56, Mike Dewhirst wrote:

I have not found access to trac.ini values without deliberately finding
the file and reading it. I'm sure there must be an object in ticket.api
with the necessary data or which could be persuaded to get it. If you
can help I would appreciate it. And that would let me clean it all up
and offer a patch.


Any Trac Component has the entire trac.ini Configuration available in
self.config.

Specific options are often declared and hence available as `Option`
attributes on some Component e.g. `TicketSystem.default_version`
corresponds to trac.ini [ticket] default_version=...

Similarly, `TicketSystem.ticket_custom_section` corresponds to the
entire trac.ini [ticket-custom] section.

So to allow relabelling any standard ticket field via trac.ini:
[ticket-custom]
cc.label=Stakeholders
owner.label=Developer

I had something like this patch in mind:
{{{

diff -r 47a8451d3eab trac/ticket/api.py
--- a/trac/ticket/api.pyWed Aug 06 10:46:49 2014 +
+++ b/trac/ticket/api.pyWed Aug 06 20:49:52 2014 +0200
@@ -373,6 +373,11 @@
  fields.append({'name': 'changetime', 'type': 'time',
 'format': 'relative', 'label': N_('Modified')})

+for field in fields:
+key = field['name'] + '.label'
+if key in self.ticket_custom_section:
+field['label'] = self.ticket_custom_section.get(key)
+
  for field in self.custom_fields:
  if field['name'] in [f['name'] for f in fields]:
  self.log.warning('Duplicate field name %s (ignoring)',

}}}


Other issues/work of concern include:

1. Translations of new labels
2. Documentation
3. Work required in site.html  (I could offer a new site.html.sample
with the necessary items in there but commented out. Might be
independently useful anyway.)


Yes, unfortunately I now realize that this simple patch only does part
of the job, and a general solution might have too many complications for
translations etc.



[5]
http://trac.edgewall.org/browser/trunk/trac/ticket/api.py?version=12992marks=291-310,316-391#L291





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


Re: [Trac] Re: owner or developer

2014-08-04 Thread Mike Dewhirst

Peter

Thanks for those links. I'll do some thinking ...

Cheers

Mike

On 4/08/2014 3:35 PM, Peter Suter wrote:

On 04.08.2014 00:53, Mike Dewhirst wrote:

I'll look at forking Trac for a while with a view to parameterising so
the owner can be replaced with developer in trac.ini

It seems my problem isn't unique so it might be useful in the longer
term (no pun intended).


Similar existing features are relabelling the navigation menu[1][2]:

[mainnav]
wiki.label = Home

And labelling the custom ticket fields[3][4]:

[ticket-custom]
relnotes = textarea
relnotes.label = Release notes

Also the labels for standard ticket fields are already nicely
centralized in TicketSystem.fields / get_ticket_field_labels() [5].
So if you can nicely extend that to a similar simple reconfiguration of
all standard ticket fields, I could imagine that such a patch would be
gladly accepted.

[1] http://trac.edgewall.org/wiki/TracNavigation
[2]
http://trac.edgewall.org/browser/trunk/trac/web/chrome.py?version=12992marks=737#L730

[3] http://trac.edgewall.org/wiki/TracTicketsCustomFields
[4]
http://trac.edgewall.org/browser/trunk/trac/ticket/api.py?version=12992marks=412#L400

[5]
http://trac.edgewall.org/browser/trunk/trac/ticket/api.py?version=12992marks=291-310,316-391#L291




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


Re: [Trac] Re: owner or developer

2014-08-03 Thread Mike Dewhirst

On 1/08/2014 5:52 PM, RjOllos wrote:



On Thursday, July 31, 2014 4:02:25 AM UTC-7, Mike Dewhirst wrote:

I have a problem with the terminology used in Trac and I wonder how to
fix it so it makes sense to me.

In Trac out of the box ...

Owner is the developer to whom the ticket is assigned for work.

In my project ...

Owner is the person who wants the ticket payload - the fixed bug or
the enhancement - IOW the person who accepts or rejects the payload.

So the fix seems to me to change the Trac Owner to Developer
(presumably in the template) and add another field/column for my
project's owner, perhaps customer.

However, it looks like a major adjustment and maybe going against the
flow because I need to use the workflow plugin

Does anyone have any ideas?

Thanks

Mike



You can use an ITemplateStreamFilter to replace Owner with
Developer. See example here:
https://groups.google.com/d/msg/trac-users/EOfAlxo-dMc/yjMQ3m7-nXYJ


Ok got it  - or at least some of it.

This worked in site.html ...

py:match path=//th[@id='h_owner']
  th id=h_ownerDeveloper:/th
/py:match

BUT

The next problem is a hint generated by default_workflow.py. It contains 
the dreaded words The owner will be changed in four places and in each 
and is added the userid(s) of the owner(s) concerned.


I have had a look at XPath and there is py:replace but it wants to 
replace an entire string. It doesn't seem to permit what I want.


Maybe I should write a tool to patch the source so at least I can run it 
each time I update trac.


Is there another way?

Thanks

Mike

snip




--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


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


Re: [Trac] Re: owner or developer

2014-08-02 Thread Mike Dewhirst

On 1/08/2014 5:52 PM, RjOllos wrote:


On Thursday, July 31, 2014 4:02:25 AM UTC-7, Mike Dewhirst wrote:

I have a problem with the terminology used in Trac and I wonder how to
fix it so it makes sense to me.

In Trac out of the box ...

Owner is the developer to whom the ticket is assigned for work.

In my project ...

Owner is the person who wants the ticket payload - the fixed bug or
the enhancement - IOW the person who accepts or rejects the payload.



snip



You can use an ITemplateStreamFilter to replace Owner with
Developer. See example here:
https://groups.google.com/d/msg/trac-users/EOfAlxo-dMc/yjMQ3m7-nXYJ



Ryan

I tried following that example unsuccessfully. However in working 
through the docs from there I was able to get my own css file working 
and also added text to new tickets[1]


So all I want to do now is change Owner to Developer wherever it 
appears. That includes the label text for (presumably) h_owner and in 
the workflow section and assigning to a new Owner.


I reckon I could do the Cc: by myself if you can show me how to change 
owner :)


Thank you kind sir

Cheers

Mike

[1] form py:match=div[@id='content' and @class='ticket']/form 
py:attrs=select('@*')
  py:if test=req.environ['PATH_INFO'] == '/newticket' and (not 
'preview' in req.args)
pPlease make sure to search for existing tickets before reporting 
a new one!/p

  /py:if
  ${select('*')}
/form



snip

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


Re: [Trac] Re: owner or developer

2014-08-01 Thread Mike Dewhirst

On 1/08/2014 5:52 PM, RjOllos wrote:



On Thursday, July 31, 2014 4:02:25 AM UTC-7, Mike Dewhirst wrote:

I have a problem with the terminology used in Trac and I wonder how to
fix it so it makes sense to me.

In Trac out of the box ...

Owner is the developer to whom the ticket is assigned for work.

In my project ...

Owner is the person who wants the ticket payload - the fixed bug or
the enhancement - IOW the person who accepts or rejects the payload.

So the fix seems to me to change the Trac Owner to Developer
(presumably in the template) and add another field/column for my
project's owner, perhaps customer.

However, it looks like a major adjustment and maybe going against the
flow because I need to use the workflow plugin

Does anyone have any ideas?

Thanks

Mike



You can use an ITemplateStreamFilter to replace Owner with
Developer. See example here:
https://groups.google.com/d/msg/trac-users/EOfAlxo-dMc/yjMQ3m7-nXYJ


Ryan

Had a quick look and that seems a good start. I'm happy to change Trac's 
owner into Developer because that doesn't change any meaning as far as 
I'm concerned.


I also looked at those two tickets you mentioned and I reckon I should 
wait and see.


I'm now thinking the Cc: field might be what I'm looking for anyway. If 
the dev adds a comment or resolves the ticket as testing (as per the 
workflow) my owners for that ticket in Cc: will get an email anyway. For 
example, if the dev has a question, it can be added as a comment and 
they will all be able to respond. The dev might have to give out an 
email address to respond to though.


I would love to keep it simple.

Thanks

Mike



In the future we might have am ICustomFieldTypeProvider interface that
would allow new custom field types to be defined. That would allow for a
restricted list of valid users type, which could be a select list
containing the list of users with valid sessions (it would be like the
owner field in the ticket workflow when [ticket] restrict_owner = true).
That might help with defining your customer ticket field.
http://trac.edgewall.org/ticket/11469#comment:4

For now, you may be right that using the workflow is the better way to
accomplish this. A related enhancement might support assigning a value
to a field in a workflow action (e.g. your customer field).
http://trac.edgewall.org/ticket/11452

--
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
mailto:trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto: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.


--
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] owner or developer

2014-07-31 Thread Mike Dewhirst
I have a problem with the terminology used in Trac and I wonder how to 
fix it so it makes sense to me.


In Trac out of the box ...

Owner is the developer to whom the ticket is assigned for work.

In my project ...

Owner is the person who wants the ticket payload - the fixed bug or 
the enhancement - IOW the person who accepts or rejects the payload.


So the fix seems to me to change the Trac Owner to Developer 
(presumably in the template) and add another field/column for my 
project's owner, perhaps customer.


However, it looks like a major adjustment and maybe going against the 
flow because I need to use the workflow plugin


Does anyone have any ideas?

Thanks

Mike

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


Re: [Trac] Trac Wiki

2013-11-26 Thread Mike Dewhirst

On 27/11/2013 5:39am, Stuart Cracraft wrote:

Hi,

I need to maintain a page at Trac Wiki for some project document
requirements.

To me, Trac Wiki is non-intuitive.

Where is the Trac Wiki beginner's doc?


My Trac Wiki is on my own server and the documentation link is on the 
right of the screen just above the main menu near the top of the page. 
Look for Help/Guide beneath the search box.


If you click that link it takes you to The Trac User and Administration 
Guide. You should see a Table of Contents on the right.


I mention all this because, being a wiki on your own server, you can 
alter the content to make it more intuitive for yourself and/or your users.


I encourage you to do that and when you are happy with it offer it back 
to the community.


As it happens you have a golden opportunity to improve the Help/Guide by 
writing a specific beginner's guide - because you are currently looking 
at it with the fresh eyes of a newcomer to Trac. That only happens once 
for everyone.


Something I found useful making my own documentation in the wiki was the 
link at the bottom of each page to download the page as plain text. 
Someone here suggested that when I asked how replicate a particular 
effect. Can't remember who it was but I hope I thanked him/her.


Cheers

Mike




Stuart

--
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/groups/opt_out.


--
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/groups/opt_out.


Re: [Trac] Install and Settings email2trac - Not user friendly(IMHO)

2013-06-27 Thread Mike Dewhirst

On 27/06/2013 5:43pm, W. Martin Borgert wrote:

On 2013-06-26 16:20, ivanelson wrote:

Your solution solved my problem. The plugin is installed, configured and
Ticket are created.

...

I just can not define default values for the Ticket.


I'm not sure how to do this. I assume, that the defaults for
tickets in my instance are defined correctly in trac, so that
there is no need to overwrite them in email2trac. (I configured
the system some years ago and forgot many details...)


My /etc/aliaes

# Other aliases

bananasoft: |/usr/bin/email2trac --project=bananasoft


Note, that in my setup, I'm not using the /etc/aliases file at
all. Not sure, whether you really need it. Probably not, if you
fetch the mail from IMAP and forward it directly to email2trac
via getmail. The /etc/aliases is useful, when you are not using
getmail, IIRC.


You also need to ensure that any bounces go to an email address which is 
monitored. /etc/aliases are useful for that as well.





Cheers



--
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/groups/opt_out.




Thanks: [Trac] Re: trac release notes system

2013-06-26 Thread Mike Dewhirst

On 27/06/2013 3:47am, RjOllos wrote:

On Monday, June 24, 2013 6:35:09 AM UTC-7, Mike Dewhirst wrote:

I really like the release notes page ...

http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0
http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0

... and I would love to be able to do something similar if not
identical
for my own project.

How did you set that up?


If you scroll to the bottom of the page, there is a link:

Download in other formats:
Plain Text

Viewing the page in plain text will allow you to see the markup used on
the page, including the macro calls.


That is magic! I would never have found the time to figure all that out.

Thank you for sharing ... :-)

Cheers

Mike





--
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/groups/opt_out.




--
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/groups/opt_out.




Re: [Trac] Add line to new ticket notify

2013-06-25 Thread Mike Dewhirst

On 25/06/2013 5:12pm, Frank Murphy wrote:

Possibly stupid question
trac version .12.4
(https://fedorahosted.org/freemedia/about)

How can I add the following:

Please Read:
https://fedoraproject.org/wiki/FreeMedia?rd=Distribution/FreeMedia#How_FreeMedia_Works
=

To the email that is sent out when new ticket is created,


You need ticket_notify_email.txt in the templates directory of your 
environment.


http://trac.edgewall.org/wiki/TracNotification

Mike






--
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/groups/opt_out.




Re: [Trac] Install and Settings email2trac - Not user friendly(IMHO)

2013-06-25 Thread Mike Dewhirst

On 26/06/2013 8:18am, Ivanelson Nunes wrote:

I did the installation and configuration by following this [1]site.


Try this:

http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu

It worked for me :)

Mike




My problem is that I do not understand where I set up a mail account
that will receive the messages. And say where these messages should be a
Ticket?

Now do not get it where I can configure the e-mail that will receive the
messages and then create the new ticket.

My OS is Ubuntu 12.10 and Trac 1.0. I've tried to configure Postfix and
Fetchmail.

Still do not understand how to configure the MTA :(

[1] https://subtrac.sara.nl/oss/email2trac

Reference:
https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracInstallation
https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracMta


@ivanelson
[]s

--
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/groups/opt_out.




--
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/groups/opt_out.




Re: [Trac] release notes

2013-06-25 Thread Mike Dewhirst

On 26/06/2013 6:57am, Steffen Hoffmann wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 25.06.2013 00:54, Mike Dewhirst wrote:

On 25/06/2013 3:54am, Steffen Hoffmann wrote:

The maintainer is a respected developer and long-term member of Trac
core developer team, so why not just try it?

I did and it did work and I thank you.

Great. You're welcome.


I took the 0.11 branch code, and it works with Trac 1.0.1, all unit
tests pass, so I tagged plugin's wiki page accordingly now.

Keeping track of documentation is a pain. Is there a tool to export
source code triple-quote comments directly to a TrakWiki page?

You can see ApiDocs at work on trac.edgewall.org, but I'm not aware of
anything more specifically targeting wiki content updates. Actually I
don't think it is that hard at all. Lazy developers will get either
supported by caring user's supplemental wiki edits, punished by
not-so-much-caring user's defect tickets against documentation or get
their plugin dumped by even less caring users due to sub-standard docs
in the first place.

IMHO you can hardly make it much easier than wiki - collaborative docs
for experts and geeks, can't you?


Agreed. I'll wait for a business case to pop up before thinking about 
this again :)


Mike



Steffen Hoffmann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHKBFQACgkQ31DJeiZFuHdu7QCg1PaCsi83sj2Zgg3emQoWyffB
gHsAn1jc6J3TXRKi7/DqEk7GSnAJn0zI
=o0ce
-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/groups/opt_out.




[Trac] trac release notes system

2013-06-24 Thread Mike Dewhirst

I really like the release notes page ...

http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0

... and I would love to be able to do something similar if not identical 
for my own project.


How did you set that up?

I just got a couple of ticket custom fields working (release_note and 
revision) hoping eventually to produce a nice report based on the 
release notes for all tickets included in a particular revision.


It looks like you have already done the work. Can you offer any hints?

Maybe I can write up some howto documentation if you haven't done so?

Thanks

Mike


--
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/groups/opt_out.




[Trac] default tickets query

2013-06-24 Thread Mike Dewhirst
How can I adjust the default query (not report) which runs when *anyone* 
clicks the View Tickets link?


I have tried a few things and discovered a number of Trac tickets 
discussing this but nothing definitive.


Is it possible to tweak the default?

I'm running Trac 1.01 with Python 2.7 on Ubuntu 12.04 with the report 
module disabled.


Thanks

Mike

--
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/groups/opt_out.




Re: [Trac] release notes

2013-06-24 Thread Mike Dewhirst

On 25/06/2013 3:54am, Steffen Hoffmann wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24.06.2013 04:16, Mike Dewhirst wrote:

On 10/06/2013 4:59am, W. Martin Borgert wrote:

Adding text field to Trac ticket is really easy, if you have the
TracCustomFieldAdmin plugin installed (in Debian it is called
trac-customfieldadmin). Just go to Admin - Ticket System -
Custom Fields, enter the name rel_note of type Textarea,
label Release Notes, maybe set the format to wiki and you're
done. Without the plugin, you have to add the field to your
trac.ini file, which is not very difficult neither:
http://trac.edgewall.org/wiki/TracTicketsCustomFields


I would prefer to use the plugin but I'm running Trac 1.0 and the plugin
says 0.11 so I'm not sure whether to attempt it. I can't see any
reference to 1.0 compatibility in the wiki page documentation.

Will TracCustomFieldAdmin work in Trac 1.0?


You mean CustomFieldAdminPlugin [1]?


Yes, sorry.



The maintainer is a respected developer and long-term member of Trac
core developer team, so why not just try it?


I did and it did work and I thank you.



I took the 0.11 branch code, and it works with Trac 1.0.1, all unit
tests pass, so I tagged plugin's wiki page accordingly now.


Keeping track of documentation is a pain. Is there a tool to export 
source code triple-quote comments directly to a TrakWiki page?


Mike



Steffen Hoffmann


[1] http://trac-hacks.org/wiki/CustomFieldAdminPlugin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHIh7UACgkQ31DJeiZFuHeyxQCg3K697/aEBqB6XokClVHnMqoZ
rPoAnRnzpmyHdk8hj/Ja+227C0paFkkC
=f5Rv
-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/groups/opt_out.




Solved: [Trac] default tickets query

2013-06-24 Thread Mike Dewhirst

On 25/06/2013 4:54am, Steffen Hoffmann wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24.06.2013 15:56, Mike Dewhirst wrote:

How can I adjust the default query (not report) which runs when *anyone*
clicks the View Tickets link?

I have tried a few things and discovered a number of Trac tickets
discussing this but nothing definitive.

Is it possible to tweak the default?

I'm running Trac 1.01 with Python 2.7 on Ubuntu 12.04 with the report
module disabled.


Your TracWiki is your friend, see TracIni [1]. Use the
'default_anonymous_query' option in '[query]' section of your trac.ini.


Thank you - working nicely :)




Steffen Hoffmann


[1] http://trac.edgewall.org/wiki/TracIni
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAlHIlesACgkQ31DJeiZFuHe1lQCWLyc8kUGDv6zUwJs4C3aqXJuB
9ACfVa1IkSqVVUpQFH/+4v8tie01KOQ=
=SydI
-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/groups/opt_out.




Re: [Trac] default tickets query

2013-06-24 Thread Mike Dewhirst

On 25/06/2013 3:44am, Robin Pellatt wrote:

You can put something like this in your trac ini file to build up a
query on the fly:

[mainnav]
tickets.href = /query?priority=blocker


I tried all sorts of things in [mainnav] tickets.href yesterday but got 
distracted by the discussion in a couple of tickets about enabling 
reports to get the save button etc etc. Anyway, we are now comfortably 
back on the rails with [query] default_anonymous_query and default_query


Thank you

Mike




See documentation here: http://trac.edgewall.org/wiki/TracNavigation.
  The example given is for reports, but the above also works.


Regards,
Robin


On 24 June 2013 15:56, Mike Dewhirst mi...@dewhirst.com.au
mailto:mi...@dewhirst.com.au wrote:

How can I adjust the default query (not report) which runs when
*anyone* clicks the View Tickets link?

I have tried a few things and discovered a number of Trac tickets
discussing this but nothing definitive.

Is it possible to tweak the default?

I'm running Trac 1.01 with Python 2.7 on Ubuntu 12.04 with the
report module disabled.

Thanks

Mike

--
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+unsubscribe@__googlegroups.com
mailto:trac-users%2bunsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com
mailto:trac-users@googlegroups.com.
Visit this group at http://groups.google.com/__group/trac-users
http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/__groups/opt_out
https://groups.google.com/groups/opt_out.



--
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/groups/opt_out.




--
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/groups/opt_out.




Re: [Trac] release notes

2013-06-23 Thread Mike Dewhirst

On 10/06/2013 4:59am, W. Martin Borgert wrote:

Adding text field to Trac ticket is really easy, if you have the
TracCustomFieldAdmin plugin installed (in Debian it is called
trac-customfieldadmin). Just go to Admin - Ticket System -
Custom Fields, enter the name rel_note of type Textarea,
label Release Notes, maybe set the format to wiki and you're
done. Without the plugin, you have to add the field to your
trac.ini file, which is not very difficult neither:
http://trac.edgewall.org/wiki/TracTicketsCustomFields


I would prefer to use the plugin but I'm running Trac 1.0 and the plugin 
says 0.11 so I'm not sure whether to attempt it. I can't see any 
reference to 1.0 compatibility in the wiki page documentation.


Will TracCustomFieldAdmin work in Trac 1.0?

Thanks

Mike

--
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/groups/opt_out.




Solved: [Trac] release notes

2013-06-23 Thread Mike Dewhirst

On 24/06/2013 12:16pm, Mike Dewhirst wrote:

On 10/06/2013 4:59am, W. Martin Borgert wrote:

Adding text field to Trac ticket is really easy, if you have the
TracCustomFieldAdmin plugin installed (in Debian it is called
trac-customfieldadmin). Just go to Admin - Ticket System -
Custom Fields, enter the name rel_note of type Textarea,
label Release Notes, maybe set the format to wiki and you're
done. Without the plugin, you have to add the field to your
trac.ini file, which is not very difficult neither:
http://trac.edgewall.org/wiki/TracTicketsCustomFields


I would prefer to use the plugin but I'm running Trac 1.0 and the plugin
says 0.11 so I'm not sure whether to attempt it. I can't see any
reference to 1.0 compatibility in the wiki page documentation.

Will TracCustomFieldAdmin work in Trac 1.0?


Yes! Tried it and it is now working. Thanks to Martin and rjollos and 
all concerned


:)

Mike


Thanks

Mike



--
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/groups/opt_out.




[Trac] release notes

2013-06-09 Thread Mike Dewhirst
A lot of people use commit comments to assemble release notes. I would 
prefer my stakeholders to write the release note at the same time as 
they specify a feature (or write up a bug) in a ticket.


I think it would become a high level success test for the developers and 
help them create and deliver more focused working code. It also forces 
the person writing the ticket to really think hard about what they want. 
And that is important.


S - what would be involved in having an extra text field in the Trac 
ticket which (in my case) could be labelled Release note?


Is it configurable in Trac or would it require development.

I'm just a (very grateful) user.

Thanks

Mike

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] release notes

2013-06-09 Thread Mike Dewhirst

On 10/06/2013 4:59am, W. Martin Borgert wrote:

On 2013-06-09 23:42, Mike Dewhirst wrote:

S - what would be involved in having an extra text field in the
Trac ticket which (in my case) could be labelled Release note?

Is it configurable in Trac or would it require development.


Adding text field to Trac ticket is really easy, if you have the
TracCustomFieldAdmin plugin installed (in Debian it is called
trac-customfieldadmin). Just go to Admin - Ticket System -
Custom Fields, enter the name rel_note of type Textarea,
label Release Notes, maybe set the format to wiki and you're
done. Without the plugin, you have to add the field to your
trac.ini file, which is not very difficult neither:
http://trac.edgewall.org/wiki/TracTicketsCustomFields



I have 60 or so tickets in the database atm so I'll study the plugin 
documentation before deciding which way to go.


Many thanks

Mike

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] release notes

2013-06-09 Thread Mike Dewhirst

On 10/06/2013 9:30am, RjOllos wrote:

On Sunday, June 9, 2013 11:59:49 AM UTC-7, W. Martin Borgert wrote:

On 2013-06-09 23:42, Mike Dewhirst wrote:
  S - what would be involved in having an extra text field in the
  Trac ticket which (in my case) could be labelled Release note?
 
  Is it configurable in Trac or would it require development.

Adding text field to Trac ticket is really easy, if you have the
TracCustomFieldAdmin plugin installed (in Debian it is called
trac-customfieldadmin). Just go to Admin - Ticket System -
Custom Fields, enter the name rel_note of type Textarea,
label Release Notes, maybe set the format to wiki and you're
done. Without the plugin, you have to add the field to your
trac.ini file, which is not very difficult neither:
http://trac.edgewall.org/wiki/TracTicketsCustomFields
http://trac.edgewall.org/wiki/TracTicketsCustomFields


Additionally, if you'd like a little preview of how this can be
implemented, you can checkout a ticket on trac.edgewall.org, such as,

http://trac.edgewall.org/ticket/10837


That is exactly what I was thinking. Although now you have pointed it 
out I can see I need to properly define my release notes procedures and 
visualise what the users will want to see before making any changes. 
Obviously, I'd better raise a ticket :)


Thanks

Mike





--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] query page filter defaults problem

2013-03-19 Thread Mike Dewhirst
I have a configuration problem. I would like the query page filters to 
default to showing all tickets rather than just my own.


I suspect the setting might be [search] default_disabled_filters but I'm 
not sure I understand the TracIni documentation of that setting.


Any assistance gratefully received

Thanks

Mike

System Information

Trac1.0
Babel   0.9.6
Docutils0.9.1
Genshi  0.6 (without speedups)
mod_wsgi3.3 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments1.4
pysqlite2.6.0
Python  2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3]
pytz2012d
setuptools  0.6
SQLite  3.7.9
Subversion  1.6.17 (r1128011)

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Re: query page filter defaults problem

2013-03-19 Thread Mike Dewhirst

Great!

Thanks Rj

Mike

On 20/03/2013 11:54am, RjOllos wrote:

On Tuesday, March 19, 2013 5:27:41 PM UTC-7, Mike Dewhirst wrote:

I have a configuration problem. I would like the query page filters to
default to showing all tickets rather than just my own.

I suspect the setting might be [search] default_disabled_filters but
I'm
not sure I understand the TracIni documentation of that setting.


I think you might need to set:

[query]
default_query

and see also the default_anonymous_query option.

http://trac.edgewall.org/wiki/TracIni#query-section

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] admin template not found

2012-11-01 Thread Mike Dewhirst
I just downloaded and (sudo python setup.py install) installed Trac 1.0 
stable. Now I can't get into Admin ...


What have I done wrong?

Thanks

Mike

Python Traceback
Most recent call last:

File /usr/local/lib/python2.7/dist-packages/trac/web/main.py, line 
497, in _dispatch_requestFile
/usr/local/lib/python2.7/dist-packages/trac/web/main.py, line 233, in 
dispatchFile
/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py, line 960, 
in render_templateFile
/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py, line 931, 
in load_templateFile
/usr/local/lib/python2.7/dist-packages/genshi/template/loader.py, line 
246, in load

  raise TemplateNotFound(filename, search_path)

System Information:
Trac1.0rc1
Babel   0.9.6 (translations unavailable)
Docutils0.9.1
Genshi  0.6 (without speedups)
mod_wsgi3.3 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments1.4
pysqlite2.6.0
Python  2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3]
pytz2012d
setuptools  0.6
SQLite  3.7.9
Subversion  1.6.17 (r1128011)

--
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] admin template not found

2012-11-01 Thread Mike Dewhirst

Sorry - I omitted the actual error in my message ...

 Trac detected an internal error:

TemplateNotFound: Template admin_basics.html not found

Mike


- - - - - -
I just downloaded and (sudo python setup.py install) installed Trac 1.0 
stable. Now I can't get into Admin ...


What have I done wrong?

Thanks

Mike

Python Traceback
Most recent call last:

File /usr/local/lib/python2.7/dist-packages/trac/web/main.py, line 
497, in _dispatch_requestFile
/usr/local/lib/python2.7/dist-packages/trac/web/main.py, line 233, in 
dispatchFile
/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py, line 960, 
in render_templateFile
/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py, line 931, 
in load_templateFile
/usr/local/lib/python2.7/dist-packages/genshi/template/loader.py, line 
246, in load

  raise TemplateNotFound(filename, search_path)

System Information:
Trac1.0rc1
Babel   0.9.6 (translations unavailable)
Docutils0.9.1
Genshi  0.6 (without speedups)
mod_wsgi3.3 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments1.4
pysqlite2.6.0
Python  2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3]
pytz2012d
setuptools  0.6
SQLite  3.7.9
Subversion  1.6.17 (r1128011)

--
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: admin template not found

2012-11-01 Thread Mike Dewhirst

All fixed. My bad. I didn't upgrade properly at first.

Mike

On 1/11/2012 5:40pm, Mike Dewhirst wrote:

Sorry - I omitted the actual error in my message ...

  Trac detected an internal error:

TemplateNotFound: Template admin_basics.html not found

Mike


- - - - - -
I just downloaded and (sudo python setup.py install) installed Trac 1.0
stable. Now I can't get into Admin ...

What have I done wrong?

Thanks

Mike

Python Traceback
Most recent call last:

File /usr/local/lib/python2.7/dist-packages/trac/web/main.py, line
497, in _dispatch_requestFile
/usr/local/lib/python2.7/dist-packages/trac/web/main.py, line 233, in
dispatchFile
/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py, line 960,
in render_templateFile
/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py, line 931,
in load_templateFile
/usr/local/lib/python2.7/dist-packages/genshi/template/loader.py, line
246, in load
   raise TemplateNotFound(filename, search_path)

System Information:
Trac1.0rc1
Babel   0.9.6 (translations unavailable)
Docutils0.9.1
Genshi  0.6 (without speedups)
mod_wsgi3.3 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments1.4
pysqlite2.6.0
Python  2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3]
pytz2012d
setuptools  0.6
SQLite  3.7.9
Subversion  1.6.17 (r1128011)



--

Climate Pty Ltd
PO Box 308
Mount Eliza
Vic 3930
Australia +61

T: 03 9787 6598
M: 0411 704 143


--
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 description textarea width in Google Chrome

2012-11-01 Thread Mike Dewhirst
I have ticket descriptions disappearing off the page to the right in 
Google Chrome but not Firefox (on Windows XP). Is this a Chrome problem 
or a Trac problem?


Maximising the browser and mousing the bottom right corner of the 
description will adjust the width but not below a fixed minimum width of 
around 800 pixels.


Firefox is fine so I know the workaround. But I prefer Google Chrome.

Any ideas?

Thanks

Mike


System Information: (installed on Ubuntu 12.04)

Trac1.0 (it also happened in 1.0rc1)
Babel   0.9.6 (translations unavailable)
Docutils0.9.1
Genshi  0.6 (without speedups)
mod_wsgi3.3 (WSGIProcessGroup WSGIApplicationGroup %(GLOBAL))
Pygments1.4
pysqlite2.6.0
Python  2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3]
pytz2012d
setuptools  0.6
SQLite  3.7.9
Subversion  1.6.17 (r1128011)

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



Re: [Trac] login not working properly for me

2012-01-17 Thread Mike Dewhirst
I reinstalled and the problem went away.  Not sure what happened but all is  
ok for now.


Cheers

Mike

-Original message-
From: miked mi...@dewhirst.com.au
To: Trac Users trac-users@googlegroups.com
Sent: Wed, 18 Jan 2012, 07:23:34 AEDT
Subject: [Trac] login not working properly for me

I'm new at trac and just installed it on Apache 2.2 with mod_wsgi on
OpenSUSE which also has svn running. I can browse the repo in Trac and
read the pages.

Login accepts miked credentials but doesn't display the Admin tab. Nor
can I start a new wiki page.

miked has all the permissions (via add TRAC_ADMIN)

The log seems to think it is the anonymous user despite log saying
Retrieving session for ID 'miked'. So the login obviously didn't
succeed.

I tried requiring a valid user for Location /browser and clicked the
Browser tab instead of Login. This prompted a login and accepted my
credentials and showed me the Admin tab but raised an error ...

Error: Not Found
No administration panels available

Any pointers will be appreciated

Thanks

Mike
- - - - - -
Here is the trac.log after Apache restart and just visiting the
site ... clicking nothing ...

2012-01-15 18:19:29,447 Trac[env] INFO:
 environment startup [Trac 0.12.2]

2012-01-15 18:19:29,474 Trac[loader] DEBUG: Loading trac.about from /
usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,476 Trac[loader] DEBUG: Loading trac.admin.console
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,484 Trac[loader] DEBUG: Loading trac.admin.web_ui
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,485 Trac[loader] DEBUG: Loading trac.attachment
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,485 Trac[loader] DEBUG: Loading trac.db.mysql
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,487 Trac[loader] DEBUG: Loading trac.db.postgres
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,496 Trac[loader] DEBUG: Loading trac.db.sqlite
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,500 Trac[loader] DEBUG: Loading
trac.mimeview.patch from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,500 Trac[loader] DEBUG: Loading
trac.mimeview.pygments from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,519 Trac[loader] DEBUG: Loading trac.mimeview.rst
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,631 Trac[loader] DEBUG: Loading
trac.mimeview.silvercity from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,643 Trac[loader] DEBUG: Skipping
trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]:
(DistributionNotFound: SilverCity=0.9.4 not found)
2012-01-15 18:19:29,643 Trac[loader] DEBUG: Loading trac.mimeview.txtl
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,655 Trac[loader] DEBUG: Skipping
trac.mimeview.txtl = trac.mimeview.txtl [textile]:
(DistributionNotFound: textile=2.0 not found)
2012-01-15 18:19:29,655 Trac[loader] DEBUG: Loading trac.prefs from /
usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,656 Trac[loader] DEBUG: Loading trac.search from /
usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,657 Trac[loader] DEBUG: Loading trac.ticket.admin
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,658 Trac[loader] DEBUG: Loading trac.ticket.query
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,662 Trac[loader] DEBUG: Loading trac.ticket.report
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,663 Trac[loader] DEBUG: Loading
trac.ticket.roadmap from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,664 Trac[loader] DEBUG: Loading trac.ticket.web_ui
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,669 Trac[loader] DEBUG: Loading trac.timeline
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,671 Trac[loader] DEBUG: Loading
trac.versioncontrol.admin from /usr/local/lib64/python2.6/site-
packages
2012-01-15 18:19:29,672 Trac[loader] DEBUG: Loading
trac.versioncontrol.svn_authz from /usr/local/lib64/python2.6/site-
packages
2012-01-15 18:19:29,672 Trac[loader] DEBUG: Loading
trac.versioncontrol.svn_fs from /usr/local/lib64/python2.6/site-
packages
2012-01-15 18:19:29,674 Trac[loader] DEBUG: Loading
trac.versioncontrol.svn_prop from /usr/local/lib64/python2.6/site-
packages
2012-01-15 18:19:29,684 Trac[loader] DEBUG: Loading
trac.versioncontrol.web_ui from /usr/local/lib64/python2.6/site-
packages
2012-01-15 18:19:29,685 Trac[loader] DEBUG: Loading trac.web.auth
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,689 Trac[loader] DEBUG: Loading trac.web.session
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,689 Trac[loader] DEBUG: Loading trac.wiki.admin
from /usr/local/lib64/python2.6/site-packages
2012-01-15 18:19:29,689 Trac[loader] DEBUG: Loading
trac.wiki.interwiki from