[rt-users] HTML for ticket body.

2010-06-21 Thread Trần Trọng Tấn
I want to display some basic HTML tag (like table) on ticket body on page
/Ticket/Display.html. Where can I configure to enable it? or mod some code
to do it?

TIA.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Configuration question

2010-06-21 Thread Kenneth Crocker
Steve,

AAHH! OK, I got it. I don't use it yet, but now that explanation triggered
my memory.

Thanks.

Kenn
LBNL

On Mon, Jun 21, 2010 at 9:40 AM, Steve Anderson <
steve.ander...@bipsolutions.com> wrote:

>  If you take a look at the file docs/creating_external_custom_fields.pod,
> from the tarball, it should explain it.
>
>
>
> perldoc docs/creating_external_custom_fields.pod
>
>
>
> It’s a way of using an external data source as the list you can select from
> for a custom field. The main example given is for listing the groups in RT
> as selectable values.
>
>
>
> I’m using it for a tie into our Asset database (using DBI)
>
>
>
>
>
>
>
> Steve Anderson
>
>
>
> *From:* rt-users-boun...@lists.bestpractical.com [mailto:
> rt-users-boun...@lists.bestpractical.com] *On Behalf Of *Kenneth Crocker
> *Sent:* 21 June 2010 5:33 PM
> *To:* rt-users@lists.bestpractical.com
> *Subject:* [rt-users] Configuration question
>
>
>
> To list,
>
> I have 3.8.7 installed into production. I was looking at the
> Configuration->Tools-> System Configuration settings and noticed one I
> hadn't read anything about "CustomFieldValuesSource". What does this do or
> how is it used?
>
> Thanks.
>
>
> Kenn
> LBNL
>  --
>
> This email has been scanned by Netintelligence
> http://www.netintelligence.com/email
>  --
>
> --
> BiP Solutions Limited is a company registered in Scotland with Company
> Number SC086146 and VAT number 383030966 and having its registered
> office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.
>
>
> 
> This e-mail (and any attachment) is intended only for the attention of
> the addressee(s). Its unauthorised use, disclosure, storage or copying
> is not permitted. If you are not the intended recipient, please destroy
> all copies and inform the sender by return e-mail.
> This e-mail (whether you are the sender or the recipient) may be
> monitored, recorded and retained by BiP Solutions Ltd.
> E-mail monitoring/ blocking software may be used, and e-mail content may
> be read at any time.You have a responsibility to ensure laws are not
> broken when composing or forwarding e-mails and their contents.
>
> 
>

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Configuration question

2010-06-21 Thread Steve Anderson
If you take a look at the file docs/creating_external_custom_fields.pod, from 
the tarball, it should explain it.

perldoc docs/creating_external_custom_fields.pod

It's a way of using an external data source as the list you can select from for 
a custom field. The main example given is for listing the groups in RT as 
selectable values.

I'm using it for a tie into our Asset database (using DBI)



Steve Anderson

From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kenneth Crocker
Sent: 21 June 2010 5:33 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Configuration question

To list,

I have 3.8.7 installed into production. I was looking at the 
Configuration->Tools-> System Configuration settings and noticed one I hadn't 
read anything about "CustomFieldValuesSource". What does this do or how is it 
used?

Thanks.


Kenn
LBNL

This email has been scanned by Netintelligence
http://www.netintelligence.com/email



BiP Solutions Limited is a company registered in Scotland with Company
Number SC086146 and VAT number 383030966 and having its registered
office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.


This e-mail (and any attachment) is intended only for the attention of
the addressee(s). Its unauthorised use, disclosure, storage or copying
is not permitted. If you are not the intended recipient, please destroy
all copies and inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be
monitored, recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may
be read at any time.You have a responsibility to ensure laws are not
broken when composing or forwarding e-mails and their contents.


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Configuration question

2010-06-21 Thread Kenneth Crocker
To list,

I have 3.8.7 installed into production. I was looking at the
Configuration->Tools-> System Configuration settings and noticed one I
hadn't read anything about "CustomFieldValuesSource". What does this do or
how is it used?

