ValueError: invalid literal for int(): using bugzilla2trac.py
- From: matador <matador1910-lists (at) yahoo.com>
- Date: Thu, 16 Feb 2006 00:33:30 +0000 (UTC)
bugzilla 2.18.3
trac 0.9.2
apache 2.0.5.x
windows 2000 server
first of all, i had trouble doing the import so i used this hack:
http://lists.edgewall.com/archive/trac/2005-March/002362.html
that seemed to work fine for the import, but most of my tickets wont open
up in the browser giving me the error: invalid literal for int():
Traceback (most recent call last):
File "E:\Python23\Lib\site-packages\trac\web\modpython_frontend.py", line
206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "E:\Python23\Lib\site-packages\trac\web\main.py", line 139, in
dispatch_request
dispatcher.dispatch(req)
File "E:\Python23\Lib\site-packages\trac\web\main.py", line 107, in
dispatch
resp = chosen_handler.process_request(req)
File "E:\Python23\Lib\site-packages\trac\ticket\web_ui.py", line 214, in
process_request
self._insert_ticket_data(req, db, ticket, reporter_id)
File "E:\Python23\Lib\site-packages\trac\ticket\web_ui.py", line 398, in
_insert_ticket_data
changelog = ticket.get_changelog(db=db)
File "E:\Python23\Lib\site-packages\trac\ticket\model.py", line 272, in
get_changelog
log.append((int(t), author, field, oldvalue or '', newvalue or ''))
ValueError: invalid literal for int():
=====================================================================
so 2 questions:
1) does anyone have any suggestions on how to fix this error?
2) if not, then how do i remove all of these bad tickets from the db?
thx
_______________________________________________
Trac mailing list
Trac (at) lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac