You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating podcasts with knowledge bases that are just pure text, eg --url somefile.txt, the program gets confused and acts as though you have sent it a --file flag and tries to load the content of the text file as a file full of url's
ive confirmed that if I convert the raw text file to pdf, then it works as expected with --url somefile.pdf.
here is a dump of an attempt to use a raw text file as a url input.
python -m podcastfy.client --url file:///tcconv.txt --transcript-only
2025-02-09 12:37:37,477 - main - INFO - Processing 1 links
Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
Error extracting content from file:///tcconv.txt: Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
2025-02-09 12:37:37,488 - main - ERROR - An error occurred in the process_content function: Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
An error occurred: Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
The text was updated successfully, but these errors were encountered:
When generating podcasts with knowledge bases that are just pure text, eg --url somefile.txt, the program gets confused and acts as though you have sent it a --file flag and tries to load the content of the text file as a file full of url's
ive confirmed that if I convert the raw text file to pdf, then it works as expected with --url somefile.pdf.
here is a dump of an attempt to use a raw text file as a url input.
python -m podcastfy.client --url file:///tcconv.txt --transcript-only
2025-02-09 12:37:37,477 - main - INFO - Processing 1 links
Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
Error extracting content from file:///tcconv.txt: Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
2025-02-09 12:37:37,488 - main - ERROR - An error occurred in the process_content function: Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
An error occurred: Failed to extract content from file:///tcconv.txt: HTTPSConnectionPool(host='file', port=443): Max retries exceeded with url: /tcconv.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x10ae73f50>: Failed to resolve 'file' ([Errno 8] nodename nor servname provided, or not known)"))
The text was updated successfully, but these errors were encountered: