DevHeads.net

Using fedora-active-user: unable to find fedora_cert

Hello,

Could someone please clarify how fedora-active-user[1] is to be used? It
is unable to find the fedora_cert python bits, and fedora-packager no
longer seems to include this either[2].

[1] <a href="https://github.com/pypingou/fedora-active-user" title="https://github.com/pypingou/fedora-active-user">https://github.com/pypingou/fedora-active-user</a>
[2] <a href="https://src.fedoraproject.org/rpms/fedora-packager/blob/master/f/fedora-packager.spec#_78" title="https://src.fedoraproject.org/rpms/fedora-packager/blob/master/f/fedora-packager.spec#_78">https://src.fedoraproject.org/rpms/fedora-packager/blob/master/f/fedora-...</a>

Comments

Re: Using fedora-active-user: unable to find fedora_cert

By Didier Fabert at 05/30/2019 - 05:50

Hi Ankur,

You have to create a directory and download one file to get script working.
In the same directory of fedora-active-user.py

mkdir fedora_cert
curl -fsSL -o fedora_cert/__init__.py
<a href="https://pagure.io/fedora-packager/raw/master/f/src/fedora_cert/__init__.py" title="https://pagure.io/fedora-packager/raw/master/f/src/fedora_cert/__init__.py">https://pagure.io/fedora-packager/raw/master/f/src/fedora_cert/__init__.py</a>

I modify a little this script and send pypingou a PR[1]

Cheers,

Didier.

[1] <a href="https://github.com/pypingou/fedora-active-user/pull/13" title="https://github.com/pypingou/fedora-active-user/pull/13">https://github.com/pypingou/fedora-active-user/pull/13</a>

Le 30/05/2019 à 11:24, Ankur Sinha a écrit :

Re: Using fedora-active-user: unable to find fedora_cert

By Ankur Sinha at 05/30/2019 - 06:22

On Thu, May 30, 2019 11:50:12 +0200, Didier Fabert wrote:
Hi Didier,

Thanks for that. I've used your fork, downloaded fedora_cert as you
suggest and it works now.