• Joined on
Loading Heatmap…

josch commented on issue josch/mmdebstrap#42

Local package cache?

No, mmdebstrap creates its own mount namespace, so everything gets unmounted automatically even if you should forget to unmount or if the process dies early. Have a look in `/usr/share/mmdebstrap/h…

2 weeks ago

josch commented on issue josch/mmdebstrap#42

Local package cache?

What the debootstrap `--cache-dir` option does is a layer violation. You have at least two options to do something similar in mmdebstrap: 1. add a similar layer violation in the form of hook…

2 weeks ago

josch pushed to main at josch/mmdebstrap

3 weeks ago

josch pushed to main at josch/mmdebstrap

  • 8c0ddc3266 mmdebstrap-autopkgtest-build-qemu: use mount --no-mtab

3 weeks ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

I am not sure myself either. I've read the PDF spec on the `/Keywords` entry and it just says: > Keywords associated with the document It does not talk about if there can be more than one…

1 month ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Okay, but that software adds the quotation marks in its *interface*. The quotation markes are not stored in the pdf itself. They are something that are added by your pdf viewer when presenting the…

1 month ago

josch commented on issue josch/img2pdf#195

[0.5.1] Split pages?

Okay, happy to hear that the problem solved itself. :)

1 month ago

josch commented on issue josch/img2pdf#195

[0.5.1] Split pages?

Then I'm afraid I fail to understand your query. By default, img2pdf creates one page per input image. The input images are not lumped together into a single-page pdf. Can you describe in more…

1 month ago

josch commented on issue josch/img2pdf#195

[0.5.1] Split pages?

```sh for f in *.png; do img2pdf -o "$(basename "$f" .png).pdf" "$f" done ```

1 month ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

What is the use-case for only storing it in one or the other? Why would a user want to have control over that? I was more thinking along the lines of what adobe acrobat apparently does and…

1 month ago

josch pushed to main at josch/mmdebstrap

  • 1e68ffd2c4 tests: changelog.Debian.$foreign_arch.gz files are not always present
  • 726fc38d1d attempt diagnosing skip-tar-in-mknod failure 'file changed as we read it' using auditd
  • ae09a50f9d document unshare --map-auto --map-user=65536 --map-group=65536 --keep-caps trick
  • 9726836ac4 mmdebstrap-autopkgtest-build-qemu: add documentation of some unshare magic
  • cdf6959a41 make_mirror.sh: retry apt with verbose output
  • Compare 8 commits »

1 month ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Sorry, I'm maintaining img2pdf in my free-time and my current real-life job ends at the end of march and things are a bit hectic with figuring out how things continue in april. > https://exiftoo…

1 month ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

> Can you please upload your file? No need, my file is bit-by-bit identical (same hashes) compared to yours. > I have removed double quotation marks in Adobe Acrobat and saved the file. What…

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

In your PDF I see this: ``` 1 0 obj << /Keywords (One, two) /Producer (img2pdf 0.5.1) >> ``` So there are no quotes. Maybe this is something your PDF viewer does?

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Another idea: download this image: https://mister-muffin.de/mister-muffin.png And then run: img2pdf.exe mister-muffin.png --nodate --engine=internal --keywords "One, two" -o out.pdf …

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Huh, that's super weird! The problem indeed seems to be windows specific. I cannot reproduce it on my linux box. What does this do on your system: python3 -c "import sys; print(sys.argv[1])"…

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

I suspect this is your shell. Can you try the same commands with a different shell?

2 months ago

josch commented on issue josch/img2pdf#193

STRIP_SIZE messages

I don't understand how you get the output you describe with the command you are running. The messages you see are created by this line in the code: logger.debug(f"setting {self.obj}.{self.fi…

2 months ago

josch commented on issue josch/img2pdf#193

STRIP_SIZE messages

Thank you for your report! What logs are you seeing these messages in? Just on standard output when you run img2pdf? I'm not sure why there is anything printed when img2pdf sets the tiff strip…

2 months ago

josch commented on issue josch/img2pdf#192

ZeroDivisionError: float division by zero

Okay, I have an analysis for this issue. Here are the first 32 bytes of the problematic image: ``` 00000000: ffd8 ffe0 0010 4a46 4946 0001 0101 012c ......JFIF....., 00000010: 0000 0000 ffe1…

2 months ago