lepinkainen / pyfibot

Pyfibot the Python IRC bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError in Verkkokauppa.com handler

nikoheikkila opened this issue · comments

For example these URLs:

http://www.verkkokauppa.com/fi/product/39178/dqfck/Apple-iPad-Air-32-GB-Wi-Fi-multimedialaite-valkoinen-MD789

http://www.verkkokauppa.com/fi/product/28744/drqxm/Samsung-Gear-2-alykello-sykesensorilla-Charcoal-Black

Result in following error:

[2014-05-25 19:28:11,171][ERROR    ][bot            ]  ERROR [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'string'
/usr/lib/python2.7/threading.py:525:__bootstrap
/usr/lib/python2.7/threading.py:552:__bootstrap_inner
/usr/lib/python2.7/threading.py:505:run
--- <exception caught here> ---
/home/users/elcynico/pyfibot/local/lib/python2.7/site-packages/twisted/python/threadpool.py:191:_worker
/home/users/elcynico/pyfibot/local/lib/python2.7/site-packages/twisted/python/context.py:118:callWithContext
/home/users/elcynico/pyfibot/local/lib/python2.7/site-packages/twisted/python/context.py:81:callWithContext
/home/users/elcynico/pyfibot/pyfibot/modules/module_urltitle.py:189:handle_url
/home/users/elcynico/pyfibot/pyfibot/modules/module_urltitle.py:340:_handle_verkkokauppa
] handler handle_url error

Running Python 2.7.3. Updating and rehashing didn't help.