Bug 727395
Summary: | pysnmp lacking python-pyasn1 as a dependency, thus pysnmp sample code fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Glen Turner <gdt> |
Component: | pysnmp | Assignee: | Fabian Affolter <mail> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-04 11:10:16 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: |
Description
Glen Turner
2011-08-02 02:56:07 UTC
pysnmp-4.2.2-1.rc1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/pysnmp-4.2.2-1.rc1.fc16 Package pysnmp-4.2.2-1.rc1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pysnmp-4.2.2-1.rc1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16447/pysnmp-4.2.2-1.rc1.fc16 then log in and leave karma (feedback). Hi Fabian,
Is there an updated pyasn1 as well? I get unhappiness when testing just the release candidate RPM (I had to download it from the build system as it isn't on the mirrors yet). Running F15 with current updates.
# yum remove pysnmp python-pyasn1
# yum localinstall pysnmp-4.2.2-1.rc1.fc16.noarch.rpm
Installed: pysnmp.noarch 0:4.2.2-1.rc1.fc16
Dependency Installed: python- pyasn1.noarch 0:0.0.12a-2.fc15
Applying the test case:
$ python
Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16) [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysnmp.entity.rfc3413.oneliner import cmdgen
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 2, in <module>
from pysnmp.entity import engine, config
File "/usr/lib/python2.7/site-packages/pysnmp/entity/engine.py", line 2, in <module>
from pysnmp.proto.rfc3412 import MsgAndPduDispatcher
File "/usr/lib/python2.7/site-packages/pysnmp/proto/rfc3412.py", line 3, in <module>
from pyasn1.compat.octets import null
ImportError: No module named compat.octets
It's quite possible I'm doing something silly, since I'm a network engineer more than a a Python programmer or Fedora hacker.
Thanks, Glen
python-pyasn1 0.1.2 is only available for > F16. For me, it's working. Apologies, I'd failed to see that Fedora 16 had released during the life of this bug. I'll do a clean install on a VM and test. |