[rt-users] Can't call method "Id" without a package or object reference

Kevin Falcone falcone at bestpractical.com
Wed Jul 27 17:41:56 EDT 2011


On Wed, Jul 27, 2011 at 01:57:05PM -0700, mattbookpro wrote:
> 
> [root at pts1 rt-4.0.1]# make initialize-database                                               
> /usr/bin/perl -I/opt/rt4/local/lib -I/opt/rt4/lib sbin/rt-setup-database
> --action init --prompt-for-dba-password
> Subroutine _InitSQL redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 63.
> Subroutine _SQLLimit redefined at

You have RT 3 files installed into your core perl, possibly from an
RPM?  Those will conflict with your new RT4 install.  The upgrade
documentation and recent blog post talk about needing to remove or
move-aside your old RT install or you'll break RT4 during the
install/upgrade

-kevin

> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 87.
> Subroutine _SQLJoin redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 106.
> Subroutine _OpenParen redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 116.
> Subroutine _CloseParen redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 119.
> Subroutine _close_bundle redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 170.
> Subroutine _parser redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 201.
> Subroutine ClausesToSQL redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 377.
> Subroutine FromSQL redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 477.
> Subroutine Query redefined at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Tickets_Overlay_SQL.pm line 543.
> 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:
> 
> 
> Working with:
> Type:   mysql
> Host:   localhost
> Name:   rt3
> User:   rt_user
> DBA:    root
> Now creating a mysql database rt3 for RT.
> Done.
> Now populating database schema.
> Done.
> Now inserting database ACLs.
> Granting access to rt_user@'localhost' on rt3.
> Done.
> Now inserting RT core system objects.
> [Wed Jul 27 20:44:57 2011] [crit]: Can't call method "Id" without a package
> or object reference at /usr/lib/perl5/vendor_perl/5.8.8/RT/Group_Overlay.pm
> line 309. (/tmp/rt-4.0.1/sbin/../lib/RT.pm:340)
> Can't call method "Id" without a package or object reference at
> /usr/lib/perl5/vendor_perl/5.8.8/RT/Group_Overlay.pm line 309.
> make: *** [initialize-database] Error 255
> 
> -- 
> View this message in context: http://old.nabble.com/Can%27t-call-method-%22Id%22-without-a-package-or-object-reference-tp32151734p32151734.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
> 
> 
> --------
> 2011 Training: http://bestpractical.com/services/training.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110727/b2c93f41/attachment.sig>


More information about the rt-users mailing list