Rt2-to-rt3-1.23 script problems

Modified the rt-2.0-to-dumpfile after following the instructions in the
README and after Drew clarified some stuff (thanks Drew!). The ONLY two
lines I modified according to the instructions were the 'use libs’
directives.

Following is the output when I tried to run rt-2.0-to-dumpfile:

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
rt-2.0-to-dumpfile: use: command not found
rt-2.0-to-dumpfile: $: command not found
rt-2.0-to-dumpfile: =: command not found
rt-2.0-to-dumpfile: my: command not found
rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' rt-2.0-to-dumpfile: line 11:die "You must specify an export dir"
unless ($export_dir_base);’

I didn’t think the following would make that much of a difference, but I
did it anyway…

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh ./rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
./rt-2.0-to-dumpfile: use: command not found
./rt-2.0-to-dumpfile: $: command not found
./rt-2.0-to-dumpfile: =: command not found
./rt-2.0-to-dumpfile: my: command not found
./rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' ./rt-2.0-to-dumpfile: line 11:die "You must specify an export dir"
unless ($export_dir_base);’

Anyone have the above issues?

I am trying to rt-2.0-to-dumpfile from a Debian(sarge) RT 2.0.13/Perl
5.6 install. I will then ‘want’ to dumpfile-to-rt-3.0 to a RHEL4 RT
3.2.3/Perl 5.8 install on a different box.

Is it caused by Perl 5.6? In what I am trying to do, what issues should
I look out for when I do dumpfile-to-rt-3.0?

Thanks,

Tim Suter

Tim Suter wrote:

Modified the rt-2.0-to-dumpfile after following the instructions in the
README and after Drew clarified some stuff (thanks Drew!). The ONLY two
lines I modified according to the instructions were the ‘use libs’
directives.

Following is the output when I tried to run rt-2.0-to-dumpfile:

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
rt-2.0-to-dumpfile: use: command not found
rt-2.0-to-dumpfile: $: command not found
rt-2.0-to-dumpfile: =: command not found
rt-2.0-to-dumpfile: my: command not found
rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

Try perl rt-2.0-to-dumpfile /root/rt2-rt3/rt2dump/

I didn’t think the following would make that much of a difference, but I
did it anyway…

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh ./rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
./rt-2.0-to-dumpfile: use: command not found
./rt-2.0-to-dumpfile: $: command not found
./rt-2.0-to-dumpfile: =: command not found
./rt-2.0-to-dumpfile: my: command not found
./rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' ./rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

Anyone have the above issues?

I am trying to rt-2.0-to-dumpfile from a Debian(sarge) RT 2.0.13/Perl
5.6 install. I will then ‘want’ to dumpfile-to-rt-3.0 to a RHEL4 RT
3.2.3/Perl 5.8 install on a different box.

Is it caused by Perl 5.6? In what I am trying to do, what issues should
I look out for when I do dumpfile-to-rt-3.0?

Thanks,

Tim Suter


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

Thanks again, Drew!On Wed, 2005-06-15 at 12:25 -0400, Drew Barnes wrote:

Tim Suter wrote:

Modified the rt-2.0-to-dumpfile after following the instructions in the
README and after Drew clarified some stuff (thanks Drew!). The ONLY two
lines I modified according to the instructions were the ‘use libs’
directives.

Following is the output when I tried to run rt-2.0-to-dumpfile:

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
rt-2.0-to-dumpfile: use: command not found
rt-2.0-to-dumpfile: $: command not found
rt-2.0-to-dumpfile: =: command not found
rt-2.0-to-dumpfile: my: command not found
rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

Try perl rt-2.0-to-dumpfile /root/rt2-rt3/rt2dump/

I didn’t think the following would make that much of a difference, but I
did it anyway…

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh ./rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
./rt-2.0-to-dumpfile: use: command not found
./rt-2.0-to-dumpfile: $: command not found
./rt-2.0-to-dumpfile: =: command not found
./rt-2.0-to-dumpfile: my: command not found
./rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' ./rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

Anyone have the above issues?

I am trying to rt-2.0-to-dumpfile from a Debian(sarge) RT 2.0.13/Perl
5.6 install. I will then ‘want’ to dumpfile-to-rt-3.0 to a RHEL4 RT
3.2.3/Perl 5.8 install on a different box.

