Mason error

Hi,

I am getting some Mason errors every time I hit Listing.html page, in
particular the queue link (such as general) and Search link. Have
anyone seen this kind of errors before? I didn’t find it in the mailing
list. My rt.log file has this line “Can’t upgrade that kind of scalar
during global destruction.”

I start to see these Mason errors after the perl-ldap-0.24 and
Convert-ASNI-0.12 perl modules are installed. But I am not sure if there
are any connections. It is used to run fine, and I can’t think of any
other changes are made to that RT machine. I am using RH6.1,
MySQL-3.23.40 and RT-2-0-4.

Please help. Thank you!

Sherrill
Sherrill (Pei-chih) Verbrugge
spv@gospelcom.net
ext. 273

Listing.html (8.49 KB)

Hi,

I have emailed this to rt-devel on Aug. 4, but I haven’t got any response
yet. Does anyone have experienced this kind of errors? Thanks.

I am getting some Mason errors every time I hit Listing.html page, in
particular the queue link (such as general) and Search link. Have
anyone seen this kind of errors before? I didn’t find it in the mailing
list. My rt.log file has this line “Can’t upgrade that kind of scalar
during global destruction.”

I start to see these Mason errors after the perl-ldap-0.24 and
Convert-ASNI-0.12 perl modules are installed. But I am not sure if there
are any connections. It is used to run fine, and I can’t think of any
other changes are made to that RT machine. I am using RH6.1,
MySQL-3.23.40 and RT-2-0-4.

Please help. Thank you!

Sherrill
Sherrill (Pei-chih) Verbrugge

Listing.html (8.49 KB)

Sounds like you’re missing one of the new dependencies in 2.0.4
try rerunning make testdeps and make fixdeps

Hi,

I have emailed this to rt-devel on Aug. 4, but I haven’t got any response
yet. Does anyone have experienced this kind of errors? Thanks.

I am getting some Mason errors every time I hit Listing.html page, in
particular the queue link (such as general) and Search link. Have
anyone seen this kind of errors before? I didn’t find it in the mailing
list. My rt.log file has this line “Can’t upgrade that kind of scalar
during global destruction.”

I start to see these Mason errors after the perl-ldap-0.24 and
Convert-ASNI-0.12 perl modules are installed. But I am not sure if there
are any connections. It is used to run fine, and I can’t think of any
other changes are made to that RT machine. I am using RH6.1,
MySQL-3.23.40 and RT-2-0-4.

Please help. Thank you!

Sherrill

Sherrill (Pei-chih) Verbrugge
http://www.gospelcom.net
http://bible.gospelcom.net

Content-Description: the Mason error when hit Listing.html url

                              Mason error                                  

