RichardJRL / pocketmagstopdf

Download pocketmags magazines in PDF format from the HTML5 reader
Creative Commons Zero v1.0 Universal
42 stars 8 forks source link

R6034 Runtime Error #6

Closed vikingpimp closed 1 year ago

vikingpimp commented 1 year ago

Hi, First of all, thanks for creating this, it's been a massive help with my work. I've been using it for many months now with little issue, but this morning I've encountered this error: image

And these are the errors in CMD:

C:\Users\Dan\Downloads>pocketmagstopdf.py --quality=high Woman_09012023_UploadedByUK.pdf https://mcdatastore.blob.core.windows.net/mcmags/9f77c4ca-97be-41c0-85da-3afa0a8a36b1/41586ac2-e951-45fd-ab76-b132ae72be63/extralow/0000.jpg Traceback (most recent call last): File "C:\Users\Dan\Downloads\pocketmagstopdf.py", line 129, in from urllib.request import urlopen File "C:\Users\Dan\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 88, in import http.client File "C:\Users\Dan\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 71, in import email.parser File "C:\Users\Dan\AppData\Local\Programs\Python\Python311\Lib\email\parser.py", line 12, in from email.feedparser import FeedParser, BytesFeedParser File "C:\Users\Dan\AppData\Local\Programs\Python\Python311\Lib\email\feedparser.py", line 27, in from email._policybase import compat32 File "C:\Users\Dan\AppData\Local\Programs\Python\Python311\Lib\email_policybase.py", line 9, in from email.utils import _has_surrogates File "C:\Users\Dan\AppData\Local\Programs\Python\Python311\Lib\email\utils.py", line 29, in import socket File "C:\Users\Dan\AppData\Local\Programs\Python\Python311\Lib\socket.py", line 51, in import _socket ImportError: DLL load failed while importing _socket: A dynamic link library (DLL) initialization routine failed.

When I booted up the computer this morning the Windows installation welcome screen appeared for some reason, so this may be related. Just wondering if you've encountered this before and how I would go about rectifying it. I've tried rebooting a couple of times but no joy.

Cheers, Dan

vikingpimp commented 1 year ago

I've since tested it on another computer and no issues there. So the problem appears to be with my computer :(