Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
23582 Представления

Hi,
I am getting issue while printing pdf file, previously it was working fine but now its giving issue as below.
PDF.js v1.7.225 (build: 17d135f)
Message: Unexpected server response (500) while retrieving PDF
Can anyone please help me?

Аватар
Отменить
Лучший ответ

We encounter the exact issue when we print bulk Packing Slip. After long vocation, we need print hundreds delivery order in mass. If we select 80 orders in one time, the error raised. But if we select only 10 of them, it will works very well. I think it should be an server capacity issue. I assume generating a lot of PDF consume high resource of a server and the server will be break if it is not strong enough. But I think there should be a solution like extending the generating time etc...

Аватар
Отменить
Лучший ответ

Same Issue. Any assistance would be appreciated.

Аватар
Отменить
Автор

Hi Ewere, In my case it was server issue... I checked with all possibilities but it wasn't get resolved... So I hosted it on other server.

Hi Nalini, and thank you for getting back to me.

If you were able to get it working on another server, did you pip install any additional PyPI libraries on to the new server?

I think I'm missing a PyPi that should allow this function to work, but I'm unsure which.