Re: [rt-users] Couldn't create object

2011-08-02 Thread Vitaly Tskhovrebov

I don't know. I reinstalled it few dozen times and it helped

--
Regards, Vitaly Tskhovrebov
Senior System Administrator


2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Customize ticket display

2011-07-19 Thread Vitaly Tskhovrebov

Yes, you can.

Every page is consists of Callbacks. Just copy Display page to local 
folder by same path and add needed callbacks copy-pasted from basics 
page into it.


I think you have to manage to do that less then an hour. I did.

--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] AdminCC and requestor mailings

2011-06-20 Thread Vitaly Tskhovrebov

Thank you very much! I salute you, sir.

On 6/20/2011 8:40 PM, Kenneth Crocker wrote:

Sorry for the typo. This is the code we use:


--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] RT4 rt-server fcgi

2011-06-20 Thread Vitaly Tskhovrebov

On 6/20/2011 6:16 PM, Kevin Falcone wrote:

external fcgi server?  We don't include one.


Thanks, Kevin. Why not? :-)

I do understand it's maintainers' job to do so for OS they are 
responsible, but I'd like to have some reference script at last.


--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html


[rt-users] AdminCC and requestor mailings

2011-06-18 Thread Vitaly Tskhovrebov

Hello.

I'm using group for AdminCC the queue. Eventually, member of AdminCC 
created ticket, so he became requester. When owner of ticket reply him, 
requestor receives duplicate email notification: one for requestor, and 
the same for AdminCC. Is there any way to get rid of duplicate emails?


RT4.

--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html


[rt-users] RT4 rt-server fcgi

2011-06-18 Thread Vitaly Tskhovrebov

Hello.

I'm using RT4. While it's clear how to run it with nginx, it's still not 
clear for me, is there an init script for rt-server to put it to 
appropriate runlevel?



--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html


[rt-users] Couldn't create object

2011-06-18 Thread Vitaly Tskhovrebov

Hello. Taking error like:
Couldn't create object file 
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues/Scrips.html.obj: 
Permission denied


apache is running under apache user.

[root@nixtool Queues]# ls -l
total 92
-rw-r--r-- 1 apache apache  3965 Jun 13 11:52 CustomFields.html.obj
-rw-r--r-- 1 apache apache  4733 Jun 13 03:04 GroupRights.html.obj
-rw-r--r-- 1 apache apache  9570 Jun 13 03:04 index.html.obj
-rw-r--r-- 1 apache apache 23046 Jun 13 03:04 Modify.html.obj
-rw-r--r-- 1 apache apache 14226 Jun 14 07:33 People.html.obj
-rw-r--r-- 1 apache apache  3637 Jun 13 11:52 Templates.html.obj
[root@nixtool Queues]# pwd
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues


So it's created somehow other files. What's wrong with Scrips?

RT4
--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html


Re: [rt-users] Couldn't create object

2011-06-18 Thread Vitaly Tskhovrebov

On 6/18/2011 7:03 PM, Ruslan Zakirov wrote:

Do `ls -la`. Probably dir itself is not writable.


[root@nixtool Queues]# ls -la
total 108
drwxr-xr-x  2 apache apache  4096 Jun 14 07:33 .
drwxr-xr-x 10 apache apache  4096 Jun 13 11:49 ..
-rw-r--r--  1 apache apache  3965 Jun 13 11:52 CustomFields.html.obj
-rw-r--r--  1 apache apache  4733 Jun 13 03:04 GroupRights.html.obj
-rw-r--r--  1 apache apache  9570 Jun 13 03:04 index.html.obj
-rw-r--r--  1 apache apache 23046 Jun 13 03:04 Modify.html.obj
-rw-r--r--  1 apache apache 14226 Jun 14 07:33 People.html.obj
-rw-r--r--  1 apache apache  3637 Jun 13 11:52 Templates.html.obj

--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html


[rt-users] RT plugin

2010-10-20 Thread Vitaly Tskhovrebov
Hi.

I've created additional functionality to the web interface, but to implement 
it, I have to add one Javascript file to Ticket.html and register one function 
to execute onload(). I've did it manually, but it seems to be an ugly hack.

How do I create an installable plugin to handle situation correctly?

Thanks, Vitaly.


[rt-users] custom field description in scrip

2010-04-20 Thread Vitaly Tskhovrebov
Guys,

I would like to get description of Custom Field Value selected. I digged to
RT code, but it seems too complicated for me. Please help somebody with CF
object model or solution.


smime.p7s
Description: S/MIME cryptographic signature

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

Re: [rt-users] New installation: clicking Update Ticket generates a bad URL

2010-04-16 Thread Vitaly Tskhovrebov
Check your RT_SiteConfig.pm for values like WebBaseURL. May be you should
add slash to URL.

--
Vitaly.


-Original Message-
From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Paul
Waterstraat
Sent: Friday, April 16, 2010 4:45 AM
To: rt-users@lists.bestpractical.com
Cc: za...@oxfordsuites.com
Subject: [rt-users] New installation: clicking Update Ticket generates a bad
URL

When I Comment or Reply to a ticket in RT 3.8.7, enter a message, and
then hit the Update Ticket button, an apparently bad URL is generated.  
E.g.:

http://request.geology.ucdavis.eduticket/Display.html? 
id=2results=bd10...[stuff deleted]

My RT site is: http://request.geology.ucdavis.edu

If I modify the portion .eduticket/ to .edu/Ticket/ in the URL bar  
then I am taken to a:

Results
  o Message recorded

page.

So, why no slash / and a lowercase t instead of uppercase T in  
Ticket?

If I leave the Message area blank, I get taken to a working URL:

http://request.geology.ucdavis.edu/Ticket/Update.html


  - Paul.

--- ---
system config (abbreviated)

RT v3.8.7
Perl v5.8.8 under linux
# THE WEBSERVER:
Set($WebPath , );
Set($WebBaseURL , http://request.geology.ucdavis.edu;);
Set($WebURL , http://request.geology.ucdavis.edu;);
-
Browser: same result in Safari (Mac) v4.0.5, and Firefox (Mac) v3.6.3



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


smime.p7s
Description: S/MIME cryptographic signature

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

[rt-users] quote warping

2010-04-13 Thread Vitaly Tskhovrebov
Guys, 

When someone replies using web-interface he obtains a quotation inserted to
reply window like that:

 Lorem ipsum dolor sit amet, consectetur adipiscing\n 
 elit.\n
 Proin imperdiet, risus vel sagittis ultrices, metus\n
 dui tempor quam, eget imperdiet nulla est non elit.\n
 Morbi faucibus varius diam, et congue ligula dapibus\n
 non. Duis pulvinar rhoncus molestie.

When origin was:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n
Proin imperdiet, risus vel sagittis ultrices, metus dui tempor quam, eget
imperdiet nulla est non elit.\n
Morbi faucibus varius diam, et congue ligula dapibus non. Duis pulvinar
rhoncus molestie.


What should I do to have the origin in the reply text field whithout any 
symbols and, most of all, warping?


smime.p7s
Description: S/MIME cryptographic signature

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

[rt-users] rt emailing extra line breaks

2010-04-09 Thread Vitaly Tskhovrebov
We're doing a lot of emailing through RT. So we have an issue, when
quotation has much more line breakes, then in original letters. It seems
like RT doing s/\n/\n\n/ every time. I.e.:

From: me
To: him
Subject: [RT #1] some ticket

Some text here
And here
And here again


If answer this message, we receive from RT like that:

From: him
To: me
Subject: RE: [RT #1] some ticket

Here's an answer
And more of the words

---Original Message---
From: me

To: him

Subject: [RT #1] some ticket


Some text here

And here

And here again


smime.p7s
Description: S/MIME cryptographic signature

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

[rt-users] Escalate dialog modification

2010-04-08 Thread Vitaly Tskhovrebov
Hey guys,

 

I would like to have a chance to choose not only queue, but a responsible
person too  when escalating ticket on Display page. What should I do to make
such option live?



smime.p7s
Description: S/MIME cryptographic signature

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

[rt-users] Multi-threaded FCGI

2010-03-23 Thread Vitaly Tskhovrebov
Hey guys,

How do you think, couldn't be better to support RT with multithreaded FCGI for 
faster responses?
I've got 4 CPU here and I would like to load them all.

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


Re: [rt-users] Centos 5.4 + FCGI + Unicode in messages = Failure

2010-03-16 Thread Vitaly Tskhovrebov
Yes, this worked. Thanks a lot.

-Original Message-
From: Ruslan Zakirov [mailto:ruslan.zaki...@gmail.com] 
Sent: 15 марта 2010 г. 21:51
To: Vitaly Tskhovrebov
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Centos 5.4 + FCGI + Unicode in messages = Failure

Hello Vitaly.

Downgrade FCGI module to version 0.68.

On Mon, Mar 15, 2010 at 7:20 PM, Vitaly Tskhovrebov
vitaly.tskhovre...@exigenservices.com wrote:
 Hi.

 I have some curious situation here.

 If I install RT-3.8.7 from the box on default Ubuntu installation then 
 Unicode works very good. But if I use gentoo 10.1 or centos 5.4 (with enabled 
 Unicode support), then I can't create or list a ticket with Unicode 
 characters with that Error: Wide character in FCGI::Stream::PRINT at 
 /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 105. Can you 
 please help me with that?

 MySQL 5.0.77, 5.0.84, 5.1
 Perl 5.8.8, 5.10.1

 Here's other configuration options:

[snip]

-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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

[rt-users] Centos 5.4 + FCGI + Unicode in messages = Failure

2010-03-15 Thread Vitaly Tskhovrebov
Hi.

I have some curious situation here.

If I install RT-3.8.7 from the box on default Ubuntu installation then Unicode 
works very good. But if I use gentoo 10.1 or centos 5.4 (with enabled Unicode 
support), then I can't create or list a ticket with Unicode characters with 
that Error: Wide character in FCGI::Stream::PRINT at 
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 105. Can you 
please help me with that?

MySQL 5.0.77, 5.0.84, 5.1
Perl 5.8.8, 5.10.1

Here's other configuration options:

Perl v5.8.8 under linux
  Apache::Session v1.88;
  Apache::Session::Generate::MD5 v2.12;
  Apache::Session::Lock::MySQL v1.01;
  Apache::Session::MySQL v1.01;
  Apache::Session::Serialize::Storable v1.01;
  Apache::Session::Store::DBI v1.02;
  Apache::Session::Store::MySQL v1.04;
  AutoLoader v5.60;
  base v2.07;
  bytes v1.02;
  Cache::Simple::TimedExpiry v0.27;
  capitalization v0.03;
  Carp v1.04;
  CGI v3.49;
  CGI::Cookie v1.29;
  CGI::Fast v1.08;
  CGI::Util v3.48;
  Class::Accessor v0.34;
  Class::Accessor::Fast v0.34;
  Class::Container v0.12;
  Class::Data::Inheritable v0.08;
  Class::Inspector v1.24;
  Class::ISA v0.33;
  Class::ReturnValue v0.55;
  Clone v0.31;
  constant v1.05;
  CSS::Squish v0.09;
  Cwd v3.31;
  Data::Dumper v2.125;
  Date::Format v2.24;
  Date::Parse v2.30;
  DateTime v0.54;
  DateTime::Duration v0.54;
  DateTime::Helpers v0.54;
  DateTime::Infinite v0.54;
  DateTime::Locale v0.44;
  DateTime::TimeZone v1.13;
  DateTime::TimeZone::Floating v0.01;
  DateTime::TimeZone::Local v0.01;
  DateTime::TimeZone::OffsetOnly v0.02;
  DateTime::TimeZone::UTC v0.01;
  DBD::mysql v4.012;
  DBI v1.609;
  DBIx::SearchBuilder v1.56;
  DBIx::SearchBuilder::Union v0;
  DBIx::SearchBuilder::Unique v0.01;
  Devel::StackTrace v1.22;
  Devel::StackTraceFrame v1.22;
  Devel::Symdump v2.08;
  Digest::base v1.00;
  Digest::MD5 v2.36;
  DynaLoader v1.05;
  Email::Address v1.889;
  Encode v2.39;
  Encode::Alias v2.12;
  Encode::Config v2.05;
  Encode::Encoding v2.05;
  Errno v1.0901;
  Exception::Class v1.29;
  Exception::Class::Base v1.20;
  Exporter v5.58;
  Exporter::Heavy v5.58;
  FCGI v0.69;
  Fcntl v1.05;
  File::Basename v2.74;
  File::Glob v1.05;
  File::Path v1.08;
  File::ShareDir v1.01;
  File::Spec v3.31;
  File::Spec::Unix v3.3;
  File::Temp v0.22;
  FileHandle v2.01;
  FindBin v1.47;
  HTML::Element v3.23;
  HTML::Entities v1.35;
  HTML::Formatter v2.04;
  HTML::FormatText v2.04;
  HTML::Mason v1.44;
  HTML::Mason::CGIHandler v1.00;
  HTML::Mason::Exception v1.1;
  HTML::Mason::Exception::Abort v1.1;
  HTML::Mason::Exception::Compilation v1.1;
  HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
  HTML::Mason::Exception::Compiler v1.1;
  HTML::Mason::Exception::Decline v1.1;
  HTML::Mason::Exception::Params v1.1;
  HTML::Mason::Exception::Syntax v1.1;
  HTML::Mason::Exception::System v1.1;
  HTML::Mason::Exception::TopLevelNotFound v1.1;
  HTML::Mason::Exception::VirtualMethod v1.1;
  HTML::Mason::Exceptions v1.43;
  HTML::Parser v3.55;
  HTML::Scrubber v0.08;
  HTML::Tagset v3.10;
  HTML::TreeBuilder v3.23;
  I18N::LangTags v0.35;
  I18N::LangTags::Detect v1.03;
  integer v1.00;
  IO v1.22;
  IO::File v1.13;
  IO::Handle v1.25;
  IO::InnerFile v2.110;
  IO::Lines v2.110;
  IO::ScalarArray v2.110;
  IO::Seekable v1.1;
  IO::WrapTie v2.110;
  IPC::Open2 v1.02;
  IPC::Open3 v1.02;
  List::MoreUtils v0.22;
  List::Util v1.23;
  Locale::Maketext v1.09;
  Locale::Maketext::Fuzzy v0.10;
  Locale::Maketext::Lexicon v0.79;
  Locale::Maketext::Lexicon::Gettext v0.17;
  Log::Any v0.11;
  Log::Dispatch v2.26;
  Log::Dispatch::Base v2.26;
  Log::Dispatch::Output v2.26;
  Log::Dispatch::Screen v2.26;
  Log::Dispatch::Syslog v2.26;
  Mail::Address v2.06;
  Mail::Field v2.06;
  Mail::Field::AddrList v2.06;
  Mail::Field::Date v2.06;
  Mail::Field::Generic v2.06;
  Mail::Header v2.06;
  Mail::Internet v2.06;
  Mail::Mailer v2.06;
  Mail::Util v2.06;
  MIME::Base64 v3.07;
  MIME::Body v5.427;
  MIME::Decoder v5.427;
  MIME::Decoder::NBit v5.427;
  MIME::Entity v5.427;
  MIME::Field::ContDisp v5.427;
  MIME::Field::ConTraEnc v5.427;
  MIME::Field::ContType v5.427;
  MIME::Field::ParamVal v5.427;
  MIME::Head v5.427;
  MIME::Parser v5.427;
  MIME::QuotedPrint v3.07;
  MIME::Tools v5.427;
  MIME::Words v5.427;
  Module::Versions::Report v1.06;
  overload v1.04;
  Params::Util v1.00;
  Params::Validate v0.95;
  PerlIO v1.04;
  PerlIO::scalar v0.04;
  POSIX v1.09;
  re v0.05;
  Regexp::Common v2010010201;
  Regexp::Common::delimited v2010010201;
  RT v3.8.7;
  RT::Interface::Email v2;
  RT::Interface::Web::Request v0.30;
  Scalar::Util v1.23;
  SelectSaver v1.01;
  Socket v1.78;
  Storable v2.15;
  strict v1.03;
  Symbol v1.06;
  Sys::Syslog v0.27;
  Text::Template v1.45;
  Text::Wrapper v1.02;
  Time::HiRes v1.9717;
  Time::JulianDay v2003.1125;
  Time::Local v1.11;
  Time::ParseDate v2006.0814;
  Time::Timezone v2006.0814;
  Time::Zone v2.24;
  UNIVERSAL v1.01;
  UNIVERSAL::require v0.13;