[rt-users] Migrate 1.0.7 to 2.0.4

Russ Johnson russj at dimstar.net
Fri Aug 24 13:13:18 EDT 2001


OK, I've done a little hacking that allowed me to finish the import.

I changed this starting at line 724:


else {
         die "can't parse $header for boundry";
}

To this:

else {
         #die "can't parse $header for boundry";
         print "Discarding unknown: $header for boundry\n";
         next;
}

That's probably not the "right" thing to do, but it did let the import 
finish. Like I said, I'm not too experienced with perl/regex. It does look 
like this is discarding all the headers for that message, so I'm fairly 
confident that it's not the right thing to do.

At 07:36 PM 8/23/2001 -0400, Jesse Vincent wrote:
>It looks like the regexp in import-1.0-to-2.0 doesn't accept < and > as 
>boundary
>characters.  One way to fix it would be to change the regexps (I'd love a 
>patch). The quick fix is probably to go edit the mail message and change 
>the boundary conditions by hand.
>
>
>On Thu, Aug 23, 2001 at 04:16:41PM -0700, Russ Johnson wrote:
> > OK, I've upgraded to 2.0.5_03.
> >
> > I dropped the old database.
> >
> > When I attempt to run the import utility, everything works fine, up 
> until this:
> >
> > 2122...transactions: 9203.done.
> >
> > can't parse Content-Type: multipart/mixed; 
> boundary="<<001-3b333a08-5cd9>>"
> > for boundry at ./import-1.0-to-2.0 line 725, <FILE> line 222428.
> >
> > Any ideas on that I need to do?
> >
> > At 05:39 PM 8/22/2001 -0400, Jesse Vincent wrote:
> > >2.0.5_03 does add new functionality and remove some bugs.
> > >to do an import, you're going to have to drop your RT database, 
> anyway.....
> >
> > Russ Johnson
> > Stargate Online
> >
> > http://www.dimstar.net
> > telnet://telnet.dimstar.net
> > ICQ: 3739685
> >
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> >
>
>--
>http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.
>
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users

Russ Johnson
Stargate Online

http://www.dimstar.net
telnet://telnet.dimstar.net
ICQ: 3739685





More information about the rt-users mailing list