Opened 15 years ago

Closed 14 years ago

#978 closed bug (Fixed)

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

Reported by: tim.kornhammar@… Owned by: johnnyg
Priority: major Milestone:
Component: Unknown Version: 1.2.0_dev
Keywords: Cc:

Description

Just discovered this with svn r5427:

Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 497, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/python/threadpool.py", line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
  File "/usr/share/python-support/deluge-core/deluge/plugins/Blocklist-1.0-py2.6.egg/blocklist/core.py", line 254, in download_blocklist_thread
    
  File "/usr/lib/python2.6/_strptime.py", 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 tim.kornhammar@…

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 14 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.