I found this script:

http://projects.edgewall.com/trac/browser/trunk/contrib/bugzilla2trac.py

 

and was excited to be able to move our Bugzilla db bugs into our Trac environment.  Based on the script, I assumed that I could import my bugs in, even with existing Trac tickets.  That doesn’t seem to be the case:

 

svn var # ./bugzilla2trac.py                                                    Using Bugzilla v2184 schema.

Bugzilla MySQL('bugs':'localhost':'root':'*******'): connecting...

Trac SQLite('/var/lib/trac/judysbook'): connecting...

 

0. Filtering products...

  Using products JB Test Tracking JudysBook Issue Tracker

 

1. Import severities...

Traceback (most recent call last):

  File "./bugzilla2trac.py", line 900, in ?

    main()

  File "./bugzilla2trac.py", line 897, in main

    convert(BZ_DB, BZ_HOST, BZ_USER, BZ_PASSWORD, TRAC_ENV, TRAC_CLEAN)

  File "./bugzilla2trac.py", line 532, in convert

    trac.setSeverityList(SEVERITIES)

  File "./bugzilla2trac.py", line 263, in setSeverityList

    self.assertNoTickets()

  File "./bugzilla2trac.py", line 259, in assertNoTickets

    raise Exception("Will not modify database with existing tickets!")

Exception: Will not modify database with existing tickets!

 

Are there any workaround to this?  Or is this intended behavior?

Thanks!

 

-Rob

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to