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
Running on Windows 10. A few hours ago I had no problem, however, after re-installing everything I'm getting a new error:
File "C:\Users\difer\Downloads\perlego\perlego-downloader-main\downloader.py", line 238, in <module> asyncio.run(html2pdf()) File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete return future.result() File "C:\Users\difer\Downloads\perlego\perlego-downloader-main\downloader.py", line 171, in html2pdf browser = await launch(options={ File "C:\Users\difer\AppData\Roaming\Python\Python310\site-packages\pyppeteer\launcher.py", line 307, in launch return await Launcher(options, **kwargs).launch() File "C:\Users\difer\AppData\Roaming\Python\Python310\site-packages\pyppeteer\launcher.py", line 148, in launch self.proc = subprocess.Popen( # type: ignore File "C:\Program Files\Python310\lib\subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\Python310\lib\subprocess.py", line 1456, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
I want to note that before getting this error, I run the code without fixing the line 171, and in this case, the respone was the expected error, however, after changing it, I'm facing this new stuff.
The book ID is the following: 3174161, I dont think it matters because I've tried three different books and the response is the same.
EDIT: 12/04
After tweaking a little bit, I found the way to make it work, you just have to delete all the 'args', leaving it like this: # start headless chrome browser = await launch(options={ 'headless': True, 'autoClose': False, }, )
It all worked perfectly.
HOWEVER, I've got some recent error, while trying to download the following book: 1866541; I'm left with an archive with no extension that has no weight. If someone could help me I'll be very pleased.
The text was updated successfully, but these errors were encountered:
Running on Windows 10. A few hours ago I had no problem, however, after re-installing everything I'm getting a new error:
File "C:\Users\difer\Downloads\perlego\perlego-downloader-main\downloader.py", line 238, in <module> asyncio.run(html2pdf()) File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete return future.result() File "C:\Users\difer\Downloads\perlego\perlego-downloader-main\downloader.py", line 171, in html2pdf browser = await launch(options={ File "C:\Users\difer\AppData\Roaming\Python\Python310\site-packages\pyppeteer\launcher.py", line 307, in launch return await Launcher(options, **kwargs).launch() File "C:\Users\difer\AppData\Roaming\Python\Python310\site-packages\pyppeteer\launcher.py", line 148, in launch self.proc = subprocess.Popen( # type: ignore File "C:\Program Files\Python310\lib\subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\Python310\lib\subprocess.py", line 1456, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
I want to note that before getting this error, I run the code without fixing the line 171, and in this case, the respone was the expected error, however, after changing it, I'm facing this new stuff.
The book ID is the following: 3174161, I dont think it matters because I've tried three different books and the response is the same.
EDIT: 12/04
After tweaking a little bit, I found the way to make it work, you just have to delete all the 'args', leaving it like this:
# start headless chrome browser = await launch(options={ 'headless': True, 'autoClose': False, }, )
It all worked perfectly.
HOWEVER, I've got some recent error, while trying to download the following book: 1866541; I'm left with an archive with no extension that has no weight. If someone could help me I'll be very pleased.
The text was updated successfully, but these errors were encountered: