Upgrading 2.0.9 to 2.0.13 - etc/insertdata fails

After upgrading from 2.0.9 to 2.0.13, an attempt to run etc/insertdata
returns the following error:

insertdata

Can’t locate object method “CaseSensitive” via package “RT::Handle” at
…/lib/RT/Record.pm line 128.
Checking for existing system user…#

Any suggestions?

                            -Shawn Page
                            bspage@webassign.net

After upgrading from 2.0.9 to 2.0.13, an attempt to run etc/insertdata
returns the following error:

insertdata

Can’t locate object method “CaseSensitive” via package “RT::Handle” at
…/lib/RT/Record.pm line 128.
Checking for existing system user…#

Any suggestions?

I believe insertdata requires an argument…

How about

./insertdata 2.0.13

?

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

Down with categorical imperative!

Odhiambo Washington wrote:

After upgrading from 2.0.9 to 2.0.13, an attempt to run etc/insertdata
returns the following error:

insertdata

Can’t locate object method “CaseSensitive” via package “RT::Handle” at
…/lib/RT/Record.pm line 128.
Checking for existing system user…#

Any suggestions?

I believe insertdata requires an argument…

How about

./insertdata 2.0.13

?

-Wash

The argument is the version You upgrade from. so it would be

insertdata 2.0.9

regards.

Harald.

Harald WagenerAn der Alster 4220099 Hamburg*http://www.fcb-wilkens.com

Odhiambo Washington wrote:

After upgrading from 2.0.9 to 2.0.13, an attempt to run etc/insertdata
returns

I believe insertdata requires an argument…

How about

./insertdata 2.0.13

That’d be for upgrading from 2.0.13 to … erm, 2.0.13.

Clue: The insertdata script that comes with 2.0.13 knows that your
current version is 2.0.13; what it needs to be told is what your
previous version was.

Smylers

Odhiambo Washington wrote:

After upgrading from 2.0.9 to 2.0.13, an attempt to run etc/insertdata
returns

I believe insertdata requires an argument…

How about

./insertdata 2.0.13

That’d be for upgrading from 2.0.13 to … erm, 2.0.13.

Clue: The insertdata script that comes with 2.0.13 knows that your
current version is 2.0.13; what it needs to be told is what your
previous version was.

Smylers

Yeah, I flanked on that one, sorry. I actually typed the wrong thing!
This happens a lot from newbie ;?

My apologies.

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

No one has a higher opinion of him than he has.
– Greg Lehey, FreeBSDcon 1999

Clue: The insertdata script that comes with 2.0.13 knows that your
current version is 2.0.13; what it needs to be told is what your
previous version was.

The script needs to be fixed to actually prompt the user for the right
info, and to do some simple checks that the input is valid. It’s not
that freakin hard to make this script smarter.

I’ll try and whip up a patch in the next few weeks (once I get past
1.0.7 to 2.0.13 upgrade fun…) and submit it.

I’ve just seen so many people burned by this issue that it should be
fixed properly.

John
John Stoffel - Senior Unix Systems Administrator - Lucent Technologies
stoffel@lucent.com - http://www.lucent.com - 978-399-0479

Smylers wrote:

Odhiambo Washington wrote:

After upgrading from 2.0.9 to 2.0.13, an attempt to run etc/insertdata
returns

I believe insertdata requires an argument…

How about

./insertdata 2.0.13

That’d be for upgrading from 2.0.13 to … erm, 2.0.13.

Clue: The insertdata script that comes with 2.0.13 knows that your
current version is 2.0.13; what it needs to be told is what your
previous version was.

Smylers

Good point, I should pay more attention to the ‘make upgrade’ output and the
README file.

However, the error still occurs; where is the CaseSensitive method actually
defined? I haven’t been able to locate it

                            -Shawn Page
                            bspage@webassign.net

John Stoffel wrote:

The script needs to be fixed to actually prompt the user for the right
info, and to do some simple checks that the input is valid. It’s not
that freakin hard to make this script smarter.

Actually, what would be really cool, would be for the script
to be able to discover the old version itself, with no user
input. Maybe by storing the version in the database somewhere?