Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266763 - dev-python/twistedsnmp-0.3.12 needs dependency adjustment on dev-python/pysnmp
Summary: dev-python/twistedsnmp-0.3.12 needs dependency adjustment on dev-python/pysnmp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-19 13:34 UTC by Dmitri Bogomolov
Modified: 2009-11-28 17:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
diff against dev-python/twistedsnmp-0.3.12 (twistedsnmp-0.3.12.ebuild.diff,326 bytes, patch)
2009-04-19 13:35 UTC, Dmitri Bogomolov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2009-04-19 13:34:07 UTC
I am testing http://twistedsnmp.sourceforge.net/examples/simpleget.py.xhtml example and notice that with dev-python/pysnmp-4* this not works.

Reproducible: Always

Steps to Reproduce:
1. python -c "from twistedsnmp import snmpprotocol"

Actual Results:  
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "//usr/lib/python2.5/site-packages/twistedsnmp/snmpprotocol.py", line 13, in <module>
    from twistedsnmp.pysnmpproto import v2c,v1, error, alpha
ImportError: cannot import name v2c

Expected Results:  
nothing

dev-python/twistedsnmp-0.3.12 knows about dev-python/pysnmp-4* but does nothing.  

This import statement is in $PYTHONPATH/twistedsnmp/snmpprotocol.py:

from twistedsnmp.pysnmpproto import v2c,v1, error, alpha

but in $PYTHONPATH/twistedsnmp/pysnmpproto.py :

except ImportError, err:
        pysnmpversion = 4
        USE_STRING_OIDS = False
        CAN_CACHE_OIDS = False
Comment 1 Dmitri Bogomolov 2009-04-19 13:35:46 UTC
Created attachment 188879 [details, diff]
diff against dev-python/twistedsnmp-0.3.12
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-28 17:55:17 UTC
Fixed.