andrewferrier / email2pdf

Script to convert emails to PDF from the command-line, as well as detach recognized attachments. Helps to process incoming emails and assist automatically with a non-paper paperwork workflow. Designed to work in tandem with getmail to convert forwarded emails to PDF automatically.
MIT License
68 stars 35 forks source link

Ubuntu support for BS4 4.6.3 via deb file #114

Closed victorromeo closed 4 years ago

victorromeo commented 4 years ago

Hi,

I was unable to create and install a deb file using the normal approach as Ubuntu 18.04 doesn't have a stable python3-bs4 4.6.3

Instead, I had to remove the version from the deb dependency, and manually install the beautifulsoup4 using pip3 install beautifulsoup4 before installing email2pdf

Cheers

andrewferrier commented 4 years ago

Victor,

Thanks for the report! Are you sure? I don't have an Ubuntu 18.04 installation, but I see it does seem to have a python3-bs4 package here: https://packages.ubuntu.com/bionic/python3-bs4. Does that not work for you?

Thanks, Andrew.

On Fri, 7 Feb 2020 at 11:50, victorromeo notifications@github.com wrote:

Hi,

I was unable to create and install a deb file using the normal approach as Ubuntu 18.04 doesn't have a stable python3-bs4 4.6.3

Instead, I had to remove the version from the deb dependency, and manually install the beautifulsoup4 using pip3 install beautifulsoup4 before installing email2pdf

Cheers

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andrewferrier/email2pdf/issues/114?email_source=notifications&email_token=AAA2EB37G5EVHRITCX4C6KLRBVDIZA5CNFSM4KRNHRMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILZGY5Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2EB44KVB4ODP72KJPPILRBVDIZANCNFSM4KRNHRMA .

-- Andrew Ferrier andrew.ferrier@gmail.com

victorromeo commented 4 years ago

Yes, sorry. The version 4.6.3 is not currently available on Ubuntu in that form. To use this release requires a manual modification to use bs4 via a pip3 installation rather than the package. As a result users may be unsure why their installations fail. This will resolve itself once the package is released. The issue was raised to ensure others also had this information so they weren’t left scratching their heads what to do next.

victorromeo commented 4 years ago

Closing this issue off, as my development environment has progressed past 18.04 and cannot replicate the issue.