CrypticGuy / CrypticGuy/pyigdl

TypeError: BaseException.with_traceback() takes exactly one argument (0 given)

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**code from pypi**
```
from pyigdl import IGDownloader

data = IGDownloader("https://www.instagram.com/reel/Co3tkGLL8nl/")
print(data[0]["download_link"])
```

**result**
```
gaierror Traceback (most recent call last)
[/usr/local/lib/python3.11/dist-packages/urllib3/connection.py](https://localhost:8080/#) in _new_conn(self)
197 try:
--> 198 sock = connection.create_connection(
199 (self._dns_host, self.port),

18 frames
gaierror: [Errno -2] Name or service not known

The above exception was the direct cause of the following exception:

NameResolutionError Traceback (most recent call last)
NameResolutionError: : Failed to resolve 'v3.saveig.app' ([Errno -2] Name or service not known)

The above exception was the direct cause of the following exception:

MaxRetryError Traceback (most recent call last)
MaxRetryError: HTTPSConnectionPool(host='v3.saveig.app', port=443): Max retries exceeded with url: /api/ajaxSearch (Caused by NameResolutionError(": Failed to resolve 'v3.saveig.app' ([Errno -2] Name or service not known)"))

During handling of the above exception, another exception occurred:

ConnectionError Traceback (most recent call last)
ConnectionError: HTTPSConnectionPool(host='v3.saveig.app', port=443): Max retries exceeded with url: /api/ajaxSearch (Caused by NameResolutionError(": Failed to resolve 'v3.saveig.app' ([Errno -2] Name or service not known)"))

During handling of the above exception, another exception occurred:

TypeError Traceback (most recent call last)
[/usr/local/lib/python3.11/dist-packages/pyigdl/igdl.py](https://localhost:8080/#) in IGDownloader(url)
73 return _sendPostRequest(serverUrl, payloadData, headers)
74 except Exception as e:
---> 75 print(e.with_traceback())

TypeError: BaseException.with_traceback() takes exactly one argument (0 given)
```

best regards

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.