error in file: /usr/local/rt2/WebRT/data/obj/STANDARD/Search/Listing.html
line 126: Can’t locate object method “FreezeLimits” via
package “RT::Tickets”
context: …
122: $_out->(‘/Search/Listing.html?ClearRestrictions=1">New
search

123: <A HREF="’);
124: $_out->($_escape->(( $RT::WebPath),‘h’));
125: $_out->(‘/Search/Listing.html?Bookmark=’);
126: $_out->($_escape->(($session{‘tickets’}->FreezeLimits
()),‘h’,‘u’));
127: $_out->(‘&TicketsSortBy=’);
128: $_out->($_escape->(($session
{‘tickets_sort_by’}),‘h’));
129: $_out->(‘&TicketsSortOrder=’);
130: $_out->($_escape->(($session
{‘tickets_sort_order’}),‘h’));

component stack: /Search/Listing.html [standard]
/autohandler [standard]
code stack: /usr/local/rt2/WebRT/data/obj/STANDARD/Search/Listing.html:
126
/usr/local/rt2/WebRT/data/obj/STANDARD/autohandler:52

raw_error

               error while executing /Search/Listing.html [standard]:      

raw error: Can’t locate object method “FreezeLimits” via package “RT::
Tickets” at /usr/local/rt2/WebRT/data/obj/STANDARD/Search/
Listing.html line 126, chunk 82.
HTML::Mason::Interp::ANON(‘Can't locate object method
“FreezeLimits” via package "RT::Tick…’) called at /usr/
local/rt2/WebRT/data/obj/STANDARD/Search/Listing.html line
126
HTML::Mason::Commands::ANON() called at /usr/lib/perl5/
site_perl/5.005/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::
FileBased=HASH(0x8d77f78)’) called at /usr/lib/perl5/
site_perl/5.005/HTML/Mason/Request.pm line 653
eval {…} called at /usr/lib/perl5/site_perl/5.005/HTML/
Mason/Request.pm line 653
HTML::Mason::Request::comp(‘HTML::Mason::Request::
ApacheHandler=HASH(0x8dcece4)’, ‘HTML::Mason::Component::
FileBased=HASH(0x8d77f78)’) called at /usr/lib/perl5/
site_perl/5.005/HTML/Mason/Request.pm line 316
HTML::Mason::Request::call_next(‘HTML::Mason::Request::
ApacheHandler=HASH(0x8dcece4)’) called at /usr/local/rt2/
WebRT/data/obj/STANDARD/autohandler line 52
HTML::Mason::Commands::ANON() called at /usr/lib/perl5/
site_perl/5.005/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::
FileBased=HASH(0x8cda964)’) called at /usr/lib/perl5/
site_perl/5.005/HTML/Mason/Request.pm line 653
eval {…} called at /usr/lib/perl5/site_perl/5.005/HTML/
Mason/Request.pm line 653
HTML::Mason::Request::comp(‘HTML::Mason::Request::
ApacheHandler=HASH(0x8dcece4)’, ‘HASH(0x8dcee58)’, ‘HTML::
Mason::Component::FileBased=HASH(0x8cda964)’) called at /usr
/lib/perl5/site_perl/5.005/HTML/Mason/Request.pm line 159
eval {…} called at /usr/lib/perl5/site_perl/5.005/HTML/
Mason/Request.pm line 159
HTML::Mason::Request::exec(‘HTML::Mason::Request::
ApacheHandler=HASH(0x8dcece4)’, ‘/Search/Listing.html’)
called at /usr/lib/perl5/site_perl/5.005/HTML/Mason/
ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1(‘HTML::Mason::
ApacheHandler=HASH(0x8c45da0)’, ‘Apache=SCALAR(0x8da60a4)’,
‘HTML::Mason::Request::ApacheHandler=HASH(0x8dcece4)’,
undef) called at /usr/lib/perl5/site_perl/5.005/HTML/Mason/
ApacheHandler.pm line 560
eval {…} called at /usr/lib/perl5/site_perl/5.005/HTML/
Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::
ApacheHandler=HASH(0x8c45da0)’, ‘Apache=SCALAR(0x8da60a4)’)
called at /usr/local/rt2/bin/webmux.pl line 158
RT::Mason::handler(‘Apache=SCALAR(0x8da60a4)’) called at /
dev/null line 0
eval {…} called at /dev/null line 0

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

Any e-mail sent to the SLA will immediately become the intellectual property
of the SLA and the author of said message will enter into a period of
indentured servitude which will last for a period of time no less than seven
years.

Hello,

I finally managed RT2 to work (at least, the web interface shows up
and is working) but:

After an email is received and an ticket is created, my user want to
the ticket from the WebUI. After writing some text and hitting submit
I got “Mason error”. It shows up on all actions except the “Take”.
What can it be ? make testdeps is OK.

<–snip–>
error while executing /Ticket/Display.html [standard]:
RT::Attachment->Create couldn’t, as you didn’t specify a transaction
HTML::Mason::Interp::ANON(‘RT::Attachment->Create couldn’t, as you didn’t specify a trans…’) called at /opt/rt2/lib/RT/Attachment.pm line 104
RT::Attachment::Create(‘RT::Attachment=HASH(0x90d42d8)’, ‘TransactionId’, undef, ‘Attachment’, ‘MIME::Entity=HASH(0x90cb720)’) called at /opt/rt2/lib/RT/Transaction.pm line 348
RT::Transaction::_Attach(‘RT::Transaction=HASH(0x90d1740)’, ‘MIME::Entity=HASH(0x90cb720)’) called at /opt/rt2/lib/RT/Transaction.pm line 86
RT::Transaction::Create(‘RT::Transaction=HASH(0x90d1740)’, ‘Ticket’, 1, ‘TimeTaken’, ‘’, ‘Type’, ‘Correspond’, ‘Data’, …) called at /opt/rt2/lib/RT/Ticket.pm line 2652
RT::ticket::_NewTransaction(‘RT::Ticket=HASH(0x90dcaf8)’, ‘Type’, ‘Correspond’, ‘Data’, ‘Re: help me^J’, ‘TimeTaken’, ‘’, ‘MIMEObj’, …) called at /opt/rt2/lib/RT/Ticket.pm line 1636
RT::ticket::Correspond(‘RT::Ticket=HASH(0x90dcaf8)’, ‘CcMessageTo’, undef, ‘BccMessageTo’, undef, ‘MIMEObj’, ‘MIME::Entity=HASH(0x90cb720)’, ‘TimeTaken’, …) called at /opt/rt2/lib/RT/Interface/Web.pm line 139
HTML::Mason::Commands::ProcessUpdateMessage(‘ARGSRef’, ‘HASH(0x8ff7a34)’, ‘Actions’, ‘ARRAY(0x8fd2410)’, ‘TicketObj’, ‘RT::Ticket=HASH(0x90dcaf8)’) called at /opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html line 90
HTML::Mason::Commands::ANON(‘Status’, ‘new’, ‘UpdateSubject’, ‘Re: help me’, ‘UpdateTimeWorked’, ‘’, ‘UpdateContent’, ‘nazdar^M^J’, …) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8f698d8)’, ‘Status’, ‘new’, ‘UpdateSubject’, ‘Re: help me’, ‘UpdateTimeWorked’, ‘’, ‘UpdateContent’, …) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
eval {…} called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x90d4c6c)’, ‘HTML::Mason::Component::FileBased=HASH(0x8f698d8)’, ‘Status’, ‘new’, ‘UpdateSubject’, ‘Re: help me’, ‘UpdateTimeWorked’, ‘’, …) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 316
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0x90d4c6c)’) called at /opt/rt2/WebRT/data/obj/STANDARD/autohandler line 52
HTML::Mason::Commands::ANON(‘Status’, ‘new’, ‘UpdateSubject’, ‘Re: help me’, ‘UpdateTimeWorked’, ‘’, ‘UpdateContent’, ‘nazdar^M^J’, …) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x86d1500)’, ‘Status’, ‘new’, ‘UpdateSubject’, ‘Re: help me’, ‘UpdateTimeWorked’, ‘’, ‘UpdateContent’, …) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
eval {…} called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x90d4c6c)’, ‘HASH(0x90d4bc8)’, ‘HTML::Mason::Component::FileBased=HASH(0x86d1500)’, ‘Status’, ‘new’, ‘UpdateSubject’, ‘Re: help me’, ‘UpdateTimeWorked’, …) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 159
eval {…} called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 159
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x90d4c6c)’, ‘/Ticket/Display.html’, ‘Status’, ‘new’, ‘UpdateSubject’, ‘Re: help me’, ‘UpdateTimeWorked’, ‘’, …) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1(‘HTML::Mason::ApacheHandler=HASH(0x86cce98)’, ‘Apache=SCALAR(0x903bd2c)’, ‘HTML::Mason::Request::ApacheHandler=HASH(0x90d4c6c)’, undef) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 560
eval {…} called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x86cce98)’, ‘Apache=SCALAR(0x903bd2c)’) called at /opt/rt2/bin/webmux.pl line 158
RT::Mason::handler(‘Apache=SCALAR(0x903bd2c)’) called at /dev/null line 0
eval {…} called at /dev/null line 0
<–/snip–>

Thanks for any idea, bye!

Mirek

what version of rt2?

As I noticed 2.0.5 is out, I go tit and tried to do a clean install.
I set up a queue and try to send a mail to it. Ticket is being created
and I can work with it. But when I try to reply to it I get the error
placed in attachement. I tried to reinstall the Log::Dispatch and restart
apache. But I got a the same result after this. Don’t you know where’s
the problem ?

Thanks!

Mirek

Display.html (2.31 KB)

what version of rt2?

As I noticed 2.0.5 is out, I go tit and tried to do a clean install.
I set up a queue and try to send a mail to it. Ticket is being created
and I can work with it. But when I try to reply to it I get the error
placed in attachement. I tried to reinstall the Log::Dispatch and restart
apache. But I got a the same result after this. Don’t you know where’s
the problem ?
I had a look into my apache error-log and theres one suspicious line:

WebRT: No ticket specified ()

What could it be ?

Mirek

I’m going to take a wild guess that you don’t have a new enough CGI.pm.
Does ‘make testdeps’ claim that everything is all set for 2.0.5? I just
tested this functionality locally and it looks ok.

    jOn Wed, Aug 15, 2001 at 09:23:09AM +0200, Miroslav Laus wrote:

