Opened 15 years ago

Closed 15 years ago

#978 closed bug (Fixed)

Blocklist error message ''ValueError: time data" in download_blocklist_thread

Reported by: Owned by: johnnyg
Priority: major Milestone:
Component: Unknown Version: 1.2.0_dev
Keywords: Cc:


Just discovered this with svn r5427:

Traceback (most recent call last):
  File "/usr/lib/python2.6/", line 497, in __bootstrap
  File "/usr/lib/python2.6/", line 525, in __bootstrap_inner
  File "/usr/lib/python2.6/", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/python/", line 210, in _worker
    result =, function, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/twisted/python/", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/", line 37, in callWithContext
    return func(*args,**kw)
  File "/usr/share/python-support/deluge-core/deluge/plugins/Blocklist-1.0-py2.6.egg/blocklist/", line 254, in download_blocklist_thread
  File "/usr/lib/python2.6/", line 325, in _strptime
    (data_string, format))
exceptions.ValueError: time data 'Sun, 01 Mar 2009 02:02:04 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT'

Change History (4)

comment:1 Changed 15 years ago by johnnyg

  • Owner changed from andar to johnnyg
  • Status changed from new to accepted

blocklist is not working in trunk, however what url were you using when you got this error?

comment:2 Changed 15 years ago by johnnyg

what's confusing is that the format string DOES match the time data ???

comment:3 Changed 15 years ago by

Yes, I thought it matched too.

Will return with the URL, currently the "settings" window does not open so I will report that issue first.

comment:4 Changed 15 years ago by johnnyg

  • Resolution set to fixed
  • Status changed from accepted to closed

latest blocklist plugin no longer uses this hack.

Note: See TracTickets for help on using tickets.