Error creating tickets with the Perl API

Hi everybody,
I am trying to create tickets from a CSV file as a cronjob each night
using the Perl API of RT.
We are running RT 3.6.1 on a Debian System. I used the CliBasics Example
from the Wiki as a guideline,
but when i call RT::LoadConfig(); i get an Error “next at
/usr/share/perl5/Locale/Maketext/Lexicon.pm line 427.” I only found
people with this error at installation time but there everything was
fine.

Anybody got some hints where to look?

Best Regards

Holger

Hi everybody,
I am trying to create tickets from a CSV file as a cronjob each night
using the Perl API of RT.
We are running RT 3.6.1 on a Debian System. I used the CliBasics Example
from the Wiki as a guideline,
but when i call RT::LoadConfig(); i get an Error “next at
/usr/share/perl5/Locale/Maketext/Lexicon.pm line 427.” I only found
people with this error at installation time but there everything was
fine.

Anybody got some hints where to look?

I have
use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);

in my script.Or why not use the rt scricpt for that?

Rolf

plusW
Rolf Schaufelberger
Beim Brünnele 6 Tel. 49 7181 994 35 50
73614 Schorndorf Fax. 49 7181 994 32 75
rs@plusw.de

Do you use custom option LexiconLanguages in the site config?
Try update Locale::Maketext::Lexicon, the error you see is a bug in
this module and I’m pretty sure it’s been fixed.On 3/19/07, Holger Steudle Holger.Steudle@icido.de wrote:

Hi everybody,
I am trying to create tickets from a CSV file as a cronjob each night
using the Perl API of RT.
We are running RT 3.6.1 on a Debian System. I used the CliBasics Example
from the Wiki as a guideline,
but when i call RT::LoadConfig(); i get an Error “next at
/usr/share/perl5/Locale/Maketext/Lexicon.pm line 427.” I only found
people with this error at installation time but there everything was
fine.

Anybody got some hints where to look?

Best Regards

Holger


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@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.