Page MenuHomePhabricator

Proxy Error while trying to export from french Wikisource with WS Export
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Since several days, I cannot export from french Wikisource.

What happens?:
Error message :
//Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request

Reason: Error reading from remote server

Apache/2.4.68 (Debian) Server at ws-export.wmcloud.org Port 80//

What should have happened instead?:

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

For more information, I tryied to export in "pdf", but the result is the same for "epub"

The problem is for all books... If you want an example, you can take in one :
https://fr.wikisource.org/wiki/Monsieur_chasse_!

This EPUB export works for me: https://ws-export.wmcloud.org/?lang=fr&page=Monsieur_chasse_!

Are you getting an error with that? Are you exporting to EPUB v2? That is as likely to fail as PDFs are; see T431640.

Samwilson,

I have exported corectly with your link... but in PDF it still doesnt work

I have exported corectly with your link... but in PDF it still doesnt work

That's a known issue. I've merged into that task. Sorry it's not working at the moment. You can convert to PDF locally with Calibre.

Samwilson : I have tryied to convert locally the epub into PDF, but the fonts and the file was smaller than the PDF exported by WSExport : can you tell me what shall be the different options to select in Calibre to obtain the same PDF result than the WSExport file ? Thanks

Sorry Samwilson : I am okay to close this task, but iI'm interested to have a response to my last question : "=> can you tell me what shall be the different options to select in Calibre to obtain the same PDF result than the WSExport file ?" thanks by advance

Yes sure! Sorry. The tool uses a command like the following to produce an A4 PDF:

ebook-convert Input_book.epub Output_book.pdf --page-breaks-before --paper-size=a4 --pdf-page-margin-bottom 48 --pdf-page-margin-top 60 --pdf-page-margin-left 36 --pdf-page-margin-right 36 --pdf-page-numbers --preserve-cover-aspect-ratio

You can get the same results via the Calibre user interface.

Actually, most of those options can be left out, they're the defaults (not the margin or the page-breaks-before but they don't matter that much).

Hello, I'm facing the same issue with such a book: https://it.wikisource.org/wiki/Indice:Antonino_Traina_-_Nuovo_vocabolario_siciliano-italiano.pdf.
How can I help to solve such issue?

EDIT: I get "Proxy Error" if I try an export to TXT, RTF and PDF

@Cescus: This task is closed as a duplicate. See T431640 instead. Thanks.