On Tue 14.Aug, Jesse wrote:

what version of rt2?

As I noticed 2.0.5 is out, I go tit and tried to do a clean install.
I set up a queue and try to send a mail to it. Ticket is being created
and I can work with it. But when I try to reply to it I get the error
placed in attachement. I tried to reinstall the Log::Dispatch and restart
apache. But I got a the same result after this. Don’t you know where’s
the problem ?

Thanks!

Mirek

RT RT/suse.cz: WebRT Signed in as laus.
[Preferences] [Logout]

[Home] [Search] [Configuration] [New ticket in] [presales] [Goto ticket] [ ]

RT Error
_ No ticket specified _

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

“If IBM wanted to make clones, we could make them cheaper and faster than
anyone else!” - An IBM Rep. visiting Vassar College’s Comp Sci Department.

I’m going to take a wild guess that you don’t have a new enough CGI.pm.
Does ‘make testdeps’ claim that everything is all set for 2.0.5? I just
tested this functionality locally and it looks ok.

    j

This is the output of my make testdeps:

yeti:/usr/local/src/rt-2-0-5 # make testdeps /usr/bin/perl ./tools/testdeps -warn mysql Checking for DBI 1.18 ...found Checking for DBIx::DataSource 0.02 ...found Checking for DBIx::SearchBuilder 0.40 ...found Checking for HTML::Entities...found Checking for MLDBM...found Checking for Net::Domain...found Checking for Net::SMTP...found Checking for Params::Validate 0.02 ...found Checking for HTML::Mason 0.896 ...found Checking for CGI::Cookie 1.20 ...found Checking for Apache::Cookie...found Checking for Apache::Session 1.53 ...found Checking for Date::Parse...found Checking for Date::Format...found Checking for MIME::Entity 5.108 ...found Checking for Mail::Mailer 1.20 ...found Checking for Getopt::Long 2.24 ...found Checking for Tie::IxHash...found Checking for Text::Wrapper...found Checking for Text::Template...found Checking for File::Spec 0.8 ...found Checking for Errno...found Checking for FreezeThaw...found Checking for File::Temp...found Checking for Log::Dispatch 1.6 ...found Checking for DBD::mysql 2.0416 ...found yeti:/usr/local/src/rt-2-0-5 #

Which perl module is the CGI.pm ? I can try to force-install it again.

Mirek

hrm. you’ve got a recent enough CGI.pm…CGI::Cookie 1.20 is part of a recent
enough CGI.pm. Did you stop and start apache after upgrading?On Wed, Aug 15, 2001 at 09:41:04AM +0200, Miroslav Laus wrote:

On Wed 15.Aug, Jesse wrote:

I’m going to take a wild guess that you don’t have a new enough CGI.pm.
Does ‘make testdeps’ claim that everything is all set for 2.0.5? I just
tested this functionality locally and it looks ok.

    j

This is the output of my make testdeps:

yeti:/usr/local/src/rt-2-0-5 # make testdeps /usr/bin/perl ./tools/testdeps -warn mysql Checking for DBI 1.18 ...found Checking for DBIx::DataSource 0.02 ...found Checking for DBIx::SearchBuilder 0.40 ...found Checking for HTML::Entities...found Checking for MLDBM...found Checking for Net::Domain...found Checking for Net::SMTP...found Checking for Params::Validate 0.02 ...found Checking for HTML::Mason 0.896 ...found Checking for CGI::Cookie 1.20 ...found Checking for Apache::Cookie...found Checking for Apache::Session 1.53 ...found Checking for Date::Parse...found Checking for Date::Format...found Checking for MIME::Entity 5.108 ...found Checking for Mail::Mailer 1.20 ...found Checking for Getopt::Long 2.24 ...found Checking for Tie::IxHash...found Checking for Text::Wrapper...found Checking for Text::Template...found Checking for File::Spec 0.8 ...found Checking for Errno...found Checking for FreezeThaw...found Checking for File::Temp...found Checking for Log::Dispatch 1.6 ...found Checking for DBD::mysql 2.0416 ...found yeti:/usr/local/src/rt-2-0-5 #

Which perl module is the CGI.pm ? I can try to force-install it again.

Mirek

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

“It’s buried in the desert, got sand in it, melts Nazis. You know,
the Ark of the Covenant” – siva