Thanks.


Kenn
LBNL

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with RT3.8.7

2010-06-21 Thread Alan Yuen
Yes, there are Admin/ Asset/ Elements/ index.html Search/ and Ticket/ in
/opt/rt3/share/html/AssetTracker.



From: Torsten Brumm [mailto:torsten.br...@googlemail.com] 
Sent: Monday, June 21, 2010 8:49 AM
To: Alan Yuen
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with
RT3.8.7

Hmm, ok, have you checked, that it is really installed under /opt/rt3 ?
2010/6/21 Alan Yuen 
Hi,

There is a /var/cache/rt3/mason_data/obj directory, and there is nothing in
it, and I have also restarted the httpd service, and it is still the same.

Yes, I think it is placed in /opt/rt3 with Yum, it does have etc/ lib/ po/
sbin/ and share/ subdirectories in it.

Any suggestion/help is greatly appreciated.

Rgds,
Alan



From: Torsten Brumm [mailto:torsten.br...@googlemail.com]
Sent: Saturday, June 19, 2010 2:28 PM
To: Alan Yuen
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with
RT3.8.7

OK, have you tried to clean the mason cache and restart apache?

Another point: i'm not sure where RT is installed via yum, is it placed in
/opt/rt3 ?? or somewhere else?

Torsten
2010/6/18 Alan Yuen 
Hi,

I am a newbie to RT, so any help is appreciated.
I installed RT the lazy way, running Fedora 13, I just "yum install" RT, RT
is up and working in no time.

Then I did "svn checkout
http://ass-tracker-4rt.googlecode.com/svn/at/tags/1.2.4b1";, got the beta
source to AT, followed all the steps in README.

