------------------------…
------------------------------------------------------------------------------------------------------------------------
555 process_update dispatcher.py
> handler.handle_update(update, self, check, context)
---
110 handle_update handlers.py
> return self.callback(update, context)
---
325 kang stickers.py
> urllib.urlretrieve(png_sticker, kangsticker)
---
247 urlretrieve request.py
> with contextlib.closing(urlopen(url, data)) as fp:
---
222 urlopen request.py
> return opener.open(url, data, timeout)
---
509 open request.py
> req = Request(fullurl, data)
---
328 __init__ request.py
> self.full_url = url
---
354 full_url request.py
> self._parse()
---
383 _parse request.py
> raise ValueError("unknown url type: %r" % self.full_url)
ValueError:
unknown url type: '@NoFapChallenge100'
-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 1272374428
Chat: NOFAP 365 Days Community -1001643351285
Callback data: None
Message: /kang @NoFapChallenge100
Full Traceback: Traceback (most recent call last):
File "e:\saitamarobot\env\lib\site-packages\telegram\ext\dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\helper_funcs\handlers.py", line 110, in handle_update
return self.callback(update, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\stickers.py", line 325, in kang
urllib.urlretrieve(png_sticker, kangsticker)
File "C:\Program Files\Python38\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Program Files\Python38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Program Files\Python38\lib\urllib\request.py", line 509, in open
req = Request(fullurl, data)
File "C:\Program Files\Python38\lib\urllib\request.py", line 328, in __init__
self.full_url = url
File "C:\Program Files\Python38\lib\urllib\request.py", line 354, in full_url
self._parse()
File "C:\Program Files\Python38\lib\urllib\request.py", line 383, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '@NoFapChallenge100'