Hello all,

when tryingg to add a cisco 7606 to the database I got 'AttributeError: 'int' 
object has no 
attribute 'encode' ' in line 161 initBox.py

This is because the 7606 answers with 'integers' to 1.3.6.1.4.1.9.3.6.11.1.4.

With this change to initBox.py I could add this device:

162c162
<             except UnicodeDecodeError, e:
---
>             except AttributeError or UnicodeDecodeError, e:


Grüße

Hans-Peter Fuchs

Hans-Peter Fuchs - RRZK Zimmer 20
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln - Tel: 0221-470-6972



_______________________________________________
nav-users mailing list
[email protected]
http://mailman.itea.ntnu.no/mailman/listinfo/nav-users

Reply via email to