Everything seems to be ok, rebooted Fedora 13, however I don't see anything
change in RT (ie didn't add "Asset" under "Tools").  Am I missing something?

Here is what happened in make install:

[r...@localhost 1.2.4b1]# make install
mkdir -p //opt/rt3/etc/AssetTracker/
cp etc/AssetTracker/AT_Config.pm //opt/rt3/etc/AssetTracker/AT_Config.pm
[ -f //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm ] || cp
etc/AssetTracker/AT_SiteConfig.pm
//opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
chgrp rt //opt/rt3/etc/AssetTracker/AT_Config.pm
chown root //opt/rt3/etc/AssetTracker/AT_Config.pm
chgrp rt //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
chown root //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
Installed configuration. about to install at in
for dir in `cd ./lib/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/lib/$dir ; \
       done
for f in `cd ./lib/ && find . -type f -name \*.pm -print`; do \
         /bin/sh ./install-sh -c  -m 0644 lib/$f  /opt/rt3/lib/$f ; \
       done
for dir in `cd ./html/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/share/html/$dir ; \
       done
for f in `cd ./html/ && find . -type f -print`; do \
         /bin/sh ./install-sh -c  -m 0644 html/$f
/opt/rt3/share/html/$f ; \
       done
for dir in `cd ./po/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/po/$dir ; \
       done
for f in `cd ./po/ && find . -type f -print`; do \
         /bin/sh ./install-sh -c  -m 0644 po/$f  /opt/rt3/po/$f ; \
       done
mkdir -p -m 0755 /opt/rt3/sbin/;
for dir in `cd ./sbin/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/sbin//$dir ; \
       done
for f in `cd ./sbin/ && find . -type f -print`; do \
         /bin/sh ./install-sh -c  -m 0644 sbin/$f  /opt/rt3/sbin//$f ; \
       done
mkdir -p //opt/rt3/etc/AssetTracker/
cp -rp \
               etc/AssetTracker/acl.* \
               etc/AssetTracker/initialdata \
               etc/AssetTracker/schema.* \
               etc/AssetTracker/drop_* \
               etc/AssetTracker/upgrade \
               //opt/rt3/etc/AssetTracker/
# Make the libraries readable
#chmod 0755 /
chown -R root //opt/rt3/lib
chgrp -R bin //opt/rt3/lib
chmod -R  u+rwX,go-w,go+rX      //opt/rt3/lib
chmod 0755 //opt/rt3/etc/AssetTracker/
chmod 0500 //opt/rt3/etc/AssetTracker//*
#TODO: the config file should probably be able to have its
# owner set separately from the binaries.
chown -R root //opt/rt3/etc/AssetTracker/
chgrp -R rt //opt/rt3/etc/AssetTracker/
chmod 0554 //opt/rt3/etc/AssetTracker/AT_Config.pm
chmod 0554 //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
# Make the web ui readable by all.
chmod -R  u+rwX,go-w,go+rX      //opt/rt3/share/html
chown -R root  //opt/rt3/share/html
chgrp -R bin  //opt/rt3/share/html
make dropdb.`/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseType`
make[1]: Entering directory `/root/1.2.4b1'
mysql   `/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseName` -u root -p <
etc/AssetTracker/drop_schema.mysql
Enter password:
make[1]: Leaving directory `/root/1.2.4b1'
/usr/bin/perl /opt/rt3/sbin//at-setup-database --action init --datadir
./etc/AssetTracker/ --dba root --prompt-for-dba-password
Name "RT::DatabaseHost" used only once: possible typo at
/

Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with RT3.8.7

2010-06-21 Thread Torsten Brumm
Hmm, ok, have you checked, that it is really installed under /opt/rt3 ?

2010/6/21 Alan Yuen 

> Hi,
>
> There is a /var/cache/rt3/mason_data/obj directory, and there is nothing in
> it, and I have also restarted the httpd service, and it is still the same.
>
> Yes, I think it is placed in /opt/rt3 with Yum, it does have etc/ lib/ po/
> sbin/ and share/ subdirectories in it.
>
> Any suggestion/help is greatly appreciated.
>
> Rgds,
> Alan
>
>
> 
> From: Torsten Brumm [mailto:torsten.br...@googlemail.com]
> Sent: Saturday, June 19, 2010 2:28 PM
> To: Alan Yuen
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with
> RT3.8.7
>
> OK, have you tried to clean the mason cache and restart apache?
>
> Another point: i'm not sure where RT is installed via yum, is it placed in
> /opt/rt3 ?? or somewhere else?
>
> Torsten
> 2010/6/18 Alan Yuen 
> Hi,
>
> I am a newbie to RT, so any help is appreciated.
> I installed RT the lazy way, running Fedora 13, I just "yum install" RT, RT
> is up and working in no time.
>
> Then I did "svn checkout
> http://ass-tracker-4rt.googlecode.com/svn/at/tags/1.2.4b1";, got the beta
> source to AT, followed all the steps in README.
>
> Everything seems to be ok, rebooted Fedora 13, however I don't see anything
> change in RT (ie didn't add "Asset" under "Tools").  Am I missing
> something?
>
> Here is what happened in make install:
>
> [r...@localhost 1.2.4b1]# make install
> mkdir -p //opt/rt3/etc/AssetTracker/
> cp etc/AssetTracker/AT_Config.pm //opt/rt3/etc/AssetTracker/AT_Config.pm
> [ -f //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm ] || cp
> etc/AssetTracker/AT_SiteConfig.pm
> //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
> chgrp rt //opt/rt3/etc/AssetTracker/AT_Config.pm
> chown root //opt/rt3/etc/AssetTracker/AT_Config.pm
> chgrp rt //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
> chown root //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
> Installed configuration. about to install at in
> for dir in `cd ./lib/ && find . -type d -print`; do \
>  /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/lib/$dir ; \
>done
> for f in `cd ./lib/ && find . -type f -name \*.pm -print`; do \
>  /bin/sh ./install-sh -c  -m 0644 lib/$f  /opt/rt3/lib/$f ; \
>done
> for dir in `cd ./html/ && find . -type d -print`; do \
>  /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/share/html/$dir ; \
>done
> for f in `cd ./html/ && find . -type f -print`; do \
>  /bin/sh ./install-sh -c  -m 0644 html/$f
> /opt/rt3/share/html/$f ; \
>done
> for dir in `cd ./po/ && find . -type d -print`; do \
>  /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/po/$dir ; \
>done
> for f in `cd ./po/ && find . -type f -print`; do \
>  /bin/sh ./install-sh -c  -m 0644 po/$f  /opt/rt3/po/$f ; \
>done
> mkdir -p -m 0755 /opt/rt3/sbin/;
> for dir in `cd ./sbin/ && find . -type d -print`; do \
>  /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/sbin//$dir ; \
>done
> for f in `cd ./sbin/ && find . -type f -print`; do \
>  /bin/sh ./install-sh -c  -m 0644 sbin/$f  /opt/rt3/sbin//$f ; \
>done
> mkdir -p //opt/rt3/etc/AssetTracker/
> cp -rp \
>etc/AssetTracker/acl.* \
>etc/AssetTracker/initialdata \
>etc/AssetTracker/schema.* \
>etc/AssetTracker/drop_* \
>etc/AssetTracker/upgrade \
>//opt/rt3/etc/AssetTracker/
> # Make the libraries readable
> #chmod 0755 /
> chown -R root //opt/rt3/lib
> chgrp -R bin //opt/rt3/lib
> chmod -R  u+rwX,go-w,go+rX  //opt/rt3/lib
> chmod 0755 //opt/rt3/etc/AssetTracker/
> chmod 0500 //opt/rt3/etc/AssetTracker//*
> #TODO: the config file should probably be able to have its
> # owner set separately from the binaries.
> chown -R root //opt/rt3/etc/AssetTracker/
> chgrp -R rt //opt/rt3/etc/AssetTracker/
> chmod 0554 //opt/rt3/etc/AssetTracker/AT_Config.pm
> chmod 0554 //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
> # Make the web ui readable by all.
> chmod -R  u+rwX,go-w,go+rX  //opt/rt3/share/html
> chown -R root  //opt/rt3/share/html
> chgrp -R bin  //opt/rt3/share/html
> make dropdb.`/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
> RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseType`
> make[1]: Entering directory `/root/1.2.4b1'
> mysql   `/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
> RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseName` -u root -p <
> etc/AssetTracker/drop_schema.mysql
> Enter password:
> make[1]: Leaving directory `/root/1.2.4b1'
> /usr/bin/perl /opt/rt3/sbin//at-setup-database --action init --datadir
> ./etc/AssetTracker/ --dba root --prompt-for-dba-password
> Name "RT::DatabaseHost" used only once: possible typo at
> /opt/rt3/sbin//at-setup-database line 221.
> In order to create or update your RT database,this script needs to connect
> to your mysql instance on loc

Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with RT3.8.7

2010-06-21 Thread Alan Yuen
Hi,

There is a /var/cache/rt3/mason_data/obj directory, and there is nothing in
it, and I have also restarted the httpd service, and it is still the same.

Yes, I think it is placed in /opt/rt3 with Yum, it does have etc/ lib/ po/
sbin/ and share/ subdirectories in it.

Any suggestion/help is greatly appreciated.

Rgds,
Alan



From: Torsten Brumm [mailto:torsten.br...@googlemail.com] 
Sent: Saturday, June 19, 2010 2:28 PM
To: Alan Yuen
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with
RT3.8.7

OK, have you tried to clean the mason cache and restart apache?

Another point: i'm not sure where RT is installed via yum, is it placed in
/opt/rt3 ?? or somewhere else?

Torsten
2010/6/18 Alan Yuen 
Hi,

I am a newbie to RT, so any help is appreciated.
I installed RT the lazy way, running Fedora 13, I just "yum install" RT, RT
is up and working in no time.

Then I did "svn checkout
http://ass-tracker-4rt.googlecode.com/svn/at/tags/1.2.4b1";, got the beta
source to AT, followed all the steps in README.

Everything seems to be ok, rebooted Fedora 13, however I don't see anything
change in RT (ie didn't add "Asset" under "Tools").  Am I missing something?

Here is what happened in make install:

[r...@localhost 1.2.4b1]# make install
mkdir -p //opt/rt3/etc/AssetTracker/
cp etc/AssetTracker/AT_Config.pm //opt/rt3/etc/AssetTracker/AT_Config.pm
[ -f //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm ] || cp
etc/AssetTracker/AT_SiteConfig.pm
//opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
chgrp rt //opt/rt3/etc/AssetTracker/AT_Config.pm
chown root //opt/rt3/etc/AssetTracker/AT_Config.pm
chgrp rt //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
chown root //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
Installed configuration. about to install at in
for dir in `cd ./lib/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/lib/$dir ; \
       done
for f in `cd ./lib/ && find . -type f -name \*.pm -print`; do \
         /bin/sh ./install-sh -c  -m 0644 lib/$f  /opt/rt3/lib/$f ; \
       done
for dir in `cd ./html/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/share/html/$dir ; \
       done
for f in `cd ./html/ && find . -type f -print`; do \
         /bin/sh ./install-sh -c  -m 0644 html/$f
/opt/rt3/share/html/$f ; \
       done
for dir in `cd ./po/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/po/$dir ; \
       done
for f in `cd ./po/ && find . -type f -print`; do \
         /bin/sh ./install-sh -c  -m 0644 po/$f  /opt/rt3/po/$f ; \
       done
mkdir -p -m 0755 /opt/rt3/sbin/;
for dir in `cd ./sbin/ && find . -type d -print`; do \
         /bin/sh ./install-sh -c -d -m 0755 /opt/rt3/sbin//$dir ; \
       done
for f in `cd ./sbin/ && find . -type f -print`; do \
         /bin/sh ./install-sh -c  -m 0644 sbin/$f  /opt/rt3/sbin//$f ; \
       done
mkdir -p //opt/rt3/etc/AssetTracker/
cp -rp \
               etc/AssetTracker/acl.* \
               etc/AssetTracker/initialdata \
               etc/AssetTracker/schema.* \
               etc/AssetTracker/drop_* \
               etc/AssetTracker/upgrade \
               //opt/rt3/etc/AssetTracker/
# Make the libraries readable
#chmod 0755 /
chown -R root //opt/rt3/lib
chgrp -R bin //opt/rt3/lib
chmod -R  u+rwX,go-w,go+rX      //opt/rt3/lib
chmod 0755 //opt/rt3/etc/AssetTracker/
chmod 0500 //opt/rt3/etc/AssetTracker//*
#TODO: the config file should probably be able to have its
# owner set separately from the binaries.
chown -R root //opt/rt3/etc/AssetTracker/
chgrp -R rt //opt/rt3/etc/AssetTracker/
chmod 0554 //opt/rt3/etc/AssetTracker/AT_Config.pm
chmod 0554 //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
# Make the web ui readable by all.
chmod -R  u+rwX,go-w,go+rX      //opt/rt3/share/html
chown -R root  //opt/rt3/share/html
chgrp -R bin  //opt/rt3/share/html
make dropdb.`/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseType`
make[1]: Entering directory `/root/1.2.4b1'
mysql   `/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseName` -u root -p <
etc/AssetTracker/drop_schema.mysql
Enter password:
make[1]: Leaving directory `/root/1.2.4b1'
/usr/bin/perl /opt/rt3/sbin//at-setup-database --action init --datadir
./etc/AssetTracker/ --dba root --prompt-for-dba-password
Name "RT::DatabaseHost" used only once: possible typo at
/opt/rt3/sbin//at-setup-database line 221.
In order to create or update your RT database,this script needs to connect
to your mysql instance on localhost as root.
Please specify that user's database password below. If the user has no
database
password, just press return.

Password:
Now populating AssetTracker database schema.
Creating database schema.
Done setting up database schema.
Now inserting AssetTracker database ACLs
Done setting up database ACLs.
Now insert

Re: [rt-users] Can't load webmux.pl after apache restart

2010-06-21 Thread ademassougnes
Hello,

Thank you for your answer.
The log comes from apache. 
File::Temp module comes from CPAN and not from redhat, it's the very last 
one.
Up2date is not set to automatically update, and there was no update since 
a while on this server.

By the way I'v found something, when I run a "make testdeps" to check if 
everything is ok, and I have a problem whith :
GPG missing dependencies:
GnuPG::Interface ...MISSING
Undefined subroutine 
&Mouse::Util::get_metaclass_by_name called at 
/usr/lib/perl5/site_perl/5.8.8/Any/Moose.pm line 103.

But I can't get to install it again by CPAN, compilation failed (I work on 
it).

Snac

rt-users-boun...@lists.bestpractical.com a écrit sur 21/06/2010 15:31:10 :

> ademassoug...@ucanss.fr wrote:
> > Hello,
> >
> > I have a strange problem since this week-end, as my RT server won't 
start
> > anymore.
> >
> > Trying to start Apache failed with this error :
> >
> > [Mon Jun 21 12:27:16 2010] [error] Unknown error\nCompilation failed 
in
> > require at (eval 2) line 1.\n
> > [Mon Jun 21 12:27:16 2010] [error] Can't load Perl file:
> > /opt/rt3/bin/webmux.pl for server ...:0, exiting...
> >
> > Nothing else in the error log. I change the error level to "debug" in 
the
> > RT_Config, nothing much than this error. 
> >
> > 
> Did you look in the error log of Apache?
> 
> > None has been changed in the server !!
> > It's an RHEL 5.5, RT 3.8.8.
> > 
> 
> Hmm, to be honest, it looks like File::Temp has been 'upgraded' to a 
> version without Weaken support. See this list, it has come up rather 
> recently, 1-2 weeks ago.
> 
> Regards,
> 
> Joop
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Re : Redirection from HTTPS to HTTP

2010-06-21 Thread Raphaël Adou
Hi all,

The issue is fixed thanks to your help.
In fact, the WebBaseURL was wrong. 

Thank you.




De : Raphaël Adou 
À : RT-Users@lists.bestpractical.com
Envoyé le : Jeu 17 juin 2010, 15h 22min 47s
Objet : Redirection from HTTPS to HTTP


Hi all,

I'm using RT version 3.8.8-1 on a debian squeeze server.
I installed Apache 2.2.15-5  as webserver with RT's apache2-modperl2.conf

This is the content of my virtual host file.


ServerAdmin webmas...@myserver.domain
ServerName myserver.domain
Include /etc/request-tracker3.8/apache2-modperl2.conf


I connect to RT by link https://myserver.domain/rt because I left 
/etc/request-tracker3.8/apache2-modperl2.conf unchanged.

The issue I face is that everytime I submit a form for changing a ticket's 
status for example, I'm redirecting tohttp (http://myserver.domain/rt/..  ) 
protocol so I cannot see the result of the operation.
I don't know why.

Can you help me to fix this please ?
Thanks in advance.


  
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Can't load webmux.pl after apache restart

2010-06-21 Thread Joop

ademassoug...@ucanss.fr wrote:

Hello,

I have a strange problem since this week-end, as my RT server won't start
anymore.

Trying to start Apache failed with this error :

[Mon Jun 21 12:27:16 2010] [error] Unknown error\nCompilation failed in
require at (eval 2) line 1.\n
[Mon Jun 21 12:27:16 2010] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server ...:0, exiting...

Nothing else in the error log. I change the error level to "debug" in the
RT_Config, nothing much than this error. 

  

Did you look in the error log of Apache?


None has been changed in the server !!
It's an RHEL 5.5, RT 3.8.8.
  


Hmm, to be honest, it looks like File::Temp has been 'upgraded' to a 
version without Weaken support. See this list, it has come up rather 
recently, 1-2 weeks ago.


Regards,

Joop


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Hashes in Collectionlist for Users

2010-06-21 Thread Wolfram Huettermann

Kevin Falcone wrote:

On Thu, Jun 17, 2010 at 10:38:12AM +0200, Wolfram Huettermann wrote:
  

   Hello out there,

   in Admin/Users/index.html (surely on the local-path), in the <%init%>-part I 
implemented a
   hash which looks like that:

   my %NumHash = (21 => "foo",
   23 => "bar",
  25 => "entry",
  29 => "exit");
   It is for sure that $NumHash{21} displays foo, for instance.

   I want to get a list with the following entries:
   #   RealNameNumHash
   13  Obama, Barack
   21  Reagan, Ronald  foo
   23  Clinton, Bill   bar
   25  Nixon, Richard  entry
   29  Washington, George  exit

   I do not think that $NumHash{__id__}  works if I implement it in the format 
string of my
   collection list. What can I do else?



You really want to use a callback from RT__User/ColumnMap to add a
NumHash type that uses the passed $User object to lookup and return
what you want.  If you're on 3.8.8 you get to configure the format
used on the User admin page from your RT_SiteConfig

-kevin
  




Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Hi Kevin,

thanks for your advice. Without your help, it would have lasted at least 
a week for me to find it out.


Greetings,

Wolfram

(my English nick is Wolf)



Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Can't load webmux.pl after apache restart

2010-06-21 Thread ademassougnes
Hello,

I have a strange problem since this week-end, as my RT server won't start
anymore.

Trying to start Apache failed with this error :

[Mon Jun 21 12:27:16 2010] [error] Unknown error\nCompilation failed in
require at (eval 2) line 1.\n
[Mon Jun 21 12:27:16 2010] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server ...:0, exiting...

Nothing else in the error log. I change the error level to "debug" in the
RT_Config, nothing much than this error. 

None has been changed in the server !!
It's an RHEL 5.5, RT 3.8.8.

Thank you.
Snac

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] SMTP auth for RT.

2010-06-21 Thread Kenneth Marshall
Try this article:

http://www.sendmail.org/~ca/email/auth.html

Cheers,
Ken

On Mon, Jun 21, 2010 at 05:00:58PM +0530, H Manohar Rayker wrote:
> Hi,
> 
>  
> 
>  
> 
> How can I set SMTP authentication for the outgoing mails in RT?  
> 
>  
> 
> I have RT 3.8.4 , Centos 5.3, sendmail 8.13.8, mysql 5.0.45
> 
>  
> 
> Thanks
> 
> Manohar
> 

> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] SMTP auth for RT.

2010-06-21 Thread H Manohar Rayker
Hi,

 

 

How can I set SMTP authentication for the outgoing mails in RT?  

 

I have RT 3.8.4 , Centos 5.3, sendmail 8.13.8, mysql 5.0.45

 

Thanks

Manohar


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Updated subject not used in outgoing email

2010-06-21 Thread Angus Rea


Thanks Joop - yes, the following steps fixed the problem:

a) enabled TransactionBatch in /opt/rt3/etc/RT_SiteConfig.pm by adding:

 Set($UseTransactionBatch , 1);

b) restarted RT

c) changed the Stage for the 'On Create, autoreply' scrip to 
TransactionBatch.


Re the side effects of enabling TransactionBatch, I searched the wiki 
but I couldn't find any specific issues,
at least with the latest versions - any hints as to what these side 
effects may be?


thanks again - Angus

On 21/06/2010 4:48 PM, Joop wrote:

Angus Rea wrote:

Hi,

I having a small but annoying problem with two 'On create' scrips
which do the following:

a) the first one scans the body of the email and updates some fields
including the ticket subject:

Description: 10 - On Create, set subject and other fields
Condition:   On Create
Action:  User Defined
Template:Global template: Blank
Stage:   TransactionCreate

b) the second one sends an email to the requestor:

Description: 90 - On Create, autoreply to requestors
Condition:   On Create
Action: Autoreply To Requestors
Template: MyAutoReply
Stage:   TransactionCreate

Both scrips run correctly, except that the updated subject line is
not used in the email.

Here is the history of a test ticket:

   Mon Jun 21 16:26:19 2010 RT_System - Subject changed from 'ECR' to
'ECR: 30R1234 - type - ASY - subject [Angus Rea]'
   Mon Jun 21 16:26:20 2010 RT_System - Outgoing email recorded

As you can see, the 1st scrip runs and updates the subject and then
the 2nd scrip sends the email; however, the subject of
the email sent to the requestor is the original subject; ie: just 'ECR'.

Use stage: TransactionBatch instead but watch out for side effects.

Regards,

Joop


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com