Closed bravemanvvn closed 3 years ago
Could you please download the release again, I put the wrong release file from the original repo. It should work now.
@AZn5ReD Thanks for your reply, Now, I'm test againt with both version ( gui and without gui) got same new trouble :Can't find SuccessFactor Link.
Starting script...
(node:173782) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Going to: https://learninghub.sap.com/login
Entering login: S0020751444
Entering password: ***
Submiting...
Redirected to: https://accounts.sap.com/saml2/idp/sso
Redirected to: https://learninghub.sap.com/saml2/sp/acs/a00026fd2/a00026fd2
Connected :)
No cookie consent
Navigating to SuccessFactor
Can't find SuccessFactor Link
Initialize file
URL Template: https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/ebook/ADM900_EN_Col19/xml/topic$$$.svg
File path: /opt/SAPebook/ADM900_EN_Col19.pdf
{ r: waiting for selector "#progressIndicator" failed: timeout 30000ms exceeded
at new P (/opt/saplearninghub-pdf-downloader/dist/index.js:1:1118194)
at DOMWorld._waitForSelectorOrXPath (/opt/saplearninghub-pdf-downloader/dist/index.js:1:1124962)
at DOMWorld.waitForSelector (/opt/saplearninghub-pdf-downloader/dist/index.js:1:1124550)
at f.waitForSelector (/opt/saplearninghub-pdf-downloader/dist/index.js:1:875992)
at f.
I suspect that you're not on the same server as me. I'm on EU server and I hardcoded the link to access to the hub. Could you please send me the link behind the "learning content" ?
Dear Mr @AZn5ReD I'm test againt with both latest version ( gui and without gui) got same previous trouble "File path: C:\SAP-Ebook\saplearninghub-pdf-downloader-gui/ADM900_EN_Col19.pdfError while navToSF TimeoutError: Navigation timeout of 30000 ms exceeded"
I'm connect on Southeast Asia, I think SAP learning only one location on EU. I use web browser login link https://performancemanager.successfactors.eu/sf/home?bplte_company=learninghub&_s.crb=0mN%252fTd%252fNS8vG8Ku6egOT3Mq%252bv4R%252bXQKzSB8C0t%252btJdo%253d#Shell-home Ebook link : https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/ebook/ADM900_EN_Col19/index.html
from you reply on 5 December : "Could you please download the release again, I put the wrong release file from the original repo. It should work now." Why the latest github version ( 1.0.1) release at Oct 15 ? ( I check all file saplearninghub-pdf-downloader-gui-1.0.1-windows-x64.zip and all file on your github project are older than December 10th)
Thank you so much !
Why the latest github version ( 1.0.1) release at Oct 15 ? ( I check all file saplearninghub-pdf-downloader-gui-1.0.1-windows-x64.zip and all file on your github project are older than December 10th) The release is still the same version because the code hasn't changed. I just made a mistake in the archive.
Well, I can't reproduce the issue. Is there a way I can pm you ? Maybe you could send me your mail ?
I tested with windows 10, Centos8, Ubuntu 20, Macos 10.14 It's got same error both gui version and not gui version. https://github.com/AZn5ReD/saplearninghub-pdf-downloader https://github.com/AZn5ReD/saplearninghub-pdf-downloader-gui Windows 10, Centos, Ubuntu ( updated lastest ) with chrome version 87, nodejs version v14.15.1. book link : https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/ebook/TERP10_RU_Col17/index.html Please help me fix it, thanks you so much !
############ERROR ON WINDOWS 10 & CENTOS8 WITH GUI VERSION############ Starting script... (node:9244) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use (C:\saplearninghub-pdf-downloader-gui\index.js:1:7836)
at o.evaluateHandle (C:\saplearninghub-pdf-downloader-gui\index.js:1:20964)
at o. (C:\saplearninghub-pdf-downloader-gui\index.js:1:7859)
at o.$ (C:\saplearninghub-pdf-downloader-gui\index.js:1:27299)
at o. (C:\saplearninghub-pdf-downloader-gui\index.js:1:7859)
at DOMWorld.$ (C:\saplearninghub-pdf-downloader-gui\index.js:1:1078218)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DOMWorld.type (C:\saplearninghub-pdf-downloader-gui\index.js:1:1081772)
-- ASYNC --
at f. (C:\saplearninghub-pdf-downloader-gui\index.js:1:7836)
at W.type (C:\saplearninghub-pdf-downloader-gui\index.js:1:55697)
at C:\saplearninghub-pdf-downloader-gui\index.js:18:847502
at s (C:\saplearninghub-pdf-downloader-gui\index.js:1:1024897)
at Generator._invoke (C:\saplearninghub-pdf-downloader-gui\index.js:1:1024650)
at Generator.forEach.e. [as next] (C:\saplearninghub-pdf-downloader-gui\index.js:1:1025254)
at t (C:\saplearninghub-pdf-downloader-gui\index.js:1:12899)
at c (C:\saplearninghub-pdf-downloader-gui\index.js:1:13110)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error: Error during init
at C:\saplearninghub-pdf-downloader-gui\index.js:18:854325
at s (C:\saplearninghub-pdf-downloader-gui\index.js:1:1024897)
at Generator._invoke (C:\saplearninghub-pdf-downloader-gui\index.js:1:1024650)
at Generator.forEach.e. [as next] (C:\saplearninghub-pdf-downloader-gui\index.js:1:1025254)
at t (C:\saplearninghub-pdf-downloader-gui\index.js:1:12899)
at c (C:\saplearninghub-pdf-downloader-gui\index.js:1:13110)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
node --trace-deprecation ...
to show where the warning was created) Going to: https://learninghub.sap.com/login Entering login: S002075XXXX Entering password: *** Error during login: Error: Execution context was destroyed, most likely because of a navigation. at P (C:\saplearninghub-pdf-downloader-gui\index.js:1:60512) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async n.ExecutionContext._evaluateInternal (C:\saplearninghub-pdf-downloader-gui\index.js:1:60018) at async o.evaluateHandle (C:\saplearninghub-pdf-downloader-gui\index.js:1:20934) at async o.$ (C:\saplearninghub-pdf-downloader-gui\index.js:1:27288) at async DOMWorld.$ (C:\saplearninghub-pdf-downloader-gui\index.js:1:1078210) at async DOMWorld.type (C:\saplearninghub-pdf-downloader-gui\index.js:1:1081772) -- ASYNC -- at n.ExecutionContext.########################ERROR BY COMMAND PROJECT VERSION######################## npm run start