Kevin Shenk

Results 64 comments of Kevin Shenk

Great question! `scanimage -d 'epsonds:libusb:002:009' --format=jpeg -o scan.jpg` scans and saves a file successfully, but does output the error `Corrupt JPEG data: found marker 0xd9 instead of RST1` to the...

@mkfrey that's good to know. I haven't spun up a Ubuntu machine yet, to confirm this myself. I'm too hooked on NixOS 😀

That's possibly a contributing factor, but I just narrowed this down in the Chrome DevTools Network monitor. When trying to load the print format in the print preview windows (i.e....

Ah, that makes sense! I suppose an alternative would be to generate an HTML preview directly, but I can sympathize with the chosen solution.

What's the possibility that WeasyPrint could be used as the renderer instead of wkhtmltopdf? A basic implementation already exists at [frappe/frappe/utils/weasyprint.py](https://github.com/frappe/frappe/blob/41a7b42f169bdb07eaff33722511fb921d0a5847/frappe/utils/weasyprint.py#L11)

Keep alive ~ Any feedback would be appreciated!

BTW, here's a quick verification that the `set_failed` method had no references anywhere else: ![image](https://github.com/frappe/erpnext/assets/4996285/b351086d-265f-438b-8d46-820d5815b66f)

FWIW, with a Cloudflare tunnel connecting via a unix socket, this is reduced to the following: ``` set_real_ip_from unix:; real_ip_header CF-Connecting-IP; ```

It's a bug workaround, truthfully, since the Proxmox API provider suddenly stopped working with the existing IP address retrieval code. I haven't had time to diagnose the issue yet, but...

It occurs to me that `client_max_body_size` should really be added in addition to `fastcgi_read_timeout`. What should really happen here, IMO, is a unified setting for 'Max Upload Size' and 'Script...