Bug 1268497

Summary: [abrt] python-fedmsg-commands: fedmsg-config:3:<module>:ImportError: No module named 'fedmsg'
Product: [Fedora] Fedora Reporter: Martín Cigorraga <martincigorraga>
Component: fedmsgAssignee: Ralph Bean <rbean>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: lmacken, rbean
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4bff6cb1f3256310c6a1c50fcd1260a735c7012a
Whiteboard: abrt_hash:134922da6ab42836d793ec8eecc118660d682914;VARIANT_ID=workstation;
Fixed In Version: fedmsg-0.16.2-1.fc23 fedmsg-0.16.2-1.fc22 fedmsg-0.16.2-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-13 19:24:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Martín Cigorraga 2015-10-02 23:15:41 UTC
Description of problem:
Launched fedmsg-config from the console:

~> fedmsg-config 
Traceback (most recent call last):
  File "/usr/bin/fedmsg-config", line 3, in <module>
    import fedmsg.commands.config
ImportError: No module named 'fedmsg'

I get the same error when launching as a limited user as well as root.

Version-Release number of selected component:
python-fedmsg-commands-0.16.1-3.fc23

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python3 /usr/bin/fedmsg-config
executable:     /usr/bin/fedmsg-config
kernel:         4.2.2-300.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
fedmsg-config:3:<module>:ImportError: No module named 'fedmsg'

Traceback (most recent call last):
  File "/usr/bin/fedmsg-config", line 3, in <module>
    import fedmsg.commands.config
ImportError: No module named 'fedmsg'

Local variables in innermost frame:
__package__: None
__cached__: None
__doc__: None
__loader__: <_frozen_importlib.SourceFileLoader object at 0x7fc9595d0eb8>
__name__: '__main__'
__builtins__: <module 'builtins' (built-in)>
__file__: '/usr/bin/fedmsg-config'
__spec__: None

Comment 1 Martín Cigorraga 2015-10-02 23:15:45 UTC
Created attachment 1079551 [details]
File: backtrace

Comment 2 Martín Cigorraga 2015-10-02 23:15:46 UTC
Created attachment 1079552 [details]
File: environ

Comment 3 Ralph Bean 2015-10-03 01:15:21 UTC
I'm not sure how python3 was able to be used to start 'fedmsg-config'.  I have a feeling that's the source of the problem.

Comment 4 Martín Cigorraga 2015-10-03 01:18:21 UTC
Hello Ralph,

Could it be a packaging mistake? I'm sure I didn't mess with my Python setup, the F23 installation is a fairly clean (and fresh) one.

Comment 5 Fedora Update System 2015-10-03 02:05:59 UTC
fedmsg-0.16.1-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-76d0e120a1

Comment 6 Fedora Update System 2015-10-03 02:06:15 UTC
fedmsg-0.16.1-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-a95067b5e8

Comment 7 Fedora Update System 2015-10-03 02:16:46 UTC
fedmsg-0.16.1-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-99889caa93

Comment 8 Ralph Bean 2015-10-03 02:50:29 UTC
Martín, please let me know if that 0.16.1-4 release fixes it for you.

Comment 9 Martín Cigorraga 2015-10-03 03:49:47 UTC
Everything's working as expected now, thanks!

Comment 10 Fedora Update System 2015-10-04 01:35:25 UTC
fedmsg-0.16.1-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update fedmsg'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-a95067b5e8

Comment 11 Fedora Update System 2015-10-04 01:51:10 UTC
fedmsg-0.16.1-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update fedmsg'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-76d0e120a1

Comment 12 Fedora Update System 2015-10-05 04:21:01 UTC
fedmsg-0.16.1-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update fedmsg'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-99889caa93

Comment 13 Fedora Update System 2015-10-08 15:17:03 UTC
fedmsg-0.16.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-6ae7657504

Comment 14 Fedora Update System 2015-10-08 15:19:11 UTC
fedmsg-0.16.2-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-113bc844cf

Comment 15 Fedora Update System 2015-10-08 15:22:27 UTC
fedmsg-0.16.2-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-a4f3738b25

Comment 16 Fedora Update System 2015-10-09 13:54:36 UTC
fedmsg-0.16.2-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update fedmsg'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-113bc844cf

Comment 17 Fedora Update System 2015-10-09 13:55:26 UTC
fedmsg-0.16.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update fedmsg'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-6ae7657504

Comment 18 Fedora Update System 2015-10-09 22:53:45 UTC
fedmsg-0.16.2-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update fedmsg'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-a4f3738b25

Comment 19 Fedora Update System 2015-10-11 16:02:20 UTC
fedmsg-0.16.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2015-10-20 01:54:30 UTC
fedmsg-0.16.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2015-10-24 12:33:40 UTC
fedmsg-0.16.2-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-52ae1f4c0c

Comment 22 Fedora Update System 2015-10-26 21:20:17 UTC
fedmsg-0.16.2-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update fedmsg'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-52ae1f4c0c

Comment 23 Fedora Update System 2015-11-13 19:24:36 UTC
fedmsg-0.16.2-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.