Hi,
I have experience the same thing. I have notice something but not sure
if this is the problem.
When you add ip device and select the Catagory GW (Router (layer 3
device)) it has double brackets in its name.
Non of the others Catagory has double brackets in its name. Like GSW (A
layer 2 and layer 3 device)
Peder
>>> Den 11. desember 2006 kl. 15:45:54, i meldingen
<C34A6DE4A78B8549AC97E5C414E2D2591A8F57(a)postmann.it-as.no>, skrev "Tor
Pretorius" <tor.pretorius(a)it-as.no>:
> I have add many Switch and GSW device
> but get error when I adding GW device
>
> Any idea ??
>
> (NAV 3.1.1 run on Centos 4.4)
> -------------------- Start Error -----------------
> Mod_python error: "PythonHandler editdb"
>
> Traceback (most recent call last):
>
> File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
> 299, in HandlerDispatch
> result = object(req)
>
> File "/usr/local/nav/apache/webroot/editdb/editdb.py", line 156,
in
> handler
> output = editPage(req,pageList[table](),request,unicodeError)
>
> File "/usr/local/nav/apache/webroot/editdb/editdb.py", line 463,
in
> editPage
> outputForm,action)
>
> File "/usr/local/nav/apache/webroot/editdb/editdb.py", line 2323,
in
> add
> box.getDeviceId()
>
> File "/usr/local/nav/apache/webroot/editdb/initBox.py", line 178,
in
> getDeviceId
> escapedSerials = [nav.db.escape(ser.strip()) for ser in serials
>
> File "/usr/local/nav/apache/webroot/editdb/initBox.py", line 161,
in
> is_ascii
> s.encode("ascii")
>
> AttributeError: 'int' object has no attribute 'encode'
>
> -------------------- End Error -----------------
>
>
> Mvh
> -Tor Pretorius
>
>
>
> _______________________________________________
> nav-users mailing list
> nav-users(a)itea.ntnu.no
> http://mailman.itea.ntnu.no/mailman/listinfo/nav-users
>From Rufus at uiuc.edu Mon Dec 4 09:15:25 2006
From: Rufus at uiuc.edu (Yong)
Date: Wed Feb 7 23:05:45 2007
Subject: [Nav-users] =?iso-8859-1?q?Vi_foresl=D0=B5r_et_arbeid!?=
Message-ID: <C560BC84.5926438(a)uiuc.edu>
Job-agency.biz Featured Employer: R-Money ??
Get more from R-Money??
[grey_top2.jpg]
??????Job-Managment Agency??????har et ledig arbeid for deg!
- Arbeid i fri tid og Du skal f?? fra 5000 til 10000 euro i en m??ned!
- Det trenges ikke noen penger fra Deg .
- Du kan begynne ?? f?? l??n imorgen!
Hvis Du har 2-3 frie timer, Du har lyst til ?? f?? penger, Du er ansvarlig
og Du har fylt dine 18 ??r, dette er et tilbud for Deg!
Hvis Du er interessert, Du kan gi oss bevist til v??r e-post adressen
[1]info(a)job-agency.biz: om Din ful navn, adress(byen og staten), f??dselsdag,
telefonnumer, undervisning og arbeidssteder som Du hadde f??r.
Vi ber Dere om ?? studere tilbudet og gi oss beskjed om Dere aksepterer det.
Din e-post adressen er tatt fra frie kilder. Hvis du vil ikke f?? meldinger
fra oss til din e-post adressen, kan du sende en blank melding
???remove(a)job-agency.biz??? til v??r e-post adressen.
References
1. mailto:info@job-agency.biz
Yes, I installed pysnmp (2.0.9) as described in the SLES guide.
I used the package nav-3.0.0-1.noarch.rpm that is located at MetaNAV
download page:
http://metanav.ntnu.no/moin.cgi/NAVDownload
It seems to be be NAV 3.0 beta.
Should I better try to compile it from source?
Sorry for my late answer.
Morten Brekkevold wrote:
> Martin Roll wrote, On 22-11-2006 19:01:
>
>
>> File "/usr/local/nav/apache/webroot/editdb/initBox.py", line 29, in ?
>> from nav.Snmp import Snmp,NameResolverException,TimeOutException
>>
>> ImportError: cannot import name Snmp
>>
>
> [...]
>
>
>> File "/usr/local/nav/lib/python/nav/Snmp.py", line 24, in ?
>> from pysnmp.proto import v1, v2c
>>
>> ImportError: No module named proto
>>
>>
>> Do you have any idea what I could have done wrong?
>>
>
> Looks like NAV's nav.Snmp module hasn't been fully imported because
> pysnmp is missing, and this might be why you are seeing both these messages.
>
> Did you install pysnmp, as the SLES guide you pointed to says? What
> version of NAV are you installing?
>
>