Lucas Cimon

Results 187 issues of Lucas Cimon

Hello. Could you include a builtin rule that check for this please ? This is probably one of the most common errors.

new rule

Usage example: ```python PdfWriter(trailer=PdfReader('src.pdf').remove_page(1)).write('out.pdf') ``` Copied to https://github.com/sarnold/pdfrw/pull/7

Given this code: ```python import os, pdfrw, sys sys.path.append(os.path.join(os.path.dirname(pdfrw.__file__), '../examples')) from rl2.decodegraphics import parsepage ``` This fix avoids the following error with Python 3.7: ``` Traceback (most recent call last):...

Adding mention of `fpdf2`, `pikepdf` & `WeasyPrint`

This allows for the following usage: ```python out = PdfWriter() out.Pages = IndirectPdfDict( MediaBox=..., Resources=..., ) out.addpage(page) out.write(...) ```

Minimal reproduction case: ``` $ wget -q https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf $ cat repro.py from pdfrw import PdfReader pdf1 = PdfReader('dummy.pdf') pdf2 = PdfReader('dummy.pdf') assert pdf1 == pdf2 $ python repro.py Traceback (most...

Hi We had several issues when using the `body-parser` lib, that itself uses `depd`, under NodeJS 5: ``` TypeError: callSite.getFileName is not a function at callSiteLocation (C:\nodejs-depd-bug-repro\dist\bundle.js:452:3231) at depd (C:\nodejs-depd-bug-repro\dist\bundle.js:452:1375)...

awaiting more info

Using `assert.notStrictEqual(..., -1)` instead of `assert.ok(... !== -1)` and displaying `stderr` in case of assertion failure. This commit was initially made as part of https://github.com/dougwilson/nodejs-depd/pull/48, but it could be adopted...