hrm. you’ve got a recent enough CGI.pm…CGI::Cookie 1.20 is part of a recent
enough CGI.pm. Did you stop and start apache after upgrading?

I thing I wrote that in one of my previous emails. I had a similar
problem a time ago which was caused by unrestarted apache. Now I’m
looking to restart apache after doing anything with rt2.

Mirek

Hi,

I have a couple of (identical) tickets which I am unable to access -
they keep generating the following error:

error in file: /usr/lib/perl5/5.6.0/Carp/Heavy.pm

line 79: Bizarre copy of HASH in aassigncontext:

75: # them according to the format variables defined earlier in
76: # this file and join them onto the $sub sub-routine string
77: if ($hargs) {
78: # we may trash some of the args so we take a copy
79: @a = @DB::args; # must get local copy of args
80: # don’t print any more than $MaxArgNums
81: if ($MaxArgNums and @a > $MaxArgNums) {
82: # cap the length of $#a and set the last element to '…'
83: $#a = $MaxArgNums;
… component stack: /Ticket/Elements/ShowTransaction [standard]
/Ticket/Elements/ShowHistory [standard]
/Ticket/Display.html [standard]
/autohandler [standard]
code stack:
/usr/lib/perl5/5.6.0/Carp/Heavy.pm:79

They both generated an error when I tried to create them (something
about the maximum length of a line in inline text), but I didn’t
catch the error.

Any ideas about what is going on?

Cheers,

Joel

Joel Smith
22 Springfield Way
Pateley Bridge Tel: +44 1423 711229 Mobile: +44 7768 803758
N.Yorks HG3 5PA Fax: +44 870 1617192

Hi,

I am trying to get the default listing of the queue to include the
Priority field. I have added the following to config.pm:

   { Header => 'Priority',
      TicketAttribute => 'TicketObj->Priority'
      },

However, the output just lists the priority as a -

What am I doing wrong?

Cheers,

Joel

Joel Smith
22 Springfield Way
Pateley Bridge Tel: +44 1423 711229 Mobile: +44 7768 803758
N.Yorks HG3 5PA Fax: +44 870 1617192

Hi,

I have a couple of (identical) tickets which I am unable to access -
they keep generating the following error:

error in file: /usr/lib/perl5/5.6.0/Carp/Heavy.pm

line 79: Bizarre copy of HASH in aassigncontext:

75: # them according to the format variables defined earlier in
76: # this file and join them onto the $sub sub-routine string
77: if ($hargs) {
78: # we may trash some of the args so we take a copy
79: @a = @DB::args; # must get local copy of args
80: # don’t print any more than $MaxArgNums
81: if ($MaxArgNums and @a > $MaxArgNums) {
82: # cap the length of $#a and set the last element to '…'
83: $#a = $MaxArgNums;
… component stack: /Ticket/Elements/ShowTransaction [standard]
/Ticket/Elements/ShowHistory [standard]
/Ticket/Display.html [standard]
/autohandler [standard]
code stack:
/usr/lib/perl5/5.6.0/Carp/Heavy.pm:79

They both generated an error when I tried to create them (something
about the maximum length of a line in inline text), but I didn’t
catch the error.

Any ideas about what is going on?

Cheers,

Joel

Joel Smith
IFonline
Princes Exchange
Princes Square +44 (0)113 220 7017 +44 (0)7768 803758 (mobile)
Leeds LS1 4NP Fax +44 (0)870 1617192 (direct)

Try TicketAttribute => 'Priority’On Fri, Sep 14, 2001 at 05:30:55PM +0100, Joel Smith wrote:

Hi,

I am trying to get the default listing of the queue to include the
Priority field. I have added the following to config.pm:

   { Header => 'Priority',
      TicketAttribute => 'TicketObj->Priority'
      },

However, the output just lists the priority as a -

What am I doing wrong?

Cheers,

Joel

Joel Smith
22 Springfield Way
Pateley Bridge Tel: +44 1423 711229 Mobile: +44 7768 803758
N.Yorks HG3 5PA Fax: +44 870 1617192


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Hi
This is a new install on Linux. I seem to have all modules installed but get
the following error upon startup.

error in file:
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm
line 1140:
mkdir /opt/rt2/WebRT/data/obj: Permission denied

context: …
1136:
if (!-f $object_file) {
1137:
my ($dirname) = dirname($object_file);
1138:
if (!-d $dirname) {
1139:
unlink($dirname) if (-e $dirname);
1140:
push(@newfiles,mkpath($dirname,0,0775));
1141:
die “Couldn’t create directory $dirname: $!” if (!-d $dirname);
1142:
}
1143:
rmtree($object_file) if (-d $object_file);
1144:
}

I’ve checked ownership & permissions & tried deleting the directory with no
success.
Any thoughts?
TIA

Bill Hults
IS Director
Paydata Payroll Services
(802)655-6160 X164

your webserver doesn’t have permission to write to that directory, which it
needs to. The directory it needs to be able write to is /opt/rt2/WebRT/data

Hope this helps.-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Bill Hults
Sent: Wednesday, 9 January 2002 8:52 AM
To: rt-users
Subject: [rt-users] Mason error

Hi
This is a new install on Linux. I seem to have all modules installed but get
the following error upon startup.

error in file:
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm
line 1140:
mkdir /opt/rt2/WebRT/data/obj: Permission denied

context: …
1136:
if (!-f $object_file) {
1137:
my ($dirname) = dirname($object_file);
1138:
if (!-d $dirname) {
1139:
unlink($dirname) if (-e $dirname);
1140:
push(@newfiles,mkpath($dirname,0,0775));
1141:
die “Couldn’t create directory $dirname: $!” if (!-d $dirname);
1142:
}
1143:
rmtree($object_file) if (-d $object_file);
1144:
}

I’ve checked ownership & permissions & tried deleting the directory with no
success.
Any thoughts?
TIA

Bill Hults
IS Director
Paydata Payroll Services
(802)655-6160 X164

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Hello!
I’m starting to try RT.
So, when I try to respond to a ticket I’m getting an error wich I don’t
know how to solve:-(
It’s the following:

*error in file: * /usr/lib/perl5/site_perl/5.6.1/MIME/Entity.pm

line 1913: Can’t locate object method “new” via package “IO::Scalar”
(perhaps you forgot to load “IO::Scalar”?)

*context: *

1909: =cut
1910:
1911: sub stringify_body {
1912: my $str = ‘’;
1913: shift->print_body(new IO::Scalar $str);
1914: $str;
1915: }
1916: sub body_as_string { shift->stringify_body }
1917:

*component stack: * /Ticket/Display.html [standard]
/autohandler [standard]
*code stack: * /usr/lib/perl5/site_perl/5.6.1/MIME/Entity.pm:1916
/opt/rt2/lib/RT/Interface/Web.pm:278
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html:126
/opt/rt2/WebRT/data/obj/STANDARD/autohandler:69

*misc info: * error while executing /Ticket/Display.html [standard]:

I already verified if I have installed IO::Scalar and I have.
Can you help me, please?
Thanks in advance,
Mariana Lopes

I’m getting the following error message in my error log when I attempt
to access the URL I set RT2 up under:

[error] The following parameters were passed in the call to
HTML::Mason::Request::ApacheHandler->new() but were not listed in the
validation options: ah args comp error_format interp error_mode
apache_req

I recently upgraded from 2.0.13 to 2.0.14 but I removed my old install
completely. This is on a FreeBSD 4.6-STABLE host running Apache 1.3.26
with mod_perl 1.27 and HTML::Mason 1.12

Any help is appreciated.

Thanks,
Paul

Hello!

I’m starting to try RT.

So, when I try to respond to a ticket I’m getting an error wich I don’t know
how to solve:-(

It’s the following:

error in file:
/usr/lib/perl5/site_perl/5.6.1/MIME/Entity.pm line 1913: Can’t locate object
method “new” via package “IO::Scalar” (perhaps you forgot to load “IO::Scalar”?)context:

1909: =cut1910:

1911: sub stringify_body
{1912: my $str = ‘’;1913: shift->print_body(new IO::Scalar $str);1914: $str; 1915: }1916: sub body_as_string
{ shift->stringify_body }1917:

component stack:
/Ticket/Display.html
[standard]

/autohandler [standard]

code stack: /usr/lib/perl5/site_perl/5.6.1/MIME/Entity.pm:1916

/opt/rt2/lib/RT/Interface/Web.pm:278

/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html:126

/opt/rt2/WebRT/data/obj/STANDARD/autohandler:69

misc info: error while executing
/Ticket/Display.html [standard]:

Can you help me, please?

Thanks in advance,

    Mariana Lopes