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
<[EMAIL PROTECTED]>, skrev "Tor
Pretorius" <[EMAIL PROTECTED]>:

> 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
> [email protected] 
> http://mailman.itea.ntnu.no/mailman/listinfo/nav-users
_______________________________________________
nav-users mailing list
[email protected]
http://mailman.itea.ntnu.no/mailman/listinfo/nav-users

Reply via email to