Is it caused by Perl 5.6? In what I am trying to do, what issues should
I look out for when I do dumpfile-to-rt-3.0?

Thanks,

Tim Suter


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

OK…export finally finished. Had near 25,000 tickets to export…but
it’s done.

Now, I am to the dumpfile-to-rt-3.0 configuration part. Their is only
one ‘use lib’ line in there pointing to /opt/rt3/lib which happens to be
where my libraries are. Should I add one or edit the existing one
telling dumpfile-to-rt-3.0 where the rt2dump is?

TimOn Wed, 2005-06-15 at 11:05 -0500, Tim Suter wrote:

Modified the rt-2.0-to-dumpfile after following the instructions in the
README and after Drew clarified some stuff (thanks Drew!). The ONLY two
lines I modified according to the instructions were the ‘use libs’
directives.

Following is the output when I tried to run rt-2.0-to-dumpfile:

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
rt-2.0-to-dumpfile: use: command not found
rt-2.0-to-dumpfile: $: command not found
rt-2.0-to-dumpfile: =: command not found
rt-2.0-to-dumpfile: my: command not found
rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

I didn’t think the following would make that much of a difference, but I
did it anyway…

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh ./rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
./rt-2.0-to-dumpfile: use: command not found
./rt-2.0-to-dumpfile: $: command not found
./rt-2.0-to-dumpfile: =: command not found
./rt-2.0-to-dumpfile: my: command not found
./rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' ./rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

Anyone have the above issues?

I am trying to rt-2.0-to-dumpfile from a Debian(sarge) RT 2.0.13/Perl
5.6 install. I will then ‘want’ to dumpfile-to-rt-3.0 to a RHEL4 RT
3.2.3/Perl 5.8 install on a different box.

Is it caused by Perl 5.6? In what I am trying to do, what issues should
I look out for when I do dumpfile-to-rt-3.0?

Thanks,

Tim Suter


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Tim Suter wrote:

OK…export finally finished. Had near 25,000 tickets to export…but
it’s done.

Now, I am to the dumpfile-to-rt-3.0 configuration part. Their is only
one ‘use lib’ line in there pointing to /opt/rt3/lib which happens to be
where my libraries are. Should I add one or edit the existing one
telling dumpfile-to-rt-3.0 where the rt2dump is?

No need to edit anything for that (as I read your question). Just execute
perl dumpfile-to-rt-3.0 DIRNAME where DIRNAME is the rt2dump
directory

Tim

Modified the rt-2.0-to-dumpfile after following the instructions in the
README and after Drew clarified some stuff (thanks Drew!). The ONLY two
lines I modified according to the instructions were the ‘use libs’
directives.

Following is the output when I tried to run rt-2.0-to-dumpfile:

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
rt-2.0-to-dumpfile: use: command not found
rt-2.0-to-dumpfile: $: command not found
rt-2.0-to-dumpfile: =: command not found
rt-2.0-to-dumpfile: my: command not found
rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

I didn’t think the following would make that much of a difference, but I
did it anyway…

confused:~/rt2-rt3/rt2-to-rt3-1.23# sh ./rt-2.0-to-dumpfile /root/rt2-
rt3/rt2dump/
./rt-2.0-to-dumpfile: use: command not found
./rt-2.0-to-dumpfile: $: command not found
./rt-2.0-to-dumpfile: =: command not found
./rt-2.0-to-dumpfile: my: command not found
./rt-2.0-to-dumpfile: line 11: syntax error near unexpected token ($' ./rt-2.0-to-dumpfile: line 11: die “You must specify an export dir”
unless ($export_dir_base);’

Anyone have the above issues?

I am trying to rt-2.0-to-dumpfile from a Debian(sarge) RT 2.0.13/Perl
5.6 install. I will then ‘want’ to dumpfile-to-rt-3.0 to a RHEL4 RT
3.2.3/Perl 5.8 install on a different box.

Is it caused by Perl 5.6? In what I am trying to do, what issues should
I look out for when I do dumpfile-to-rt-3.0?

Thanks,

Tim Suter


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati