[ditz-talk] ditz-trac with fedorahosted.org fails [Was: Re: A question about CSS]

Matej Cepl mcepl at redhat.com
Sun Sep 4 16:14:53 EDT 2011


Dne 4.9.2011 17:54, William Morgan napsal(a):
> Ditz is unmaintained, so everyone went away. :)

What's even worse ditz-trac went away (the repo URL gives 404), I would 
love to make it working with fedorahosted.org trac, but it failed miserably.

However, I have managed to fix (well, a colleague of mine, who is a 
Rubbyist) this up to the point that ditz-trac downloads issues but 
(after asking kind of nonsensical question whether it is a bugfix,task 
or feature ... am I supposed to answer this for all 144 issues?) it crashes:

bradford:bugzilla-triage (next) $ ditz trac
warning: peer certificate won't be verified in this SSL session
Fetching 114 tickets...
..................................................................................................................
Creating new issues from 114 tickets
Is this a (b)ugfix, a (f)eature, or a (t)ask? b
Created 114 new issues
Creating new tickets from 0 issues
W, [2011-09-04T22:06:53.777682 #7239]  WARN -- : end of file reached 
when trying URL 
http://fedorahosted.org:443/bugzilla-triage-scripts/login/xmlrpc and 
method ticket.milestone.getAll()
W, [2011-09-04T22:06:54.278540 #7239]  WARN -- : Had to re-connect to Trac
W, [2011-09-04T22:06:54.283162 #7239]  WARN -- : Retry #1
warning: peer certificate won't be verified in this SSL session
Created 0 new tickets
Updating 114 issues
/usr/lib/ruby/site_ruby/1.8/ditz/plugins/trac-sync.rb:383:in 
`copy_comments': undefined method `to_time' for 1279475897:Fixnum 
(NoMethodError)
	from /usr/lib/ruby/site_ruby/1.8/ditz/plugins/trac-sync.rb:378:in `each'
	from /usr/lib/ruby/site_ruby/1.8/ditz/plugins/trac-sync.rb:378:in 
`copy_comments'
	from /usr/lib/ruby/site_ruby/1.8/ditz/plugins/trac-sync.rb:285:in 
`update_issues'
	from /usr/lib/ruby/site_ruby/1.8/ditz/plugins/trac-sync.rb:283:in `each'
	from /usr/lib/ruby/site_ruby/1.8/ditz/plugins/trac-sync.rb:283:in 
`update_issues'
	from /usr/lib/ruby/site_ruby/1.8/ditz/plugins/trac-sync.rb:604:in `trac'
	from /usr/lib/ruby/site_ruby/1.8/ditz/operator.rb:118:in `send'
	from /usr/lib/ruby/site_ruby/1.8/ditz/operator.rb:118:in `do'
	from /usr/bin/ditz:139
bradford:bugzilla-triage (next) $

Anybody any idea, what's wrong?

Current is fedorahosted branch of https://github.com/mcepl/ditz-trac 
(and yes, it has .ditz directory with this issue ;)).

Best,

Matěj


More information about the ditz-talk mailing list