Cooke, Mark | 1 Mar 09:10 2011
Picon

RE: [Trac] How to setup up trac.ini file, for example: Notifications

> -----Original Message-----
> From: trac-users@... 
> [mailto:trac-users@...] On Behalf Of drew2008
> Sent: 28 February 2011 21:25
> To: Trac Users
> Subject: [Trac] How to setup up trac.ini file, for example: 
> Notifications
> 
> I am trying to add Notifications. My default trac.ini file doesnt have
> much. Here is what is was:
> 
> <Directory "C:\Program Files\BitNami Trac Stack">
>    Options Indexes MultiViews
>    AllowOverride None
>    Order allow,deny
>    Allow from all
> </Directory>
> 
> <Location /trac>
>  SetHandler mod_python
>  PythonInterpreter main_interpreter
>  PythonHandler trac.web.modpython_frontend
>  PythonOption TracEnvParentDir "C:\Users\Bilal\BitNami Trac Stack
> projects"
>  PythonOption TracUriRoot /trac
> </Location>
> 
> <LocationMatch "/trac/[^/]+/login">
>  AuthType Basic
>  AuthName "Trac"
(Continue reading)

Bogdan Stanciu | 1 Mar 14:54 2011
Picon

[Trac] Ubuntu install trac 0.12.2

Hi there,

I just wanted to share this page (not mine, maybe is well known, but I
just found it today) which brought me back on trac[ks] :-)

I was unable to install following the wiki, however this instructions
work like a charm (or almost):

http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar

the end is for bazaar, but I got stuck well before that in my previous
attempts.

however, I noticed that during the install process, the command

trac-admin /var/tracprojects/newproject permission add admin TRAC_ADMIN

ends in error:

TimeoutError: Unable to get database connection within 0 seconds.
(TracError(u'Database "/var/tracprojects/newproject/db/trac.db" not
found.',))

it seems that trac-admin is looking for a SQLite db, while I use a mySQL db.

any suggestions?

thank you!
Bogdan

(Continue reading)

Christian Boos | 1 Mar 15:02 2011
Picon

Re: [Trac] Ubuntu install trac 0.12.2

On 3/1/2011 2:54 PM, Bogdan Stanciu wrote:
> Hi there,
>
> I just wanted to share this page (not mine, maybe is well known, but I
> just found it today) which brought me back on trac[ks] :-)
>
> I was unable to install following the wiki, however this instructions

What was the problem, exactly?

> work like a charm (or almost):
>
> http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar
>
> the end is for bazaar, but I got stuck well before that in my previous
> attempts.
>
> however, I noticed that during the install process, the command
>
> trac-admin /var/tracprojects/newproject permission add admin TRAC_ADMIN
>
> ends in error:
>
> TimeoutError: Unable to get database connection within 0 seconds.
> (TracError(u'Database "/var/tracprojects/newproject/db/trac.db" not
> found.',))
>
> it seems that trac-admin is looking for a SQLite db, while I use a mySQL db.
>
> any suggestions?
(Continue reading)

Bogdan Stanciu | 1 Mar 15:28 2011
Picon

Re: [Trac] Ubuntu install trac 0.12.2

On 01. 03. 11 15:02, Christian Boos wrote:
> On 3/1/2011 2:54 PM, Bogdan Stanciu wrote:
>> Hi there,
>>
>> I just wanted to share this page (not mine, maybe is well known, but I
>> just found it today) which brought me back on trac[ks] :-)
>>
>> I was unable to install following the wiki, however this instructions
>
> What was the problem, exactly?
I know it is not "serious" from my side, but I can't really recall (it
happened a few months ago, when switched to ubuntu) I did not use trac
since, but today I decided to give it another try, and it worked with
those instructions I mentioned. I remember getting errors or code
instead of trac homepage. I appologise for the lack of precision.
>
>> work like a charm (or almost):
>>
>> http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar
>>
>> the end is for bazaar, but I got stuck well before that in my previous
>> attempts.
>>
>> however, I noticed that during the install process, the command
>>
>> trac-admin /var/tracprojects/newproject permission add admin TRAC_ADMIN
>>
>> ends in error:
>>
>> TimeoutError: Unable to get database connection within 0 seconds.
(Continue reading)

Bogdan Stanciu | 1 Mar 15:38 2011
Picon

Re: [Trac] Ubuntu install trac 0.12.2

On 01. 03. 11 15:02, Christian Boos wrote:
> On 3/1/2011 2:54 PM, Bogdan Stanciu wrote:
>> Hi there,
>>
>> I just wanted to share this page (not mine, maybe is well known, but I
>> just found it today) which brought me back on trac[ks] :-)
>>
>> I was unable to install following the wiki, however this instructions
>
> What was the problem, exactly?
>
>> work like a charm (or almost):
>>
>> http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar
>>
>> the end is for bazaar, but I got stuck well before that in my previous
>> attempts.
>>
>> however, I noticed that during the install process, the command
>>
>> trac-admin /var/tracprojects/newproject permission add admin TRAC_ADMIN
>>
>> ends in error:
>>
>> TimeoutError: Unable to get database connection within 0 seconds.
>> (TracError(u'Database "/var/tracprojects/newproject/db/trac.db" not
>> found.',))
>>
>> it seems that trac-admin is looking for a SQLite db, while I use a
>> mySQL db.
(Continue reading)

Bogdan Stanciu | 1 Mar 15:46 2011
Picon

Re: [Trac] Ubuntu install trac 0.12.2

On 01. 03. 11 15:02, Christian Boos wrote:
> On 3/1/2011 2:54 PM, Bogdan Stanciu wrote:
>> Hi there,
>>
>> I just wanted to share this page (not mine, maybe is well known, but I
>> just found it today) which brought me back on trac[ks] :-)
>>
>> I was unable to install following the wiki, however this instructions
>
> What was the problem, exactly?
>
>> work like a charm (or almost):
>>
>> http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar
>>
>> the end is for bazaar, but I got stuck well before that in my previous
>> attempts.
>>
>> however, I noticed that during the install process, the command
>>
>> trac-admin /var/tracprojects/newproject permission add admin TRAC_ADMIN
>>
>> ends in error:
>>
>> TimeoutError: Unable to get database connection within 0 seconds.
>> (TracError(u'Database "/var/tracprojects/newproject/db/trac.db" not
>> found.',))
>>
>> it seems that trac-admin is looking for a SQLite db, while I use a
>> mySQL db.
(Continue reading)

ElJefeWatson | 1 Mar 16:23 2011
Picon

[Trac] Announcer Plugin: Send email based on status?

We have a large pile of external users who contact our help desk who
then enters the ticket in trac for them or resolves it (password
change, desktop config problems, etc), so they are not users that go
into trac and configure their preferences.  They help desk will enter
their email address as the reporter.  We want to email the reporter if
their problem is logged as a trac ticket for a software change.  When
it gets approved for work we want another email to the reporter, and
when it gets closed we want another email sent to them.  All the
statuses in between we don't want to mail bomb the reporter.

In the Announcer plugin is there way to send emails to the reporter
based on the status?  I've hacked some new code to do that, but was
wondering whether it was possible without that and I missed
something.

Related to that, what's the etiquette for having that considered for
integration in the plug-in or should I make it into a separate trac
hack?  I'm also considering making a 2 column ticket email formatter
in html and plain text ala the current trac ticket layout vice a
single column layout currently used in Announcer, should that also go
into another hack?  Consider me a novice in the whole open source
world and contributing.

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

(Continue reading)

Dav | 1 Mar 18:29 2011
Picon

[Trac] Re: OS X Security update broke svn/trac

Spent a few hours now. It seems to be py-svn / swig that has bailed
out for some reason.

 - Tried re-installing the pre-built binaries from open.collab.net (no
success)
 - Tried installing fresh python2.6 + py-svn libs via mac ports (no
go)
 - Tried some other routes but can't figure out how to clean out the
pre-installed libsvn that's here:
System/Library/Frameworks/Python.framework/Versions/2.5/
Extras/lib/python/libsvn/core.py

ideas?

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Dav | 1 Mar 19:09 2011
Picon

[Trac] Re: OS X Security update broke svn/trac

I'm in this dir:
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/
python/libsvn

then do:
python -v -c 'import core'

....remoed verbose stuff....
Python 2.5.1 (r251:54863, Sep  1 2010, 22:03:14)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
# core.pyc has bad mtime
import core # from core.py
# can't create core.pyc
dlopen("./_core.so", 2);
import _core # dynamically loaded from _core.so
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "core.py", line 74, in <module>
    SVN_ERR_BAD_PROPERTY_VALUE = _core.SVN_ERR_BAD_PROPERTY_VALUE
AttributeError: 'module' object has no attribute
'SVN_ERR_BAD_PROPERTY_VALUE'

The weird thing is that the core.py file has the property in the
file..!?
Is it the core.pyc or .so that's out of date for some reason?

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
(Continue reading)

Chris Shelton | 1 Mar 22:19 2011
Picon

Re: [Trac] Announcer Plugin: Send email based on status?

On Tue, Mar 1, 2011 at 10:23 AM, ElJefeWatson <eljefewatson <at> gmail.com> wrote:
We have a large pile of external users who contact our help desk who
then enters the ticket in trac for them or resolves it (password
change, desktop config problems, etc), so they are not users that go
into trac and configure their preferences.  They help desk will enter
their email address as the reporter.  We want to email the reporter if
their problem is logged as a trac ticket for a software change.  When
it gets approved for work we want another email to the reporter, and
when it gets closed we want another email sent to them.  All the
statuses in between we don't want to mail bomb the reporter.

In the Announcer plugin is there way to send emails to the reporter
based on the status?  I've hacked some new code to do that, but was
wondering whether it was possible without that and I missed
something.


 I've looked for a similar type of functionality with the AnnouncerPlugin, and could not find it either.  I ended up using a ticket_custom field named "nomail" that is a checkbox labelled "Suppress Mail".  Then I added the attached diff to the 0.11 version of the announcerplugin.

I seem to remember locating a version of this patch in a ticket on trac hacks, and adapted it for my occasional needs to limit the amount of mail going out.  It would certainly be nicer to have this based on a set of statuses where notifications would be suppressed.

chris

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Gmane