josch commented on issue josch/img2pdf#100 2021-05-13 17:13:02 +00:00
Is it really necessary to raise an Exception for invalid exif data?

@mara0004 Do you happen to have examples of software, cameras or phones that do set the invalid exif rotation of zero?

josch commented on issue josch/img2pdf#100 2021-05-13 13:14:04 +00:00
Is it really necessary to raise an Exception for invalid exif data?

This pains me. If I tell a program "use the exif data for rotation" and the exif rotation data is invalid, then I expect the program to fail because it cannot fulfill my request. I understand that…

josch commented on issue josch/img2pdf#100 2021-05-13 11:33:56 +00:00
Is it really necessary to raise an Exception for invalid exif data?

I see the problem. I think I can be convinced to add an option to img2pdf which allows to ignore the exif rotation. And if rotation is ignored, it also doesn't make sense to error out on invalid…

josch commented on issue josch/img2pdf#99 2021-05-12 11:42:48 +00:00
How to remove margins in pdfs

Please close this issue once you think that the problem has been resolved.

josch commented on issue josch/img2pdf#99 2021-05-12 07:08:54 +00:00
How to remove margins in pdfs

I do not yet understand what you mean by "white margins". If your input images are of A4 size and have the right dpi set, then the created pages will also be A4. Also, the convert() function does not…

josch commented on issue josch/mmdebstrap#2 2021-05-10 10:01:53 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

@rockdrilla mmdebstrap should work on the current stable and be able to create oldstable, stable, testing and unstable chroots. The version right now does not work on stable, which is okay because…

josch commented on issue josch/mmdebstrap#2 2021-05-10 09:06:50 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

Yeah, so the actual problem is, that there is really no good way to map a Debian distro to a gpg key file reliably. It breaks once new keys get uploaded and the distroinfo information becomes…

josch commented on issue josch/mmdebstrap#2 2021-05-10 08:48:49 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

If you're talking about the host, I have already checked that it is installed (libdistro-info-perl 0.21), it does not fix the pb with 0.7.5 or HEAD.

You misread. Did you try not having…

josch commented on issue josch/mmdebstrap#2 2021-05-10 08:47:15 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

Additionally, this boils down to apt not knowing about the keys anymore. For example if you try to build a jessie chroot with mmdebstrap HEAD on Debian unstable you will get:

./mmdebstrap…
josch commented on issue josch/mmdebstrap#2 2021-05-10 08:37:05 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

@zerodeux okay, I understand. Now the problem with HEAD is, that it uses a gpg option that is not available in buster. One workaround for you would be to not have the package libdistro-info-perl

josch commented on issue josch/mmdebstrap#2 2021-05-09 22:36:49 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

@rockdrilla do you see an easy way to support old gnupg versions without --show-keys?

@zerodeux what is the reason you use mmdebstrap from git instead of the version in buster?

josch commented on issue josch/mmdebstrap#2 2021-05-09 21:18:22 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

Funny, I can reproduce it with podman but I cannot reproduce it with the exact same rootfs and a simple chroot to enter it.

josch pushed to main at josch/mmdebstrap 2021-05-09 18:44:11 +00:00
88a031477a add --skip=cleanup/apt/lists and --skip=cleanup/apt/cache
josch pushed to main at josch/mmdebstrap 2021-05-09 15:34:24 +00:00
c51fb24c7b Use all cores when compressing with zstd.
josch commented on issue josch/mmdebstrap#2 2021-05-07 15:15:53 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

If you are mixing stretch, buster and bullseye, then the context is indeed extremely important. What is also important is your apt configuration and which keys apt is trusting and not trusting in…

josch commented on issue josch/mmdebstrap#2 2021-05-07 12:56:18 +00:00
mmdebstrap stretch fails with NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

I'm still unable to reproduce this. You say you are running mmdebstrap from git on Debian buster? This works for me:

mmdebstrap buster --include=git,ca-certificates \
   …
josch pushed to main at josch/img2pdf 2021-05-07 09:21:00 +00:00
80d24a1d49 README.md: add more examples (closes: #98)
josch closed issue josch/img2pdf#98 2021-05-07 09:21:00 +00:00
dpi and pdfa convertion do not reflect
josch closed pull request josch/mmdebstrap#1 2021-05-07 09:17:52 +00:00
gpg: handle ASCII-armored keyrings as well
josch commented on pull request josch/mmdebstrap#1 2021-05-07 09:17:46 +00:00
gpg: handle ASCII-armored keyrings as well

fixed by ccd4b5c163d322045c92f734f43bb5e1945fa774