Topic on Extension talk:ElectronPdfService

I am getting this error "No known handler associated with operationId generatePDF"

6
Hoefsldyla (talkcontribs)

Just installed ElectronPdfService

Thiemo Kreuz (WMDE) (talkcontribs)

Thanks for the report. But I'm afraid we need much more, much more precise information. Neither searching for "No known handler associated", nor "operationId", nor "generatePDF" reveals anything. Either a mistake happened when you transcribed the error message you have seen, or the message is from a subsystem I'm not aware of. What exactly did you do? How exactly did you installed the extension? What was the URL you used? Which function did you tried to activate when the error occurred?

Hoefsldyla (talkcontribs)

I now believe the error is coming from RESTBase when PdfService tries to acces "page/pdf/*"

Hoefsldyla (talkcontribs)

The generatePDF function is in pathToRestbase/v1/pdf.js

Thiemo Kreuz (WMDE) (talkcontribs)

Does it literally say "pathToRestbase"? This sounds like your configuration might be incomplete. There is one setting in the extension you might want to check or change via your LocalSettings.php: $wgElectronPdfServiceRESTbaseURL = '/api/rest_v1/page/pdf/';

In case it is an issue with the Electron Service itself. I'm afraid we can't help you here, as the MediaWiki extension only provides a thin interface to this service.

Hoefsldyla (talkcontribs)

No the it is not literally "pathToRestbase" and yes i have $wgElectronPdfServiceRESTbaseURL set accordingly. It might be a problem with RESTBase

Reply to "I am getting this error "No known handler associated with operationId generatePDF""