Re: [rt-users] RT 3.8.2 install failed due XML::RSS
Try installing from apt repositories 'apt-get install -y libxml-rss-perl' then re-run make fixdeps. I found this worked a treat on our recent re-install of RT. *Regards,* *Aaron Guise 027 212 6638 aa...@guise.net.nz * On Sat, Mar 28, 2009 at 12:39 AM, Torsten Kaehler wrote: > > Torsten Kaehler wrote: > > > Hello, > > > > > > I want to install RT 3.8.2 on a Debian (UCS) System, but I get an error > > > with 'make fixdeps': > > > > > > perl: > > > >=5.8.3(5.8.8)...found > > > > > > users: > > > rt group (www-data)...found > > > bin owner (root)...found > > > libs owner (root)...found > > > libs group (bin)...found > > > web owner (www-data)...found > > > web group (www-data)...found > > > ... > > > > > > SOME DEPENDENCIES WERE MISSING. > > > MASON missing dependencies: > > > XML::RSS >= 1.05...MISSING > > > make: *** [fixdeps] Fehler 1 > > > > > > Then I want to install the modul: > > > # /usr/bin/perl -MCPAN -e'install XML::RSS' > > > PAN: Storable loaded ok (v2.15) > > > Going to read /root/.cpan/Metadata > > > Database was generated on Fri, 27 Mar 2009 04:27:05 GMT > > > XML::RSS is up to date (1.43). > > > > > > That mean, XML::RSS is installed in the version 1.43, but 'make > fixdeps' > > > did not find the modul. > > > > > > Has anyone an idea, how I can resolve this problem? > > > > Perl in your $PATH is maybe different from /usr/bin/perl. > > > > Regards > > Racke > > No, perl in the $PATH are not different from /usr/bin/perl. > > Can I continue with the RT Installation without problems or will RT later > still missing XML::RSS? > > Regards, > > Torsten Kähler > -- > digitec GmbH > Amsinckstraße 57 > 20097 Hamburg > > Tel. +49 40 23776-117 > Fax +49 40 23776-200 > > www.digitec.de > > > > > digitec GmbH EDV-Beratung, Soft- und Hardware > Sitz Hamburg - HRB 28818, Amtsgericht Hamburg - Steuer-Nr. 2279101874 > Geschäftsführer Klaus Bredow, Hans-Joachim Hänel, Hans-Jürgen Joost > > WICHTIGER HINWEIS > Die Kommunikation mit digitec GmbH per Email dient nur dem Zweck der > schnellen > Information. > Rechtsverbindliche Absprachen kommen über dieses Medium nicht zustande ! > > IMPORTANT NOTICE > Communication with digitec GmbH via email is for quick information purposes > only. > This medium is not to be used for the exchange of legally binding > statements ! > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] ExternalAuth + Anonymous emails to queue
Hi all, I'm using RT with ExternalAuth (v 0.8); everything works perfectly fine with respect to ldap/AD authentication and access. However, I'm trying to allow a single queue to receive requests from any email address (ie. @gmail , etc) without knowing who the end user is and without creating accounts for these folks... On the Queue, I have Everyone with the following rights: CommentOnTicket CreateTicket ModifyTicket ReplyToTicket SeeQueue ShowTicket Is it possible to do this without a major hack/reconfig ? Thanks Sean McHugh VP, Dir. of Global Services Grey Group p. 212-546-1926 m. smch...@grey.com c. 917-916-8644 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Command By Email and Multi-Value Custom Field
Thanks for all your suggestions. The below resolved the issue for me (replacing the spaces with underscores_ ). From: Givano [mailto:giv...@gmail.com] Sent: Monday, March 30, 2009 11:58 AM To: Robert Walford Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Command By Email and Multi-Value Custom Field Hi Robert, I had similar problem with one values fields with spacing in the name and it worked only after I removed the spacing. I didn't tried it with "Select multiple values" fields. BR, Ivan Regards, Robert Walford Network Administrator From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Robert Walford Sent: Tuesday, March 24, 2009 12:41 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Command By Email and Multi-Value Custom Field Anyone? Thanks, Robert Walford Network Administrator From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Robert Walford Sent: Friday, March 20, 2009 10:31 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] Command By Email and Multi-Value Custom Field Hi Guys, I am experiencing an issue using CommandByMail and multi-valued custom fields. We running RT 3.8.2. The following fields are one value and works perfectly. cf.{Category}: Telecom - Combobox: Select or enter one value cf.{Origin}: E-mail - Select one value cf.{Severity_Level}: 5 - Select one value But the following fields are multiple values and do not work. cf.{Equipment Impacted}: Router - Select multiple values cf.{Services Impacted}: Internet - Select multiple values Due to the spacing in the field name we have tried with quotations (single/double) and without. Any Thoughts? Regards, Robert Walford Network Administrator ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] help with scrip from wiki
> I don't see anything wrong with this, but I haven't done much scrip > programming. I took the scrip from > > http://wiki.bestpractical.com/view/AddTicketHistoryToMail I think I've solved my own problem. There's a regex in the script that skips transactions where the content type is text/html ... and they all are (since using the rich text editor). So I added that content type to the regex and another regex on the $content variable to strip HTML tags. > Is there a way I can take a scrip like this and put it into a perl script to > debug it from a shell? I can't quite see how... This would still be nice to know how to do, if possible. -- -- Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] help with scrip from wiki
I don't see anything wrong with this, but I haven't done much scrip programming. I took the scrip from http://wiki.bestpractical.com/view/AddTicketHistoryToMail and made a template with it, pretty much verbatim. Only problem is, when the email is sent the "Complete Ticket History" section is empty. Is this scrip on the wiki up to date for RT 3.8.2? Is there a way I can take a scrip like this and put it into a perl script to debug it from a shell? I can't quite see how... -- -- Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Command By Email and Multi-Value Custom Field
Think that I've implemented these with "Set", "Add" and "Del" prefixes. On Mon, Mar 30, 2009 at 7:58 PM, Givano wrote: > Hi Robert, > > I had similar problem with one values fields with spacing in the name and it > worked only after I removed the spacing. I didn't tried it with "Select > multiple values" fields. > > BR, Ivan > > 2009/3/20 Robert Walford >> >> Hi Guys, >> >> >> >> I am experiencing an issue using CommandByMail and multi-valued custom >> fields. We running RT 3.8.2. >> >> >> >> The following fields are one value and works perfectly. >> >> cf.{Category}: Telecom – Combobox: Select or enter one value >> >> cf.{Origin}: E-mail - Select one value >> >> cf.{Severity_Level}: 5 - Select one value >> >> >> >> But the following fields are multiple values and do not work. >> >> cf.{Equipment Impacted}: Router – Select multiple values >> >> cf.{Services Impacted}: Internet – Select multiple values >> >> >> >> >> >> Due to the spacing in the field name we have tried with quotations >> (single/double) and without. >> >> >> >> Any Thoughts? >> >> >> >> >> >> Regards, >> >> >> >> Robert Walford >> >> Network Administrator >> >> >> >> ___ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sa...@bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Command By Email and Multi-Value Custom Field
Hi Robert, I had similar problem with one values fields with spacing in the name and it worked only after I removed the spacing. I didn't tried it with "Select multiple values" fields. BR, Ivan 2009/3/20 Robert Walford > Hi Guys, > > > > I am experiencing an issue using CommandByMail and multi-valued custom > fields. We running RT 3.8.2. > > > > The following fields are one value and works perfectly. > > cf.{Category}: Telecom – Combobox: Select or enter one value > > cf.{Origin}: E-mail - Select one value > > cf.{Severity_Level}: 5 - Select one value > > > > But the following fields are multiple values and do not work. > > cf.{Equipment Impacted}: Router – Select multiple values > > cf.{Services Impacted}: Internet – Select multiple values > > > > > > Due to the spacing in the field name we have tried with quotations > (single/double) and without. > > > > Any Thoughts? > > > > > > Regards, > > > > Robert Walford > > Network Administrator > > > > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Umlaute in attachment filename RT 3.8.1
Hello Everybody! when I try to create a new ticket in any queue and attach a doc file ööäädfasdf.doc I am getting "Ticket could not be created due to an internal error" message, in the log file following output is coming: [Mon Mar 30 15:21:17 2009] [debug]: Guessed encoding: utf8 (/opt/rt3/bin/../lib/RT/I18N.pm:416) [Mon Mar 30 15:21:17 2009] [debug]: Guessed encoding: utf8 (/opt/rt3/bin/../lib/RT/I18N.pm:416) [Mon Mar 30 15:21:17 2009] [debug]: About to think about scrips for transaction #40891 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163) [Mon Mar 30 15:21:17 2009] [debug]: About to think about scrips for transaction #40892 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163) [Mon Mar 30 15:21:17 2009] [debug]: About to think about scrips for transaction #40893 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163) [Mon Mar 30 15:21:17 2009] [debug]: About to think about scrips for transaction #40894 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163) [Mon Mar 30 15:21:18 2009] [debug]: Max size is 1000 (/opt/rt3/bin/../lib/RT/Record.pm:743) [Mon Mar 30 15:21:18 2009] [warning]: DBD::Pg::st execute failed: ERROR: invalid byte sequence for encoding "UTF8": 0xf6f6e4e4 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding". (/usr/lo cal/share/perl/5.8.8/DBIx/SearchBuilder/Handle.pm:505) [Mon Mar 30 15:21:18 2009] [warning]: RT::Handle=HASH(0xa1f0b3c) couldn't execute the query 'INSERT INTO Attachments (Subject, Filename, ContentType, Headers , Creator, MessageId, Parent, Created, Content, ContentEncoding, TransactionId) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at /usr/local/share/perl/5.8.8/DBIx /SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xa1f0b3c)', 'INSERT INTO Attachments (Subject, Filename, ContentType, Head...', '\x{c3}\x{ b6}\x{c3}\x{b6}\x{c3}\x{a4}\x{c3}\x{a4}dfasdf.doc', 'dfasdf.doc', 'application/msword', 'Subject: \x{c3}\x{b6}\x{c3}\x{b6}\x{c3}\x{a4}\x{c3}\ x{a4}dfasdf.doc\x{a}MIME-Version: 1.0\x{a}Content-Type: a...', 132, '', 26479, ...) called at /usr/local/share/perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 3 53 .skipped.. [Mon Mar 30 15:21:18 2009] [crit]: Attachment insert failed: ERROR: invalid byte sequence for encoding "UTF8": 0xf6f6e4e4 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding". (/opt/rt 3/bin/../lib/RT/Attachment_Overlay.pm:191) [Mon Mar 30 15:21:18 2009] [crit]: Attachment insert failed: ERROR: invalid byte sequence for encoding "UTF8": 0xf6f6e4e4 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding". (/opt/rt 3/bin/../lib/RT/Attachment_Overlay.pm:164) [Mon Mar 30 15:21:18 2009] [debug]: About to think about scrips for transaction #40895 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163) [Mon Mar 30 15:21:18 2009] [debug]: About to prepare scrips for transaction #40895 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167) [Mon Mar 30 15:21:18 2009] [debug]: RT::Ticket=HASH(0xac75134) tried to load a bogus ticket: 2443 (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:172) [Mon Mar 30 15:21:18 2009] [err]: RT::Scrips=HASH(0xafa1674) couldn't load ticket 2443 (/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:291) [Mon Mar 30 15:21:18 2009] [debug]: Found 10 scrips for TransactionCreate stage with applicable type(s) Create (/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370) [Mon Mar 30 15:21:18 2009] [debug]: Scrip 15 has been applied, since it is not deactivated for Queue (/opt/rt3/bin/../local/lib/RT/Scrip_Overlay.pm:378) [Mon Mar 30 15:21:18 2009] [debug]: RT::Ticket=HASH(0xa8b25d8) tried to load a bogus ticket: 2443 (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:172) [Mon Mar 30 15:21:18 2009] [crit]: HasRight called with no valid object (/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322) [Mon Mar 30 15:21:18 2009] [info]: Scrip 24 has NOT been applied, since it is deactivated for Queue (/opt/rt3/bin/../local/lib/RT/Scrip_Overlay.pm:374) [Mon Mar 30 15:21:18 2009] [info]: Scrip 25 has NOT been applied, since it is deactivated for Queue (/opt/rt3/bin/../local/lib/RT/Scrip_Overlay.pm:374) [Mon Mar 30 15:21:18 2009] [info]: Scrip 26 has NOT been applied, since it is deactivated for Queue (/opt/rt3/bin/../local/lib/RT/Scrip_Overlay.pm:374) [Mon Mar 30 15:21:18 2009] [info]: Scrip 23 has NOT been applied, since it is deactivated for Queue (/opt/rt3/bin/../local/lib/RT/Scrip_Overlay.pm:374) [Mon Mar 30 15:21:18 2009] [debug]: Scrip 3 has been applied, since it is not deactivated for Queue (/opt/rt3/bin/../local/lib/RT/Scrip_Overlay.pm:378) [Mon Mar 30 15:21:18 2009] [debug]: RT::Ticket=HASH(0xadd4afc) tried to load a bogus ticket: 2443 (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:172) [Mon Mar 30 15:21:18 2009] [crit]: HasRight called with no valid object (/opt/rt3/
Re: [rt-users] onCorrespond second scrip is ignored + business Date
Hi Julien, This input is for Business::Hours rather than SLA (never used SLA). I use Business::Hours both to set an appropriate due date for us (our hours are 8x5) and to generate reminders when the due date is getting close. I use "use Business::Hours;" in my scripts. Gene At 07:53 AM 3/30/2009, jul wrote: >Hello, > >I stumble on a simple problem that I cant fix since I dont know whether it >is a bug or a feature : >I use to have more than one onCorrespond scrip (I believe). Since I >installed Extension::SLA it seems that only the first scrip by Id is >called. > >It seems to me that RT::Extension might have introduced that behaviour. > >It may also be that I did not noticed it sooner. > >However my diagnostic is that there is a 95% chance I introduced a >chair/keyboard bug. ;) >What is your opinion ? > >Since I find Extension SLA quite tough to use, I was thinking of using >Business::Date in a scrip to fix Due Date in two business Day. «use» works >or do I have to play with BEGIN { } to had the INC paths ? > >Thanks > >-- >Julien Tayon // digital craftsman // making things simpler (when possible) -- Gene LeDuc, GSEC Security Analyst San Diego State University ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] onCorrespond second scrip is ignored + business Date
Hello, I stumble on a simple problem that I cant fix since I dont know whether it is a bug or a feature : I use to have more than one onCorrespond scrip (I believe). Since I installed Extension::SLA it seems that only the first scrip by Id is called. It seems to me that RT::Extension might have introduced that behaviour. It may also be that I did not noticed it sooner. However my diagnostic is that there is a 95% chance I introduced a chair/keyboard bug. ;) What is your opinion ? Since I find Extension SLA quite tough to use, I was thinking of using Business::Date in a scrip to fix Due Date in two business Day. «use» works or do I have to play with BEGIN { } to had the INC paths ? Thanks -- Julien Tayon // digital craftsman // making things simpler (when possible) I've got a very bad feeling about this. -- Han Solo ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] scrip creating multiple (5?) approvals
Bingo - thanks Jon, that did it! I notice the Transaction description in the glossary is not so helpful: http://wiki.bestpractical.com/view/RTGlossary "transaction (definition needed)" Description anyone ?-) -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ On Friday 27 March 2009 19:53:25 Jon Baker wrote: > That looks to me that you're going to execute that approval script for > every transaction that occurs in the ticket. > > Test for > > lc($self->TransactionObj->Type) eq "create" > > to only fire the event when the ticket is created. > > > Condition: User Defined > >my $ticket= $self->TicketObj; > >if ( $ticket->FirstCustomFieldValue('ticketType') =~ /change > request/i ) { > >return 1; > >} else { > >return 0; > >} > > > > Custom action preparation code: > >return 1; > > > > Custom action cleanup code: > >return 1; > > > > I create a ticket of type 'change request' and recieve 5 identical > approvals > > for the originating ticket. Anyone have any bright suggestions as to > why...? > > -- > Jon Baker > Information Technology > Willie George Ministries > 1003 N 129th E Ave > Tulsa OK 74116 > (918) 234-5656 > > ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com